public class GroupDAOImpl extends AbstractDAOImpl implements org.exoplatform.services.organization.GroupHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
GROUP_DESCRIPTION |
static String |
GROUP_LABEL |
log, orgService, service_| Constructor and Description |
|---|
GroupDAOImpl(PicketLinkIDMOrganizationServiceImpl orgService,
PicketLinkIDMService service) |
| 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) |
protected org.exoplatform.services.organization.Group |
convertGroup(org.picketlink.idm.api.Group jbidGroup) |
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) |
Collection<org.exoplatform.services.organization.Group> |
findGroupsOfUser(String user) |
Collection<org.exoplatform.services.organization.Group> |
getAllGroups() |
String |
getGtnGroupName(String plidmGroupName) |
String |
getPLIDMGroupName(String gtnGroupName) |
protected org.picketlink.idm.api.Group |
getRootGroup()
Returns mock of PLIDM group representing "/" group.
|
protected org.picketlink.idm.api.Group |
obtainRootGroup()
Obtains PLIDM group representing "/" group.
|
org.exoplatform.services.organization.Group |
removeGroup(org.exoplatform.services.organization.Group group,
boolean broadcast) |
void |
removeGroupEventListener(org.exoplatform.services.organization.GroupEventListener listener) |
Collection<org.exoplatform.services.organization.Group> |
resolveGroupByMembership(String userName,
String membershipType) |
void |
saveGroup(org.exoplatform.services.organization.Group group,
boolean broadcast) |
getIdentitySession, handleExceptionpublic static final String GROUP_LABEL
public static final String GROUP_DESCRIPTION
public GroupDAOImpl(PicketLinkIDMOrganizationServiceImpl orgService, PicketLinkIDMService service)
public void addGroupEventListener(org.exoplatform.services.organization.GroupEventListener listener)
addGroupEventListener in interface org.exoplatform.services.organization.GroupHandlerpublic void removeGroupEventListener(org.exoplatform.services.organization.GroupEventListener listener)
removeGroupEventListener in interface org.exoplatform.services.organization.GroupHandlerpublic final org.exoplatform.services.organization.Group createGroupInstance()
createGroupInstance in interface org.exoplatform.services.organization.GroupHandlerpublic void createGroup(org.exoplatform.services.organization.Group group,
boolean broadcast)
throws Exception
createGroup in interface org.exoplatform.services.organization.GroupHandlerExceptionpublic 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 saveGroup(org.exoplatform.services.organization.Group group,
boolean broadcast)
throws Exception
saveGroup 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 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 org.exoplatform.services.organization.Group findGroupById(String groupId) throws Exception
findGroupById 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 Collection<org.exoplatform.services.organization.Group> getAllGroups() throws Exception
getAllGroups in interface org.exoplatform.services.organization.GroupHandlerExceptionprotected org.exoplatform.services.organization.Group convertGroup(org.picketlink.idm.api.Group jbidGroup)
throws Exception
Exceptionprotected org.picketlink.idm.api.Group getRootGroup()
throws Exception
Exceptionprotected org.picketlink.idm.api.Group obtainRootGroup()
throws Exception
ExceptionCopyright © 2016 JBoss by Red Hat. All Rights Reserved.