|
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.license.LicenseCriteria
public class LicenseCriteria
License Criteria type. The license criteria defines the what you can do, with what classifications and when criteria.
License Criteria instances can be serialized as an XML document. This XML document can also be used to recreate a License Criteria object. The following XML document shows an example License Criteria in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:LicenseCriteria xmlns:classifications="http://xmlns.oracle.com/irm/classifications" xmlns:core="http://xmlns.oracle.com/irm/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<storage>PERSISTENT</storage>
<delivery>SYNCHRONIZATION</delivery>
<use>PRIMARY</use>
<features>
<id>oracle.irm.generic.Open</id>
<use>IMMEDIATE</use>
<record>true</record>
</features>
<timeSpans xsi:type="core:AbsoluteTimeSpan">
<referencePoint>CURRENT</referencePoint>
<startTime>2007-08-10T12:00:00.000+01:00</startTime>
<stopTime>2007-09-10T12:00:00.000+01:00</stopTime>
</timeSpans>
<refreshPeriod>
<amount>120</amount>
<units>SECONDS</units>
</refreshPeriod>
<classifications xsi:type="core:XPathClassificationFilter">
<system>
<uuid>588403f9-9cff-4cce-88e4-e030cc57282a</uuid>
</system>
<uri>http://irm.example.com/irm_desktop</uri>
<expression>
<namespaceContexts>classifications:classifications</namespaceContexts>
<value>classifications:ContextCookie/[context[uuid='588403f9-9cff-4cce-88e4-e030cc57282a'] and itemCode='item1.sdoc']</value>
</expression>
</classifications>
<destinations xsi:type="core:XPathClassificationFilter">
<system>
<uuid>588403f9-9cff-4cce-88e4-e030cc57282a</uuid>
</system>
<uri>http://irm.example.com/irm_desktop</uri>
<expression>
<namespaceContexts>classifications:classifications</namespaceContexts>
<value>classifications:ContextCookie/context[uuid='9275e6e5-9550-4054-9a4e-618971d5aeda']</value>
</expression>
</destinations>
</core:LicenseCriteria>
Nested Class Summary | |
---|---|
static class |
LicenseCriteria.Delivery Delivery enumeration. |
static class |
LicenseCriteria.Storage Storage enumeration. |
static class |
LicenseCriteria.Use Use enumeration. |
Constructor Summary | |
---|---|
LicenseCriteria() No argument constructor. |
|
LicenseCriteria(LicenseCriteria.Storage storage, LicenseCriteria.Delivery delivery, LicenseCriteria.Use use, Feature[] features, TimeSpan[] timeSpans, TimePeriod refreshPeriod, ClassificationFilter classifications, ClassificationFilter destinations) Constructor. |
Method Summary | |
---|---|
ClassificationFilter |
getClassifications() Valid classifications. |
LicenseCriteria.Delivery |
getDelivery() Delivery specifier. |
ClassificationFilter |
getDestinations() Trusted classifications. |
Feature[] |
getFeatures() The valid features. |
TimePeriod |
getRefreshPeriod() The refresh period. |
LicenseCriteria.Storage |
getStorage() Storage specifier. |
TimeSpan[] |
getTimeSpans() Time constraints. |
LicenseCriteria.Use |
getUse() License use. |
void |
setClassifications(ClassificationFilter value) Valid classifications. |
void |
setDelivery(LicenseCriteria.Delivery value) Delivery specifier. |
void |
setDestinations(ClassificationFilter value) Trusted classifications. |
void |
setFeatures(Feature[] value) The valid features. |
void |
setRefreshPeriod(TimePeriod value) The refresh period. |
void |
setStorage(LicenseCriteria.Storage value) Storage specifier. |
void |
setTimeSpans(TimeSpan[] value) Time constraints. |
void |
setUse(LicenseCriteria.Use value) License use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LicenseCriteria()
public LicenseCriteria(LicenseCriteria.Storage storage, LicenseCriteria.Delivery delivery, LicenseCriteria.Use use, Feature[] features, TimeSpan[] timeSpans, TimePeriod refreshPeriod, ClassificationFilter classifications, ClassificationFilter destinations)
Method Detail |
---|
public LicenseCriteria.Storage getStorage()
public void setStorage(LicenseCriteria.Storage value)
value
- the new value for the property.public LicenseCriteria.Delivery getDelivery()
synchronize
, request
public void setDelivery(LicenseCriteria.Delivery value)
value
- the new value for the property.synchronize
, request
public LicenseCriteria.Use getUse()
public void setUse(LicenseCriteria.Use value)
value
- the new value for the property.public Feature[] getFeatures()
public void setFeatures(Feature[] value)
value
- the new value for the property.public TimeSpan[] getTimeSpans()
public void setTimeSpans(TimeSpan[] value)
value
- the new value for the property.public TimePeriod getRefreshPeriod()
public void setRefreshPeriod(TimePeriod value)
value
- the new value for the property.public ClassificationFilter getClassifications()
public void setClassifications(ClassificationFilter value)
value
- the new value for the property.public ClassificationFilter getDestinations()
public void setDestinations(ClassificationFilter value)
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 |