|
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 |
java.lang.Object
oracle.irm.engine.types.classifications.item.ItemConstraints
public class ItemConstraints
Item Constraints type. Item constraints contain a set of ItemCode
definitions that are either allowed or disallowed. A list of allowed items are called item locks and a list of excluded items are called item exclusions. Item constraints are used to create ClassificationFilter
objects that allow (or disallow) access to individual sealed content items.
Item Constraints instances can be serialized as an XML document. This XML document can also be used to recreate a Item Constraints object. The following XML document shows an example Item Constraints in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<classifications:ItemConstraints xmlns:classifications="http://xmlns.oracle.com/irm/classifications">
<itemCodes>
<value>samples.doc</value>
<time>2007-05-10T12:00:00.000+00:00</time>
</itemCodes>
<itemCodes>
<value>samples.xls</value>
</itemCodes>
<type>EXCLUSIONS</type>
</classifications:ItemConstraints>
Nested Class Summary | |
---|---|
static class |
ItemConstraints.Type Type enumeration. |
Constructor Summary | |
---|---|
ItemConstraints() No argument constructor. |
|
ItemConstraints(ItemCode[] itemCodes, ItemConstraints.Type type) Constructor. |
Method Summary | |
---|---|
ItemCode[] |
getItemCodes() The item codes. |
ItemConstraints.Type |
getType() The type of constraint. |
void |
setItemCodes(ItemCode[] value) The item codes. |
void |
setType(ItemConstraints.Type value) The type of constraint. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ItemConstraints()
public ItemConstraints(ItemCode[] itemCodes, ItemConstraints.Type type)
Method Detail |
---|
public ItemCode[] getItemCodes()
public void setItemCodes(ItemCode[] value)
value
- the new value for the property.public ItemConstraints.Type getType()
public void setType(ItemConstraints.Type value)
value
- the new value for the property.
|
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 |