Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » acting » [javadoc | source]
org.apache.cocoon.acting
public class: OraAddAction [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.acting.AbstractAction
         org.apache.cocoon.acting.AbstractConfigurableAction
            org.apache.cocoon.acting.ConfigurableServiceableAction
               org.apache.cocoon.acting.AbstractComplementaryConfigurableAction
                  org.apache.cocoon.acting.AbstractDatabaseAction
                     org.apache.cocoon.acting.DatabaseAddAction
                        org.apache.cocoon.acting.OraAddAction

All Implemented Interfaces:
    org.apache.avalon.framework.thread.ThreadSafe, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.configuration.Configurable, Action

Add a record in a database. This Action assumes that there is only one table at a time to update.
Fields inherited from org.apache.cocoon.acting.DatabaseAddAction:
addStatements
Fields inherited from org.apache.cocoon.acting.AbstractDatabaseAction:
files,  typeConstants,  dbselector
Fields inherited from org.apache.cocoon.acting.ConfigurableServiceableAction:
manager
Fields inherited from org.apache.cocoon.acting.AbstractConfigurableAction:
settings
Fields inherited from org.apache.cocoon.acting.AbstractAction:
EMPTY_MAP
Method from org.apache.cocoon.acting.OraAddAction Summary:
act,   getAddQuery
Methods from org.apache.cocoon.acting.DatabaseAddAction:
act,   getActualParam,   getAddQuery,   getSelectQuery,   processTable,   setKey,   setSelectQuery
Methods from org.apache.cocoon.acting.AbstractDatabaseAction:
buildList,   buildList,   dispose,   getColumn,   getDataSource,   getRequestAttribute,   isLargeObject,   service,   setColumn,   setColumn,   setColumn,   setColumn,   setRequestAttribute
Methods from org.apache.cocoon.acting.AbstractComplementaryConfigurableAction:
getConfiguration,   getConfiguration,   getConfiguration
Methods from org.apache.cocoon.acting.ConfigurableServiceableAction:
service
Methods from org.apache.cocoon.acting.AbstractConfigurableAction:
configure
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.acting.OraAddAction Detail:
 public Map act(Redirector redirector,
    SourceResolver resolver,
    Map objectModel,
    String source,
    Parameters param) throws Exception 
    Add a record to the database. This action assumes that the file referenced by the "descriptor" parameter conforms to the AbstractDatabaseAction specifications.
 protected final String getAddQuery(Configuration conf) throws ConfigurationException 
    Get the String representation of the PreparedStatement. This is mapped to the Configuration object itself, so if it doesn't exist, it will be created.