Class AttachmentSearchAction

  • All Implemented Interfaces:
    Beanable, PageAware, WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

    public class AttachmentSearchAction
    extends AbstractPageAwareAction
    implements Beanable
    Finds all the attachments on the selected page that match the provided filetype(s). Assumes the provided filetype(s) are always in lower case, however the attachments are case-insensitive.
    See Also:
    Serialized Form
    • Constructor Detail

      • AttachmentSearchAction

        public AttachmentSearchAction()
    • Method Detail

      • 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
      • setAttachmentManager

        public void setAttachmentManager​(AttachmentManager attachmentManager)
      • setFileTypes

        public void setFileTypes​(String[] filetypes)