Interface IDfPredictiveCachingOperation

All Superinterfaces:
IDfOperation

public interface IDfPredictiveCachingOperation extends IDfOperation
The predictive caching operation generates content pre-caching BOCS URLs and sends URLs to BOCS. Compound documents cannot be referenced using ACS/BOCS URLs, so no URLs will be generated for compound documents.
  • Field Details

  • Method Details

    • getObjects

      IDfList getObjects() throws DfException
      Returns the list of unique objects in this operation. Each entry in the list is an IDfSysObject.
      Returns:
      returns the list of unique objects in this operation
      Throws:
      DfException - if a server error occurs.
      See Also:
    • useApplicationSupportDocuments

      void useApplicationSupportDocuments(boolean useAppSuppDocs)
      If you do not want to pre-cache any of the documents in the Application Support Documents set this to false. The default value is true.
      Parameters:
      useAppSuppDocs - if false, the documents in Application Support Documents folder will not be pre-cacheed.
    • getMinimumContentSize

      long getMinimumContentSize()
      Returns minimum content size, in bytes. If content size is smaller than provided parameter value, content is not processed.
      Returns:
      minimum content size, in bytes
    • setMinimumContentSize

      void setMinimumContentSize(long size)
      Sets minimum content size, in bytes. If content size is smaller than provided parameter value, content is not processed.
      Parameters:
      size - minimum content size, in bytes
    • getNetworkLocationIds

      IDfList getNetworkLocationIds() throws DfException
      Returns a list of the network location identifiers to be used for content pre-caching. All BOCS for specified network locations attempt to pre-cache the content.
      Returns:
      list of client network location identifiers.
      Throws:
      DfException - if a server error occurs
    • setNetworkLocationIds

      void setNetworkLocationIds(IDfList networkLocationIds) throws DfException
      Sets the list of the network location identifiers to be used for content pre-caching. All BOCS for specified network locations attempt to pre-cache the content.
      Parameters:
      networkLocationIds - list of the network location identifiers to be used for content pre-caching
      Throws:
      DfException - if a server error occurs
    • getTimeToLive

      long getTimeToLive()
      BOCS attempts to pre-cache the content until a specified delay after successful execution of the operation.
      Returns:
      time to live in milliseconds; default value is one week.
    • setTimeToLive

      void setTimeToLive(long timeToLive)
      BOCS attempts to pre-cache the content until specified delay after successful execution of the operation.
      Parameters:
      timeToLive - time to live in milliseconds
    • getAcsTransferPreferences

      IDfAcsTransferPreferences getAcsTransferPreferences()
      Returns the IDfAcsTransferPreferences object to be used.
      Returns:
      IDfAcsTransferPreferences object to be used
    • setAcsTransferPreferences

      void setAcsTransferPreferences(IDfAcsTransferPreferences acsTransferPreferences)
      Sets the IDfAcsTransferPreferences object to be used.
      Parameters:
      acsTransferPreferences - IDfAcsTransferPreferences object to be used