|
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.types.classifications.context.ContextCookie
public class ContextCookie
Context Cookie type. When content is sealed using the context classification system the meta-data added to sealed content is a context cookie. A context classification cookie consists of a Context
and a semi-unique ItemCode
.
Context Cookie instances can be serialized as an XML document. This XML document can also be used to recreate a Context Cookie object. The following XML document shows an example Context Cookie in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<classifications:ContextCookie xmlns:classifications="http://xmlns.oracle.com/irm/classifications">
<context>
<uuid>588403f9-9cff-4cce-88e4-e030cc57282a</uuid>
</context>
<itemCode>
<value>samples.doc</value>
<time>2007-05-10T12:00:00.000+00:00</time>
</itemCode>
</classifications:ContextCookie>
Classification
, Serialized FormConstructor Summary | |
---|---|
ContextCookie() No argument constructor. |
|
ContextCookie(ContextRef context, ItemCode itemCode) Constructor. |
Method Summary | |
---|---|
ContextRef |
getContext() The context. |
ItemCode |
getItemCode() The item code. |
void |
setContext(ContextRef value) The context. |
void |
setItemCode(ItemCode value) The item code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextCookie()
public ContextCookie(ContextRef context, ItemCode itemCode)
Method Detail |
---|
public ContextRef getContext()
public void setContext(ContextRef value)
value
- the new value for the property.public ItemCode getItemCode()
public void setItemCode(ItemCode value)
value
- the new value for the property.
|
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 |