public class ApplicationRoleMap
extends java.lang.Object
Constructor and Description |
---|
ApplicationRoleMap() |
ApplicationRoleMap(ContentRoleMap securityRoleMap) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long[] |
getAdministratorGroups()
Retrieves the groups who have administrative permissions.
|
java.lang.String[] |
getAdministrators()
Retrieves the users who have administrative permissions.
|
ContentRoleMap |
getContentRoleMap() |
java.lang.String[] |
getDeny()
The users in the deny role.
|
java.lang.Long[] |
getDenyGroups()
The list of groups in the deny role.
|
java.lang.Long[] |
getEditorGroups()
Retrieves the groups who have authoring (read/write) permissions.
|
java.lang.String[] |
getEditors()
Retrieves the users who have editor (read/write) permissions.
|
java.lang.Long[] |
getViewerGroups()
Retrieves the groups who have read-only permissions.
|
java.lang.String[] |
getViewers()
Retrieves the users who have read-only permissions.
|
void |
setAdministratorGroups(java.lang.Long[] groupIds)
Sets the groups who have administrative permissions.
|
void |
setAdministrators(java.lang.String[] usernames)
Sets the users who have administrative permissions.
|
void |
setContentRoleMap(ContentRoleMap crm) |
void |
setDeny(java.lang.String[] usernames)
A user assigned to the "Deny" level, either directly or via group membership,
will NOT have ANY privileges on the application, regardless of membership in any
other security level.
|
void |
setDenyGroups(java.lang.Long[] groupIds)
A group assigned to the "Deny" level, will NOT have ANY privileges on the
application, regardless of membership in any other security level.
|
void |
setEditorGroups(java.lang.Long[] groupIds)
Sets the groups who have editor (read/write) permissions.
|
void |
setEditors(java.lang.String[] usernames)
Sets the users who have authoring (read/write) permissions.
|
void |
setViewerGroups(java.lang.Long[] groupIds)
Sets the groups who have read-only permissions.
|
void |
setViewers(java.lang.String[] usernames)
Sets the users who have read-only permissions.
|
java.lang.String |
toString() |
public ApplicationRoleMap()
public ApplicationRoleMap(ContentRoleMap securityRoleMap)
public java.lang.String[] getAdministrators()
setAdministrators(String[])
public java.lang.Long[] getAdministratorGroups()
setAdministratorGroups(Long[])
public void setAdministrators(java.lang.String[] usernames)
usernames
- a list containing the usernamesgetAdministrators()
public void setAdministratorGroups(java.lang.Long[] groupIds)
groupIds
- a list containing the ids of the groupsgetAdministratorGroups()
public java.lang.String[] getEditors()
public void setEditors(java.lang.String[] usernames)
usernames
- a list containing the unique IDs of the users#getAuthors()
public java.lang.Long[] getEditorGroups()
#setAuthorGroups(Long[])
public void setEditorGroups(java.lang.Long[] groupIds)
groupIds
- a list containing the group ids.public java.lang.String[] getViewers()
public java.lang.Long[] getViewerGroups()
#setReaderGroups(Long[])
public void setViewers(java.lang.String[] usernames)
usernames
- a list containing the unique IDs of the userspublic void setViewerGroups(java.lang.Long[] groupIds)
groupIds
- a list containing the unique IDs of the groupspublic void setDeny(java.lang.String[] usernames)
usernames
- The list of usernames to be added to the Deny role.public java.lang.String[] getDeny()
setDeny
public void setDenyGroups(java.lang.Long[] groupIds)
groupIds
- The list of groups to be added to the Deny role.public java.lang.Long[] getDenyGroups()
public ContentRoleMap getContentRoleMap()
public void setContentRoleMap(ContentRoleMap crm)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.