Class CopyContentMedatataComponent
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.cms.content.CopyContentMetadataComponent
-
- org.ametys.odf.content.CopyContentMetadataComponent
-
- org.ametys.plugins.odfweb.content.CopyContentMedatataComponent
-
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
public class CopyContentMedatataComponent extends CopyContentMetadataComponent
Component used for copy content in a web and ODF context SeeCopyContentMetadataComponent
andCopyContentMetadataComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.cms.content.CopyContentMetadataComponent
CopyContentMetadataComponent.CopyAttachmentsHandler
-
-
Field Summary
-
Fields inherited from class org.ametys.odf.content.CopyContentMetadataComponent
ROLE
-
Fields inherited from class org.ametys.cms.content.CopyContentMetadataComponent
_contentHelper, _contentTypeExtensionPoint, _contentTypesHelper, _manager, _outgoingReferencesExtractor, _resolver, _workflowProvider
-
-
Constructor Summary
Constructors Constructor Description CopyContentMedatataComponent()
-
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, String parentContentId, String parentMetadataPath, CopyReport copyReport)
Retrieve the inputs for the copy workflow function.-
Methods inherited from class org.ametys.odf.content.CopyContentMetadataComponent
copyContentReferenceMetadata
-
Methods inherited from class org.ametys.cms.content.CopyContentMetadataComponent
_buildCopyMap, _buildCopyMap, _buildCopyMap, _copyFile, _copyFolder, _copyMetadataMap, _copyReferencedContents, _copyRepeater, _extractOutgoingReferences, _getInputsForContentReferencesEdition, _getInputsForEdition, _getMetadataDefinition, _getWorklowName, _handleInnerCopyMap, _reportMetadataException, _retrieveTargetContent, _runContentReferencesEdition, _setBooleanMetadata, _setDateMetadata, _setDoubleMetadata, _setLongMetadata, _setStringMetadata, _updateRichTextMetadata, buildCopyMap, copyBasicMetadata, copyBinaryMetadata, copyCompositeMetadata, copyContent, copyContent, copyContent, copyContent, copyContent, copyContent, copyContent, copyContent, copyContent, copyFileMetadata, copyGeocodeMetadata, copyMetadata, copyMetadataMap, copyMultilingualStringMetadata, copyReferenceMetadata, copyRichTextMetadata, copySubContentMetadata, copyUserMetadata, editContent, editContent, getActionIdForCopy2, getDefaultActionIdForContentEdition, getDefaultActionIdForEditingContentReferences, getDefaultInitActionId, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
CopyContentMedatataComponent
public CopyContentMedatataComponent()
-
-
Method Detail
-
_getInputsForCopy
protected Map<String,Object> _getInputsForCopy(Content baseContent, String title, Map<String,Object> copyMap, String targetContentType, String parentContentId, String parentMetadataPath, CopyReport copyReport)
Description copied from class:CopyContentMetadataComponent
Retrieve the inputs for the copy workflow function.- Overrides:
_getInputsForCopy
in classCopyContentMetadataComponent
- 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.parentContentId
- The parent content ID, when copying a sub-content.parentMetadataPath
- The parent metadata path, when copying a sub-content.copyReport
- The report of the copy- Returns:
- The map of inputs.
-
-