|
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 |
public interface LicenseCriteria
License criteria. The license criteria defines the what you can do, with what classifications and when criteria.
Instances of License Criteria objects can be created using the following factory style method(s).
LicenseCriteria object = createLicenseCriteria
(
storage,
use,
features,
timeSpans,
refreshPeriod,
classifications,
destinations);
LicenseCriteria object = createLicenseCriteria
(
storage,
delivery,
use,
features,
timeSpans,
refreshPeriod,
classifications,
destinations);
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 How a license is delivered to the device. |
static class |
LicenseCriteria.Storage How a license is stored on a device. |
static class |
LicenseCriteria.Use The intended use of a license. |
Method Summary | |
---|---|
ClassificationFilter |
getClassifications() Valid classifications. |
LicenseCriteria.Delivery |
getDelivery() Delivery specifier. |
ClassificationFilter |
getDestinations() Trusted classifications. |
Collection<Feature> |
getFeatures() The valid features. |
TimePeriod |
getRefreshPeriod() The refresh period. |
LicenseCriteria.Storage |
getStorage() Storage specifier. |
Collection<TimeSpan> |
getTimeSpans() Time constraints. |
LicenseCriteria.Use |
getUse() License use. |
Method Detail |
---|
LicenseCriteria.Storage getStorage()
LicenseCriteria.Delivery getDelivery()
synchronize
, request
LicenseCriteria.Use getUse()
Collection<Feature> getFeatures()
Collection<TimeSpan> getTimeSpans()
TimePeriod getRefreshPeriod()
ClassificationFilter getClassifications()
ClassificationFilter getDestinations()
|
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 |