Package org.ametys.plugins.forms.actions
Class GetFormsAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.plugins.forms.actions.GetFormsAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
Get forms action
-
Field Summary
Modifier and TypeFieldDescriptionprotected FormDAO
DAO for manipulating formprotected FormDirectoryDAO
DAO for manipulating form directoryprotected AmetysObjectResolver
The Ametys object resolverprotected CurrentUserProvider
The current user providerFields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(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
-
Field Details
-
_userProvider
The current user provider -
_resolver
The Ametys object resolver -
_formDirectoryDAO
DAO for manipulating form directory -
_formDAO
DAO for manipulating form
-
-
Constructor Details
-
GetFormsAction
public GetFormsAction()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Throws:
Exception
-