com.filenet.api.publishing

Interface PublishRequest

  • All Superinterfaces:
    EngineObject, IndependentlyPersistableObject, IndependentObject, RepositoryObject, java.io.Serializable, Subscribable


    public interface PublishRequest
    extends RepositoryObject, Subscribable, IndependentlyPersistableObject
    In IBM Content Foundation, the IBM FileNet Rendition Engine is not supported. Therefore, this class cannot be used for transform publishing. It can only be used for copy publishing or DITA publishing. Represents a queued request to publish a document using a specified PublishTemplate object. All publish requests are processed asynchronously, including copy operations, which do not transform the document. Once a PublishRequest object is saved, it is always enqueued.

    A publish request can be for a publish or republish operation, as determined by the PublishTemplate and PublicationDocument properties. If the PublishTemplate property is set and the PublicationDocument property is null, the request is for a publish operation. Otherwise, if the PublicationDocument property is set, the publish request is for a republish operation.

    A PublishRequest object can be created by calling the publish or republish methods on a Document object. Alternatively, a PublishRequest can be created by calling Factory.PublishRequest.createInstance and filling in the desired properties prior to saving. In either case, when the object is saved, it goes into the publish request queue, where it will be processed asynchronously by a publishing event handler.

    Once a PublishRequest object has been successfully processed, it is deleted from the server.

    Metadata

    • Method Detail

      • get_Creator

        java.lang.String get_Creator()
        Returns the value of the Creator property. For more information, see Creator Property.
      • set_Creator

        void set_Creator(java.lang.String value)
        Sets the value of the Creator property. For more information, see Creator Property.
      • get_DateCreated

        java.util.Date get_DateCreated()
        Returns the value of the DateCreated property. For more information, see DateCreated Property.
      • set_DateCreated

        void set_DateCreated(java.util.Date value)
        Sets the value of the DateCreated property. For more information, see DateCreated Property.
      • get_LastModifier

        java.lang.String get_LastModifier()
        Returns the value of the LastModifier property. For more information, see LastModifier Property.
      • set_LastModifier

        void set_LastModifier(java.lang.String value)
        Sets the value of the LastModifier property. For more information, see LastModifier Property.
      • get_DateLastModified

        java.util.Date get_DateLastModified()
        Returns the value of the DateLastModified property. For more information, see DateLastModified Property.
      • set_DateLastModified

        void set_DateLastModified(java.util.Date value)
        Sets the value of the DateLastModified property. For more information, see DateLastModified Property.
      • get_Id

        Id get_Id()
        Returns the value of the Id property. For more information, see Id Property.
      • get_StatusDescription

        java.lang.String get_StatusDescription()
        Returns the value of the StatusDescription property. For more information, see StatusDescription Property.
      • set_InputDocument

        void set_InputDocument(Document value)
        Sets the value of the InputDocument property. For more information, see InputDocument Property.
      • get_OutputFolder

        Folder get_OutputFolder()
        Returns the value of the OutputFolder property. For more information, see OutputFolder Property.
      • get_PublishRequestType

        java.lang.Integer get_PublishRequestType()
        Returns the value of the PublishRequestType property. For more information, see PublishRequestType Property.
      • set_PublicationDocument

        void set_PublicationDocument(Document value)
        Sets the value of the PublicationDocument property. For more information, see PublicationDocument Property.
      • get_ApplyDefinition

        java.lang.String get_ApplyDefinition()
        Returns the value of the ApplyDefinition property. For more information, see ApplyDefinition Property.
      • get_ErrorCode

        java.lang.String get_ErrorCode()
        Returns the value of the ErrorCode property. For more information, see ErrorCode Property.
      • get_ErrorDescription

        java.lang.String get_ErrorDescription()
        Returns the value of the ErrorDescription property. For more information, see ErrorDescription Property.
      • get_RetryCount

        java.lang.Integer get_RetryCount()
        Returns the value of the RetryCount property. For more information, see RetryCount Property.
      • set_RetryCount

        void set_RetryCount(java.lang.Integer value)
        Sets the value of the RetryCount property. For more information, see RetryCount Property.
      • get_NextRetryDate

        java.util.Date get_NextRetryDate()
        Returns the value of the NextRetryDate property. For more information, see NextRetryDate Property.
      • get_DequeueHost

        java.lang.String get_DequeueHost()
        Returns the value of the DequeueHost property. For more information, see DequeueHost Property.
      • get_InitiatingUser

        java.lang.String get_InitiatingUser()
        Returns the value of the InitiatingUser property. For more information, see InitiatingUser Property.
      • setPublishOptions

        void setPublishOptions(java.lang.String publishOptions)
        Sets publish options (formatted as an XML string) that will override the publish template settings. See Publish Options XML for a description of the publishOptions XML.
        Parameters:
        publishOptions - A string containing XML that specifies the publish options for the published document.

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