Package com.appiancorp.suiteapi.forums
Class ThreadRoleMap
java.lang.Object
com.appiancorp.suiteapi.common.RoleMap
com.appiancorp.suiteapi.forums.ThreadRoleMap
- All Implemented Interfaces:
XMLable,Serializable,Map
Deprecated.
The Discussion Forums functionality will be removed in a future release. Use the News feed
and related smart services to build applications with similar functionality.
Do not use. All security in Discussion Forums is controlled
at the Forum level, and threads inherit the security from forums.
- See Also:
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Fields inherited from class com.appiancorp.suiteapi.common.RoleMap
AGGREGATE_SECURITY_KEY, SECURITY_KEY, TYPE_AGGREGATE_GROUP, TYPE_AGGREGATE_USER, TYPE_GROUP, TYPE_GROUP_UUIDS, TYPE_USER, TYPE_USER_UUIDSFields inherited from interface com.appiancorp.suiteapi.common.XMLable
DEFAULT_BUFFER_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddForumAdministratorGroups(Long[] groupIds_) Deprecated.Appends to the groups who have forum administrative permissionsvoidaddForumAdministrators(String[] usernames_) Deprecated.Appends to the users who have administrative permissionsvoidaddOwnerGroups(Long[] groupIds_) Deprecated.voidDeprecated.voidaddParticipantGroups(Long[] groupIds_) Deprecated.Appends to the groups who have Participating (read/write) permissionsvoidaddParticipants(String[] usernames_) Deprecated.Appends to the users who have participating (read/write) permissionsLong[]Deprecated.Retrieves the groups who have forum administrative permissionsString[]Deprecated.Retrieves the users who have forum administrative permissionsLong[]Deprecated.String[]Deprecated.Long[]Deprecated.Retrieves the groups who have read/write permissionsString[]Deprecated.Retrieves the users who have read/write permissionsvoidremoveAdministrators(String[] usernames_) Deprecated.Deletes from the users who have administrative permissionsvoidremoveForumAdministratorGroups(Long[] groupIds_) Deprecated.Deletes from the groups who have forum administrative permissionsvoidremoveOwnerGroups(Long[] groupIds_) Deprecated.voidremoveOwners(String[] usernames_) Deprecated.voidremoveParticipantGroups(Long[] groupIds_) Deprecated.Delete from the groups who have read/write permissionsvoidremoveParticipants(String[] usernames_) Deprecated.Delete from the users who have read/write permissionsvoidsetForumAdministratorGroups(Long[] groupIds_) Deprecated.Sets the groups who have forum administrative permissionsvoidsetForumAdministrators(String[] usernames_) Deprecated.Sets the users who have forum administrative permissionsvoidsetOwnerGroups(Long[] groupIds_) Deprecated.voidDeprecated.voidsetParticipantGroups(Long[] groupIds_) Deprecated.Sets the groups who have PARTICIPANTSing (read/write) permissionsvoidsetParticipants(String[] usernames_) Deprecated.Sets the users who have read/write permissionsMethods inherited from class com.appiancorp.suiteapi.common.RoleMap
addActorsToRole, addActorsToRole, clear, containsActors, containsKey, containsValue, entrySet, equals, get, getActorsInRole, getAggregateSecurity, getAllGroupIds, getAllUsernames, getRole, getRoleNames, getRoles, getSecurity, hashCode, init, isEmpty, keySet, mergeWith, put, putAll, remove, removeActorsFromRole, removeActorsFromRole, removeAllRoles, setActorsInRole, setActorsInRole, setAggregateSecurity, setRole, setRoles, setRoles, setSecurity, size, toString, toXML, toXML, valuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
PARTICIPANTS
Deprecated.- See Also:
-
THREAD_ADMINS
Deprecated.- See Also:
-
OWNERS
Deprecated.- See Also:
-
-
Constructor Details
-
ThreadRoleMap
public ThreadRoleMap()Deprecated.
-
-
Method Details
-
getForumAdministrators
Deprecated.Retrieves the users who have forum administrative permissions- Returns:
- a list containing the unique IDs of the users
-
getForumAdministratorGroups
Deprecated.Retrieves the groups who have forum administrative permissions- Returns:
- a list containing the unique IDs of the groups
-
setForumAdministrators
Deprecated.Sets the users who have forum administrative permissions- Parameters:
usernames_- the user names to set
-
setForumAdministratorGroups
Deprecated.Sets the groups who have forum administrative permissions- Parameters:
groupIds_- a list containing the unique IDs of the groups
-
addForumAdministrators
Deprecated.Appends to the users who have administrative permissions- Parameters:
usernames_-
-
addForumAdministratorGroups
Deprecated.Appends to the groups who have forum administrative permissions- Parameters:
groupIds_- a list containing the unique IDs of the groups to be added
-
removeAdministrators
Deprecated.Deletes from the users who have administrative permissions- Parameters:
usernames_- the user names to remove
-
removeForumAdministratorGroups
Deprecated.Deletes from the groups who have forum administrative permissions- Parameters:
groupIds_- a list containing the unique IDs of the groups to be deleted
-
getParticipants
Deprecated.Retrieves the users who have read/write permissions- Returns:
- a list containing the unique IDs of the users who have read/write permissions
-
getParticipantGroups
Deprecated.Retrieves the groups who have read/write permissions- Returns:
- a list containing the unique IDs of the groups who have read/write permissions
-
setParticipants
Deprecated.Sets the users who have read/write permissions- Parameters:
usernames_- a list containing the unique IDs of the users
-
setParticipantGroups
Deprecated.Sets the groups who have PARTICIPANTSing (read/write) permissions- Parameters:
groupIds_- a list containing the unique IDs of the groups
-
addParticipants
Deprecated.Appends to the users who have participating (read/write) permissions- Parameters:
usernames_- a list containing the unique IDs of the users
-
addParticipantGroups
Deprecated.Appends to the groups who have Participating (read/write) permissions- Parameters:
groupIds_- a list containing the unique IDs of the groups
-
removeParticipants
Deprecated.Delete from the users who have read/write permissions- Parameters:
usernames_- a list containing the unique IDs of the users
-
removeParticipantGroups
Deprecated.Delete from the groups who have read/write permissions- Parameters:
groupIds_- a list containing the unique IDs of the groups
-
getOwners
Deprecated. -
getOwnerGroups
Deprecated. -
setOwners
Deprecated. -
setOwnerGroups
Deprecated. -
addOwners
Deprecated. -
addOwnerGroups
Deprecated. -
removeOwners
Deprecated. -
removeOwnerGroups
Deprecated.
-