public abstract class AbstractSurveyAction extends AbstractNotifierAction
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
Ametys object resolver.
|
protected SiteManager |
_siteManager
The site manager
|
_observationManager
manager
EMPTY_MAP
Constructor and Description |
---|
AbstractSurveyAction() |
Modifier and Type | Method and Description |
---|---|
abstract Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
protected ModifiableTraversableAmetysObject |
getSurveyRootNode(String siteName,
String lang)
Get the root node for surveys
|
void |
service(ServiceManager serviceManager) |
_getCurrentUser
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected AmetysObjectResolver _resolver
protected SiteManager _siteManager
public AbstractSurveyAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class AbstractNotifierAction
ServiceException
public abstract Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
protected ModifiableTraversableAmetysObject getSurveyRootNode(String siteName, String lang) throws RepositoryException
siteName
- the site namelang
- the languageRepositoryException
- if an error occurs while manipulating the repository