|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface XGroupModule.Server
Server interface for the Group Module API.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface waggle.core.api.XAPIInterface |
---|
XAPIInterface.Client, XAPIInterface.Server |
Method Summary | |
---|---|
void |
changeGroupMembers(XObjectID groupID, List<XGroupMemberChangeInfo> changeInfos) Change the direct membership of a Group. |
XGroupInfo |
createGroup(String name) Create a Group in the internal Realm. |
XGroupInfo |
createGroupWithMembers(String name, List<XGroupMemberChangeInfo> changeInfos) Create a Group in the internal Realm with an initial set of members. |
void |
deleteGroup(XObjectID groupID) Delete a Group. |
List<XGroupInfo> |
findGroups(String searchString) Find Groups. |
List<XGroupSearchInfo> |
findGroupsWithLimit(String searchString, int maxGroups, boolean searchRealms) Search for a set of Groups including those registered in the database realm and those who are available through one of the other defined realms. |
List<XUserInfo> |
getAllGroupUsers(XObjectID groupID) Get a flattened list of all DIRECT and IN-DIRECT members of this Group. |
List<XConversationInfo> |
getAllParentConversations(XObjectID groupID) Get all Conversations that the specified Group is a DIRECT or IN-DIRECT member of. |
List<XGroupInfo> |
getAllParentGroups(XObjectID groupID) Get all Groups that the specified Group is a DIRECT or IN-DIRECT member of. |
XGroupInfo |
getGroup(XObjectID groupID) Get a Group. |
XGroupDetailsInfo |
getGroupDetails(XObjectID groupID) Get a Group's extended information. |
List<waggle.common.modules.object.infos.XObjectInfo> |
getGroupMembers(XObjectID groupID) Get the list of all DIRECT members of the Group. |
List<XGroupInfo> |
getGroups(List<XObjectID> groupIDs) Get some Groups. |
List<XGroupInfo> |
getManagedGroups() Get all internal Groups that the current User manages. |
void |
setGroupName(XObjectID groupID, String name) Change a Group's name. |
void |
updateGroup(XObjectID groupID, XGroupUpdateInfo updateInfo) Update a Group's attributes. |
Method Detail |
---|
XGroupInfo createGroup(String name)
name
- The name.XGroupInfo createGroupWithMembers(String name, List<XGroupMemberChangeInfo> changeInfos)
name
- The name.changeInfos
- The member requests.XGroupInfo getGroup(XObjectID groupID)
groupID
- The Group.XGroupDetailsInfo getGroupDetails(XObjectID groupID)
groupID
- The Group.List<XGroupInfo> getGroups(List<XObjectID> groupIDs)
groupIDs
- The Groups.List<XGroupInfo> getManagedGroups()
List<XGroupInfo> findGroups(String searchString)
Only registered Groups are returned for all Realms.
Requires Admin privilege.
searchString
- The Group search String. The percent character (%) matches any number of character(s), including the absence of characters, the underscore character (_) matches a single character. A backslash character can be used to escape these wildcard characters. Note that you must use two backslashes to insert a single backslash into the string.List<XGroupSearchInfo> findGroupsWithLimit(String searchString, int maxGroups, boolean searchRealms)
searchString
- A search string used to find Groups. No need to include wildcards, as the underlying implementation will return the largest set of groups it reasonably can (given implementation-dependent constraints, such as which fields are indexed for efficient searching).maxGroups
- The maximum number of groups to return.searchRealms
- True to search Realms. False to just search database. If false only registered Groups are returned for all Realms. If true any matching external Realm (LDAP) Groups are also returned.void changeGroupMembers(XObjectID groupID, List<XGroupMemberChangeInfo> changeInfos)
groupID
- The Group.changeInfos
- The member change requests.void setGroupName(XObjectID groupID, String name)
groupID
- The Group.name
- The new name.void updateGroup(XObjectID groupID, XGroupUpdateInfo updateInfo)
groupID
- The Group.updateInfo
- The change requests.List<waggle.common.modules.object.infos.XObjectInfo> getGroupMembers(XObjectID groupID)
groupID
- The Group.List<XUserInfo> getAllGroupUsers(XObjectID groupID)
groupID
- The Group.void deleteGroup(XObjectID groupID)
groupID
- The Group.List<XGroupInfo> getAllParentGroups(XObjectID groupID)
groupID
- The Group.List<XConversationInfo> getAllParentConversations(XObjectID groupID)
groupID
- The Group.
|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |