org.ametys.plugins.datainclusion.datasources.components
Class UpdateDataSourceAction

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.acting.AbstractAction
          extended by org.apache.cocoon.acting.ServiceableAction
              extended by org.ametys.plugins.datainclusion.datasources.components.UpdateDataSourceAction
All Implemented Interfaces:
Component, LogEnabled, Serviceable, Action

public class UpdateDataSourceAction
extends ServiceableAction

Action which updates a data source.


Field Summary
protected  DataSourceFactoryExtensionPoint _dataSourceFactoryEP
          The DataSourceFactory extension point.
protected  QueryDao _queryDao
          The Query DAO.
 
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
 
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
 
Constructor Summary
UpdateDataSourceAction()
           
 
Method Summary
 Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
           
 void service(ServiceManager serviceManager)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_dataSourceFactoryEP

protected DataSourceFactoryExtensionPoint _dataSourceFactoryEP
The DataSourceFactory extension point.


_queryDao

protected QueryDao _queryDao
The Query DAO.

Constructor Detail

UpdateDataSourceAction

public UpdateDataSourceAction()
Method Detail

service

public void service(ServiceManager serviceManager)
             throws ServiceException
Specified by:
service in interface Serviceable
Overrides:
service in class ServiceableAction
Throws:
ServiceException

act

public Map act(Redirector redirector,
               SourceResolver resolver,
               Map objectModel,
               String source,
               Parameters parameters)
        throws Exception
Throws:
Exception


Copyright © 2010 Anyware Services. All Rights Reserved.