Class BreadcrumbAction

    • Constructor Detail

      • BreadcrumbAction

        public BreadcrumbAction()
    • 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
      • setUserName

        public void setUserName​(String userName)
      • setFileName

        public void setFileName​(String fileName)
      • setSpaceKey

        public void setSpaceKey​(String spaceKey)
      • setTitle

        public void setTitle​(String title)
      • setPageId

        public void setPageId​(long pageId)
      • setPage

        public void setPage​(AbstractPage page)
        Description copied from interface: PageAware
        IOC method for setting the page on the action. This is called from the interceptor
        Specified by:
        setPage in interface PageAware
        Parameters:
        page - the page that the action will be working on.
      • isPageRequired

        public boolean isPageRequired()
        Description copied from interface: PageAware
        If the action requires that the page be set before being run, then it should return true to this method. If the action requires a page, but no page is available, then the interceptor will automatically redirect to the 'pagenotfound' result
        Specified by:
        isPageRequired in interface PageAware
        Returns:
        true if the action requires a page in order to execute
      • setSpaceManager

        public void setSpaceManager​(SpaceManager spaceManager)
      • isLatestVersionRequired

        public boolean isLatestVersionRequired()
        Description copied from interface: PageAware
        If the action can only work on the most recent version of a page, this will cause the interceptor to silently replace the version that it looks up with the most recent version, if necessary.
        Specified by:
        isLatestVersionRequired in interface PageAware
        Returns:
        true if the action requires the most recent version of a page
      • isViewPermissionRequired

        public boolean isViewPermissionRequired()
        Specified by:
        isViewPermissionRequired in interface PageAware
        Returns:
        true if the action requires a check on the view page level permissions on this page
      • getSpace

        public Space getSpace()
      • setBreadcrumbGenerator

        public void setBreadcrumbGenerator​(BreadcrumbGenerator breadcrumbGenerator)