Skip navigation links

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

E12907-03


oracle.irm.engine.content.sealing
Interface CustomData


public interface CustomData

Sealed content custom data. Sealed content can contain data that is not part of the sealed content Classification. This data is called the custom data and can be considered a set of opaque data entries for use by sealed content integrations.

Creation

Instances of Custom Data objects can be created using the following factory style method(s).

CustomData object = createCustomData(
    uuid,
    data);

Collections

Collections for CustomData objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing CustomData elements.

 Collection<CustomData> object = createCustomData();

Consult the Uuid property for more information on how this property can relate to CustomData collections.

XML Serialization

Custom Data instances can be serialized as an XML document. This XML document can also be used to recreate a Custom Data object. The following XML document shows an example Custom Data in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<content:CustomData xmlns:content="http://xmlns.oracle.com/irm/content">
    <uuid>2b8cd20a-d4f5-47b6-9097-d12547f2b707</uuid>
    <car>
        <name>Ford</name>
        <colour>Blue</colour>
    </car>
</content:CustomData>


Method Summary
 Object getData()
          Custom data.
 UUID getUuid()
          Custom data UUID This UUID value should uniquely identify the type of custom data provided.

 

Method Detail

getUuid

UUID getUuid()
Custom data UUID This UUID value should uniquely identify the type of custom data provided. This allows different vendors/integrations to add custom data to sealed content without the custom data entries clashing.

Collections

This property value can be used to retrieve the object from a collection using getCustomDataByUuid.
Returns:
the value of the property. This method will never return null.

getData

Object getData()
Custom data. The format of this data
Returns:
the value of the property. This method will never return null.

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.