public class MoveContent extends PendingAction
moveContent
method, the API automatically creates an instance of the
MoveContent
class and adds it to the underlying object's collection of PendingAction
objects.Constructor and Description |
---|
MoveContent(java.lang.String targetPolicyId,
java.lang.Boolean moveAllVersions)
Creates a new instance of a
MoveContent pending action object. |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getMoveAllVersions()
Returns whether to move the content data of every version of a document.
|
java.lang.String |
getTargetPolicyId()
Returns the ID of the target storage area for the object content data.
|
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
public MoveContent(java.lang.String targetPolicyId, java.lang.Boolean moveAllVersions)
MoveContent
pending action object.targetPolicyId
- A String
specifying the ID of the target storage area for the object content.moveAllVersions
- A Boolean
specifying whether to move the content data of every
version of a document (true
) or the content data of the current document version only (false
).E_OBJECT_NOT_FOUND
- if targetPolicyId is null
.
Thrown when you call the save
method.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).public java.lang.String getTargetPolicyId()
String
specifying the ID of the storage area.public java.lang.Boolean getMoveAllVersions()
true
if the content data of every version of a document will be moved;
false
if the content data of the current document version only will be moved.© Copyright IBM Corporation 2006, 2015. All rights reserved.