Class FixedStartPageFactory

    • Constructor Detail

      • FixedStartPageFactory

        public FixedStartPageFactory()
        Create a new factory instance.
    • Method Detail

      • getActions

        public StartPageAction[] getActions​(InvokationContext<? super StartPageAction> context)
        Description copied from interface: ActionFactory
        This method may be called one or several times for each request. This is decided by the extension point. If, for example, the extension point is a pure single-item extension point then this method is probably only called once. If the extension point is a per-item extension point in a list context, then this method may be called once for every item in the list. The context parameter contains all information about the context of the extension point, including the current item, if any.
        Specified by:
        getActions in interface ActionFactory<StartPageAction>
        context - The current invokation context
        Always an array with a single element
      • getId

        public String getId()
        Description copied from interface: StartPageAction
        Get the ID of the the action. This ID is stored as a user setting in BASE and is used to find the correct URL after logging in. It is recommended that an extension use the same ID as the extension itself have.
        Specified by:
        getId in interface StartPageAction
      • getUrl

        public String getUrl()
        Description copied from interface: StartPageAction
        Get the URL to the start page. The URL should be be an absolute URL. Use $SESSION-ID$ as a placeholder for the current session id. Eg. my_alternate_startpage.jsp?ID=$SESSION-ID$
        Specified by:
        getUrl in interface StartPageAction
        The URL to the page to load, or null to load the regular start page
      • setName

        public void setName​(String name)
      • setDescription

        public void setDescription​(String description)