|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
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.ContextRef
public class ContextRef
Context reference. A context is used as a coarse grained way of classifying sealed documents. When content is sealed to the context classification system the sealed content contains details of the Context
together with semi-unique value called the ItemCode
. This information together is called the ContextCookie
. Rights to access context classified content is expressed in terms of the context and optionally the item code. e.g. "john can access all content sealed against context top secret" or "mary can access only content sealed against context top secret with an item code of secrets.sdoc". A context is identified by an UUID value.
This class can be used to reference an instance of a Context object. It contains all the properties needed to uniquely identify a Context. The serialized form of this class can be used to identify an object without the need to serialize the complete object.
Context instances can be serialized as an XML document. This XML document can also be used to recreate a Context object. The following XML document shows an example Context in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<classifications:Context xmlns:classifications="http://xmlns.oracle.com/irm/classifications">
<uuid>588403f9-9cff-4cce-88e4-e030cc57282a</uuid>
</classifications:Context>
Context instances can also be serialized by reference. A reference contains all the information needed to uniquely identify a Context without needing to serialize the complete object. The reference form of the XML document can be seen below.
<?xml version="1.0" encoding="UTF-8"?>
<classifications:ContextRef xmlns:classifications="http://xmlns.oracle.com/irm/classifications">
<uuid>588403f9-9cff-4cce-88e4-e030cc57282a</uuid>
</classifications:ContextRef>
Constructor Summary | |
---|---|
ContextRef() No argument constructor. |
|
ContextRef(UUID uuid) Constructor. |
Method Summary | |
---|---|
UUID |
getUuid() Context UUID. |
void |
setUuid(UUID value) Context UUID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextRef()
public ContextRef(UUID uuid)
Method Detail |
---|
public UUID getUuid()
public void setUuid(UUID value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |