|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.dlese.dpc.schemedit.action.DCSAction org.dlese.dpc.schemedit.action.SessionInfoAction
public final class SessionInfoAction
Action supporting asynchronous exchange of information between UI and session, e.g., saving "collectionFilter" information that stored in the sessionBean and therefore accessible to any jsp page. The collectionFilter information is sent by the UI as an ajax request, and processed here, but no forward link is returned and therefore there is no noticable change of state in the UI.
Field Summary |
---|
Fields inherited from class org.dlese.dpc.schemedit.action.DCSAction |
---|
accessManager, collectionRegistry, dcsDataManager, frameworkRegistry, ndrServiceEnabled, repositoryManager, repositoryService, requiredRole, sessionRegistry, userManager |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
SessionInfoAction()
|
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
HttpServletRequest req,
HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it). |
protected static String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
static void |
setDebug(boolean db)
Sets the debug attribute of the object |
protected void |
updateCollectionFilter(HttpServletRequest request)
|
Methods inherited from class org.dlese.dpc.schemedit.action.DCSAction |
---|
getMetaDataFramework, getRequiredContextAttributeValue, getSessionBean, getSessionUser, getSessionUser, getSessionUserName, initializeFromContext |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionInfoAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest req, HttpServletResponse response) throws Exception
ActionForward
instance describing where and how control
should be forwarded, or null
if the response has already been
completed.
execute
in class org.apache.struts.action.Action
mapping
- The ActionMapping used to select this instanceresponse
- The HTTP response we are creatingform
- The ActionForm for the given pagereq
- The HTTP request.
Exception
- If error.protected void updateCollectionFilter(HttpServletRequest request)
protected static final String getDateStamp()
public static void setDebug(boolean db)
db
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |