|
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.ContextTemplateFactory
public final class ContextTemplateFactory
Context Template factory. This class provides methods for creating new instances of ContextTemplate
objects.
Method Summary | |
---|---|
static ContextTemplate |
createContextTemplate(UUID uuid, Collection<Label> labels, ContextTemplate.Status status, Collection<DocumentRole> roles, Domain domain) Create a template. |
static ContextTemplate |
createContextTemplate(UUID uuid, Domain domain) Recreate an existing template. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ContextTemplate createContextTemplate(UUID uuid, Domain domain) throws UnknownContextTemplateException
uuid
- the UUID of the template.domain
- the domain that owns this template.UnknownContextTemplateException
- the context template does not exist. When a context template is created, the implementation may immediately check whether the context template exists or delay this until the other properties on the context template are accessed. An assumption should not be made that this constructor will throw this exception if the context template does not exist.public static ContextTemplate createContextTemplate(UUID uuid, Collection<Label> labels, ContextTemplate.Status status, Collection<DocumentRole> roles, Domain domain)
uuid
- the UUID of the template.labels
- template labels. This parameter is optional, it is valid to pass null or an empty collection.status
- template status.roles
- document roles. This parameter is optional, it is valid to pass null or an empty collection.domain
- the domain that owns this template. This parameter is optional, it is valid to pass null.saveNewContextTemplate
, saveChangesToContextTemplate
|
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 |