|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Page
Interface for a Page object type
Field Summary | |
---|---|
static String |
ATTR_FORMAT_ID
|
static String |
DEFAULT_PAGE_TYPE_ID
|
static String |
PROP_AUTHENTICATION
|
static String |
PROP_PAGE_TYPE_ID
|
static String |
PROP_TEMPLATE_INSTANCE
|
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 | |
---|---|
Description.RequiredAuthentication |
getAuthentication()
|
Page[] |
getChildPages(RequestContext context)
Gets the child pages. |
PageType |
getPageType(RequestContext context)
Gets the page type. |
String |
getPageTypeId()
Gets the page type id. |
TemplateInstance |
getTemplate(RequestContext context)
Gets the template. |
TemplateInstance |
getTemplate(RequestContext context,
String formatId)
Gets the template. |
String |
getTemplateId()
Gets the template id. |
String |
getTemplateId(String formatId)
Gets the template id. |
Map<String,TemplateInstance> |
getTemplates(RequestContext context)
Gets the templates. |
void |
removeTemplateId(String formatId)
Removes the template id. |
void |
setAuthentication(String authentication)
|
void |
setPageTypeId(String pageTypeId)
Sets the page type id. |
void |
setTemplateId(String templateId)
Sets the template id. |
void |
setTemplateId(String templateId,
String formatId)
Sets the template id. |
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 |
---|
static final String TYPE_ID
static final String PROP_TEMPLATE_INSTANCE
static final String ATTR_FORMAT_ID
static final String PROP_PAGE_TYPE_ID
static final String PROP_AUTHENTICATION
static final String DEFAULT_PAGE_TYPE_ID
Method Detail |
---|
String getTemplateId()
String getTemplateId(String formatId)
formatId
- the format id
void setTemplateId(String templateId)
templateId
- the new template idvoid setTemplateId(String templateId, String formatId)
templateId
- the template idformatId
- the format idvoid removeTemplateId(String formatId)
formatId
- the format idMap<String,TemplateInstance> getTemplates(RequestContext context)
context
- the context
TemplateInstance getTemplate(RequestContext context)
context
- the context
TemplateInstance getTemplate(RequestContext context, String formatId)
context
- the contextformatId
- the format id
Page[] getChildPages(RequestContext context)
context
- the context
String getPageTypeId()
void setPageTypeId(String pageTypeId)
pageTypeId
- the new page type idDescription.RequiredAuthentication getAuthentication()
void setAuthentication(String authentication)
authentication
- the authentication level to setPageType getPageType(RequestContext context)
context
- the context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |