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
public class CopyContentComponent extends CopyContentComponent
This component for copying web content. SeeCopyContentComponent
.
-
-
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
Constructors Constructor Description CopyContentComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
getInputsForCopy(Content baseContent, String title, Map<String,Object> copyMap, String targetContentType, CopyReport copyReport)
Retrieve the inputs for the copy workflow function.-
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 Detail
-
CopyContentComponent
public CopyContentComponent()
-
-
Method Detail
-
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.
-
-