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.Object
    Object reporting the details of a successful createContent operation.
    • 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.String deviceIdentity() 
      boolean existed() 
      long size() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentCreationResult

        public ContentCreationResult(boolean existed,
                                     long size,
                                     java.lang.String deviceIdentity)
        Constructor. Use to create the result object.
        Parameters:
        existed - Set to true if the requested content was already in existence at the time createContent was called, false otherwise.
        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 or null if the content can be retrieved via the caller-supplied Id and sequence number. Refer to the description of the SYNCHRONOUS_REPLICATION capability of capabilitySupported for details of when the handler is permitted to return a non-null value.
    • 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.

© Copyright IBM Corporation 2006, 2019. All rights reserved.