public abstract class AbstractPropertyValueSearchDamMigrationTask
extends info.magnolia.module.delta.AbstractRepositoryTask
Constructor and Description |
---|
AbstractPropertyValueSearchDamMigrationTask(String name,
String description,
String propertyValue) |
Modifier and Type | Method and Description |
---|---|
protected String |
buildI18nSuffixPropertyName(String propertyName,
String propertyNameSuffix)
Deprecated.
since 2.0.3 use
DamMigrationUtil.buildI18nSuffixPropertyName(String, String) . |
protected String |
createQuery(String path)
Create query that search for: node of type Component and Page that has any property
containing 'propertyValue' placed under 'path'.
|
protected javax.jcr.query.QueryResult |
executeQuery(String statement,
javax.jcr.Session session)
Execute the search query.
|
protected String |
getI18nLocalBasedOnPropertyName(String propertyName)
Deprecated.
since 2.0.3 use
DamMigrationUtil.getI18nLocalBasedOnPropertyName(String) . |
protected String |
getPropertyNameWithoutLocalSuffix(String propertyName)
Deprecated.
since 2.0.3 use
DamMigrationUtil.getPropertyNameWithoutLocalSuffix(String) . |
protected String |
getPropertyValue() |
protected boolean |
isPropertyNameI18nBased(String propertyName)
Deprecated.
since 2.0.3 use
DamMigrationUtil.isPropertyNameI18nBased(String) . |
protected void |
setPropertyValue(String propertyValue) |
protected String createQuery(String path)
protected javax.jcr.query.QueryResult executeQuery(String statement, javax.jcr.Session session)
protected void setPropertyValue(String propertyValue)
protected String getPropertyValue()
@Deprecated protected String buildI18nSuffixPropertyName(String propertyName, String propertyNameSuffix)
DamMigrationUtil.buildI18nSuffixPropertyName(String, String)
.propertyName
- root property name.propertyNameSuffix
- suffix to add to the property name@Deprecated protected boolean isPropertyNameI18nBased(String propertyName)
DamMigrationUtil.isPropertyNameI18nBased(String)
.@Deprecated protected String getI18nLocalBasedOnPropertyName(String propertyName)
DamMigrationUtil.getI18nLocalBasedOnPropertyName(String)
.propertyName
- (propertyName_en return en, propertyName return null)@Deprecated protected String getPropertyNameWithoutLocalSuffix(String propertyName)
DamMigrationUtil.getPropertyNameWithoutLocalSuffix(String)
.Copyright © 2017 Magnolia International Ltd.. All rights reserved.