Package org.ametys.web.content
Class CopyContentComponent
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.content.CopyContentComponent
org.ametys.web.content.CopyContentComponent
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
This component for copying web content.
See
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.cms.content.CopyContentComponent
_contentHelper, _contentTypesHelper, _contentWorkflowHelper, _manager, _resolver, _workflowProvider, ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.cms.content.CopyContentComponent
computeValues, copyContent, copyLinkedContent, editContent, editContent, getDefaultActionIdForContentEdition, getDefaultInitActionId, getWorkflowName, handleLinkedContent, 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 baseContent, 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:
baseContent
- 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.
-