|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.droplet.EmptyFormHandler atg.droplet.GenericFormHandler atg.droplet.TransactionalFormHandler atg.portal.admin.PortalGenericFormHandler atg.portal.admin.PageFormHandler atg.portal.admin.PageColorFormHandler
public class PageColorFormHandler
This form handler provides convenient methods for updating a community page's color palette.
All handle methods in this form handler mirror a similiar pattern.
Each handleXXX process, some have an associated preXXX and postXXX method.
For example, the handleUpdateColor
has an associated
preUpdateColor
and postUpdateColor
.
These pre/post methods provide an easy way for customer's to extend the
functionality of this form handler.
TransactionalFormHandler
,
PortalGenericFormHandler
,
PageFormHandler
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.droplet.GenericFormHandler |
---|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
PageColorFormHandler()
|
Method Summary | |
---|---|
boolean |
handleUpdateColorAdminMode(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Called to update the color palette of a page |
boolean |
handleUpdateColorUserMode(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Called to update the color palette of a personalized page a personalized page will be created if one does not exist. |
void |
postUpdateColorAdminMode(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Operation called just after component update is finished |
void |
postUpdateColorUserMode(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Operation called just after component update is finished |
void |
preUpdateColorAdminMode(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Operation called just before component update is started |
void |
preUpdateColorUserMode(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Operation called just before component update is started |
protected boolean |
updateColorAdminMode(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
updateColor is called by the handlers to update the color palette of the page. |
protected boolean |
updateColorUserMode(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
updateColor is called by the handlers to update the color palette of the page. |
Methods inherited from class atg.droplet.EmptyFormHandler |
---|
afterGet, beforeGet |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PageColorFormHandler()
Method Detail |
---|
public boolean handleUpdateColorAdminMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet ioprotected boolean updateColorAdminMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException, SecurityException
pRequest
- the dynamo request objectpResponse
- the dynamo response object
javax.servlet.ServletException
- if something went wrong
java.io.IOException
- if something went wrong
SecurityException
public void preUpdateColorAdminMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the dynamo request objectpResponse
- the dynamo response object
javax.servlet.ServletException
- if something went wrong
java.io.IOException
- if something went wrongpublic void postUpdateColorAdminMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the dynamo request objectpResponse
- the dynamo response object
javax.servlet.ServletException
- if something went wrong
java.io.IOException
- if something went wrongpublic boolean handleUpdateColorUserMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet ioprotected boolean updateColorUserMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException, SecurityException
pRequest
- the dynamo request objectpResponse
- the dynamo response object
javax.servlet.ServletException
- if something went wrong
java.io.IOException
- if something went wrong
SecurityException
public void preUpdateColorUserMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the dynamo request objectpResponse
- the dynamo response object
javax.servlet.ServletException
- if something went wrong
java.io.IOException
- if something went wrongpublic void postUpdateColorUserMode(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the dynamo request objectpResponse
- the dynamo response object
javax.servlet.ServletException
- if something went wrong
java.io.IOException
- if something went wrong
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |