Group.h
IntroductionUse the links in the table of contents to the left to access the documentation. Protocols
Methods
createGroup:memberAlias:delegate:visibility:Create a new Group. -(CBEGroup*) createGroup: (NSString*) name memberAlias: (NSString*) memberAlias delegate: (id<CreateGroupDelegatePtr>) delegate visibility: (CBEVisibility) visibility; ParametersReturn Valuecbe::Group \see Types.h for cbe::visibility enum cbe::Visibility::PublicGroup or cbe::Visibility::Private Discussion\note Can only be used by Tenant admin/owners to create new groups. getVisibility-(CBEVisibility) getVisibility; DiscussionVisibility of the Group, Public is searchable and Private is not. In this early version you can create Private groups but the ability to invite has been blocked. (work in progress) \see Types.h for cbe::PublishVisibility enum groupContainer-(CBEContainer*) groupContainer; DiscussionEvery group has a drive/container where resources can be shared with the members of the group. Works like a shared container. id-(CBEGroupId) id; DiscussionReturns the id number of the group. join:delegate:memberVisibility:applicationComment:Asking to join a group. -(void) join: (NSString*) alias delegate: (id<JoinGroupDelegatePtr>) delegate memberVisibility: (CBEVisibility) memberVisibility applicationComment: (NSString*) applicationComment; ParametersDiscussionIn this first version All members will be Public, meaning visable for other member inside the group. All groups will also be open so all join requests should be accepted directly. \note This is completetly different from the query chain join. joined-(bool) joined; DiscussionSearched groups are obtained through the GroupQuery response. This list of
groups have non-joined and joined groups. Already joined groups can be
found on the leave:Leave group. -(void) leave:(id<LeaveDelegatePtr>) delegate; ParameterslistBannedMembers:Lists all banned former members, or users. - (void) listBannedMembers:(id<ListBannedMembersDelegatePtr>) delegate; ParameterslistMembers:List all members in the group. -(void) listMembers:(id<ListMembersDelegatePtr>) delegate; ParametersDiscussionThe member list is then retrieved via the delegate callback function cbe::delegate::ListMembersDelegate::onListMembersSuccess() name-(NSString*) name; DiscussionReturns the name of the group. parentId-(CBEGroupId) parentId; DiscussionGroup's Parent id number. remove:Remove group. -(void) remove:(id<RemoveGroupDelegatePtr>) delegate; ParametersDiscussion\note This is exlusive for Tenant group owners. rename:delegate:Rename the Group; group id does not change. Parameters |