Package com.cbe
Class GroupManager
- java.lang.Object
-
- com.cbe.GroupManager
-
public class GroupManager extends java.lang.Object
class GroupManager, API:s for listing groups.
-
-
Constructor Summary
Constructors Constructor Description GroupManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTenantId()
Returns the tenant id of the Tenant user group that the user is in.void
listGroups(GroupEventProtocol delegate)
List all current joined groups.void
searchGroups(GroupFilter filter, GroupEventProtocol delegate)
Search for open public groups.void
searchGroups(GroupFilter filter, GroupEventProtocol delegate, long parentGroupId)
Search for open public groups.
-
-
-
Method Detail
-
listGroups
public void listGroups(GroupEventProtocol delegate)
List all current joined groups.
-
searchGroups
public void searchGroups(GroupFilter filter, GroupEventProtocol delegate, long parentGroupId)
Search for open public groups.- Parameters:
filter
- is a group filter to set search criteria for open public groups. Look att class GroupFilter for more information.delegate
- , delegate is a callback delegate to the user defined/implementation of the callbacks on GroupEventProtocol.parentGroupId
- is the id of the group to be searched within. if this is not set the tenent id will be used.
-
searchGroups
public void searchGroups(GroupFilter filter, GroupEventProtocol delegate)
Search for open public groups.- Parameters:
filter
- is a group filter to set search criteria for open public groups. Look att class GroupFilter for more information.delegate
- , delegate is a callback delegate to the user defined/implementation of the callbacks on GroupEventProtocol.
-
getTenantId
public long getTenantId()
Returns the tenant id of the Tenant user group that the user is in.
-
-