|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.rights.journal.ContextJournalEntryCollectionFactory
public final class ContextJournalEntryCollectionFactory
Context Journal Entry collection factory and utilities. This class provides methods for creating new instances of ContextJournalEntry
collections as well as providing a number of collection based utility methods and fields. These methods are provided mainly for convenience and to provide a consistent way to create Context Journal Entry collections. Methods that take collection parameters make no assumptions about what collection implementation is used, so the use of these factory style methods is at the developers discretion.
Field Summary | |
---|---|
static Collection<ContextJournalEntry> |
EMPTY_CONTEXT_JOURNAL_ENTRIES An empty Context Journal Entry collection. |
Method Summary | |
---|---|
static Map<UUID,ContextJournalEntry> |
contextJournalEntriesAsMap(Collection<ContextJournalEntry> collection) Create a map keyed on Uuid from a collection of Context Journal Entry elements. |
static Set<ContextJournalEntry> |
contextJournalEntriesAsSet(Collection<ContextJournalEntry> collection) Create a set of Context Journal Entry elements from a collection. |
static Collection<ContextJournalEntry> |
copyContextJournalEntries(Collection<ContextJournalEntry> collection) Create a shallow copy of a Context Journal Entry collection. |
static Collection<ContextJournalEntry> |
createContextJournalEntries(ContextJournalEntry... elements) Create a Context Journal Entry collection containing zero or more elements. |
static Collection<ContextJournalEntry> |
createContextJournalEntries(int capacity) Create an empty Context Journal Entry collection with a capacity specified. |
static ContextJournalEntry |
getContextJournalEntryByUuid(Collection<ContextJournalEntry> collection, UUID key) Get an element from a Context Journal Entry collection by Uuid. |
static Collection<ContextJournalEntry> |
unmodifiableContextJournalEntries(Collection<ContextJournalEntry> value) Create an immutable shallow copy of a Context Journal Entry collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Collection<ContextJournalEntry> EMPTY_CONTEXT_JOURNAL_ENTRIES
Method Detail |
---|
public static Collection<ContextJournalEntry> createContextJournalEntries(ContextJournalEntry... elements)
elements
- The elements to add into the collection.public static Collection<ContextJournalEntry> createContextJournalEntries(int capacity)
capacity
- The initial collection capacity.public static Collection<ContextJournalEntry> copyContextJournalEntries(Collection<ContextJournalEntry> collection)
collection
- The collection to copy.public static Set<ContextJournalEntry> contextJournalEntriesAsSet(Collection<ContextJournalEntry> collection)
collection
- The collection to copy.public static Collection<ContextJournalEntry> unmodifiableContextJournalEntries(Collection<ContextJournalEntry> value)
value
- The collection to copy.public static Map<UUID,ContextJournalEntry> contextJournalEntriesAsMap(Collection<ContextJournalEntry> collection)
collection
- The collection to convert to a map.public static ContextJournalEntry getContextJournalEntryByUuid(Collection<ContextJournalEntry> collection, UUID key)
collection
- The collection.key
- The key.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |