Skip navigation links

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

E12907-03


oracle.irm.engine.classifications.item
Class ItemConstraintsFactory

java.lang.Object
  extended by oracle.irm.engine.classifications.item.ItemConstraintsFactory


public final class ItemConstraintsFactory
extends Object

Item Constraints factory. This class provides methods for creating new instances of ItemConstraints objects.


Method Summary
static ItemConstraints createItemConstraints(ItemConstraints.Type type, Collection<ItemCode> itemCodes)
          Create item constraints.

 

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

 

Method Detail

createItemConstraints

public static ItemConstraints createItemConstraints(ItemConstraints.Type type,
                                                    Collection<ItemCode> itemCodes)
Create item constraints.
Parameters:
type - the type of item constraint.
itemCodes - the allowed or disallowed item codes. This parameter is optional, it is valid to pass null or an empty collection.
Returns:
a new Item Constraints 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.