com.wewebu.ow.server.ui.viewer
Enum OwAnnotInfoEnum

java.lang.Object
  extended by java.lang.Enum<OwAnnotInfoEnum>
      extended by com.wewebu.ow.server.ui.viewer.OwAnnotInfoEnum
All Implemented Interfaces:
Serializable, Comparable<OwAnnotInfoEnum>

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 Summary
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
 
Method Summary
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.
 
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

VIEW_ANNOTATION

public static final OwAnnotInfoEnum VIEW_ANNOTATION
View access rights


MODIFY_ANNOTATION

public static final OwAnnotInfoEnum MODIFY_ANNOTATION
MODIFY access rights


DELETE_ANNOTATION

public static final OwAnnotInfoEnum DELETE_ANNOTATION
DELETE access rights


VIEW_ANNOTATION_ACL

public static final OwAnnotInfoEnum VIEW_ANNOTATION_ACL
View ACL of annotation


EDIT_ANNOTATION_ACL

public static final OwAnnotInfoEnum EDIT_ANNOTATION_ACL
Edit ACL of annotation

Method Detail

values

public static OwAnnotInfoEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OwAnnotInfoEnum c : OwAnnotInfoEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OwAnnotInfoEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getType

public String getType()

getEnumByType

public static OwAnnotInfoEnum getEnumByType(String type)
Will search for an entry with given type.

Parameters:
type - String matching value of enumeration entry
Returns:
OwAnnotInfoEnum or null if not found


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.