|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OwDocInfoEnum>
com.wewebu.ow.server.ui.viewer.OwDocInfoEnum
public enum OwDocInfoEnum
Enum for handling of OwInforProvider implementation. Represents just the objects which can be send from viewer to request information of a document.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Enum Constant Summary | |
---|---|
HAS_EXTERNAL_RESOURCES
Has the document external resources, specific for MO:DCA(AFP, IOCA) content type |
|
HAS_PERM_TO_CANCEL_CHECKOUT
Can current user permission to cancel checkout |
|
HAS_PERM_TO_CHECKIN
Has permission/Can current user to check-in the document |
|
HAS_PERM_TO_CHECKOUT
Has permission/Can user check-out document |
|
HAS_PERM_TO_COPY
Can current user copy content |
|
HAS_PERM_TO_CREATE_ANNOTATIONS
Has current user permission to add the annotations on this document |
|
HAS_PERM_TO_CREATE_DOCUMENT
Has current user permission to create instance of the document |
|
HAS_PERM_TO_EXPORT
Has current user permission to save/export the document content to local system |
|
HAS_PERM_TO_MOD
Has permission to modify content (not Annotation) |
|
HAS_PERM_TO_PRINT
Has current user permission to print the document |
|
HAS_PERM_TO_UPDATE_ANNOTATIONS
Has current user permission to update the annotations linked with this document |
|
HAS_PERM_TO_VIEW
Has current user permission to view the document content |
|
HAS_PERM_TO_VIEW_ANNOTATIONS
Has current user permission to view the annotations linked with this document |
|
IS_CHECKOUT
Is checkout |
|
IS_VERSIONABLE
Is versionable |
|
NUMBER_OF_PAGES_IN_SEGMENT
Number of pages in a segment, this constant has no meaning when number of segment is 1 |
|
NUMBER_OF_PARENTS
Number of parents the document has, default is 0 |
|
NUMBER_OF_SEGMENTS
Number of segments in the document, default is 1 |
Method Summary | |
---|---|
static OwDocInfoEnum |
getEnumFromName(String name)
Will search for an entry with given name. |
String |
getName()
|
static OwDocInfoEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OwDocInfoEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OwDocInfoEnum HAS_EXTERNAL_RESOURCES
public static final OwDocInfoEnum HAS_PERM_TO_CHECKIN
public static final OwDocInfoEnum HAS_PERM_TO_CHECKOUT
public static final OwDocInfoEnum HAS_PERM_TO_CANCEL_CHECKOUT
public static final OwDocInfoEnum HAS_PERM_TO_COPY
public static final OwDocInfoEnum HAS_PERM_TO_CREATE_ANNOTATIONS
public static final OwDocInfoEnum HAS_PERM_TO_EXPORT
public static final OwDocInfoEnum HAS_PERM_TO_PRINT
public static final OwDocInfoEnum HAS_PERM_TO_UPDATE_ANNOTATIONS
public static final OwDocInfoEnum HAS_PERM_TO_VIEW_ANNOTATIONS
public static final OwDocInfoEnum HAS_PERM_TO_VIEW
public static final OwDocInfoEnum HAS_PERM_TO_CREATE_DOCUMENT
public static final OwDocInfoEnum NUMBER_OF_PAGES_IN_SEGMENT
public static final OwDocInfoEnum NUMBER_OF_SEGMENTS
public static final OwDocInfoEnum NUMBER_OF_PARENTS
public static final OwDocInfoEnum IS_CHECKOUT
public static final OwDocInfoEnum IS_VERSIONABLE
public static final OwDocInfoEnum HAS_PERM_TO_MOD
Method Detail |
---|
public static OwDocInfoEnum[] values()
for (OwDocInfoEnum c : OwDocInfoEnum.values()) System.out.println(c);
public static OwDocInfoEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getName()
public static OwDocInfoEnum getEnumFromName(String name)
name
- String matching name of entry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |