com.filenet.api.action
Class MoveContent
- java.lang.Object
-
- com.filenet.api.action.PendingAction
-
- com.filenet.api.action.MoveContent
-
- All Implemented Interfaces:
- java.io.Serializable
public class MoveContent extends PendingAction
Represents a pending action for moving the content data of an object to a new storage location. When an object calls themoveContentmethod, the API automatically creates an instance of theMoveContentclass and adds it to the underlying object's collection ofPendingActionobjects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description MoveContent(java.lang.String targetPolicyId, java.lang.Boolean moveAllVersions)Creates a new instance of aMoveContentpending action object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.BooleangetMoveAllVersions()Returns whether to move the content data of every version of a document.java.lang.StringgetTargetPolicyId()Returns the ID of the target storage area for the object content data.-
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
-
MoveContent
public MoveContent(java.lang.String targetPolicyId, java.lang.Boolean moveAllVersions)Creates a new instance of aMoveContentpending action object.- Parameters:
targetPolicyId- AStringspecifying the ID of the target storage area for the object content.moveAllVersions- ABooleanspecifying whether to move the content data of every version of a document (true) or the content data of the current document version only (false).- Throws:
E_OBJECT_NOT_FOUND- if targetPolicyId isnull. Thrown when you call thesavemethod.CONTENT_SA_DELETES_NOT_ALLOWED- if the old content could not be deleted.CONTENT_CA_DELETE_FAILED_RETENTION_CHECK- if the rentention check failed.CONTENT_FXCA_OPERATION_FAILED_CONTENT_IS_MIGRATING- if a content migration has already been initalized.CONTENT_CA_FAILED_TEMP_CREATION- if a temporary file could not be created (the disk may be full).
-
-
Method Detail
-
getTargetPolicyId
public java.lang.String getTargetPolicyId()
Returns the ID of the target storage area for the object content data.- Returns:
- A
Stringspecifying the ID of the storage area.
-
getMoveAllVersions
public java.lang.Boolean getMoveAllVersions()
Returns whether to move the content data of every version of a document.- Returns:
trueif the content data of every version of a document will be moved;falseif the content data of the current document version only will be moved.
-
-