Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.core.license
Class LicenseCriteriaFactory

java.lang.Object
  extended by oracle.irm.engine.core.license.LicenseCriteriaFactory


public final class LicenseCriteriaFactory
extends Object

License Criteria factory. This class provides methods for creating new instances of LicenseCriteria objects.


Method Summary
static LicenseCriteria createLicenseCriteria(LicenseCriteria.Storage storage, LicenseCriteria.Delivery delivery, LicenseCriteria.Use use, Collection<Feature> features, Collection<TimeSpan> timeSpans, TimePeriod refreshPeriod, ClassificationFilter classifications, ClassificationFilter destinations)
          Create a license criteria.
static LicenseCriteria createLicenseCriteria(LicenseCriteria.Storage storage, LicenseCriteria.Use use, Collection<Feature> features, Collection<TimeSpan> timeSpans, TimePeriod refreshPeriod, ClassificationFilter classifications, ClassificationFilter destinations)
          Create a license criteria with the delivery automatically inferred.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createLicenseCriteria

public static LicenseCriteria createLicenseCriteria(LicenseCriteria.Storage storage,
                                                    LicenseCriteria.Use use,
                                                    Collection<Feature> features,
                                                    Collection<TimeSpan> timeSpans,
                                                    TimePeriod refreshPeriod,
                                                    ClassificationFilter classifications,
                                                    ClassificationFilter destinations)
Create a license criteria with the delivery automatically inferred. The Delivery property will be set to SYNCHRONIZATION if the storage is PERSISTENT, a RefreshPeriod has been specified and there are no time spans that are relative to REQUEST. In all other cases the delivery will be set to ON_DEMAND.
Parameters:
storage - storage specifier.
use - usage specifier.
features - the valid features.
timeSpans - time constraints. This parameter is optional, it is valid to pass null or an empty collection.
refreshPeriod - refresh period. This parameter is optional, it is valid to pass null.
classifications - valid classifications.
destinations - trusted classifications. This parameter is optional, it is valid to pass null.
Returns:
a new License Criteria instance.

createLicenseCriteria

public static LicenseCriteria createLicenseCriteria(LicenseCriteria.Storage storage,
                                                    LicenseCriteria.Delivery delivery,
                                                    LicenseCriteria.Use use,
                                                    Collection<Feature> features,
                                                    Collection<TimeSpan> timeSpans,
                                                    TimePeriod refreshPeriod,
                                                    ClassificationFilter classifications,
                                                    ClassificationFilter destinations)
Create a license criteria.
Parameters:
storage - storage specifier.
delivery - delivery specifier.
use - usage specifier.
features - the valid features.
timeSpans - time constraints. This parameter is optional, it is valid to pass null or an empty collection.
refreshPeriod - refresh period. This parameter is optional, it is valid to pass null.
classifications - valid classifications.
destinations - trusted classifications. This parameter is optional, it is valid to pass null.
Returns:
a new License Criteria instance.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.