|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassificationOperations
Operations relating to classification systems.
The methods on ClassificationOperations can be invoked using ClassificationOperationsInstance
.
Method Summary | |
---|---|
Classification |
getClassification(ClassificationSystem system, Object cookie, Date classificationTime) Create a classification from a cookie. |
Collection<KeySet> |
getClassificationKeySets(Collection<Classification> classifications) Get a consolidated list of key sets referenced by a set of classifications. |
Collection |
listClassifications(Account account) List classifications that an account has rights to access. |
Collection<Classification> |
searchClassificationsByLabel(Collection<Classification> classifications, String name) Search classifications by label name. |
ClassificationBundle |
updateClassification(Classification classification) Update classification details. |
Method Detail |
---|
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.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.Collection listClassifications(Account account)
account
- the account.ClassificationBundle updateClassification(Classification classification) throws UnknownClassificationException
classification
- the classification.UnknownClassificationException
- the classification provided no longer exists, or the details cannot be updated.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-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |