Class GroupSummary
java.lang.Object
com.appiancorp.suiteapi.personalization.GroupSummary
- All Implemented Interfaces:
LocalId,Serializable
Title: GroupSummary
Description: Holds a user's Group Summary data
Copyright: Copyright (c) 2002
Company: Appian Corporation
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IntegerConstant indicating results should be sorted by the Group Name property.static final IntegerConstant indicating results should be sorted by the Group Security Type Name property.static final IntegerConstant indicating results should be sorted by the ID property.static final IntegerConstant indicating results should be sorted by the User Status property.static final StringConstant indicating that the user is an admin of this group.static final StringConstant indicating that the user is a member of this group. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the group description.getId()Returns this object's local identifier,nullif the object was not identified locally using aLongId.String[]Gets the logged-in user's status relative to this group.voidsetFavorite(boolean favorite_) voidsetGroupDescription(String groupDescription_) voidsetGroupName(String gn_) voidsetGroupSecurityTypeName(String gstnm_) voidSets this object's local identifier.voidsetNumberOfAdministrators(Long tota_) voidsetNumberOfMembers(Long totm_) voidsetNumberOfViewers(Long totv_) voidsetUserStatus(String[] status_) Sets the logged-in user's status relative to this group.
-
Field Details
-
SORT_BY_ID
Constant indicating results should be sorted by the ID property. -
SORT_BY_GROUP_NAME
Constant indicating results should be sorted by the Group Name property. -
SORT_BY_GROUP_SECURITY_TYPE_NAME
Constant indicating results should be sorted by the Group Security Type Name property. -
SORT_BY_USER_STATUS
Constant indicating results should be sorted by the User Status property. -
USER_STATUS_MEMBER
Constant indicating that the user is a member of this group. Used with getUserStatus and setUserStatus.- See Also:
-
USER_STATUS_ADMIN
Constant indicating that the user is an admin of this group. Used with getUserStatus and setUserStatus.- See Also:
-
-
Constructor Details
-
GroupSummary
public GroupSummary()
-
-
Method Details
-
getId
Description copied from interface:LocalIdReturns this object's local identifier,nullif the object was not identified locally using aLongId. -
setId
Description copied from interface:LocalIdSets this object's local identifier. -
getFavorite
public boolean getFavorite() -
setFavorite
public void setFavorite(boolean favorite_) -
setGroupName
-
getGroupName
-
setGroupSecurityTypeName
-
getGroupSecurityTypeName
-
setNumberOfMembers
-
getNumberOfMembers
-
setNumberOfAdministrators
-
getNumberOfAdministrators
-
setNumberOfViewers
-
getNumberOfViewers
-
setUserStatus
Sets the logged-in user's status relative to this group.- Parameters:
status_- an array of the USER_STATUS_XXX constants, indicating whether the user is a member or admin of this group (or both).
-
getUserStatus
Gets the logged-in user's status relative to this group.- Returns:
- an array of the USER_STATUS_XXX constants, indicating whether the user is a member or admin of this group (or both).
-
getGroupDescription
Returns the group description. -
setGroupDescription
-