Package com.cbe
Class GroupManager
java.lang.Object
com.cbe.GroupManager
For managing the groups.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGroupManager(long cPtr, boolean cMemoryOwn) GroupManager(DefaultCtor arg0) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()voidfinalize()static longgetCPtr(GroupManager obj) longReturns the tenant id of the Tenant user group that the user is in.voidlistGroups(ListGroupsDelegate delegate) List all current joined groups.voidsearchGroups(GroupFilter filter, SearchGroupsDelegate delegate) Search for open public groups.voidsearchGroups(GroupFilter filter, SearchGroupsDelegate delegate, long parentGroupId) Search for open public groups.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
GroupManager
public GroupManager(long cPtr, boolean cMemoryOwn) -
GroupManager
-
-
Method Details
-
getCPtr
-
finalize
public void finalize() -
delete
public void delete() -
listGroups
List all current joined groups.- Parameters:
delegate- Pointer to a delegate::ListGroupsDelegate instance
that is implemented by the user.
-
searchGroups
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- Pointer to a delegate::SearchGroupsDelegate instance
that is implemented by the user.parentGroupId- is the id of the group to be searched within.
If this is not set the tenant id will be used.
-
searchGroups
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- Pointer to a delegate::SearchGroupsDelegate instance
that is implemented by the user.
-
getTenantId
public long getTenantId()Returns the tenant id of the Tenant user group that the user is in.
-