接口 WebSiteHandler


  • public interface WebSiteHandler

    WebSiteHandler interface.

    版本:
    1.3.9
    作者:
    scx567888
    • 方法概要

      所有方法 实例方法 默认方法 
      修饰符和类型 方法 说明
      default void channelHandler​(cool.scx.vo.Html channelTemplate, String channelPath)
      cms 访问 栏目是会执行此方法
      default void contentHandler​(cool.scx.vo.Html contentTemplate, String channelPath, Long contentID)
      cms 访问 文章时会执行此方法
      default void indexHandler​(cool.scx.vo.Html indexTemplate)
      cms 访问 index 会执行此方法
    • 方法详细资料

      • indexHandler

        default void indexHandler​(cool.scx.vo.Html indexTemplate)
                           throws Exception
        cms 访问 index 会执行此方法
        参数:
        indexTemplate - a Html object
        抛出:
        Exception - s
      • channelHandler

        default void channelHandler​(cool.scx.vo.Html channelTemplate,
                                    String channelPath)
                             throws Exception
        cms 访问 栏目是会执行此方法
        参数:
        channelTemplate - a Html object
        channelPath - a String object
        抛出:
        Exception - s
      • contentHandler

        default void contentHandler​(cool.scx.vo.Html contentTemplate,
                                    String channelPath,
                                    Long contentID)
                             throws Exception
        cms 访问 文章时会执行此方法
        参数:
        contentTemplate - a
        channelPath - a
        contentID - a
        抛出:
        Exception - s