public interface UrlEncoderFacade
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
calculateAndUpdateUrlEncodingData(java.lang.String url,
java.lang.String contextPath)
Gets the urlEncoding pattern that has to be injected into the URL.
|
java.util.List<UrlEncoderData> |
getCurrentUrlEncodingData()
Gets the list of attributes and it's values that has to be encoded in the url.
|
boolean |
isValid(java.lang.String attributeName,
java.lang.String value)
Checks if the given urlEncodingAttribute holds a valid value for injection into the URL.
|
void |
updateSiteFromUrlEncodingData()
Updates the Store/Site based on the change in value of the urlEncodingAttributes.
|
boolean isValid(java.lang.String attributeName,
java.lang.String value)
attributeName - encodoing attribute name to checkvalue - encoding attribute value to checkjava.util.List<UrlEncoderData> getCurrentUrlEncodingData()
CMSSiteModel and the data objects that holds
the attributes and it's values will be set in SessionService attributes.UrlEncoderData objects that holds the encoding attribute's values.void updateSiteFromUrlEncodingData()
java.lang.String calculateAndUpdateUrlEncodingData(java.lang.String url,
java.lang.String contextPath)
url - input URL to build patterncontextPath - context with encoding attributesCopyright © 2018 SAP SE. All Rights Reserved.