|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.types.rights.journal.ContextJournalEntry
public class ContextJournalEntry
Context Journal Entry type. A context journal entry contains a record of an action performed on sealed content of the context classification system. The context journal entry contains the Time
the action that was performed, whether the action was successful or unsuccessful, which Account
performed the action, what Feature
was performed on the content, the ContextInstance
of the content, the ItemCode
of the content, the Uri
source of the content and the Device
the action was performed.
Context Journal Entry instances can be serialized as an XML document. This XML document can also be used to recreate a Context Journal Entry object. The following XML document shows an example Context Journal Entry in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<rights:ContextJournalEntry xmlns:rights="http://xmlns.oracle.com/irm/rights" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../schema/irm_rights_journal_types.xsd">
<uuid>7fabc0b0-6ece-495b-96e3-661b655b1759</uuid>
<time>2008-02-01T12:00:00.000+01:00</time>
<status>SUCCESS</status>
<account>
<uuid>17f45d8d-d5c9-4970-8808-daa0fc893c33</uuid>
<name>John Smith</name>
<type>USER</type>
</account>
<feature>
<id>oracle.irm.generic.Open</id>
<use>IMMEDIATE</use>
<record>true</record>
</feature>
<contextInstance>
<uuid>7fabc0b0-6ece-495b-96e3-661b655b1759</uuid>
</contextInstance>
<itemCode>
<value>sample.sdoc</value>
</itemCode>
<uri>http://irm.example.com/sample.sdoc</uri>
<device>
<uuid>7fabc0b0-6ece-495b-96e3-661b655b1759</uuid>
<name>machine</name>
</device>
</rights:ContextJournalEntry>
Nested Class Summary | |
---|---|
static class |
ContextJournalEntry.Status Status enumeration. |
Constructor Summary | |
---|---|
ContextJournalEntry() No argument constructor. |
|
ContextJournalEntry(UUID uuid, Date time, ContextJournalEntry.Status status, Account account, Feature feature, ContextInstanceRef contextInstance, ItemCode itemCode, URI uri, Device device) Constructor. |
Method Summary | |
---|---|
Account |
getAccount() The account performing the action. |
ContextInstanceRef |
getContextInstance() The context of the content. |
Device |
getDevice() The device the action was performed. |
Feature |
getFeature() The application feature being performed. |
ItemCode |
getItemCode() The item code of the content. |
ContextJournalEntry.Status |
getStatus() The status of the action. |
Date |
getTime() The time of the action. |
URI |
getUri() The source of the content. |
UUID |
getUuid() The context journal entry UUID. |
void |
setAccount(Account value) The account performing the action. |
void |
setContextInstance(ContextInstanceRef value) The context of the content. |
void |
setDevice(Device value) The device the action was performed. |
void |
setFeature(Feature value) The application feature being performed. |
void |
setItemCode(ItemCode value) The item code of the content. |
void |
setStatus(ContextJournalEntry.Status value) The status of the action. |
void |
setTime(Date value) The time of the action. |
void |
setUri(URI value) The source of the content. |
void |
setUuid(UUID value) The context journal entry UUID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextJournalEntry()
public ContextJournalEntry(UUID uuid, Date time, ContextJournalEntry.Status status, Account account, Feature feature, ContextInstanceRef contextInstance, ItemCode itemCode, URI uri, Device device)
Method Detail |
---|
public UUID getUuid()
public void setUuid(UUID value)
value
- the new value for the property.public Date getTime()
public void setTime(Date value)
value
- the new value for the property.public ContextJournalEntry.Status getStatus()
public void setStatus(ContextJournalEntry.Status value)
value
- the new value for the property.public Account getAccount()
public void setAccount(Account value)
value
- the new value for the property.public Feature getFeature()
Record
public void setFeature(Feature value)
value
- the new value for the property.Record
public ContextInstanceRef getContextInstance()
public void setContextInstance(ContextInstanceRef value)
value
- the new value for the property.public ItemCode getItemCode()
ItemCode
that identifies the content that this context journal entry relates to.public void setItemCode(ItemCode value)
ItemCode
that identifies the content that this context journal entry relates to.value
- the new value for the property.public URI getUri()
public void setUri(URI value)
value
- the new value for the property.public Device getDevice()
public void setDevice(Device value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |