Skip navigation links

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

E12907-02


oracle.irm.engine.core.feature
Class FeatureFactory

java.lang.Object
  extended by oracle.irm.engine.core.feature.FeatureFactory


public final class FeatureFactory
extends Object

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


Method Summary
static Feature createFeature(String id)
          Create a feature with defaults.
static Feature createFeature(String id, Feature.Use use, boolean record)
          Create a feature.

 

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

 

Method Detail

createFeature

public static Feature createFeature(String id)
Create a feature with defaults. All other feature properties are defaulted. Record is set to false. Use is set to IMMEDIATE.
Parameters:
id - feature identity.
Returns:
a new Feature instance.

createFeature

public static Feature createFeature(String id,
                                    Feature.Use use,
                                    boolean record)
Create a feature. Create a feature from all it's property details.
Parameters:
id - feature identity.
use - how this feature is obtained.
record - whether use of this feature is recorded.
Returns:
a new Feature instance.

Skip navigation links

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

E12907-02


Copyright © 2010, Oracle. All rights reserved.