Class XPageAppService

  • All Implemented Interfaces:
    CacheableService, LuteceService, java.lang.Cloneable, net.sf.ehcache.event.CacheEventListener

    public class XPageAppService
    extends ContentService
    This class delivers Extra pages (xpages) to web components. An XPage is a page where the content is provided by a specific class, but should be integrated into the portal struture and design. XPageApps are identified by a key name. To display an XPage into the portal just call the following url :
    Portal.jsp?page=keyname&param1=value1& ...&paramN=valueN
    See Also:
    XPage
    • Field Detail

    • Constructor Detail

      • XPageAppService

        public XPageAppService()
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the Content Service name
        Returns:
        The name as a String
      • isInvoked

        public boolean isInvoked​(javax.servlet.http.HttpServletRequest request)
        Analyzes request parameters to see if the request should be handled by the current Content Service
        Specified by:
        isInvoked in class ContentService
        Parameters:
        request - The HTTP request
        Returns:
        true if this ContentService should handle this request
      • getApplicationEntry

        public static XPageApplicationEntry getApplicationEntry​(java.lang.String strName)
        Gets Application entry by name
        Parameters:
        strName - The application's name
        Returns:
        The entry
      • getXPageApplicationsList

        public static java.util.Collection<XPageApplicationEntry> getXPageApplicationsList()
        Gets applications list
        Returns:
        A collection of applications
      • getApplicationInstance

        public static XPageApplication getApplicationInstance​(XPageApplicationEntry entry)
        Get an XPage instance
        Parameters:
        entry - The Xpage entry
        Returns:
        An instance of a given XPage