public interface Page extends ModelObject
| Modifier and Type | Field and Description |
|---|---|
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 |
PROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID| Modifier and Type | Method and Description |
|---|---|
org.springframework.extensions.webscripts.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.
|
getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModificationTime, getPersisterId, getProperties, getProperty, getStoragePath, getTitle, getTitleId, getTypeId, isSaved, removeCustomProperty, removeModelProperty, removeProperty, setCustomProperty, setDescription, setDescriptionId, setModelProperty, setProperty, setTitle, setTitleId, touch, toXMLstatic 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
String getTemplateId()
String getTemplateId(String formatId)
formatId - the format idvoid 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 contextTemplateInstance getTemplate(RequestContext context)
context - the contextTemplateInstance getTemplate(RequestContext context, String formatId)
context - the contextformatId - the format idPage[] getChildPages(RequestContext context)
context - the contextString getPageTypeId()
void setPageTypeId(String pageTypeId)
pageTypeId - the new page type idorg.springframework.extensions.webscripts.Description.RequiredAuthentication getAuthentication()
void setAuthentication(String authentication)
authentication - the authentication level to setPageType getPageType(RequestContext context)
context - the contextCopyright © 2005–2016 Alfresco Software. All rights reserved.