Class CopyContentComponent
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.content.CopyContentComponent
org.ametys.odf.content.CopyContentComponent
org.ametys.plugins.odfweb.content.CopyContentComponent
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
Component used for copy content in a web and ODF context
See
CopyContentComponent
and CopyContentComponent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.cms.content.CopyContentComponent
CopyContentComponent.CopyAttachmentsHandler
-
Field Summary
Fields inherited from class org.ametys.odf.content.CopyContentComponent
ROLE
Fields inherited from class org.ametys.cms.content.CopyContentComponent
_contentHelper, _contentTypesHelper, _contentWorkflowHelper, _manager, _resolver, _workflowProvider
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.odf.content.CopyContentComponent
handleLinkedContent
Methods inherited from class org.ametys.cms.content.CopyContentComponent
computeValues, copyContent, copyLinkedContent, editContent, editContent, getDefaultActionIdForContentEdition, getDefaultInitActionId, getWorkflowName, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
CopyContentComponent
public CopyContentComponent()
-
-
Method Details
-
getInputsForCopy
protected Map<String,Object> getInputsForCopy(Content content, String title, Map<String, Object> copyMap, String targetContentType, CopyReport copyReport) Description copied from class:CopyContentComponent
Retrieve the inputs for the copy workflow function.- Overrides:
getInputsForCopy
in classCopyContentComponent
- Parameters:
content
- The content to copytitle
- The title to setcopyMap
- The map with properties to copytargetContentType
- The type of content to create. If null the type(s) of created content will be those of base content.copyReport
- The report of the copy- Returns:
- The map of inputs.
-