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
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.static final String
Deprecated.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_UUIDS
Fields inherited from interface com.appiancorp.suiteapi.common.XMLable
DEFAULT_BUFFER_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addForumAdministratorGroups
(Long[] groupIds_) Deprecated.Appends to the groups who have forum administrative permissionsvoid
addForumAdministrators
(String[] usernames_) Deprecated.Appends to the users who have administrative permissionsvoid
addOwnerGroups
(Long[] groupIds_) Deprecated.void
Deprecated.void
addParticipantGroups
(Long[] groupIds_) Deprecated.Appends to the groups who have Participating (read/write) permissionsvoid
addParticipants
(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 permissionsvoid
removeAdministrators
(String[] usernames_) Deprecated.Deletes from the users who have administrative permissionsvoid
removeForumAdministratorGroups
(Long[] groupIds_) Deprecated.Deletes from the groups who have forum administrative permissionsvoid
removeOwnerGroups
(Long[] groupIds_) Deprecated.void
removeOwners
(String[] usernames_) Deprecated.void
removeParticipantGroups
(Long[] groupIds_) Deprecated.Delete from the groups who have read/write permissionsvoid
removeParticipants
(String[] usernames_) Deprecated.Delete from the users who have read/write permissionsvoid
setForumAdministratorGroups
(Long[] groupIds_) Deprecated.Sets the groups who have forum administrative permissionsvoid
setForumAdministrators
(String[] usernames_) Deprecated.Sets the users who have forum administrative permissionsvoid
setOwnerGroups
(Long[] groupIds_) Deprecated.void
Deprecated.void
setParticipantGroups
(Long[] groupIds_) Deprecated.Sets the groups who have PARTICIPANTSing (read/write) permissionsvoid
setParticipants
(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, values
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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.
-