Package com.cbe

Class GroupManager


  • public class GroupManager
    extends java.lang.Object
    class GroupManager, API:s for listing groups.
    • Constructor Detail

      • GroupManager

        public GroupManager()
    • 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.