|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.netuix.servlets.manager.AppContext
public class AppContext
The AppContext
is created once per request and provides convenience methods for
web application-wide request-scoped parameters.
Constructor Summary | |
---|---|
AppContext()
|
Method Summary | |
---|---|
static boolean |
appContextSet(javax.servlet.http.HttpServletRequest request)
Has a portal servlet set the AppContext on this request? |
static AppContext |
getAppContext(javax.servlet.http.HttpServletRequest request)
Returns the AppContext associated with the current request. |
String |
getDesktopPath()
Get the partial URL (desktop portion) for this portal/desktop request |
String |
getPortalPath()
Get the partial URL (portal portion) for this portal/desktop |
String |
getPortletInstanceLabel()
|
String |
getWebAppName()
Return the webapp name (as defined in the config.xml file) for this portal. |
static boolean |
isCustomizationAllowed(javax.servlet.http.HttpServletRequest request)
This method is used for determining if customizations are allowed, based on information in the given request. |
boolean |
isDotPortal()
Is this portal a .portal file or was it assembled from the datebase? |
static boolean |
isPermanentDeleteAllowed(javax.servlet.http.HttpServletRequest request)
Deprecated Replaced by isCustomizationAllowed(HttpServletRequest) |
boolean |
isStandalonePortlet()
Is the current request servicing a standalone Portlet? |
void |
setPortletInstanceLabel(String portletInstanceLabel)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppContext()
Method Detail |
---|
public String getWebAppName()
public String getPortalPath()
public String getDesktopPath()
public String getPortletInstanceLabel()
public void setPortletInstanceLabel(String portletInstanceLabel)
public boolean isDotPortal()
public boolean isStandalonePortlet()
@Deprecated public static boolean isPermanentDeleteAllowed(javax.servlet.http.HttpServletRequest request)
isCustomizationAllowed(HttpServletRequest)
public static boolean isCustomizationAllowed(javax.servlet.http.HttpServletRequest request)
public static AppContext getAppContext(javax.servlet.http.HttpServletRequest request)
AppContext
associated with the current request.
If no such AppContext
exists, this method creates a new one and associates it
with the current request.
public static boolean appContextSet(javax.servlet.http.HttpServletRequest request)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |