public class GroupDaoImpl extends GroupDaoBase
Group
TRANSFORM_NONE
Constructor and Description |
---|
GroupDaoImpl() |
count, countMembers, create, create, create, evict, findByAlias, getGlobalIdDao, getGroupsOfUser, isEntityMember, load, load, loadAll, loadAll, loadAllWithReferences, loadWithReferences, remove, remove, remove, setGlobalIdDao, transformEntities, transformEntity, update, update
public Object create(int transform, Group group)
Does the same thing as GroupDao.create(com.communote.server.model.user.group.Group)
with an
additional flag called transform
. If this flag is set to
TRANSFORM_NONE
then the returned entity will NOT be
transformed. If this flag is any of the other constants defined here then the result
WILL BE passed through an operation which can optionally transform the
entity (into a value object for example). By default, transformation does not occur.
create
in interface GroupDao
create
in class GroupDaoBase
GroupDao.create(int transform, Group)
protected int handleCount(String filter)
GroupDaoBase.count(String)
handleCount
in class GroupDaoBase
protected int handleCountMembers(long groupId)
GroupDaoBase.countMembers(long)
handleCountMembers
in class GroupDaoBase
protected Group handleFindByAlias(String alias)
GroupDaoBase.findByAlias(String)
handleFindByAlias
in class GroupDaoBase
protected Collection<Group> handleGetGroupsOfUser(Long userId)
GroupDaoBase.getGroupsOfUser(Long)
handleGetGroupsOfUser
in class GroupDaoBase
protected boolean handleIsEntityMember(Long groupId, Long entityId)
GroupDaoBase.isEntityMember(Long, Long)
handleIsEntityMember
in class GroupDaoBase
protected Collection<Group> handleLoadAllWithReferences()
GroupDaoBase.loadAllWithReferences()
handleLoadAllWithReferences
in class GroupDaoBase
protected Collection<Group> handleLoadWithReferences(int offset, int count, String filter)
GroupDaoBase.loadWithReferences(int, int, String)
handleLoadWithReferences
in class GroupDaoBase
Copyright © 2019 Communote team. All rights reserved.