Skip navigation links

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

E12853-02


oracle.imaging
Enum Search.Ability

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

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

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

Enumeration of the availible abilities for a search assigned to a user.

For example, to get a list of searches the current user can manage, the Ability.MANAGE enumeration should be specified in the SearchService.listSearches method.


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

 

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

MANAGE

public static final Search.Ability MANAGE
Returns all Searches the current user can manage.

Method Detail

values

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

E12853-02


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