public class GroupHandlerImpl extends JCROrgServiceHandler implements org.exoplatform.services.organization.GroupHandler, org.exoplatform.services.organization.GroupEventListenerHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupHandlerImpl.GroupProperties
Class contains names of group properties.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<org.exoplatform.services.organization.GroupEventListener> |
listeners
The list of listeners to broadcast events.
|
cache, groupHandler, LOG, membershipHandler, service, typeHandler, userHandler, userProfileHandler, utils| Modifier and Type | Method and Description |
|---|---|
void |
addChild(org.exoplatform.services.organization.Group parent,
org.exoplatform.services.organization.Group child,
boolean broadcast) |
void |
addGroupEventListener(org.exoplatform.services.organization.GroupEventListener listener) |
void |
createGroup(org.exoplatform.services.organization.Group group,
boolean broadcast) |
org.exoplatform.services.organization.Group |
createGroupInstance() |
org.exoplatform.services.organization.Group |
findGroupById(String groupId) |
Collection<org.exoplatform.services.organization.Group> |
findGroupByMembership(String userName,
String membershipType) |
Collection<org.exoplatform.services.organization.Group> |
findGroups(org.exoplatform.services.organization.Group parent) |
org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.Group> |
findGroupsByKeyword(String s) |
Collection<org.exoplatform.services.organization.Group> |
findGroupsOfUser(String user) |
Collection<org.exoplatform.services.organization.Group> |
getAllGroups() |
List<org.exoplatform.services.organization.GroupEventListener> |
getGroupListeners() |
org.exoplatform.services.organization.Group |
removeGroup(org.exoplatform.services.organization.Group group,
boolean broadcast) |
void |
removeGroupEventListener(org.exoplatform.services.organization.GroupEventListener listener)
Remove registered listener.
|
Collection<org.exoplatform.services.organization.Group> |
resolveGroupByMembership(String userName,
String membershipType) |
void |
saveGroup(org.exoplatform.services.organization.Group group,
boolean broadcast) |
protected final List<org.exoplatform.services.organization.GroupEventListener> listeners
public void addChild(org.exoplatform.services.organization.Group parent,
org.exoplatform.services.organization.Group child,
boolean broadcast)
throws Exception
addChild in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic void createGroup(org.exoplatform.services.organization.Group group,
boolean broadcast)
throws Exception
createGroup in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic org.exoplatform.services.organization.Group createGroupInstance()
createGroupInstance in interface org.exoplatform.services.organization.GroupHandlerpublic org.exoplatform.services.organization.Group findGroupById(String groupId) throws Exception
findGroupById in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic Collection<org.exoplatform.services.organization.Group> findGroupByMembership(String userName, String membershipType) throws Exception
findGroupByMembership in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic Collection<org.exoplatform.services.organization.Group> resolveGroupByMembership(String userName, String membershipType) throws Exception
resolveGroupByMembership in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic Collection<org.exoplatform.services.organization.Group> findGroups(org.exoplatform.services.organization.Group parent) throws Exception
findGroups in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic Collection<org.exoplatform.services.organization.Group> findGroupsOfUser(String user) throws Exception
findGroupsOfUser in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic org.exoplatform.commons.utils.ListAccess<org.exoplatform.services.organization.Group> findGroupsByKeyword(String s) throws Exception
findGroupsByKeyword in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic Collection<org.exoplatform.services.organization.Group> getAllGroups() throws Exception
getAllGroups in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic org.exoplatform.services.organization.Group removeGroup(org.exoplatform.services.organization.Group group,
boolean broadcast)
throws Exception
removeGroup in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic void saveGroup(org.exoplatform.services.organization.Group group,
boolean broadcast)
throws Exception
saveGroup in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic void removeGroupEventListener(org.exoplatform.services.organization.GroupEventListener listener)
removeGroupEventListener in interface org.exoplatform.services.organization.GroupHandlerlistener - The registered listener for removingpublic void addGroupEventListener(org.exoplatform.services.organization.GroupEventListener listener)
addGroupEventListener in interface org.exoplatform.services.organization.GroupHandlerpublic List<org.exoplatform.services.organization.GroupEventListener> getGroupListeners()
getGroupListeners in interface org.exoplatform.services.organization.GroupEventListenerHandlerCopyright © 2003–2020 eXo Platform SAS. All rights reserved.