| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.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.PageGearsFormHandler
public class PageGearsFormHandler
This form handler provides convenient methods for adding or removing gears from a community page.
 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 handleUpdateGears has an associated
 preUpdateGears and postUpdateGears.
 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 | |
|---|---|
PageGearsFormHandler()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
handleReset(DynamoHttpServletRequest pRequest,
            DynamoHttpServletResponse pResponse)
Reset this formhandler.  | 
 boolean | 
handleUpdateGearsAdminMode(DynamoHttpServletRequest pRequest,
                           DynamoHttpServletResponse pResponse)
Update the list of gears available to an admin created page.  | 
 boolean | 
handleUpdateGearsUserMode(DynamoHttpServletRequest pRequest,
                          DynamoHttpServletResponse pResponse)
Called to update the gears available to a page  | 
 void | 
postUpdateGearsAdminMode(DynamoHttpServletRequest pRequest,
                         DynamoHttpServletResponse pResponse)
Operation called just after component update is finished  | 
 void | 
postUpdateGearsUserMode(DynamoHttpServletRequest pRequest,
                        DynamoHttpServletResponse pResponse)
Operation called just after component update is finished  | 
 void | 
preUpdateGearsAdminMode(DynamoHttpServletRequest pRequest,
                        DynamoHttpServletResponse pResponse)
Operation called just before component update is started  | 
 void | 
preUpdateGearsUserMode(DynamoHttpServletRequest pRequest,
                       DynamoHttpServletResponse pResponse)
Operation called just before component update is started  | 
protected  boolean | 
updateGearsAdminMode(DynamoHttpServletRequest pRequest,
                     DynamoHttpServletResponse pResponse)
updateGears is called by the handlers to update the list of gears available to a page.  | 
protected  boolean | 
updateGearsUserMode(DynamoHttpServletRequest pRequest,
                    DynamoHttpServletResponse pResponse)
updateGears is called by the handlers to update the list of gears available to a 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 PageGearsFormHandler()
| Method Detail | 
|---|
public boolean handleUpdateGearsAdminMode(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 io
protected boolean updateGearsAdminMode(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 preUpdateGearsAdminMode(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
public void postUpdateGearsAdminMode(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
public boolean handleUpdateGearsUserMode(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 io
protected boolean updateGearsUserMode(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 preUpdateGearsUserMode(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
public void postUpdateGearsUserMode(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
public boolean handleReset(DynamoHttpServletRequest pRequest,
                           DynamoHttpServletResponse pResponse)
                    throws java.io.IOException,
                           javax.servlet.ServletException
handleReset in class PageFormHandlerjava.io.IOException
javax.servlet.ServletException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||