com.filenet.api.action
Class ChangeClass
- java.lang.Object
-
- com.filenet.api.action.PendingAction
-
- com.filenet.api.action.ChangeClass
-
- All Implemented Interfaces:
- java.io.Serializable
public class ChangeClass extends PendingAction
Represents a pending action for changing the class of a Content Engine object. When an object calls thechangeClassmethod, the API automatically creates an instance of theChangeClassclass and adds it to the underlying object's collection ofPendingActionobjects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ChangeClass(java.lang.String newClass)Creates a new instance of aChangeClasspending action object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetNewClass()Returns the symbolic name (if a symbolic name was entered in theChangeClassconstructor) or ID (if an ID was entered in theChangeClassconstructor) of the new class with which the underlying object of this pending action has been associated.-
Methods inherited from class com.filenet.api.action.PendingAction
getBinaryListValue, getBinaryValue, getBooleanListValue, getBooleanValue, getDateTimeListValue, getDateTimeValue, getEngineObjectValue, getFloat64ListValue, getFloat64Value, getIdListValue, getIdValue, getInteger32ListValue, getInteger32Value, getObjectValue, getStringListValue, getStringValue, putObjectValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, putValue, toString
-
-
-
-
Constructor Detail
-
ChangeClass
public ChangeClass(java.lang.String newClass)
Creates a new instance of aChangeClasspending action object.- Parameters:
newClass- AStringspecifying the symbolic name (orClassNamesconstant) or ID (orGUIDConstantsconstant) of the new class.- Throws:
E_REQUIRED_VALUE_ABSENT- if the newClass parameter is null or an empty string. Thrown when you you call thesavemethod.E_BAD_CLASSID- if the new class is not the same object type as the old class or the table ID of the new class is not the same as the old class. Thrown when you call thesavemethod.E_NOT_SUPPORTED- if the old class is not subclassable by the user or the object is a new or unpersisted object. Thrown when you call thesavemethod.E_NOT_CREATABLE- if the new class does not allow the user to create instances. Thrown when you call thesavemethod.
-
-
Method Detail
-
getNewClass
public java.lang.String getNewClass()
Returns the symbolic name (if a symbolic name was entered in theChangeClassconstructor) or ID (if an ID was entered in theChangeClassconstructor) of the new class with which the underlying object of this pending action has been associated.- Returns:
- A
Stringspecifying the symbolic name or ID of the new class.
-
-