com.filenet.api.publishing

Interface PublishTemplate

  • All Superinterfaces:
    CmHoldable, Containable, Document, EngineObject, IndependentlyPersistableObject, IndependentObject, Replicable, RepositoryObject, java.io.Serializable, Subscribable, Versionable


    public interface PublishTemplate
    extends RepositoryObject, Document
    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 template for publishing a document. A publish template is an XML document that contains information used to automate the selection of options for a publishing request. For example, it contains the properties and security to apply to the destination document, and instructions for republishing a document, such as whether to version the existing destination document or replace it. Also, a publish template's StyleTemplate property might reference a PublishStyleTemplate object, which describes how the document is to be transformed.

    Because PublishTemplate extends the Document interface, you can work with a publish template in the same way you work with a document. For example, you can version a publish template, file it into a folder, and delete it. Publish templates are usually authored in the Publishing Designer application. However, you can override certain publish options when you call the publish or republish method. See Publish Options XML for more information.

    Metadata

    • Method Detail

      • get_Description

        java.lang.String get_Description()
        Returns the value of the Description property. For more information, see Description Property.
      • set_Description

        void set_Description(java.lang.String value)
        Sets the value of the Description property. For more information, see Description Property.
      • accessContentStream

        java.io.InputStream accessContentStream()
        Obtains read access, via an input stream, to the content data of this ContentTransfer object. The content data is fetched from the server. The Content Engine will not automatically close the stream after access has finished; unless you want the stream to remain open, your application should close the stream after it has finished reading the content data.
        Returns:
        An InputStream object for reading content data.
        See Also:
        ContentAccessRecordingLevel property, DateContentLastAccessed property

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