com.filenet.rm.bds

Interface DocumentDefinition

All Superinterfaces:
BaseDefinition

  1. public interface DocumentDefinition
  2. extends BaseDefinition
This interface represents the definition of a single document to be committed.

Method Summary

Modifier and Type Method and Description
  1. boolean
getAutoClassify()
Controls whether or not auto classification will be performed on the newly created CE document defined by this DocumentDefinition.
  1. java.util.List
getContentElements()
Returns a modifiable List of ContentElement instances associated with this DocumentDefinition instance.
  1. boolean
getCreateAsMajorVersion()
Controls whether or not the newly created CE document defined by this DocumentDefinition instance is to be checked in initially as a major or as a minor version.
  1. void
setAutoClassify(boolean autoClassify)
Controls whether or not auto classification will be performed on the newly created CE document defined by this DocumentDefinition.
  1. void
setCreateAsMajorVersion(boolean asMajor)
Controls whether or not the newly created CE document defined by this DocumentDefinition instance is to be checked in initially as a major or minor version.
Methods inherited from interface com.filenet.rm.bds.BaseDefinition
getClassIdent, getContainers, getId, getObjectStoreIdent, getPermissionValues, getPropertyValues, setId

Method Detail

getContentElements

  1. java.util.List getContentElements( )
Returns a modifiable List of ContentElement instances associated with this DocumentDefinition instance. This List is initially empty for a newly instantiated DocumentDefinition.
Returns:
a List of ContentElement instances.

setCreateAsMajorVersion

  1. void setCreateAsMajorVersion(boolean asMajor)
Controls whether or not the newly created CE document defined by this DocumentDefinition instance is to be checked in initially as a major or minor version.
Parameters:
asMajor - true if as a major version; false if as a minor version.

getCreateAsMajorVersion

  1. boolean getCreateAsMajorVersion( )
Controls whether or not the newly created CE document defined by this DocumentDefinition instance is to be checked in initially as a major or as a minor version.
Returns:
true if as a major version; false if as a minor version.

setAutoClassify

  1. void setAutoClassify(boolean autoClassify)
Controls whether or not auto classification will be performed on the newly created CE document defined by this DocumentDefinition.
Parameters:
autoClassify - true to allow auto classification.

getAutoClassify

  1. boolean getAutoClassify()
Controls whether or not auto classification will be performed on the newly created CE document defined by this DocumentDefinition.
Returns:
if auto classification is allowed.