public class DefaultCmsUrlChangeEventConverter extends Object implements Converter<String[],CmsUrlChangeEvent>
| Constructor and Description |
|---|
DefaultCmsUrlChangeEventConverter() |
| Modifier and Type | Method and Description |
|---|---|
CmsUrlChangeEvent |
convert(String[] attributes)
Converts the source object, creating a new instance of the destination type
|
CmsUrlChangeEvent |
convert(String[] attributes,
CmsUrlChangeEvent prototype)
Convert the source object by filling the prototype
|
protected String |
extractRequestPath(String longUrl)
Extracts request path from long URL (request path with query search)
|
Converter<String[],FrontendAttributes> |
getFrontEndAttributesConverter() |
void |
setFrontEndAttributesConverter(Converter<String[],FrontendAttributes> frontEndAttributesConverter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAll, convertAllIgnoreExceptions, getLoggerprotected String extractRequestPath(String longUrl)
longUrl - request path with query searchpublic CmsUrlChangeEvent convert(String[] attributes) throws ConversionException
Converterconvert in interface Converter<String[],CmsUrlChangeEvent>attributes - the source objectConversionException - if an error occurspublic CmsUrlChangeEvent convert(String[] attributes, CmsUrlChangeEvent prototype) throws ConversionException
Converterconvert in interface Converter<String[],CmsUrlChangeEvent>attributes - the source objectprototype - the prototype to fillConversionException - if an error occurspublic Converter<String[],FrontendAttributes> getFrontEndAttributesConverter()
public void setFrontEndAttributesConverter(Converter<String[],FrontendAttributes> frontEndAttributesConverter)
Copyright © 2017 SAP SE. All Rights Reserved.