|
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.types.core.classification.ClassificationFilter
public abstract class ClassificationFilter
Classification Filter type. A classification filter is a way of identifying a set of classifications. The classification filter is used by License
algorithms to relate license use to content. Content contains a Classification
, a license contains the filter. A license can be used if it's classification filter matches the classification embedded in the sealed content.
Classification Filter instances can be serialized as an XML document. This XML document can also be used to recreate a Classification Filter object. The following XML document shows an example Classification Filter in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:XPathClassificationFilter xmlns:core="http://xmlns.oracle.com/irm/core">
<system>
<uuid>185abb6d-13cd-45a2-aabd-4db886b97c5c</uuid>
</system>
<uri>http://irm.example.com/irm_desktop</uri>
<expression>
<namespaceContexts xmlns:example1="http://www.example.com">example1:example</namespaceContexts>
<namespaceContexts xmlns:example2="http://www.example2.com">example2:example</namespaceContexts>
<value>example1:node[@name='hello']</value>
</expression>
</core:XPathClassificationFilter>
Constructor Summary | |
---|---|
ClassificationFilter() No argument constructor. |
|
ClassificationFilter(ClassificationSystemRef system, URI uri, String index) Constructor. |
Method Summary | |
---|---|
String |
getIndex() Classification filter index. |
ClassificationSystemRef |
getSystem() The classification system. |
URI |
getUri() Server URI. |
void |
setIndex(String value) Classification filter index. |
void |
setSystem(ClassificationSystemRef value) The classification system. |
void |
setUri(URI value) Server URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassificationFilter()
public ClassificationFilter(ClassificationSystemRef system, URI uri, String index)
Method Detail |
---|
public ClassificationSystemRef getSystem()
System
of the classification for this filter to match.public void setSystem(ClassificationSystemRef value)
System
of the classification for this filter to match.value
- the new value for the property.public URI getUri()
Classification
contains a Uri
and it is this URI that is used to contact a server to obtain licenses and keys.Classification
that exactly matches on Uri
value.public void setUri(URI value)
Classification
contains a Uri
and it is this URI that is used to contact a server to obtain licenses and keys.Classification
that exactly matches on Uri
value.value
- the new value for the property.public String getIndex()
Classification
is extracted from the public header and checked against a set of available licenses. If the set of licenses being searched is large this process can take a long time. Each license is asked are you applicable to this classification? The search time linearly increases with the number of licenses. To improve performance during such scenarios an optional index can be provided on the classification filter. When licenses are stored they can be indexed with the index value and searches can be optimized by matching related licenses.Cookie
using a special ContentAttribute
. This index content attribute is used to extract the textual value from the Classification
that can be used to look up the set of licenses related to the content. The index content attribute is classification system specific. If no index content attribute is available or no classification index provided then the classification filter must be compared against all licenses that match the same URI (same server) and classification system as the content.public void setIndex(String value)
Classification
is extracted from the public header and checked against a set of available licenses. If the set of licenses being searched is large this process can take a long time. Each license is asked are you applicable to this classification? The search time linearly increases with the number of licenses. To improve performance during such scenarios an optional index can be provided on the classification filter. When licenses are stored they can be indexed with the index value and searches can be optimized by matching related licenses.Cookie
using a special ContentAttribute
. This index content attribute is used to extract the textual value from the Classification
that can be used to look up the set of licenses related to the content. The index content attribute is classification system specific. If no index content attribute is available or no classification index provided then the classification filter must be compared against all licenses that match the same URI (same server) and classification system as the content.value
- the new value for the property.
|
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 |