Skip navigation links

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

E12907-03


oracle.irm.engine.rights.journal
Class ContextJournalEntryFactory

java.lang.Object
  extended by oracle.irm.engine.rights.journal.ContextJournalEntryFactory


public final class ContextJournalEntryFactory
extends Object

Context Journal Entry factory. This class provides methods for creating new instances of ContextJournalEntry objects.


Method Summary
static ContextJournalEntry createContextJournalEntry(Date time, ContextJournalEntry.Status status, Account account, Feature feature, ContextInstance contextInstance, ItemCode itemCode, URI uri, Device device)
          Create a context journal entry.
static ContextJournalEntry createContextJournalEntry(JournalEntry journalEntry)
          Create a context journal entry based upon the information in a journal entry.
static ContextJournalEntry createContextJournalEntry(UUID uuid, Date time, ContextJournalEntry.Status status, Account account, Feature feature, ContextInstance contextInstance, ItemCode itemCode, URI uri, Device device)
          Recreate a context journal entry.
static ContextJournalEntry createContextJournalEntry(UUID uuid, JournalEntry journalEntry)
          Create a context journal entry based upon the information in a journal entry.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createContextJournalEntry

public static ContextJournalEntry createContextJournalEntry(Date time,
                                                            ContextJournalEntry.Status status,
                                                            Account account,
                                                            Feature feature,
                                                            ContextInstance contextInstance,
                                                            ItemCode itemCode,
                                                            URI uri,
                                                            Device device)
Create a context journal entry. A context journal UUID is automatically created.
Parameters:
time - the time of the action.
status - the status of the action.
account - the account performing the action.
feature - the application feature being performed.
contextInstance - the context of the content.
itemCode - the item code of the content.
uri - the source of the content. This parameter is optional, it is valid to pass null.
device - the device the action was performed.
Returns:
a new Context Journal Entry instance.

createContextJournalEntry

public static ContextJournalEntry createContextJournalEntry(UUID uuid,
                                                            Date time,
                                                            ContextJournalEntry.Status status,
                                                            Account account,
                                                            Feature feature,
                                                            ContextInstance contextInstance,
                                                            ItemCode itemCode,
                                                            URI uri,
                                                            Device device)
Recreate a context journal entry. This constructor allows a context journal entry to be recreated.
Parameters:
uuid - the context journal UUID.
time - the time of the action.
status - the status of the action.
account - the account performing the action.
feature - the application feature being performed.
contextInstance - the context of the content.
itemCode - the item code of the content.
uri - the source of the content. This parameter is optional, it is valid to pass null.
device - the device the action was performed.
Returns:
a new Context Journal Entry instance.

createContextJournalEntry

public static ContextJournalEntry createContextJournalEntry(UUID uuid,
                                                            JournalEntry journalEntry)
Create a context journal entry based upon the information in a journal entry.
Parameters:
uuid - the context journal entry UUID.
journalEntry - a journal entry to initialize the context journal entry from.
Returns:
a new Context Journal Entry instance.

createContextJournalEntry

public static ContextJournalEntry createContextJournalEntry(JournalEntry journalEntry)
Create a context journal entry based upon the information in a journal entry. A context journal entry UUID is automatically created.
Parameters:
journalEntry - a journal entry to initialize the context journal entry from.
Returns:
a new Context Journal Entry instance.

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.