|
eXo JCR :: Ext :: Services 1.15.10-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.organization.JCROrgServiceHandler
org.exoplatform.services.jcr.ext.organization.GroupHandlerImpl
public class GroupHandlerImpl
Created by The eXo Platform SAS Date: 24.07.2008
| Nested Class Summary | |
|---|---|
static class |
GroupHandlerImpl.GroupProperties
Class contains names of group properties. |
| Field Summary | |
|---|---|
protected List<org.exoplatform.services.organization.GroupEventListener> |
listeners
The list of listeners to broadcast events. |
| Fields inherited from class org.exoplatform.services.jcr.ext.organization.JCROrgServiceHandler |
|---|
cache, groupHandler, LOG, membershipHandler, service, typeHandler, userHandler, userProfileHandler, utils |
| Fields inherited from interface org.exoplatform.services.organization.GroupHandler |
|---|
POST_CREATE_GROUP_EVENT, POST_DELETE_GROUP_EVENT, POST_UPDATE_GROUP_EVENT, PRE_CREATE_GROUP_EVENT, PRE_DELETE_GROUP_EVENT, PRE_UPDATE_GROUP_EVENT |
| Method Summary | |
|---|---|
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 |
findGroupByMembership(String userName,
String membershipType)
|
Collection |
findGroups(org.exoplatform.services.organization.Group parent)
|
Collection |
findGroupsOfUser(String user)
|
Collection |
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. |
void |
saveGroup(org.exoplatform.services.organization.Group group,
boolean broadcast)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final List<org.exoplatform.services.organization.GroupEventListener> listeners
| Method Detail |
|---|
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.GroupHandlerException
public 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.GroupHandler
public org.exoplatform.services.organization.Group findGroupById(String groupId)
throws Exception
findGroupById in interface org.exoplatform.services.organization.GroupHandlerException
public Collection findGroupByMembership(String userName,
String membershipType)
throws Exception
findGroupByMembership in interface org.exoplatform.services.organization.GroupHandlerException
public Collection findGroups(org.exoplatform.services.organization.Group parent)
throws Exception
findGroups in interface org.exoplatform.services.organization.GroupHandlerException
public Collection findGroupsOfUser(String user)
throws Exception
findGroupsOfUser in interface org.exoplatform.services.organization.GroupHandlerException
public Collection getAllGroups()
throws Exception
getAllGroups in interface org.exoplatform.services.organization.GroupHandlerException
public org.exoplatform.services.organization.Group removeGroup(org.exoplatform.services.organization.Group group,
boolean broadcast)
throws Exception
removeGroup in interface org.exoplatform.services.organization.GroupHandlerException
public 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.GroupEventListenerHandler
|
eXo JCR :: Ext :: Services 1.15.10-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||