Package | Description |
---|---|
org.exoplatform.services.organization |
This package provides the organization API.
|
Modifier and Type | Method and Description |
---|---|
Group |
GroupHandler.createGroupInstance() |
Group |
GroupHandler.findGroupById(String groupId)
Use this method to search for a group
|
Group |
GroupHandler.removeGroup(Group group,
boolean broadcast)
Use this method to remove a group from the group database.
|
Modifier and Type | Method and Description |
---|---|
Collection<Group> |
GroupHandler.findGroupByMembership(String userName,
String membershipType)
Use this method to find all the groups of an user with the specified
membership type
|
Collection<Group> |
GroupHandler.findGroups(Group parent)
Use this method to find all the children group of a group.
|
Collection<Group> |
GroupHandler.findGroupsOfUser(String user)
use this method to look all the group that the user has at least one
membership.
|
Collection<Group> |
GroupHandler.getAllGroups()
Use this method to get all the groups.
|
Collection<Group> |
GroupHandler.resolveGroupByMembership(String userName,
String membershipType)
Use this method to find all the groups of an user with the specified
membership type or *.
|
Modifier and Type | Method and Description |
---|---|
void |
GroupHandler.addChild(Group parent,
Group child,
boolean broadcast)
Use this method to create a new group.
|
void |
GroupHandler.createGroup(Group group,
boolean broadcast)
Deprecated.
This method should not be used , use the addChild(..) method
and pass the null as the parent if you want to add the group to
the root level.
|
ListAccess<Membership> |
MembershipHandler.findAllMembershipsByGroup(Group group)
Use this method to find all the membership in a group.
|
Collection<Group> |
GroupHandler.findGroups(Group parent)
Use this method to find all the children group of a group.
|
Collection<Membership> |
MembershipHandler.findMembershipsByGroup(Group group)
Deprecated.
This method should no be called, use
MembershipHandler.findAllMembershipsByGroup(Group)
instead |
void |
MembershipHandler.linkMembership(User user,
Group group,
MembershipType m,
boolean broadcast)
Use this method to create a membership record, a relation of the user,
group and membership type.
|
void |
GroupEventListener.postDelete(Group group)
This method should be called after the group has been removed from the
database but not commited yet.
|
void |
GroupEventListener.postSave(Group group,
boolean isNew)
This method is called after the group has been saved but not commited yet
|
void |
GroupEventListener.preDelete(Group group)
This method is called before a group should be deleted
|
void |
GroupEventListener.preSave(Group group,
boolean isNew)
This method is called before the group is persisted to the database.
|
Group |
GroupHandler.removeGroup(Group group,
boolean broadcast)
Use this method to remove a group from the group database.
|
void |
GroupHandler.saveGroup(Group group,
boolean broadcast)
Use this method to update the properties of an existed group.
|
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.