Skip navigation links

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

E12853-01


oracle.imaging
Enum Connection.Ability

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

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

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

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

For example, to get a list of Connections the current user can manage, the Ability.MANAGE enumeration should be specified in the ConnectionService.listConnections method.


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

 

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

MANAGE

public static final Connection.Ability MANAGE
Returns Connections the current user can manage.

REPOSITORY

public static final Connection.Ability REPOSITORY

BPEL

public static final Connection.Ability BPEL

Method Detail

values

public static Connection.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 (Connection.Ability c : Connection.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 Connection.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.