com.filenet.api.engine
Class StorageDeviceHandler.ContentCreationResult
- java.lang.Object
-
- com.filenet.api.engine.StorageDeviceHandler.ContentCreationResult
-
- Enclosing interface:
- StorageDeviceHandler
public static class StorageDeviceHandler.ContentCreationResult extends java.lang.ObjectObject reporting the details of a successfuloperation.createContent
-
-
Constructor Summary
Constructors Constructor and Description ContentCreationResult(boolean existed, long size, java.lang.String deviceIdentity)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringdeviceIdentity()booleanexisted()longsize()
-
-
-
Constructor Detail
-
ContentCreationResult
public ContentCreationResult(boolean existed, long size, java.lang.String deviceIdentity)Constructor. Use to create the result object.- Parameters:
existed- Set totrueif the requested content was already in existence at the timewas called,createContentfalseotherwise.size- Set to the size in bytes of the content as stored on the device.deviceIdentity- Returns the device-generated unique identifier for the content ornullif the content can be retrieved via the caller-supplied Id and sequence number. Refer to the description of theSYNCHRONOUS_REPLICATIONcapability offor details of when the handler is permitted to return a non-null value.capabilitySupported
-
-
Method Detail
-
existed
public boolean existed()
- Returns:
- The value of the existed parameter to the constructor.
-
size
public long size()
- Returns:
- The value of the size parameter to the constructor.
-
deviceIdentity
public java.lang.String deviceIdentity()
- Returns:
- The value of the deviceIdentity parameter to the constructor.
-
-