|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.api.constants.AccessLevel
public final class AccessLevel
Provides a set of commonly-used combinations of access rights for use when setting permissions.
AccessRight
,
Serialized FormField Summary | |
---|---|
static AccessLevel |
FULL_CONTROL
Specifies full access rights to an object for base level permissions. |
static AccessLevel |
FULL_CONTROL_ANNOTATION
Specifies full access rights to functions that can be performed on an Annotation object. |
static int |
FULL_CONTROL_ANNOTATION_AS_INT
An int value associated with the FULL_CONTROL_ANNOTATION instance of this class. |
static int |
FULL_CONTROL_AS_INT
An int value associated with the FULL_CONTROL instance of this class. |
static AccessLevel |
FULL_CONTROL_CLASS_DEF
Specifies full access rights to functions that can be performed on a ClassDefinition object. |
static int |
FULL_CONTROL_CLASS_DEF_AS_INT
An int value associated with the FULL_CONTROL_CLASS_DEF instance of this class. |
static AccessLevel |
FULL_CONTROL_CUSTOM
Specifies that the user or group is granted or denied permission to link to and view a CustomObject object's properties and security. |
static int |
FULL_CONTROL_CUSTOM_AS_INT
An int value associated with the FULL_CONTROL_CUSTOM instance of this class. |
static AccessLevel |
FULL_CONTROL_DEFAULT
Specifies a combination of access rights to an object that grant or deny a user or group the permission to make most types of changes to a Content Engine object. |
static int |
FULL_CONTROL_DEFAULT_AS_INT
An int value associated with the FULL_CONTROL_DEFAULT instance of this class. |
static AccessLevel |
FULL_CONTROL_DOCUMENT
Specifies full access rights to functions that can be performed on a Document object. |
static int |
FULL_CONTROL_DOCUMENT_AS_INT
An int value associated with the FULL_CONTROL_DOCUMENT instance of this class. |
static AccessLevel |
FULL_CONTROL_DOMAIN
Specifies full access rights to functions that can be performed on a Domain object. |
static int |
FULL_CONTROL_DOMAIN_AS_INT
An int value associated with the FULL_CONTROL_DOMAIN instance of this class. |
static AccessLevel |
FULL_CONTROL_FOLDER
Specifies full access rights to functions that can be performed on a Folder object. |
static int |
FULL_CONTROL_FOLDER_AS_INT
An int value associated with the FULL_CONTROL_FOLDER instance of this class. |
static AccessLevel |
FULL_CONTROL_MARKING
Specifies full access rights to an object for performing marking operations on an object. |
static int |
FULL_CONTROL_MARKING_AS_INT
An int value associated with the FULL_CONTROL_MARKING instance of this class. |
static AccessLevel |
FULL_CONTROL_OBJECT_STORE
Specifies that the user or group is granted or denied full access rights to an object store. |
static int |
FULL_CONTROL_OBJECT_STORE_AS_INT
An int value associated with the FULL_CONTROL_OBJECT_STORE instance of this class. |
static AccessLevel |
LINK_CLASS_DEF
Specifies that the user or group is granted or denied permission to link to and view a ClassDefinition object's properties and security. |
static int |
LINK_CLASS_DEF_AS_INT
An int value associated with the LINK_CLASS_DEF instance of this class. |
static AccessLevel |
LINK_CUSTOM
Specifies that the user or group is granted or denied permission to link to and view a CustomObject object's properties and security. |
static int |
LINK_CUSTOM_AS_INT
An int value associated with the LINK_CUSTOM instance of this class. |
static AccessLevel |
LINK_FOLDER
Specifies that the user or group is granted or denied permission to link to and unlink from a Folder object. |
static int |
LINK_FOLDER_AS_INT
An int value associated with the LINK_FOLDER instance of this class. |
static AccessLevel |
MAJOR_VERSION_DOCUMENT
Specifies that the user or group is granted or denied permission to create a new major version of a Document object's content. |
static int |
MAJOR_VERSION_DOCUMENT_AS_INT
An int value associated with the MAJOR_VERSION_DOCUMENT instance of this class. |
static AccessLevel |
MINOR_VERSION_DOCUMENT
Specifies that the user or group is granted or denied permission to create a new minor version of a Document object's content. |
static int |
MINOR_VERSION_DOCUMENT_AS_INT
An int value associated with the MINOR_VERSION_DOCUMENT instance of this class. |
static AccessLevel |
PUBLISH
Specifies that the user or group is granted or denied permission to publish the object; view its properties, security, and content; and link to the object. |
static int |
PUBLISH_AS_INT
An int value associated with the PUBLISH instance of this class. |
static AccessLevel |
READ
Specifies that the user or group is granted or denied permission to view an object's properties and security. |
static int |
READ_AS_INT
An int value associated with the READ instance of this class. |
static AccessLevel |
USE_DOMAIN
Specifies that the user or group is granted or denied permission to use a Domain object. |
static int |
USE_DOMAIN_AS_INT
An int value associated with the USE_DOMAIN instance of this class. |
static AccessLevel |
USE_OBJECT_STORE
Specifies that the user or group is granted or denied permission to use an object store. |
static int |
USE_OBJECT_STORE_AS_INT
An int value associated with the USE_OBJECT_STORE instance of this class. |
static AccessLevel |
VIEW
Specifies that the user or group is granted or denied permission to view an object's properties, security, and content. |
static int |
VIEW_AS_INT
An int value associated with the VIEW instance of this class. |
static AccessLevel |
VIEW_OBJECT_STORE
Specifies that the user or group is granted or denied permission to view the contents of an object store. |
static int |
VIEW_OBJECT_STORE_AS_INT
An int value associated with the VIEW_OBJECT_STORE instance of this class. |
static AccessLevel |
WRITE_ANNOTATION
Specifies that the user or group is granted or denied permission to view an Annotation object's
content; modify its properties; and create a new instance of an object. |
static int |
WRITE_ANNOTATION_AS_INT
An int value associated with the WRITE_ANNOTATION instance of this class. |
static AccessLevel |
WRITE_CLASS_DEF
Specifies that the user or group is granted or denied permission to create an instance of the object; modify the object's properties; link to the object; and create an instance of the object. |
static int |
WRITE_CLASS_DEF_AS_INT
An int value associated with the WRITE_CLASS_DEF instance of this class. |
static AccessLevel |
WRITE_CUSTOM
Specifies that the user or group is granted or denied permission to link to a CustomObject
object; view and modify its properties; and create a new instance of the object. |
static int |
WRITE_CUSTOM_AS_INT
An int value associated with the WRITE_CUSTOM instance of this class. |
static AccessLevel |
WRITE_DEFAULT
Specifies that the user or group is granted or denied permission to modify the object's properties and create a new instance of the object. |
static int |
WRITE_DEFAULT_AS_INT
An int value associated with the WRITE_DEFAULT instance of this class. |
static AccessLevel |
WRITE_DOCUMENT
Specifies that the user or group is granted or denied permission to link to a Document object;
create a new instance of the object; change the object's lifecycle state; view its content;
and modify its properties. |
static int |
WRITE_DOCUMENT_AS_INT
An int value associated with the WRITE_DOCUMENT instance of this class. |
static AccessLevel |
WRITE_FOLDER
Specifies that the user or group is granted or denied permission to create a subfolder under a Folder object. |
static int |
WRITE_FOLDER_AS_INT
An int value associated with the WRITE_FOLDER instance of this class. |
Method Summary | |
---|---|
static AccessLevel |
getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value. |
int |
getValue()
Returns the internal integer value associated with a specific instance of this class. |
java.lang.String |
toString()
Returns a String representation of this enumeration instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FULL_CONTROL_ANNOTATION_AS_INT
int
value associated with the FULL_CONTROL_ANNOTATION instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL_ANNOTATION
Annotation
object.
A user or group assigned this level of access is granted or denied permission
to create an instance of the object; modify the object's properties and security; change
the object's ownership; and view the object's content. Setting this access level is equivalent
to setting the following combination of individual and Level access rights:
AccessRight.DELETE | AccessRight.WRITE_ACL | AccessRight.WRITE_OWNER | AccessLevel.WRITE_ANNOTATION
public static final int FULL_CONTROL_CUSTOM_AS_INT
int
value associated with the FULL_CONTROL_CUSTOM instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL_CUSTOM
CustomObject
object's properties and security. Setting this access level is equivalent
to setting the following combination of individual and Level access rights:
AccessRight.RESERVED13 | AccessRight.DELETE | AccessRight.RESERVED12 | AccessRight.WRITE_ACL | AccessRight.WRITE_OWNER | AccessLevel.WRITE_CUSTOM
public static final int USE_OBJECT_STORE_AS_INT
int
value associated with the USE_OBJECT_STORE instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel USE_OBJECT_STORE
AccessRight.STORE_OBJECTS | AccessRight.MODIFY_OBJECTS | AccessRight.REMOVE_OBJECTS | AccessRight.CONNECT
public static final int FULL_CONTROL_FOLDER_AS_INT
int
value associated with the FULL_CONTROL_FOLDER instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL_FOLDER
Folder
object.
A user or group assigned this level of access is granted or denied permission to link to and
unlink from the Folder
object; create a subfolder; modify the object's properties and its security;
change the object's ownership; and delete the object.
Assigning this access level is equivalent to setting the following combination of individual and
Level access rights:
AccessRight.RESERVED13 | AccessRight.DELETE | AccessRight.RESERVED12 | AccessRight.MAJOR_VERSION | AccessRight.WRITE_ACL | AccessRight.WRITE_OWNER | AccessLevel.WRITE_FOLDER
public static final int FULL_CONTROL_CLASS_DEF_AS_INT
int
value associated with the FULL_CONTROL_CLASS_DEF instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL_CLASS_DEF
ClassDefinition
object.
A user or group assigned this level of access is granted or denied permission to modify the
object's properties and security; create an instance of the object; change the object's ownership;
and delete the object. Assigning this access level is equivalent to setting the following combination
of access rights:
AccessRight.READ | AccessRight.WRITE | AccessRight.LINK | AccessRight.CREATE_INSTANCE |
AccessRight.CREATE_CHILD | AccessRight.DELETE | AccessRight.READ_ACL | AccessRight.WRITE_ACL | AccessRight.WRITE_OWNER
public static final int FULL_CONTROL_AS_INT
int
value associated with the FULL_CONTROL instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL
AccessLevel.FULL_CONTROL_*
constants.
public static final int WRITE_DEFAULT_AS_INT
int
value associated with the WRITE_DEFAULT instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel WRITE_DEFAULT
AccessRight.CREATE_INSTANCE | AccessRight.WRITE | AccessLevel.READ
public static final int VIEW_AS_INT
int
value associated with the VIEW instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel VIEW
AccessRight.VIEW_CONTENT | AccessLevel.READ
public static final int WRITE_FOLDER_AS_INT
int
value associated with the WRITE_FOLDER instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel WRITE_FOLDER
Folder
object. The user or group can also link to and unlink from the subfolder and
modify its properties. Setting this access level is equivalent to setting the following
combination of individual and Level access rights:
AccessRight.CHANGE_STATE | AccessRight.CREATE_CHILD | AccessRight.CREATE_INSTANCE |
AccessRight.LINK | AccessRight.UNLINK | AccessRight.MINOR_VERSION | AccessRight.READ_ACL |
AccessRight.PUBLISH | AccessRight.VIEW_CONTENT | AccessRight.WRITE | AccessLevel.READ
public static final int FULL_CONTROL_MARKING_AS_INT
int
value associated with the FULL_CONTROL_MARKING instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL_MARKING
AccessRight.ADD_MARKING | AccessRight.REMOVE_MARKING | AccessRight.USE_MARKING
public static final int WRITE_ANNOTATION_AS_INT
int
value associated with the WRITE_ANNOTATION instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel WRITE_ANNOTATION
Annotation
object's
content; modify its properties; and create a new instance of an object. Setting this access level
is equivalent to setting the following combination of individual and Level access rights:
AccessRight.CREATE_INSTANCE | AccessRight.VIEW_CONTENT | AccessRight.WRITE | AccessLevel.READ
public static final int LINK_CUSTOM_AS_INT
int
value associated with the LINK_CUSTOM instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel LINK_CUSTOM
CustomObject
object's properties and security. Setting this access level is equivalent to
setting the following combination of individual and Level access rights:
AccessRight.LINK | AccessLevel.READ
public static final int MINOR_VERSION_DOCUMENT_AS_INT
int
value associated with the MINOR_VERSION_DOCUMENT instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel MINOR_VERSION_DOCUMENT
Document
object's content. The user or group can also link to a Document
object;
change its state; modify its properties; and view its content. Setting this access level is equivalent
to setting the following combination of individual and Level access rights:
AccessRight.MINOR_VERSION | AccessLevel.WRITE_DOCUMENT
public static final int WRITE_DOCUMENT_AS_INT
int
value associated with the WRITE_DOCUMENT instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel WRITE_DOCUMENT
Document
object;
create a new instance of the object; change the object's lifecycle state; view its content;
and modify its properties. Setting this access level is equivalent to setting the following
combination of access rights:
AccessRight.CHANGE_STATE | AccessRight.CREATE_INSTANCE | AccessRight.LINK | AccessRight.UNLINK | AccessRight.VIEW_CONTENT | AccessRight.WRITE | AccessRight.READ_ACL | AccessLevel.READ
public static final int FULL_CONTROL_DOMAIN_AS_INT
int
value associated with the FULL_CONTROL_DOMAIN instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL_DOMAIN
Domain
object.
AccessRight.WRITE_ACL | AccessRight.READ_ACL | AccessRight.DELETE | AccessRight.CREATE_CHILD | AccessRight.WRITE | AccessRight.READ
public static final int PUBLISH_AS_INT
int
value associated with the PUBLISH instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel PUBLISH
AccessRight.READ | AccessRight.LINK | AccessRight.UNLINK | AccessRight.PUBLISH | AccessRight.READ_ACL | AccessRight.VIEW_CONTENT
public static final int USE_DOMAIN_AS_INT
int
value associated with the USE_DOMAIN instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel USE_DOMAIN
Domain
object.
AccessRight.READ
public static final int FULL_CONTROL_DOCUMENT_AS_INT
int
value associated with the FULL_CONTROL_DOCUMENT instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL_DOCUMENT
Document
object.
A user or group assigned this level of access is granted or denied permission to link to the
Document
object; publish the document; modify its properties and its security;
change its state; view its contents; create a new version of its content; and changes its
ownership.
Assigning this access level is equivalent to setting the following combination of
access rights:
AccessRight.READ | AccessRight.WRITE | AccessRight.LINK | AccessRight.MAJOR_VERSION | AccessRight.MINOR_VERSION |
AccessRight.VIEW_CONTENT | AccessRight.CREATE_INSTANCE | AccessRight.CHANGE_STATE | AccessRight.PUBLISH |
AccessRight.RESERVED12 | AccessRight.RESERVED13 | AccessRight.DELETE | AccessRight.WRITE_ACL | AccessRight.READ_ACL |
AccessRight.WRITE_OWNER
public static final int WRITE_CUSTOM_AS_INT
int
value associated with the WRITE_CUSTOM instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel WRITE_CUSTOM
CustomObject
object; view and modify its properties; and create a new instance of the object. Setting this
access level is equivalent to setting the following combination of individual and Level access rights:
AccessRight.CREATE_INSTANCE | AccessRight.LINK | AccessRight.WRITE | AccessLevel.READ
public static final int VIEW_OBJECT_STORE_AS_INT
int
value associated with the VIEW_OBJECT_STORE instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel VIEW_OBJECT_STORE
AccessRight.CONNECT
public static final int FULL_CONTROL_OBJECT_STORE_AS_INT
int
value associated with the FULL_CONTROL_OBJECT_STORE instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL_OBJECT_STORE
AccessRight.WRITE_ANY_OWNER | AccessRight.REMOVE_OBJECTS | AccessRight.MODIFY_OBJECTS | AccessRight.STORE_OBJECTS | AccessRight.CONNECT | AccessRight.WRITE_ACL | AccessRight.READ_ACL
public static final int MAJOR_VERSION_DOCUMENT_AS_INT
int
value associated with the MAJOR_VERSION_DOCUMENT instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel MAJOR_VERSION_DOCUMENT
Document
object's content. The user or group can also link to a Document
object;
change its state; modify its properties; and view its content. Setting this access level is equivalent
to setting the following combination of individual and Level access rights:
AccessRight.MAJOR_VERSION | AccessRight.MINOR_VERSION | AccessLevel.WRITE_DOCUMENT
public static final int LINK_FOLDER_AS_INT
int
value associated with the LINK_FOLDER instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel LINK_FOLDER
Folder
object. The user or group can also view the folder's properties and security.
Setting this access level is equivalent to setting the following combination of individual and Level access rights:
AccessRight.LINK | AccessRight.UNLINK | AccessLevel.READ
public static final int WRITE_CLASS_DEF_AS_INT
int
value associated with the WRITE_CLASS_DEF instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel WRITE_CLASS_DEF
AccessRight.CREATE_CHILD | AccessRight.CREATE_INSTANCE | AccessRight.LINK | AccessRight.WRITE | AccessLevel.READ
public static final int FULL_CONTROL_DEFAULT_AS_INT
int
value associated with the FULL_CONTROL_DEFAULT instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel FULL_CONTROL_DEFAULT
AccessRight.RESERVED13 | AccessRight.DELETE | AccessRight.RESERVED12 | AccessRight.WRITE_ACL | AccessRight.WRITE_OWNER | AccessLevel.WRITE_DEFAULT
public static final int LINK_CLASS_DEF_AS_INT
int
value associated with the LINK_CLASS_DEF instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel LINK_CLASS_DEF
ClassDefinition
object's properties and security. Setting this access level is equivalent to
setting the following combination of individual and Level access rights:
AccessRight.LINK | AccessLevel.READ
public static final int READ_AS_INT
int
value associated with the READ instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final AccessLevel READ
AccessRight.READ | AccessRight.READ_ACL
Method Detail |
---|
public int getValue()
getInstanceFromInt(int)
public java.lang.String toString()
String
representation of this enumeration instance.
toString
in class java.lang.Object
public static AccessLevel getInstanceFromInt(int value)
value
- The integer value. (See the *_AS_INT fields.)
EngineRuntimeException
- If an enumeration instance with the given
ordinal value does not exist.getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |