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
Get the content information
-
Field Summary
Modifier and TypeFieldDescriptionprotected ContentDAO
DAO for contentsprotected ContentTypeExtensionPoint
The content type extension pointprotected ContentWorkflowHelper
The content workflow helperprotected LockContentManager
The lock manager.protected AmetysObjectResolver
The Ametys object resolverprotected RightManager
The rights managerprotected 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) 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 Details
-
_resolver
The Ametys object resolver -
_userProvider
The current user provider -
_rightManager
The rights manager -
_contentTypeEP
The content type extension point -
_lockManager
The lock manager. -
_contentWorkflowHelper
The content workflow helper -
_contentDAO
DAO for contents
-
-
Constructor Details
-
GetContentInformationAction
public GetContentInformationAction()
-
-
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
-
getAdditionalProperties
Get content additional properties- Parameters:
content
- The content- Returns:
- The additionnal properties
-