Skip navigation links

Oracle® WebCenter Content Java API Reference for Imaging
11g Release 1 (11.1.1)

E12853-03


oracle.imaging
Enum Application.Ability

java.lang.Object
  extended by java.lang.Enum<Application.Ability>
      extended by oracle.imaging.Application.Ability

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Application.Ability>
Enclosing class:
Application

public static enum Application.Ability
extends java.lang.Enum<Application.Ability>

Enumeration validating that the current user has this ability on the applications.

For example, to get a list of applications the current user can manage, the Ability.MANAGE enumeration should be specified in the ApplicationService.listApplications method.


Enum Constant Summary
MANAGE
          Returns Applications the current user can manage.
VIEW
          Returns all Application that the current user has access to.

 

Method Summary
static Application.Ability valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Application.Ability[] 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

public static final Application.Ability VIEW
Returns all Application that the current user has access to.

MANAGE

public static final Application.Ability MANAGE
Returns Applications the current user can manage.

Method Detail

values

public static Application.Ability[] 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 (Application.Ability c : Application.Ability.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Application.Ability valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle® WebCenter Content Java API Reference for Imaging
11g Release 1 (11.1.1)

E12853-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.