|
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.core.classification.ClassificationOperationsInstance
public final class ClassificationOperationsInstance
Operations relating to classification systems.
This class provides static methods for a set of procedural style methods. The methods can be made to appear as global methods by using import static. e.g.
import static oracle.irm.engine.core.classification.ClassificationOperationsInstance.*;
Method Summary | |
---|---|
static Classification |
getClassification(ClassificationSystem system, Object cookie, Date classificationTime) Create a classification from a cookie. |
static Collection<KeySet> |
getClassificationKeySets(Collection<Classification> classifications) Get a consolidated list of key sets referenced by a set of classifications. |
static Collection |
listClassifications(Account account) List classifications that an account has rights to access. |
static Collection<Classification> |
searchClassificationsByLabel(Collection<Classification> classifications, String name) Search classifications by label name. |
static ClassificationBundle |
updateClassification(Classification classification) Update classification details. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Collection<Classification> searchClassificationsByLabel(Collection<Classification> classifications, String name)
classifications
- the classifications to search. This parameter is optional, it is valid to pass null or an empty collection.name
- the label name. A classification will be matched if name is identical to any label Name
present in the classification.public static Classification getClassification(ClassificationSystem system, Object cookie, Date classificationTime) throws UnknownClassificationException, UnsupportedClassificationSystemException
Cookie
must be known before sealing, but the KeySet
and Labels
may not (and can be inferred from the cookie). This method can be used to obtain a classification with the missing properties filled in.system
- the classification system.cookie
- classification cookie.classificationTime
- classification Time. The classification time signifies when content was classified. This is usually set to the time content is sealed, but does not have to be. It can represent when content is logically classified, for example, when a publication is released, rather than when it physically created. This parameter is optional, it is valid to pass null.UnknownClassificationException
- the classification details are not known or are not available.UnsupportedClassificationSystemException
- unsupported classification system. The classification system specified is not supported by the server.public static Collection listClassifications(Account account)
account
- the account.public static ClassificationBundle updateClassification(Classification classification) throws UnknownClassificationException
classification
- the classification.UnknownClassificationException
- the classification provided no longer exists, or the details cannot be updated.public static Collection<KeySet> getClassificationKeySets(Collection<Classification> classifications)
classifications
- classifications to examine. 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-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |