public class BaseIdentifierToPathConverter extends Object implements IdentifierToPathConverter
FieldValueConverter.Wrapper<Presentation,Model>
Constructor and Description |
---|
BaseIdentifierToPathConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convertToModel(String path,
Class<? extends String> targetType,
Locale locale) |
String |
convertToPresentation(String uuid,
Class<? extends String> targetType,
Locale locale) |
String |
getWorkspaceName() |
void |
setWorkspaceName(String workspaceName) |
public String convertToModel(String path, Class<? extends String> targetType, Locale locale)
convertToModel
in interface FieldValueConverter<String,String>
public String convertToPresentation(String uuid, Class<? extends String> targetType, Locale locale)
convertToPresentation
in interface FieldValueConverter<String,String>
public void setWorkspaceName(String workspaceName)
setWorkspaceName
in interface IdentifierToPathConverter
workspaceName
- Used to retrieve an identifier form a path.public String getWorkspaceName()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.