Skip navigation links

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

E12907-03


oracle.irm.engine.content.schema
Class SchemaOperationsInstance

java.lang.Object
  extended by oracle.irm.engine.content.schema.SchemaOperationsInstance


public final class SchemaOperationsInstance
extends Object

Operations for working with sealed content schema versions.

This class provides static methods for a set of procedural style methods. The methods can be made to appear as global methods by using import static. e.g.

import static oracle.irm.engine.content.schema.SchemaOperationsInstance.*;

Method Summary
static ContentSchema getCurrentContentSchema()
          Get the current content schema.
static Collection<ContentSchema> listContentSchemas()
          List content schemas.

 

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

 

Method Detail

getCurrentContentSchema

public static ContentSchema getCurrentContentSchema()
Get the current content schema. The current content schema is the one marked as the latest in this build of the product.
Returns:
the value of the property. This method will never return null.

listContentSchemas

public static Collection<ContentSchema> listContentSchemas()
List content schemas.
Returns:
the list of available schemas. If applicable, this method will return an empty collection rather than null to indicate no results.

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.