public class ContentRoleSet extends RoleSet
Constructor and Description |
---|
ContentRoleSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAdministrator()
Returns true if you have the
ContentRoleMap.ADMINISTRATOR role. |
boolean |
getAuthor()
Returns true if you have the
ContentRoleMap.AUTHOR role. |
boolean |
getCanAdministrate()
Returns true if you have the
ContentRoleMap.ADMINISTRATOR role. |
boolean |
getCanEdit()
Returns true if you have the
ContentRoleMap.AUTHOR
or ContentRoleMap.ADMINISTRATOR role. |
boolean |
getCanView()
Returns true if you have the
ContentRoleMap.READER ,
ContentRoleMap.AUTHOR , or ContentRoleMap.ADMINISTRATOR roles. |
boolean |
getNoAccess()
Returns true if you have no roles.
|
boolean |
getReader()
Returns true if you have the
ContentRoleMap.READER role. |
public boolean getAuthor()
ContentRoleMap.AUTHOR
role.ContentRoleMap.AUTHOR
role.public boolean getAdministrator()
ContentRoleMap.ADMINISTRATOR
role.ContentRoleMap.ADMINISTRATOR
role.public boolean getReader()
ContentRoleMap.READER
role.ContentRoleMap.READER
role.public boolean getNoAccess()
public boolean getCanEdit()
ContentRoleMap.AUTHOR
or ContentRoleMap.ADMINISTRATOR
role.ContentRoleMap.AUTHOR
or ContentRoleMap.ADMINISTRATOR
role.public boolean getCanAdministrate()
ContentRoleMap.ADMINISTRATOR
role.ContentRoleMap.ADMINISTRATOR
role.public boolean getCanView()
ContentRoleMap.READER
,
ContentRoleMap.AUTHOR
, or ContentRoleMap.ADMINISTRATOR
roles.ContentRoleMap.READER
,
ContentRoleMap.AUTHOR
, or ContentRoleMap.ADMINISTRATOR
roles.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.