public enum OwAnnotInfoEnum extends Enum<OwAnnotInfoEnum>
Enumeration representing the information to request from annotation.
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 and Description |
---|
DELETE_ANNOTATION
DELETE access rights
|
EDIT_ANNOTATION_ACL
Edit ACL of annotation
|
MODIFY_ANNOTATION
MODIFY access rights
|
VIEW_ANNOTATION
View access rights
|
VIEW_ANNOTATION_ACL
View ACL of annotation
|
Modifier and Type | Method and Description |
---|---|
static OwAnnotInfoEnum |
getEnumByType(String type)
Will search for an entry with given type.
|
String |
getType() |
static OwAnnotInfoEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OwAnnotInfoEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OwAnnotInfoEnum VIEW_ANNOTATION
public static final OwAnnotInfoEnum MODIFY_ANNOTATION
public static final OwAnnotInfoEnum DELETE_ANNOTATION
public static final OwAnnotInfoEnum VIEW_ANNOTATION_ACL
public static final OwAnnotInfoEnum EDIT_ANNOTATION_ACL
public static OwAnnotInfoEnum[] values()
for (OwAnnotInfoEnum c : OwAnnotInfoEnum.values()) System.out.println(c);
public static OwAnnotInfoEnum 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 getType()
public static OwAnnotInfoEnum getEnumByType(String type)
type
- String matching value of enumeration entryCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.