org.apache.cocoon.acting Java Source File Name Type Comment AbstractAction.java Class AbstractAction gives you the infrastructure for easily deploying more
Actions. AbstractComplementaryConfigurableAction.java Class Set up environment for configurable form handling data. AbstractConfigurableAction.java Class AbstractConfigurableAction gives you the infrastructure for easily
deploying more Actions that take default parameters. AbstractDatabaseAction.java Class Set up environment for configurable form handling data. AbstractMultiAction.java Class The AbstractMultiAction
provides a way
to call methods of an action specified by
the method
parameter or request parameter. AbstractValidatorAction.java Class Abstract implementation of action that needs to perform validation of
parameters (from session, from request, etc.). Action.java Interface CacheEventAction.java Class Simple action to cause notification of a NamedEvent to an EventAwareCacheImpl.
The event name is taken from a sitemap parameter named "event".
This action returns null (fails) if the configured event is null or the
empty string. ClearCacheAction.java Class ClearPersistentStoreAction.java Class Simple action which ensures the persistent store is cleared. ComposerAction.java Class The ComposerAction
will allow any Action
that extends this to access SitemapComponents. ConfigurableComposerAction.java Class The ComposerAction
will allow any Action
that extends this to access SitemapComponents. ConfigurableServiceableAction.java Class The ConfigurableServiceableAction
will allow any Action
that extends this to access SitemapComponents. ConfigurationHelper.java Class CopySourceAction.java Class The CopySourceAction copies the content of it's "src" attribute to its "dest" parameter. DatabaseAddAction.java Class Adds record in a database. DatabaseAuthenticatorAction.java Class This action is used to authenticate user by comparing several request
fields (username, password) with the values in database. DatabaseCookieAuthenticatorAction.java Class This action is used to authenticate user by comparing several cookie values
(username, password) with the values in database. DatabaseDeleteAction.java Class Delete a record from a database. DatabaseSelectAction.java Class Select a record from a database. DatabaseUpdateAction.java Class Update a record in a database. DbXMLAuthenticatorAction.java Class This action is used to authenticate user by comparing several request
fields (username, password) with the values in a DBXML compliant database.
The description of the process is given via external xml description file
simiar to the one used for all actions derived from AbstractDatabaseAction.
org.apache.xindice.client.xmldb.DatabaseImpl
xmldb:xindice:///db/beta
The values specified via "request-param" describe the name of HTTP request
parameter, "element" indicates matching document node, "nullable" means
that request-param which is null or empty will not be included in the WHERE
clause. FormValidatorAction.java Class This is the action used to validate Request parameters. HelloAction.java Class A simple Action that tracks if a Session
object
has been created or not. HttpCacheAction.java Class This action adds the Last-Modified
, Expires
and
Cache-Control
HTTP headers to the response.
This action will add the Last-Modified
header to the response
with the time in which the request was executed, and an Expires
header at a specified time difference.
HttpHeaderAction.java Class This action adds HTTP headers to the response. InputModuleAction.java Class Simple helper action to allow passing sitemap variables to InputModules.
Sitemap evaluation of input modules using the curly bracket syntax e.g.
{defaults:skin} suffers from the fact that it is not
possible to use a sitemap variable as part of the invocation like
{defaults:{1})}. JMSPublisherAction.java Class Action to publish TextMessages to a JMS Topic. LocaleAction.java Class An action that locates and provides to the pipeline locale information
looked up in a range of ways.
Configuration
A sample configuration (given in the <map:matchers> section of the
sitemap) is given below.
LocaleActionTestCase.java Class JUnit-based tests for
LocaleAction class. OraAddAction.java Class Add a record in a database. OraUpdateAction.java Class Update a record in a database. PropagatorAction.java Class This is the action used to propagate parameters into a store using an
org.apache.cocoon.components.modules.output.OutputModule . RequestParamAction.java Class This action makes some request details available to the sitemap via parameter
substitution. RequestParamActionTestCase.java Class RequestParameterExistsAction.java Class This action simply checks to see if a given request parameter
exists. ResetCounterAction.java Class Set context attribute "count" to zero for testing purposes. ResourceExistsAction.java Class This action simply checks to see if a resource identified by the src
sitemap attribute exists or not. ResourceExistsActionTestCase.java Class ScriptAction.java Class Sendmail.java Class The Sendmail action class sends email. SendmailAction.java Class The SendmailAction class sends email. ServerPagesAction.java Class Allows actions to be written in XSP. ServiceableAction.java Class The ServiceableAction
will allow any Action
that extends this to access SitemapComponents. SessionInvalidatorAction.java Class This is the action used to invalidate an HTTP session. SessionIsValidAction.java Class This action just checks if a session exists and whether the current
seesion is still valid. SessionPropagatorAction.java Class This is the action used to propagate parameters into session. SessionStateAction.java Class Store the session's current state in a session attribute.
To keep track of the state of a user's session, a string is
stored in a session attribute in order to allow to chose between
different pipelines in the sitemap accordingly.
For added flexibility it is possible to use sub states as
well.
SessionValidatorAction.java Class This is the action used to validate Session parameters (attributes). SetCharacterEncodingAction.java Class Sets the character encoding of parameters. SetterAction.java Class This action can be used to set information in either the object model,
the request or the session. ValidatorActionHelper.java Class Helper class to pass the result of a validation back along with
the validated object itself. ValidatorActionResult.java Class A number of constants to represent the possible outcomes of a
validation.