Skip navigation links

Oracle® Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-01


oracle.imaging
Enum Input.Ability

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

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

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

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

For example, to get a list of inputs the current user can manage, the Ability.MANAGE enumeration should be specified in the InputService.listInputs method.


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

 

Method Summary
static Input.Ability valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Input.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 Input.Ability VIEW
Returns all Inputs that the current user has access to.

MANAGE

public static final Input.Ability MANAGE
Returns Inputs the current user can manage.

Method Detail

values

public static Input.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 (Input.Ability c : Input.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 Input.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® Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-01


Copyright © 2010, Oracle. All rights reserved.