Package com.cbe

Class GroupManager

java.lang.Object
com.cbe.GroupManager

public class GroupManager extends Object
For managing the groups.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • GroupManager

      public GroupManager(long cPtr, boolean cMemoryOwn)
    • GroupManager

      public GroupManager(DefaultCtor arg0)
      Default constructor.

      Construct a new object with
      the DefaultCtor to enable the
      operator bool()
      test
  • Method Details

    • getCPtr

      public static long getCPtr(GroupManager obj)
    • finalize

      public void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • listGroups

      public void listGroups(ListGroupsDelegate delegate)
      List all current joined groups.
      Parameters:
      delegate - Pointer to a delegate::ListGroupsDelegate instance
      that is implemented by the user.
    • searchGroups

      public void searchGroups(GroupFilter filter, SearchGroupsDelegate 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 - 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

      public void searchGroups(GroupFilter filter, SearchGroupsDelegate 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 - 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.