Skip navigation links

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

E12907-03


oracle.irm.engine.rights.journal
Interface ContextJournalSorting


public interface ContextJournalSorting

Sorting criteria for context based journal entries. Context journal searching operations allow the results to be sorted, based on properties of the ContextJournalEntry. The context journal sort properties include the ability to sort on context Uuid and item code Value.

Creation

Instances of Context Journal Sorting objects can be created using the following factory style method(s).

ContextJournalSorting object = createContextJournalSorting(
    value,
    order);

XML Serialization

Context Journal Sorting instances can be serialized as an XML document. This XML document can also be used to recreate a Context Journal Sorting object. The following XML document shows an example Context Journal Sorting in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<rights:ContextJournalSorting xmlns:rights="http://xmlns.oracle.com/irm/rights">
    <value>NONE</value>
    <order>ASCENDING</order>
</rights:ContextJournalSorting>


Nested Class Summary
static class ContextJournalSorting.SortOrder
          Sort order.
static class ContextJournalSorting.SortProperty
          Context journal entries can be sorted on one property.

 

Method Summary
 ContextJournalSorting.SortOrder getOrder()
          Sort order.
 ContextJournalSorting.SortProperty getValue()
          Sort property value.

 

Method Detail

getValue

ContextJournalSorting.SortProperty getValue()
Sort property value. The context journal entry property that the search results sort on.
Returns:
the value of the property. This method will never return null.

getOrder

ContextJournalSorting.SortOrder getOrder()
Sort order.
Returns:
the value of the property. This method will never return null.

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.