org.ametys.plugins.datainclusion.queries.components
Class CreateQueryAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.plugins.datainclusion.queries.components.CreateQueryAction
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, Action
public class CreateQueryAction
- extends ServiceableAction
Action which creates a query.
| Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
| 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 |
_dataSourceFactoryEP
protected DataSourceFactoryExtensionPoint _dataSourceFactoryEP
- The DataSourceFactory extension point.
_queryDao
protected QueryDao _queryDao
- The Query DAO.
CreateQueryAction
public CreateQueryAction()
service
public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
service in interface org.apache.avalon.framework.service.Serviceable- Overrides:
service in class ServiceableAction
- Throws:
org.apache.avalon.framework.service.ServiceException
act
public Map act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
org.apache.avalon.framework.parameters.Parameters parameters)
throws Exception
- Throws:
Exception
_getResultType
protected Query.ResultType _getResultType(String value,
Query.ResultType defaultValue)
throws RepositoryException
- Get a single property value.
- Parameters:
value - defaultValue -
- Returns:
- the single property value.
- Throws:
RepositoryException
Copyright © 2010 Anyware Services. All Rights Reserved.