Modifier and Type | Method and Description |
---|---|
GroupResource |
GroupResourceConverter.convert(Group source) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
GroupResourceHelper.getGroup(String genericGroupId,
boolean isAlias,
Converter<Group,T> converter) |
Modifier and Type | Method and Description |
---|---|
List<MemberResource> |
MemberResourceConverter.convert(Group source) |
Modifier and Type | Method and Description |
---|---|
void |
GroupToEntityGroupListItemConverter.convert(Group source,
EntityGroupListItem target) |
Modifier and Type | Method and Description |
---|---|
static boolean |
GroupUtils.isChild(Group group,
CommunoteEntity child)
Checks if a group contains an entity either directly or indirectly, which is the entity is
contained in one of the transitively resolved child groups of the group .
|
Modifier and Type | Method and Description |
---|---|
Group |
UserGroupManagementBase.createGroup(GroupVO groupVO) |
Group |
UserGroupManagement.createGroup(GroupVO groupVO)
Create a new group.
|
protected Group |
UserGroupManagementImpl.handleCreateGroup(GroupVO groupVO)
Performs the core logic for
UserGroupManagementBase.createGroup(GroupVO) |
protected abstract Group |
UserGroupManagementBase.handleCreateGroup(GroupVO groupVO)
Performs the core logic for
UserGroupManagementBase.createGroup(GroupVO) |
Modifier and Type | Method and Description |
---|---|
<T> T |
UserGroupManagementBase.findGroupByAlias(String alias,
Converter<Group,T> converter) |
<T> T |
UserGroupManagement.findGroupByAlias(String alias,
Converter<Group,T> converter)
Find a user group by its alias and convert it to the object to be returned.
|
<T> T |
UserGroupManagementBase.findGroupById(Long id,
Converter<Group,T> converter) |
<T> T |
UserGroupManagement.findGroupById(Long id,
Converter<Group,T> converter)
Find a user group by its ID and convert it to the object to be returned.
|
protected <T> T |
UserGroupManagementImpl.handleFindGroupByAlias(String alias,
Converter<Group,T> converter) |
protected abstract <T> T |
UserGroupManagementBase.handleFindGroupByAlias(String alias,
Converter<Group,T> converter)
Find a user group by its alias and convert it to the object to be returned.
|
protected <T> T |
UserGroupManagementImpl.handleFindGroupById(Long id,
Converter<Group,T> converter) |
protected abstract <T> T |
UserGroupManagementBase.handleFindGroupById(Long id,
Converter<Group,T> converter)
Find a user group by its ID and convert it to the object to be returned.
|
Modifier and Type | Method and Description |
---|---|
Group |
UserGroupMembershipVO.getUserGroup()
Get the userGroup
|
Modifier and Type | Method and Description |
---|---|
void |
UserGroupMembershipVO.setUserGroup(Group userGroup)
Sets the userGroup
|
Constructor and Description |
---|
UserGroupMembershipVO(Group userGroup) |
Modifier and Type | Method and Description |
---|---|
Set<Group> |
UserToBlogRoleMapping.getGrantingGroups()
The groups which granted the role to the user because of the membership of the user in the
group and adding the group to the blog.
|
Modifier and Type | Method and Description |
---|---|
static UserToBlogRoleMapping |
UserToBlogRoleMapping.Factory.newInstance(Long blogId,
Long userId,
int numericRole,
String externalSystemId,
boolean grantedByGroup,
Set<Group> grantingGroups)
Constructs a new instance of
UserToBlogRoleMapping , taking all possible
properties (except the identifier(s))as arguments. |
void |
UserToBlogRoleMapping.setGrantingGroups(Set<Group> grantingGroups) |
Modifier and Type | Method and Description |
---|---|
Set<Group> |
CommunoteEntity.getGroups() |
Modifier and Type | Method and Description |
---|---|
void |
CommunoteEntity.setGroups(Set<Group> groups) |
Modifier and Type | Class and Description |
---|---|
class |
ExternalUserGroup |
class |
ExternalUserGroupImpl |
Modifier and Type | Method and Description |
---|---|
Group |
UserOfGroup.getGroup() |
static Group |
Group.Factory.newInstance()
Constructs a new instance of
Group . |
static Group |
Group.Factory.newInstance(String alias,
String name)
Constructs a new instance of
Group , taking all required and/or read-only
properties as arguments. |
static Group |
Group.Factory.newInstance(String alias,
String name,
String description,
Set<CommunoteEntity> groupMembers,
Set<GroupProperty> properties,
Set<BlogMember> memberships,
GlobalId globalId,
Set<Tag> tags)
Constructs a new instance of
Group , taking all possible properties (except the
identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
static UserOfGroup |
UserOfGroup.Factory.newInstance(Group group,
User user)
Constructs a new instance of
UserOfGroup ,
taking all required and/or read-only properties as arguments. |
static UserOfGroup |
UserOfGroup.Factory.newInstance(UserOfGroupModificationType modificationType,
Group group,
User user)
Constructs a new instance of
UserOfGroup ,
taking all possible properties (except the identifier(s))as arguments. |
void |
UserOfGroup.setGroup(Group group) |
Modifier and Type | Method and Description |
---|---|
static ExternalUserGroup |
ExternalUserGroup.Factory.newInstance(String externalSystemId,
String externalId,
String additionalProperty,
String alias,
String name,
String description,
Set<CommunoteEntity> groupMembers,
Set<GroupProperty> properties,
Set<BlogMember> memberships,
GlobalId globalId,
Set<Group> groups,
Set<Tag> tags)
Constructs a new instance of
ExternalUserGroup , taking all possible properties
(except the identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
GlobalId |
GlobalIdDaoBase.createGlobalId(Group group) |
GlobalId |
GlobalIdDao.createGlobalId(Group group) |
protected GlobalId |
GlobalIdDaoImpl.handleCreateGlobalId(Group group)
Create a global id for the group
|
protected abstract GlobalId |
GlobalIdDaoBase.handleCreateGlobalId(Group group)
Performs the core logic for
GlobalIdDaoBase.createGlobalId(com.communote.server.model.user.group.Group) |
Modifier and Type | Method and Description |
---|---|
Group |
GroupDaoBase.create(Group group) |
Group |
GroupDao.create(Group group)
Creates an instance of Group and adds it to the persistent store.
|
Group |
GroupDaoBase.findByAlias(String alias) |
Group |
GroupDao.findByAlias(String alias)
Searches a group by the alias.
|
protected Group |
GroupDaoImpl.handleFindByAlias(String alias)
Performs the core logic for
GroupDaoBase.findByAlias(String) |
protected abstract Group |
GroupDaoBase.handleFindByAlias(String alias)
Performs the core logic for
GroupDaoBase.findByAlias(String) |
Group |
GroupDaoBase.load(Long id) |
Group |
GroupDao.load(Long id)
Loads an instance of Group from the persistent store.
|
Modifier and Type | Method and Description |
---|---|
Collection<Group> |
GroupDaoBase.create(Collection<Group> entities) |
Collection<Group> |
GroupDao.create(Collection<Group> entities)
Creates a new instance of Group and adds from the passed in
entities collection |
Collection<Group> |
GroupDaoBase.create(int transform,
Collection<Group> entities) |
Collection<Group> |
GroupDaoBase.getGroupsOfUser(Long userId) |
Collection<Group> |
GroupDao.getGroupsOfUser(Long userId) |
protected Collection<Group> |
GroupDaoImpl.handleGetGroupsOfUser(Long userId)
Performs the core logic for
GroupDaoBase.getGroupsOfUser(Long) |
protected abstract Collection<Group> |
GroupDaoBase.handleGetGroupsOfUser(Long userId)
Performs the core logic for
GroupDaoBase.getGroupsOfUser(Long) |
protected Collection<Group> |
GroupDaoImpl.handleLoadAllWithReferences()
Performs the core logic for
GroupDaoBase.loadAllWithReferences() |
protected abstract Collection<Group> |
GroupDaoBase.handleLoadAllWithReferences()
Performs the core logic for
GroupDaoBase.loadAllWithReferences() |
protected Collection<Group> |
GroupDaoImpl.handleLoadWithReferences(int offset,
int count,
String filter)
Performs the core logic for
GroupDaoBase.loadWithReferences(int, int, String) |
protected abstract Collection<Group> |
GroupDaoBase.handleLoadWithReferences(int offset,
int count,
String nameFilter)
Performs the core logic for
GroupDaoBase.loadWithReferences(int, int, String) |
Collection<Group> |
GroupDaoBase.loadAll() |
Collection<Group> |
GroupDao.loadAll()
Loads all entities of type
Group . |
Collection<Group> |
GroupDaoBase.loadAllWithReferences() |
Collection<Group> |
GroupDao.loadAllWithReferences() |
Collection<Group> |
GroupDaoBase.loadWithReferences(int offset,
int count,
String nameFilter) |
Collection<Group> |
GroupDao.loadWithReferences(int offset,
int count,
String nameFilter)
Loads a range of groups.
|
Modifier and Type | Method and Description |
---|---|
Group |
GroupDaoBase.create(Group group) |
Group |
GroupDao.create(Group group)
Creates an instance of Group and adds it to the persistent store.
|
Object |
GroupDaoImpl.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 . |
Object |
GroupDaoBase.create(int transform,
Group group) |
Object |
GroupDao.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 . |
void |
GroupDaoBase.evict(Group entity)
Evicts (removes) the entity from the hibernate cache
|
void |
GroupDao.evict(Group entity)
Evicts (removes) the entity from the hibernate cache
|
void |
GroupDaoBase.remove(Group group) |
void |
GroupDao.remove(Group group)
Removes the instance of Group from the persistent store.
|
protected Object |
GroupDaoBase.transformEntity(int transform,
Group entity)
Allows transformation of entities into value objects (or something else for that matter),
when the
transform flag is set to one of the constants defined in
GroupDao , please note that the GroupDao.TRANSFORM_NONE constant denotes no
transformation, so the entity itself will be returned. |
void |
GroupDaoBase.update(Group group) |
void |
GroupDao.update(Group group)
Updates the
group instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<Group> |
GroupDaoBase.create(Collection<Group> entities) |
Collection<Group> |
GroupDao.create(Collection<Group> entities)
Creates a new instance of Group and adds from the passed in
entities collection |
Collection<Group> |
GroupDaoBase.create(int transform,
Collection<Group> entities) |
Collection<?> |
GroupDao.create(int transform,
Collection<Group> entities)
Does the same thing as
GroupDao.create(com.communote.server.model.user.group.Group) with an
additional flag called transform . |
void |
GroupDaoBase.remove(Collection<Group> entities) |
void |
GroupDao.remove(Collection<Group> entities)
Removes all entities in the given
entities |
void |
GroupDaoBase.update(Collection<Group> entities) |
void |
GroupDao.update(Collection<Group> entities)
Updates all instances in the
entities collection in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Group |
UserService.getGroup(String alias)
Get a group by its alias.
|
Group |
UserService.getGroup(String externalGroupId,
String externalSystemId)
Get group specific from external system
|
Modifier and Type | Method and Description |
---|---|
Group |
GroupItem.getGroup() |
Modifier and Type | Method and Description |
---|---|
void |
GroupItem.setGroup(Group group) |
Copyright © 2019 Communote team. All rights reserved.