Skip navigation links

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

E12907-01


oracle.irm.engine.content.sealing
Class ContentDescriptionFactory

java.lang.Object
  extended by oracle.irm.engine.content.sealing.ContentDescriptionFactory


public final class ContentDescriptionFactory
extends Object

Content Description factory. This class provides methods for creating new instances of ContentDescription objects.


Method Summary
static ContentDescription createContentDescription(ContentSchema schema, Classification classification, Collection<CustomData> customData, Date creationTime, Date editTime, String sealedMime, long unsealedSize)
          Create a new content description.

 

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

 

Method Detail

createContentDescription

public static ContentDescription createContentDescription(ContentSchema schema,
                                                          Classification classification,
                                                          Collection<CustomData> customData,
                                                          Date creationTime,
                                                          Date editTime,
                                                          String sealedMime,
                                                          long unsealedSize)
Create a new content description. This constructor would typically only be used internally by the sealing process.
Parameters:
schema - content schema.
classification - classification.
customData - optional custom data. This parameter is optional, it is valid to pass null or an empty collection.
creationTime - date and time when the content was originally sealed.
editTime - date and time when the content was last (re)sealed.
sealedMime - sealed MIME type.
unsealedSize - the size of the original unsealed file. -1 if unknown.
Returns:
a new Content Description instance.

Skip navigation links

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

E12907-01


Copyright © 2010, Oracle. All rights reserved.