public abstract class LayoutSupport<T extends LayoutTemplate> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
defaultLayoutFormat |
protected List<T> |
layoutTemplates |
protected List<String> |
specialTokens |
Constructor and Description |
---|
LayoutSupport() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getDefaultLayoutFormat() |
T |
getDefaultLayoutTemplate() |
T |
getLayoutTemplateByCodeName(String templateName) |
T |
getLayoutTemplateByCountry(String templateName) |
T |
getLayoutTemplateByDisplayName(String templateName) |
T |
getLayoutTemplateByName(String templateName) |
List<T> |
getLayoutTemplates() |
List<String> |
getSpecialTokens() |
void |
setDefaultLayoutFormat(String defaultLayoutFormat) |
void |
setLayoutTemplates(List<T> layoutTemplates) |
void |
setSpecialTokens(List<String> specialTokens) |
protected String defaultLayoutFormat
protected List<T extends LayoutTemplate> layoutTemplates
public void setLayoutTemplates(List<T> layoutTemplates)
layoutTemplates
- The layoutTemplates to set.public T getDefaultLayoutTemplate()
public void setSpecialTokens(List<String> specialTokens)
specialTokens
- The specialTokens to set.public abstract String getDefaultLayoutFormat()
public void setDefaultLayoutFormat(String defaultLayoutFormat)
defaultLayoutFormat
- The defaultLayoutFormat to set.Copyright © 2024 OpenMRS Inc.. All rights reserved.