Package org.ametys.web.attachments
Class AttachmentsRootNodeAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.ametys.web.attachments.AttachmentsRootNodeAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
This action retrieves the id of the attachments root node of a
TraversableAmetysObject
.<br/>If the attachments node does not exist, it will be created.-
Field Summary
Fields 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) void
service
(ServiceManager smanager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
ATTACHMENTS_NODE_NAME
Constant for the attachment node name.- See Also:
-
-
Constructor Details
-
AttachmentsRootNodeAction
public AttachmentsRootNodeAction()
-
-
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
-