public class CodeTemplateManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
customTemplates |
static String |
NODE_NAME |
static String |
STANDARD_SERVER_SUBCLASS |
static String |
STANDARD_SERVER_SUPERCLASS |
protected List<String> |
standardSubclassTemplates |
protected List<String> |
standardSuperclassTemplates |
protected Map<String,String> |
standardTemplates |
| Constructor and Description |
|---|
CodeTemplateManager(Application application) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getCustomTemplates() |
List<String> |
getStandardSubclassTemplates() |
List<String> |
getStandardSuperclassTemplates() |
String |
getTemplatePath(String name) |
Preferences |
getTemplatePreferences(Application application) |
void |
updateCustomTemplates(Preferences preference)
Updates custom templates from preferences.
|
public static final String STANDARD_SERVER_SUPERCLASS
public static final String STANDARD_SERVER_SUBCLASS
public static final String NODE_NAME
public CodeTemplateManager(Application application)
public Preferences getTemplatePreferences(Application application)
public void updateCustomTemplates(Preferences preference)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.