Class ContentRole

java.lang.Object
com.appiancorp.suiteapi.common.Role
com.appiancorp.suiteapi.content.ContentRole
All Implemented Interfaces:
Comparable<Role>

public class ContentRole extends Role
Holds the data for an individual role within a Content object's role map.
  • Constructor Details

    • ContentRole

      public ContentRole()
    • ContentRole

      public ContentRole(String roleName)
    • ContentRole

      public ContentRole(Role role)
  • Method Details

    • isInherit

      public boolean isInherit()
      Returns whether the users/groups that have this role are inherited from the parent object.
    • setInherit

      public void setInherit(boolean inherit)
    • isAllowForAll

      public boolean isAllowForAll()
      Returns whether all users have this role automatically.
    • setAllowForAll

      public void setAllowForAll(boolean allowForAll)
    • toString

      public String toString()
      Overrides:
      toString in class Role