public enum DocumentAspect extends Enum<DocumentAspect>
| Enum Constant and Description |
|---|
ALIASABLE_EMAIL |
AUDIO |
CLASSIFIABLE |
COMPLIANCEABLE |
DUBLIN_CORE |
EFFECTIVITY |
EMAILED |
EXIF |
GEOGRAPHIC |
GOOGLE_DOCS_EDITABLE |
INDEX_CONTROL |
INLINE_EDITABLE |
RESTRICTABLE |
SUMMARIZABLE |
TAGGABLE |
TEMPLATABLE |
VERSIONABLE |
| Modifier and Type | Method and Description |
|---|---|
static DocumentAspect |
getAspect(String aspectName)
Find the
DocumentAspect based it is name. |
static DocumentAspect |
getAspectByProperty(String property)
Find the
DocumentAspect based it is property. |
String |
getAspectName() |
String |
getAspectValue() |
static DocumentAspect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentAspect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentAspect CLASSIFIABLE
public static final DocumentAspect VERSIONABLE
public static final DocumentAspect AUDIO
public static final DocumentAspect INDEX_CONTROL
public static final DocumentAspect COMPLIANCEABLE
public static final DocumentAspect DUBLIN_CORE
public static final DocumentAspect EFFECTIVITY
public static final DocumentAspect SUMMARIZABLE
public static final DocumentAspect TEMPLATABLE
public static final DocumentAspect EMAILED
public static final DocumentAspect ALIASABLE_EMAIL
public static final DocumentAspect TAGGABLE
public static final DocumentAspect INLINE_EDITABLE
public static final DocumentAspect GOOGLE_DOCS_EDITABLE
public static final DocumentAspect GEOGRAPHIC
public static final DocumentAspect EXIF
public static final DocumentAspect RESTRICTABLE
public static DocumentAspect[] values()
for (DocumentAspect c : DocumentAspect.values()) System.out.println(c);
public static DocumentAspect 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 getAspectName()
public String getAspectValue()
public static DocumentAspect getAspect(String aspectName) throws Exception
DocumentAspect based it is name.aspectName - - Aspect's NameDocumentAspectException - - Throws Exception if not able to findpublic static DocumentAspect getAspectByProperty(String property) throws Exception
DocumentAspect based it is property.property - - Aspect's propertyDocumentAspectException - - Throws Exception if not able to findCopyright © 2005–2016 Alfresco Software. All rights reserved.