Package org.ametys.plugins.forms
Class GetOrphanFormsAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.plugins.forms.GetOrphanFormsAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class GetOrphanFormsAction extends ServiceableAction
Generator listing all of the forms that are no longer referenced by any content
-
-
Field Summary
Fields Modifier and Type Field Description private FormPropertiesManager
_formPropertiesManager
Component gathering methods to query forms in JCRprivate FormTableManager
_formTableManager
Component gathering methods to manipulate SQL formsprivate UserManager
_userManager
The users manager.-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description GetOrphanFormsAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
_formPropertiesManager
private FormPropertiesManager _formPropertiesManager
Component gathering methods to query forms in JCR
-
_formTableManager
private FormTableManager _formTableManager
Component gathering methods to manipulate SQL forms
-
_userManager
private UserManager _userManager
The users manager.
-
-
Constructor Detail
-
GetOrphanFormsAction
public GetOrphanFormsAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- 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
-
-