|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ItemConstraints
Item constraints. 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.
Instances of Item Constraints objects can be created using the following factory style method(s).
ItemConstraints object = createItemConstraints
(
type,
itemCodes);
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 of item constraint. |
Method Summary | |
---|---|
Collection<ItemCode> |
getItemCodes() The item codes. |
ItemConstraints.Type |
getType() The type of constraint. |
Method Detail |
---|
Collection<ItemCode> getItemCodes()
ItemConstraints.Type getType()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |