public class TemplateType extends Object implements Serializable, BroadleafEnumerationType, Comparable<TemplateType>
| Modifier and Type | Field and Description |
|---|---|
static TemplateType |
CATEGORY |
static TemplateType |
OTHER |
static TemplateType |
PAGE |
static TemplateType |
PRODUCT |
| Constructor and Description |
|---|
TemplateType() |
TemplateType(String type,
String friendlyType,
int order) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TemplateType arg0) |
boolean |
equals(Object obj) |
String |
getFriendlyType() |
static TemplateType |
getInstance(String type) |
int |
getOrder() |
String |
getType() |
int |
hashCode() |
void |
setOrder(int order) |
public static final TemplateType PRODUCT
public static final TemplateType CATEGORY
public static final TemplateType PAGE
public static final TemplateType OTHER
public static TemplateType getInstance(String type)
public String getType()
getType in interface BroadleafEnumerationTypepublic String getFriendlyType()
getFriendlyType in interface BroadleafEnumerationTypepublic int getOrder()
public void setOrder(int order)
public int compareTo(TemplateType arg0)
compareTo in interface Comparable<TemplateType>Copyright © 2014. All Rights Reserved.