Class ThreadRoleMap

java.lang.Object
com.appiancorp.suiteapi.common.RoleMap
com.appiancorp.suiteapi.forums.ThreadRoleMap
All Implemented Interfaces:
XMLable, Serializable, Map

@Deprecated public class ThreadRoleMap extends RoleMap
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:
  • Field Details

  • Constructor Details

    • ThreadRoleMap

      public ThreadRoleMap()
      Deprecated.
  • Method Details

    • getForumAdministrators

      public String[] getForumAdministrators()
      Deprecated.
      Retrieves the users who have forum administrative permissions
      Returns:
      a list containing the unique IDs of the users
    • getForumAdministratorGroups

      public Long[] getForumAdministratorGroups()
      Deprecated.
      Retrieves the groups who have forum administrative permissions
      Returns:
      a list containing the unique IDs of the groups
    • setForumAdministrators

      public void setForumAdministrators(String[] usernames_)
      Deprecated.
      Sets the users who have forum administrative permissions
      Parameters:
      usernames_ - the user names to set
    • setForumAdministratorGroups

      public void setForumAdministratorGroups(Long[] groupIds_)
      Deprecated.
      Sets the groups who have forum administrative permissions
      Parameters:
      groupIds_ - a list containing the unique IDs of the groups
    • addForumAdministrators

      public void addForumAdministrators(String[] usernames_)
      Deprecated.
      Appends to the users who have administrative permissions
      Parameters:
      usernames_ -
    • addForumAdministratorGroups

      public void addForumAdministratorGroups(Long[] groupIds_)
      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

      public void removeAdministrators(String[] usernames_)
      Deprecated.
      Deletes from the users who have administrative permissions
      Parameters:
      usernames_ - the user names to remove
    • removeForumAdministratorGroups

      public void removeForumAdministratorGroups(Long[] groupIds_)
      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

      public String[] 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

      public Long[] 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

      public void setParticipants(String[] usernames_)
      Deprecated.
      Sets the users who have read/write permissions
      Parameters:
      usernames_ - a list containing the unique IDs of the users
    • setParticipantGroups

      public void setParticipantGroups(Long[] groupIds_)
      Deprecated.
      Sets the groups who have PARTICIPANTSing (read/write) permissions
      Parameters:
      groupIds_ - a list containing the unique IDs of the groups
    • addParticipants

      public void addParticipants(String[] usernames_)
      Deprecated.
      Appends to the users who have participating (read/write) permissions
      Parameters:
      usernames_ - a list containing the unique IDs of the users
    • addParticipantGroups

      public void addParticipantGroups(Long[] groupIds_)
      Deprecated.
      Appends to the groups who have Participating (read/write) permissions
      Parameters:
      groupIds_ - a list containing the unique IDs of the groups
    • removeParticipants

      public void removeParticipants(String[] usernames_)
      Deprecated.
      Delete from the users who have read/write permissions
      Parameters:
      usernames_ - a list containing the unique IDs of the users
    • removeParticipantGroups

      public void removeParticipantGroups(Long[] groupIds_)
      Deprecated.
      Delete from the groups who have read/write permissions
      Parameters:
      groupIds_ - a list containing the unique IDs of the groups
    • getOwners

      public String[] getOwners()
      Deprecated.
    • getOwnerGroups

      public Long[] getOwnerGroups()
      Deprecated.
    • setOwners

      public void setOwners(String[] usernames_)
      Deprecated.
    • setOwnerGroups

      public void setOwnerGroups(Long[] groupIds_)
      Deprecated.
    • addOwners

      public void addOwners(String[] usernames_)
      Deprecated.
    • addOwnerGroups

      public void addOwnerGroups(Long[] groupIds_)
      Deprecated.
    • removeOwners

      public void removeOwners(String[] usernames_)
      Deprecated.
    • removeOwnerGroups

      public void removeOwnerGroups(Long[] groupIds_)
      Deprecated.