@Component public class WebCmsUrlOnEndpointImporter extends AbstractWebCmsPropertyDataImporter<WebCmsEndpoint,WebCmsUrl>
WebCmsUrls linked to a WebCmsEndpoint from a data import.WebCmsPropertyDataImporter.Phase| Constructor and Description |
|---|
WebCmsUrlOnEndpointImporter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applyDataValues(Map<String,Object> values,
WebCmsUrl dto)
Apply the data values to the dto object.
|
protected WebCmsUrl |
createDto(WebCmsDataEntry data,
WebCmsUrl existing,
WebCmsDataAction action,
WebCmsEndpoint parent) |
protected void |
delete(WebCmsUrl dto,
WebCmsEndpoint parent) |
protected WebCmsUrl |
getExisting(WebCmsDataEntry data,
WebCmsEndpoint parent) |
protected void |
save(WebCmsUrl dto,
WebCmsEndpoint parent) |
boolean |
supports(WebCmsPropertyDataImporter.Phase phase,
WebCmsDataEntry dataEntry,
Object asset,
WebCmsDataAction action) |
importDatapublic boolean supports(WebCmsPropertyDataImporter.Phase phase, WebCmsDataEntry dataEntry, Object asset, WebCmsDataAction action)
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 executedprotected WebCmsUrl getExisting(WebCmsDataEntry data, WebCmsEndpoint parent)
getExisting in class AbstractWebCmsPropertyDataImporter<WebCmsEndpoint,WebCmsUrl>protected WebCmsUrl createDto(WebCmsDataEntry data, WebCmsUrl existing, WebCmsDataAction action, WebCmsEndpoint parent)
createDto in class AbstractWebCmsPropertyDataImporter<WebCmsEndpoint,WebCmsUrl>protected void save(WebCmsUrl dto, WebCmsEndpoint parent)
save in class AbstractWebCmsPropertyDataImporter<WebCmsEndpoint,WebCmsUrl>protected void delete(WebCmsUrl dto, WebCmsEndpoint parent)
delete in class AbstractWebCmsPropertyDataImporter<WebCmsEndpoint,WebCmsUrl>protected boolean applyDataValues(Map<String,Object> values, WebCmsUrl dto)
AbstractWebCmsPropertyDataImporterfalse no values have been applied to the DTO and actual updating
might get skipped.applyDataValues in class AbstractWebCmsPropertyDataImporter<WebCmsEndpoint,WebCmsUrl>values - to apply (key/value pairs)dto - to set the values onCopyright © 2020. All rights reserved.