com.filenet.rm.bds

Interface ContainerReference

All Superinterfaces:
java.lang.Cloneable, ObjectReference

  1. public interface ContainerReference
  2. extends ObjectReference
This interface represents a container of either record or document objects.

Method Summary

Modifier and Type Method and Description
  1. boolean
getAutoUniqueNaming()
Reflects the current state of the auto-unique containment naming option for this ContainerReference.
  1. java.lang.String
getContainmentName()
Reflects the current state of the containment name value, if any, assigned to this ContainerReference instance.
  1. void
setAutoUniqueNaming(boolean value)
Controls whether naming collisions are to be automatically resolved for containment names.
  1. void
setContainmentName(java.lang.String containmentName)
Defines an optional string to be used as the containment name of the record or document object to be filed in the container defined by this ContainerReference.
Methods inherited from interface com.filenet.rm.bds.ObjectReference
clone, getClassIdent, getObjectIdent, getObjectStoreIdent

Method Detail

setAutoUniqueNaming

  1. void setAutoUniqueNaming(boolean value)
Controls whether naming collisions are to be automatically resolved for containment names. If auto-unique naming is enabled, and a naming collision is detected, the containment name of the record or document is automatically appended with an integer in parentheses (such as "myDocument(2)"). Containment names are modified only when a naming collision is detected.

For backwards compatibility with previous versions of the BDS, AutoUniqueNaming defaults to enabled (true).

Note that this auto-naming process does have a detrimental effect upon record declaration and/or document creation performance. For best performance, AutoUniqueNaming should be disabled if, and only if, the BDS client can supply a unique ContainmentName and/or DocumentTitle property value.

Parameters:
value - true to enable auto-unique containment naming (default value).

getAutoUniqueNaming

  1. boolean getAutoUniqueNaming()
Reflects the current state of the auto-unique containment naming option for this ContainerReference.
Returns:
true if auto-unique naming is enabled.

setContainmentName

  1. void setContainmentName(java.lang.String containmentName)
Defines an optional string to be used as the containment name of the record or document object to be filed in the container defined by this ContainerReference.

If no containment name has been specified, the CE defaults to the value of the special "Name" property belonging to the contained object (e.g. "DocumentTitle"). The following characters are not allowed:

   \  /  :  *  ?  "  <  >  |  

For backwards compatibility with previous versions of the BDS, the ContainmentName defaults to null.

Parameters:
containmentName - String containing the containment name to assign to the filed object. Can be null.

getContainmentName

  1. java.lang.String getContainmentName( )
Reflects the current state of the containment name value, if any, assigned to this ContainerReference instance.
Returns:
current value of the containment name. Can be null.