Interface FetchCriteria

    • Method Detail

      • validate

        boolean validate()
        Returns:
        true if this criteria validates the current Fetching.
        Since:
        jcms-9.0.0
      • validateAuthor

        boolean validateAuthor()
        Returns:
        true if the author is a valid Mail author.
        Since:
        jcms-9.0.0
      • validateWorkspace

        boolean validateWorkspace()
        Returns:
        true if the workspace is a valid Mail workspace.
        Since:
        jcms-9.0.0
      • isMatchingCheck

        boolean isMatchingCheck()
        Returns:
        true if current id equals the Criteria's check being processed.
      • getId

        int getId()
        Returns:
        the identifier of the Criteria. Should be bound to IncomingMailListener's CHECK cases.
        Since:
        jcms-9.0.0
      • getAuthor

        Member getAuthor()
        Returns:
        the Member to use as Mail's author.
        Since:
        jcms-9.0.0
      • getWorkspace

        Workspace getWorkspace()
        Returns:
        the Workspace to use as Mail's workspace.
        Since:
        jcms-9.0.0
      • setFields

        void setFields()