Interface GetContentCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface GetContentCmd
    extends TaskCommand
    This task command is used by the wcst:getContent tag to retrieve content.
    • Field Detail


        static final java.lang.String COPYRIGHT
        Copyright statement.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The full class name for this interface file.
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class name. This is used if there is no record found in the CMDREG table.
    • Method Detail

      • setURL

        void setURL(java.lang.String url)
        Set the content URL.
        url - content URL
      • setPreview

        void setPreview(boolean preview)
        Indicates that the content URL is to be retrieved for preview mode. Set to false to indicate that the production configuration is to be used to retrieve the content.
        preview - preview option
      • setIncludeHostName

        void setIncludeHostName(boolean includeHostName)
        Indicates that URLs in the embedded content must be a fully qualified URLs that includes the scheme, host name and port. Set this property to true to force the URLs to be fully qualified with the content host name. For example, if the URL is intended for inclusion in an e-mail, then the embedded URLs must be fully qualified.
        includeHostName - includeHostName option
      • getContent

        java.lang.String getContent()
        Return the content text.
        the content text