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, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable
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()
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
    • 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.