|
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.rights.context.DomainRef
public class DomainRef
Domain reference. A domain is a way of organizing security policies relating to Context
based classifications. A domain owns a set of document roles and context templates. The document roles are for use within this domain with. Each Context
will have associated with it all or a sub-set of these roles for assignment to accounts. Context
templates can be used to create Context
classification instances with a well defined structure. e.g. defining which roles are available for use within a Context.
This class can be used to reference an instance of a Domain object. It contains all the properties needed to uniquely identify a Domain. The serialized form of this class can be used to identify an object without the need to serialize the complete object.
Domain instances can be serialized as an XML document. This XML document can also be used to recreate a Domain object. The following XML document shows an example Domain in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<rights:Domain xmlns:rights="http://xmlns.oracle.com/irm/rights">
<uuid>021d94da-3b5b-41c3-afb0-55135a7e5321</uuid>
<labels>
<locale>en</locale>
<name>Acme</name>
<description>This is a domain for ACME.</description>
</labels>
</rights:Domain>
Domain instances can also be serialized by reference. A reference contains all the information needed to uniquely identify a Domain 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"?>
<rights:DomainRef xmlns:rights="http://xmlns.oracle.com/irm/rights">
<uuid>021d94da-3b5b-41c3-afb0-55135a7e5321</uuid>
</rights:DomainRef>
Constructor Summary | |
---|---|
DomainRef() No argument constructor. |
|
DomainRef(UUID uuid) Constructor. |
Method Summary | |
---|---|
UUID |
getUuid() The UUID of the domain. |
void |
setUuid(UUID value) The UUID of the domain. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomainRef()
public DomainRef(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-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |