public class MoveFCKEditorContentToDamMigrationTask extends MoveContentToDamMigrationTask
contentSession, damSession
Constructor and Description |
---|
MoveFCKEditorContentToDamMigrationTask(String taskName,
String taskDescription,
String contentRepository,
List<String> contentPathsList,
String targetSubPath,
String searchPropertyValue) |
Modifier and Type | Method and Description |
---|---|
protected List<info.magnolia.link.Link> |
collectLinks(String textContent)
Collect all
Link define into a text. |
protected void |
handleTextProperty(javax.jcr.Node node,
javax.jcr.Property property)
Handle all
Link define within a text property. |
protected void |
handleUploadReferenceForNode(javax.jcr.Node node)
Get all properties from the related node defining a link to an uploaded document in their content.
|
copyToDam, doExecute
buildI18nSuffixPropertyName, createQuery, executeQuery, getI18nLocalBasedOnPropertyName, getPropertyNameWithoutLocalSuffix, getPropertyValue, isPropertyNameI18nBased, setPropertyValue
public MoveFCKEditorContentToDamMigrationTask(String taskName, String taskDescription, String contentRepository, List<String> contentPathsList, String targetSubPath, String searchPropertyValue)
contentPathsList
- list on content path to handle like "/demo-project"targetSubPath
- Sub path of the DAM repository used to store the Data. propertyToSearch
- property value used to identify a text property linked to a uploaded binary.protected void handleUploadReferenceForNode(javax.jcr.Node node) throws javax.jcr.RepositoryException
handleUploadReferenceForNode
in class MoveContentToDamMigrationTask
javax.jcr.RepositoryException
protected void handleTextProperty(javax.jcr.Node node, javax.jcr.Property property) throws info.magnolia.link.LinkException, javax.jcr.RepositoryException
Link
define within a text property.info.magnolia.link.LinkException
javax.jcr.RepositoryException
Copyright © 2015 Magnolia International Ltd.. All rights reserved.