public enum Permission extends Enum<Permission>
Enum of the standard permissions that user may have in dws.
Enum Constant and Description |
---|
DELETE_LIST_ITEMS
Delete items from a list, documents from a document library.
|
EDIT_LIST_ITEMS
Edit items in lists, edit documents in document libraries.
|
INSERT_LIST_ITEMS
Add items to lists, add documents to document libraries.
|
MANAGE_LISTS
Approve content in lists, add or remove columns in a list, and add or remove public views of a list.
|
MANAGE_ROLES
Create, change, and delete site groups, including adding users to the site groups and specifying which rights are assigned to a site group.
|
MANAGE_SUBWEBS
Manage or create subsites.
|
MANAGE_WEB
Manage a site, including the ability to perform all administration tasks for the site and manage contents and permissions
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Permission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission INSERT_LIST_ITEMS
public static final Permission EDIT_LIST_ITEMS
public static final Permission DELETE_LIST_ITEMS
public static final Permission MANAGE_WEB
public static final Permission MANAGE_ROLES
public static final Permission MANAGE_SUBWEBS
public static final Permission MANAGE_LISTS
public static Permission[] values()
for (Permission c : Permission.values()) System.out.println(c);
public static Permission valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Permission>
Copyright © 2005–2017 Alfresco Software. All rights reserved.