Package com.softslate.commerce.customer.core
BaseForm and
BaseDynaForm extend the Struts
ActionForm and DynaActionForm respectively. They
provide several properties common to all of the Web requests the application
receives, to help the action classes communicate with the rest of
the application.
The interfaces ActionUtils and
FormUtils, and their corresponding
implementations, provide useful utility methods
that assist with processing actions and validatidating forms, respectively.
ConfigPlugIn is a Struts PlugIn that
initializes singleton objects in the servlet's application scope, for use
throughout the system.
LayoutAction is a Tiles controller
that is run just before the response is returned to the user. Its two main
functions are to set the HTML title for the page being displayed, and to
update the paths of the Tiles attributes if a custom layout is being
displayed.
SEOFilter is a Java Servlet Filter that
translates search-engine friendly URLs into URL formats understood by the application.
AppLinkTag does the reverse: it is an
extention of the Struts link tag which generates search-engine friendly links.
AppInsertTag is an extension of the
Tiles insert tag which provides additional functionality for custom layouts.
HibernateFilter is a Java Servlet Filter
implementing the ThreadLocal model for Hibernate sessions. It handles making sure
every Hibernate transaction is closed cleanly.
AppMessageResources and
AppMessageResourcesFactory extend the
Struts MessageResources facility to make it easier to create custom
messages for the application, without the danger that the custom messages will be
overridden by a future upgrade.
Finally, BaseRequestProcessor is
the application's extension of the Struts TilesRequestProcessor. It
does a variety of initializations and other processing at the beginning of
every request. In addition it overrides Struts' default exception handling
to assist with logging and debugging. Its child class,
CustomerRequestProcessor, initializes variables used specifically in
the customer interface.
-
ClassDescriptionInterface for utility methods used by Struts Action classes.
ActionUtilsImplis the default implementation of theActionUtilsinterface for the application.Maps /api requests to the appropriate .do URI.Extension of the TilesInsertTag, to allow for custom layouts.Extension of the StrutsELLinkTag, to allow for search-engine friendly URLs for product, category and other pages.Extension of the StrutsPropertyMessageResourcesclass which wraps a secondPropertyMessageResourcesobject holding custom application messages.Extension of the StrutsMessageResourcesFactoryclass which creates instances ofAppMessageResourcesinstead of the StrutsPropertyMessageResourcesclass.Provides miscellaneous static methods used by various classes in the Struts layer.Extension of the StrutsActionclass that every action class in the system subclasses in turn.Extends the StrutsDynaActionFormclass to provide base functionality for form classes in the system.Methods common to al of the application's servlet filters.Extends the StrutsActionFormclass to provide base functionality for form classes in the system.Subclass ofTilesRequestProcessorthat negotiates each application request.Initializes singleton objects in the application scope.Subclass ofBaseRequestProcessorthat negotiates each application request for the customer interface.Extension of the TilesElInsertTag, to allow for custom layouts.The Struts action class responsible for sending emails with information captured from the contact form and other form-to-email forms.Struts form class for submissions to the contact form and other form-to-email forms.Interface for utility methods used by Struts Form classes.FormUtilsImplis the default implementation of theFormUtilsinterface for the application.A servlet filter that manages a single Hibernate Session for each request, per the ThreadLocal model.The Tiles contoller action that is used by the default "baseLayout", "baseLeftLayout", and "baseCenterLayout" Tiles definitions.Filter to translate incoming URLs from a search-engine friendly format to the format understood by the application.A servlet filter that locks the user's browser session so no other actions with a session lock can take place until the first request finishes.Action class to handle a request from the user to switch the language that navigational elements, buttons, and labels are displayed with.Struts action class that corresponds to the welcome page.