Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.types.rights.journal
Enum ContextJournalSorting.SortProperty

java.lang.Object
  extended by java.lang.Enum<ContextJournalSorting.SortProperty>
      extended by oracle.irm.engine.types.rights.journal.ContextJournalSorting.SortProperty

All Implemented Interfaces:
Serializable, Comparable<ContextJournalSorting.SortProperty>
Enclosing class:
ContextJournalSorting

public static enum ContextJournalSorting.SortProperty
extends Enum<ContextJournalSorting.SortProperty>

Sort Property enumeration. This enumeration is for use by EJB and Web Service types and interfaces. This enumeration also includes two additional methods value and fromValue which are used when binding the enumeration value in a web service call.


Enum Constant Summary
ACCOUNT
          Sort on account name.
CONTEXT
          Sort on context.
DEVICE
          Sort on device.
FEATURE
          Sort on feature.
ITEM_CODE
          Sort on item code.
NONE
          Default sort order.
STATUS
          Sort on status.
TIME
          Sort on time.
URI
          Sort on URI.

 

Method Summary
static ContextJournalSorting.SortProperty fromValue(String value)
          Get the enumeration value from a string.
 String value()
          Get the enumeration string value.
static ContextJournalSorting.SortProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContextJournalSorting.SortProperty[] 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

NONE

public static final ContextJournalSorting.SortProperty NONE
Default sort order. The order returned from the persistent storage of context journal entries.

TIME

public static final ContextJournalSorting.SortProperty TIME
Sort on time. The result set is sorted based on the context journal entry Time property.

STATUS

public static final ContextJournalSorting.SortProperty STATUS
Sort on status. The result set is sorted on the context journal entry Status property.

ACCOUNT

public static final ContextJournalSorting.SortProperty ACCOUNT
Sort on account name. The result set is sorted on the context journal entry Account property. The sort is performed on the account Name.

FEATURE

public static final ContextJournalSorting.SortProperty FEATURE
Sort on feature. The result set is sorted on the context journal entry Feature property. The sort is performed on the feature Id.

URI

public static final ContextJournalSorting.SortProperty URI
Sort on URI. The result set is sorted on the context journal entry Uri property.

DEVICE

public static final ContextJournalSorting.SortProperty DEVICE
Sort on device. The result set is sorted on the context journal entry Device property. The sort is performed on the device Name.

CONTEXT

public static final ContextJournalSorting.SortProperty CONTEXT
Sort on context. The result set is sorted on the context journal entry ContextInstance property. The sort is performed on Uuid of the context instance.

ITEM_CODE

public static final ContextJournalSorting.SortProperty ITEM_CODE
Sort on item code. The result set is sorted on the context journal entry ItemCode property. The sort is performed on Value of the item code with a secondary sort on the Time property.

Method Detail

values

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

valueOf

public static ContextJournalSorting.SortProperty 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

value

public String value()
Get the enumeration string value.
Returns:
the enumeration value as a string value.

fromValue

public static ContextJournalSorting.SortProperty fromValue(String value)
Get the enumeration value from a string.
Parameters:
value - the enumeration value as a string value.
Returns:
the enumeration value.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.