Skip navigation links

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

E12907-01


oracle.irm.engine.core.license
Class LicenseFactory

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


public final class LicenseFactory
extends Object

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


Method Summary
static License createLicense(UUID uuid, LicenseCriteria criteria, Collection<KeySet> keys, Date licenseTime)
          Create an unserved license.
static License createLicense(UUID uuid, LicenseCriteria criteria, Collection<KeySet> keys, Date licenseTime, Date requestTime, UUID serveUuid, Date refreshTime)
          Create a license.

 

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

 

Method Detail

createLicense

public static License createLicense(UUID uuid,
                                    LicenseCriteria criteria,
                                    Collection<KeySet> keys,
                                    Date licenseTime)
Create an unserved license.
Parameters:
uuid - the license UUID.
criteria - license criteria.
keys - related key sets. At least one key set must be provided. This parameter is optional, it is valid to pass null or an empty collection.
licenseTime - license time.
Returns:
a new License instance.

createLicense

public static License createLicense(UUID uuid,
                                    LicenseCriteria criteria,
                                    Collection<KeySet> keys,
                                    Date licenseTime,
                                    Date requestTime,
                                    UUID serveUuid,
                                    Date refreshTime)
Create a license.
Parameters:
uuid - the unique id.
criteria - license criteria.
keys - related key sets. At least one key set must be provided. This parameter is optional, it is valid to pass null or an empty collection.
licenseTime - license time.
requestTime - request time. This parameter is optional, it is valid to pass null.
serveUuid - serve UUID. This parameter is optional, it is valid to pass null.
refreshTime - refresh time. This parameter is optional, it is valid to pass null.
Returns:
a new License instance.

Skip navigation links

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

E12907-01


Copyright © 2010, Oracle. All rights reserved.