Class ListPageTemplatesAction

All Implemented Interfaces:
Evented<TemplateListViewEvent>, WebInterface, Spaced, BreadcrumbAware, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
ListGlobalTemplatesAction

public class ListPageTemplatesAction extends AbstractPageTemplateAction implements Evented<TemplateListViewEvent>
See Also:
  • Constructor Details

    • ListPageTemplatesAction

      public ListPageTemplatesAction()
  • Method Details

    • getPageTemplates

      public List<PageTemplate> getPageTemplates()
    • getXHtmlPageTemplates

      public List<PageTemplate> getXHtmlPageTemplates()
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • getEventToPublish

      public TemplateListViewEvent getEventToPublish(String result)
      Description copied from interface: Evented
      Gets the event to publish.
      Specified by:
      getEventToPublish in interface Evented<TemplateListViewEvent>
      Parameters:
      result - the result of the action executing.
      Returns:
      the event. Can be null, in which case no event will be published.