|
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.rights.context.ContextInstanceFactory
public final class ContextInstanceFactory
Context Instance factory. This class provides methods for creating new instances of ContextInstance
objects.
Method Summary | |
---|---|
static ContextInstance |
createContextInstance(UUID uuid) Recreate a context instance. |
static ContextInstance |
createContextInstance(UUID uuid, Collection<Label> labels, Collection<ItemCode> items, Collection<ContextInstance> trustedContexts, ContextInstance.Visibility visibility, Collection<KeySet> keySets, ContextTemplate template) Create a context instance. |
static ContextInstance |
createContextInstance(UUID uuid, Collection<Label> labels, Collection<ItemCode> items, Collection<ContextInstance> trustedContexts, ContextInstance.Visibility visibility, ContextTemplate template) Create a context instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ContextInstance createContextInstance(UUID uuid) throws UnknownContextException
uuid
- the UUID for the context.UnknownContextException
- the context does not exist. When a context is created, the implementation may immediately check whether the context exists or delay this until the other properties on the context are accessed. An assumption should not be made that this constructor will throw this exception if the context does not exist.public static ContextInstance createContextInstance(UUID uuid, Collection<Label> labels, Collection<ItemCode> items, Collection<ContextInstance> trustedContexts, ContextInstance.Visibility visibility, ContextTemplate template)
uuid
- the UUID for the context.labels
- labels. This parameter is optional, it is valid to pass null or an empty collection.items
- item exclusions. This parameter is optional, it is valid to pass null or an empty collection.trustedContexts
- trusted contexts. This parameter is optional, it is valid to pass null or an empty collection.visibility
- inspector visibility.template
- owning template.public static ContextInstance createContextInstance(UUID uuid, Collection<Label> labels, Collection<ItemCode> items, Collection<ContextInstance> trustedContexts, ContextInstance.Visibility visibility, Collection<KeySet> keySets, ContextTemplate template)
uuid
- the UUID for the context.labels
- labels. This parameter is optional, it is valid to pass null or an empty collection.items
- item exclusions. This parameter is optional, it is valid to pass null or an empty collection.trustedContexts
- trusted contexts. This parameter is optional, it is valid to pass null or an empty collection.visibility
- inspector visibility.keySets
- associated key sets. This parameter is optional, it is valid to pass null or an empty collection.template
- owning template.
|
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 |