|
|||||||||
| Home >> All >> com >> obinary >> cms >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.obinary.cms.util
Class Resource

java.lang.Objectcom.obinary.cms.util.Resource
- public class Resource
- extends java.lang.Object
Date: Apr 28, 2003 Time: 11:20:59 AM
- Version:
- 1.0
| Field Summary | |
private static java.lang.String |
GLOBAL_CONTAINER
|
private static java.lang.String |
LOCAL_CONTAINER
|
private static java.lang.String |
LOCAL_CONTAINERLIST_NAME
|
static int |
SCOPE_GLOBAL
|
static int |
SCOPE_LOCAL
|
| Constructor Summary | |
Resource()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
SCOPE_GLOBAL
public static final int SCOPE_GLOBAL
- See Also:
- Constant Field Values
SCOPE_LOCAL
public static final int SCOPE_LOCAL
- See Also:
- Constant Field Values
GLOBAL_CONTAINER
private static final java.lang.String GLOBAL_CONTAINER
- See Also:
- Constant Field Values
LOCAL_CONTAINER
private static final java.lang.String LOCAL_CONTAINER
- See Also:
- Constant Field Values
LOCAL_CONTAINERLIST_NAME
private static final java.lang.String LOCAL_CONTAINERLIST_NAME
- See Also:
- Constant Field Values
| Constructor Detail |
Resource
public Resource()
| Method Detail |
getActivePage
public static com.obinary.cms.core.Content getActivePage(javax.servlet.http.HttpServletRequest req)
get Content object as requested from the URI
getFile
public static com.obinary.cms.beans.File getFile(javax.servlet.http.HttpServletRequest req)
get file object associated with the requested atom
getCurrentActivePage
public static com.obinary.cms.core.Content getCurrentActivePage(javax.servlet.http.HttpServletRequest req)
get Content object as requested from the URI
getHierarchyManager
public static com.obinary.cms.core.HierarchyManager getHierarchyManager(javax.servlet.http.HttpServletRequest req)
get HierarchyManager object from the request OR from the user session this hierarchy manager points to website repository, in order to swith between user and website repositories, use method (changeContext) on this object
getPostedForm
public static com.obinary.cms.beans.MultipartForm getPostedForm(javax.servlet.http.HttpServletRequest req)
this only works for forms which uses enctype=multipart/form-data
getLocalContainer
public static com.obinary.cms.core.Container getLocalContainer(javax.servlet.http.HttpServletRequest req)
get Container object as passed to the include tag
setLocalContainer
public static void setLocalContainer(javax.servlet.http.HttpServletRequest req, com.obinary.cms.core.Container container)
set Container object in resources , scope:TAG
removeLocalContainer
public static void removeLocalContainer(javax.servlet.http.HttpServletRequest req)
removes Container object in resources , scope:TAG
getGlobalContainer
public static com.obinary.cms.core.Container getGlobalContainer(javax.servlet.http.HttpServletRequest req)
get Container object as set by the "set" tag
setGlobalContainer
public static void setGlobalContainer(javax.servlet.http.HttpServletRequest req, com.obinary.cms.core.Container container)
set Container object in resources, scope:page
removeGlobalContainer
public static void removeGlobalContainer(javax.servlet.http.HttpServletRequest req)
removes Container object in resources , scope:page
setLocalContainerListName
public static void setLocalContainerListName(javax.servlet.http.HttpServletRequest req, java.lang.String name)
getLocalContainerListName
public static java.lang.String getLocalContainerListName(javax.servlet.http.HttpServletRequest req)
removeLocalContainerListName
public static void removeLocalContainerListName(javax.servlet.http.HttpServletRequest req)
showPreview
public static boolean showPreview(javax.servlet.http.HttpServletRequest req)
check for preview mode
|
|||||||||
| Home >> All >> com >> obinary >> cms >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.obinary.cms.util.Resource