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