portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r920191 [5/5] - in /portals/jetspeed-2/portal/trunk: components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/om/folder/proxy/ components/jetspeed-portal-site/src/main/java/org/apache/jetspeed/om/page/proxy/ components/jetspeed-por...
Date Mon, 08 Mar 2010 03:54:18 GMT
Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/portalsite/PortalSiteRequestContext.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/portalsite/PortalSiteRequestContext.java?rev=920191&r1=920190&r2=920191&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/portalsite/PortalSiteRequestContext.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/portalsite/PortalSiteRequestContext.java
Mon Mar  8 03:54:17 2010
@@ -90,9 +90,9 @@
     boolean isContentPage() throws NodeNotFoundException;
 
     /**
-     * getPage - get request profiled page proxy
+     * getPage - get request profiled page view
      *  
-     * @return page proxy
+     * @return page view
      * @throws NodeNotFoundException if page not found
      * @throws SecurityException if page view access not granted
      */
@@ -108,79 +108,79 @@
     String getPageContentPath() throws NodeNotFoundException;
 
     /**
-     * getPageTemplate - get page template proxy for request profiled page
+     * getPageTemplate - get page template view for request profiled page
      *  
-     * @return page template proxy if found or null
+     * @return page template view if found or null
      * @throws NodeNotFoundException if page not found
      * @throws SecurityException if page view access not granted
      */
     PageTemplate getPageTemplate() throws NodeNotFoundException;
 
     /**
-     * getFragmentDefinitions - get fragment definition proxy map for request
+     * getFragmentDefinitions - get fragment definition view map for request
      *                          profiled page and page template
      *  
-     * @return map of fragment definition proxies by fragment id
+     * @return map of fragment definition views by fragment id
      * @throws NodeNotFoundException if page not found
      * @throws SecurityException if page view access not granted
      */
     Map getFragmentDefinitions() throws NodeNotFoundException;
 
     /**
-     * getFolder - get folder proxy relative to request profiled page
+     * getFolder - get folder view relative to request profiled page
      *  
-     * @return page folder proxy
+     * @return page folder view
      * @throws NodeNotFoundException if page not found
      * @throws SecurityException if page view access not granted
      */
     Folder getFolder() throws NodeNotFoundException;
 
     /**
-     * getSiblingPages - get node set of sibling page proxies relative
+     * getSiblingPages - get node set of sibling page views relative
      *                   to request profiled page, (includes profiled
-     *                   page proxy)
+     *                   page view)
      *  
-     * @return sibling page proxies
+     * @return sibling page views
      * @throws NodeNotFoundException if page not found
      * @throws SecurityException if page view access not granted
      */
     NodeSet getSiblingPages() throws NodeNotFoundException;
 
     /**
-     * getParentFolder - get parent folder proxy relative to request
+     * getParentFolder - get parent folder view relative to request
      *                   profiled page
      *  
-     * @return parent folder proxy or null
+     * @return parent folder view or null
      * @throws NodeNotFoundException if page not found
      * @throws SecurityException if page view access not granted
      */
     Folder getParentFolder() throws NodeNotFoundException;
 
     /**
-     * getSiblingFolders - get node set of sibling folder proxies relative
+     * getSiblingFolders - get node set of sibling folder views relative
      *                     to request profiled page, (includes profiled
-     *                     page folder proxy)
+     *                     page folder view)
      *  
-     * @return sibling folder proxies
+     * @return sibling folder views
      * @throws NodeNotFoundException if page not found
      * @throws SecurityException if page view access not granted
      */
     NodeSet getSiblingFolders() throws NodeNotFoundException;
 
     /**
-     * getRootFolder - get root profiled folder proxy
+     * getRootFolder - get root profiled folder view
      *  
-     * @return parent folder proxy
+     * @return parent folder view
      * @throws NodeNotFoundException if page not found
      * @throws SecurityException if page view access not granted
      */
     Folder getRootFolder() throws NodeNotFoundException;
 
     /**
-     * getRootLinks - get node set of link proxies relative to
+     * getRootLinks - get node set of link views relative to
      *                profiled root folder
      *  
-     * @return root link proxies
+     * @return root link views
      * @throws NodeNotFoundException if page not found
      * @throws SecurityException if page view access not granted
      */

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/portalsite/PortalSiteSessionContext.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/portalsite/PortalSiteSessionContext.java?rev=920191&r1=920190&r2=920191&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/portalsite/PortalSiteSessionContext.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/portalsite/PortalSiteSessionContext.java
Mon Mar  8 03:54:17 2010
@@ -73,6 +73,42 @@
     PortalSiteRequestContext newRequestContext(Map requestProfileLocators, boolean requestFallback,
boolean useHistory, boolean forceReservedVisible);
 
     /**
+     * newRequestContext - create a new request context instance without profiling
+     *                     support with fallback and history
+     *
+     * @param requestPath request path
+     * @param requestServerName request server name
+     * @return new request context instance
+     */
+    PortalSiteRequestContext newRequestContext(String requestPath, String requestServerName);
+
+    /**
+     * newRequestContext - create a new request context instance without profiling
+     *                     support with history
+     *
+     * @param requestPath request path
+     * @param requestServerName request server name
+     * @param requestFallback flag specifying whether to fallback to root folder
+     *                        if locators do not select a page or access is forbidden
+     * @return new request context instance
+     */
+    PortalSiteRequestContext newRequestContext(String requestPath, String requestServerName,
boolean requestFallback);
+
+    /**
+     * newRequestContext - create a new request context instance without profiling
+     *                     support
+     *
+     * @param requestPath request path
+     * @param requestServerName request server name
+     * @param requestFallback flag specifying whether to fallback to root folder
+     *                        if locators do not select a page or access is forbidden
+     * @param useHistory flag indicating whether to use visited page
+     *                   history to select default page per site folder
+     * @return new request context instance
+     */
+    PortalSiteRequestContext newRequestContext(String requestPath, String requestServerName,
boolean requestFallback, boolean useHistory);
+
+    /**
      * getPageManager - return PageManager component instance
      *
      * @return PageManager instance



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message