com.filenet.rm.api

Interface RMAutoName


  1. public interface RMAutoName
Supports the auto naming feature of Records Manager that enables custom applications to customize the name that is generated for a record. A custom application that uses the auto naming feature must provide an implementation class for the RMAutoName interface, include this implementation in the classpath, then register this implementation with Records Manager by using the RMDriverManager class.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getName(java.lang.String name,int entityType)
Generates a name for a Records Manager entity of the specified type.

Method Detail

getName

  1. java.lang.String getName(java.lang.String name,
  2. int entityType)
Generates a name for a Records Manager entity of the specified type.
Parameters:
name - A String that contains the entity name generated by Records Manager using the pattern or the document title metadata value.
entityType - An int value corresponding to the RMType constant that specifies the type of the entity for which a name is to be generated.
Returns:
A String containing the automatically generated name.