@Component public class WebCmsAssetLinkPropertyDataImporter extends Object implements WebCmsPropertyDataImporter<WebCmsObject>
WebCmsPropertyDataImporter.Phase| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME |
| Constructor and Description |
|---|
WebCmsAssetLinkPropertyDataImporter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
importData(WebCmsPropertyDataImporter.Phase phase,
WebCmsDataEntry propertyData,
WebCmsObject asset,
WebCmsDataAction action)
Perform the actual import of the property data.
|
boolean |
supports(WebCmsPropertyDataImporter.Phase phase,
WebCmsDataEntry dataEntry,
Object asset,
WebCmsDataAction action) |
public static final String PROPERTY_NAME
public boolean supports(WebCmsPropertyDataImporter.Phase phase, WebCmsDataEntry dataEntry, Object asset, WebCmsDataAction action)
supports in interface WebCmsPropertyDataImporter<WebCmsObject>phase - in which this importer should executedataEntry - property data to setasset - asset being importedaction - that will be performed with the asset @return true if this importer should be executedpublic boolean importData(WebCmsPropertyDataImporter.Phase phase, WebCmsDataEntry propertyData, WebCmsObject asset, WebCmsDataAction action)
WebCmsPropertyDataImportertrue this means that data has been imported.importData in interface WebCmsPropertyDataImporter<WebCmsObject>phase - in which this importer should executepropertyData - specific property data setasset - asset being importedaction - that will be performed with the assetCopyright © 2020. All rights reserved.