org.springframework.extensions.surf.types
Interface TemplateInstance

All Superinterfaces:
ModelObject, Serializable
All Known Implementing Classes:
TemplateInstanceImpl

public interface TemplateInstance
extends ModelObject

Interface for a TemplateInstance object type

Author:
muzquiano

Field Summary
static String PROP_TEMPLATE_TYPE
           
static String TYPE_ID
           
 
Fields inherited from interface org.springframework.extensions.surf.ModelObject
PROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID
 
Method Summary
 TemplateType getTemplateType(RequestContext context)
          Gets the template type.
 String getTemplateTypeId()
          Gets the template type.
 void setTemplateTypeId(String templateTypeId)
          Sets the template type.
 
Methods inherited from interface org.springframework.extensions.surf.ModelObject
getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModelVersion, getModificationTime, getPersisterId, getProperties, getProperty, getStoragePath, getTitle, getTitleId, getTypeId, isSaved, removeCustomProperty, removeModelProperty, removeProperty, setCustomProperty, setDescription, setDescriptionId, setModelProperty, setProperty, setTitle, setTitleId, touch, toXML
 

Field Detail

TYPE_ID

static final String TYPE_ID
See Also:
Constant Field Values

PROP_TEMPLATE_TYPE

static final String PROP_TEMPLATE_TYPE
See Also:
Constant Field Values
Method Detail

getTemplateTypeId

String getTemplateTypeId()
Gets the template type.

Returns:
the template type

setTemplateTypeId

void setTemplateTypeId(String templateTypeId)
Sets the template type.

Parameters:
templateTypeId - the new template type

getTemplateType

TemplateType getTemplateType(RequestContext context)
Gets the template type.

Parameters:
context - the context
Returns:
the template type


Copyright © 2009 SpringSource, Inc. All Rights Reserved.