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
_contentDAO
DAO for contentsprotected ContentTypeExtensionPoint
_contentTypeEP
The content type extension pointprotected ContentWorkflowHelper
_contentWorkflowHelper
The content workflow helperprotected LockContentManager
_lockManager
The lock manager.protected AmetysObjectResolver
_resolver
The Ametys object resolverprotected RightManager
_rightManager
The rights managerprotected CurrentUserProvider
_userProvider
The 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 Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
protected Map<String,Object>
getAdditionalProperties(Content content)
Get content additional propertiesvoid
service(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:
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
-
getAdditionalProperties
protected Map<String,Object> getAdditionalProperties(Content content)
Get content additional properties- Parameters:
content
- The content- Returns:
- The additionnal properties
-
-