public class LayoutTypeDefinitionImpl extends Object implements LayoutTypeDefinition
Modifier and Type | Field and Description |
---|---|
protected List<String> |
aliases |
protected LayoutTypeConfiguration |
configuration |
protected String |
name |
protected Map<String,String> |
templates |
Constructor and Description |
---|
LayoutTypeDefinitionImpl() |
LayoutTypeDefinitionImpl(String name,
Map<String,String> templates,
LayoutTypeConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getAliases()
Return alias names for this layout type definition (useful for compatibility on old layout type names).
|
LayoutTypeConfiguration |
getConfiguration() |
String |
getName() |
String |
getTemplate(String mode) |
Map<String,String> |
getTemplates()
Returns templates by mode
|
void |
setAliases(List<String> aliases) |
protected LayoutTypeConfiguration configuration
public LayoutTypeDefinitionImpl()
public LayoutTypeDefinitionImpl(String name, Map<String,String> templates, LayoutTypeConfiguration configuration)
public String getName()
getName
in interface LayoutTypeDefinition
public Map<String,String> getTemplates()
LayoutTypeDefinition
getTemplates
in interface LayoutTypeDefinition
public String getTemplate(String mode)
getTemplate
in interface LayoutTypeDefinition
public LayoutTypeConfiguration getConfiguration()
getConfiguration
in interface LayoutTypeDefinition
public List<String> getAliases()
LayoutTypeDefinition
getAliases
in interface LayoutTypeDefinition
public void setAliases(List<String> aliases)
Copyright © 2018 Nuxeo. All rights reserved.