|
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.rights.context.DomainFactory
public final class DomainFactory
Domain factory. This class provides methods for creating new instances of Domain
objects.
Method Summary | |
---|---|
static Domain |
createDomain(UUID uuid) Recreate a domain. |
static Domain |
createDomain(UUID uuid, Collection<Label> labels) Recreate a domain from it's properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Domain createDomain(UUID uuid) throws UnknownDomainException
Labels
) will then be retrievable.
uuid
- the UUID.UnknownDomainException
- the domain does not exist. When a domain is created, the implementation may immediately check whether the domain exists or delay this until the other properties on the domain are accessed. An assumption should not be made that this constructor will throw this exception if the domain does not exist.public static Domain createDomain(UUID uuid, Collection<Label> labels)
uuid
- the UUID.labels
- labels for the domain. This parameter is optional, it is valid to pass null or an empty collection.
|
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 |