Package org.ametys.cms.content
Class GetContentInformationAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.cms.content.GetContentInformationAction
-
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
- Direct Known Subclasses:
GetContentInformationAction
public class GetContentInformationAction extends ServiceableAction
Get the content information
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentDAO_contentDAODAO for contentsprotected ContentTypeExtensionPoint_contentTypeEPThe content type extension pointprotected ContentWorkflowHelper_contentWorkflowHelperThe content workflow helperprotected LockContentManager_lockManagerThe lock manager.protected AmetysObjectResolver_resolverThe Ametys object resolverprotected RightManager_rightManagerThe rights managerprotected CurrentUserProvider_userProviderThe current user provider-
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 GetContentInformationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)protected Map<String,Object>getAdditionalProperties(Content content)Get content additional propertiesvoidservice(ServiceManager smanager)-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_resolver
protected AmetysObjectResolver _resolver
The Ametys object resolver
-
_userProvider
protected CurrentUserProvider _userProvider
The current user provider
-
_rightManager
protected RightManager _rightManager
The rights manager
-
_contentTypeEP
protected ContentTypeExtensionPoint _contentTypeEP
The content type extension point
-
_lockManager
protected LockContentManager _lockManager
The lock manager.
-
_contentWorkflowHelper
protected ContentWorkflowHelper _contentWorkflowHelper
The content workflow helper
-
_contentDAO
protected ContentDAO _contentDAO
DAO for contents
-
-
Constructor Detail
-
GetContentInformationAction
public GetContentInformationAction()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableAction- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
getAdditionalProperties
protected Map<String,Object> getAdditionalProperties(Content content)
Get content additional properties- Parameters:
content- The content- Returns:
- The additionnal properties
-
-