|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.core.project.structure.PageTemplate
public class PageTemplate
Represents a page template which has a pointer to a layout file and a mapping of placeholder names to placeholder definitions.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_LAYOUT name of the default layout |
Constructor Summary | |
---|---|
PageTemplate(PageTemplate pageTemplate) Copy constructor. |
|
PageTemplate(java.lang.String template) Constructor |
|
PageTemplate(java.lang.String template, java.util.Map<java.lang.String,Placeholder> placeholders) Constructor |
|
PageTemplate(java.lang.String template, java.util.Map<java.lang.String,Placeholder> placeholders, java.lang.String query) Constructor |
Method Summary | |
---|---|
Placeholder |
getPlaceholder(java.lang.String name) Retrieve the content corresponding to the name |
java.lang.String |
getPlaceholderDefinitionName(java.lang.String placeholderName) Retrieve the placeholder definition name |
java.util.Map<java.lang.String,java.lang.String> |
getPlaceholderDefinitions() Returns the map of placeholder definitions for modifications. |
java.util.Collection<java.lang.String> |
getPlaceholderNames() |
java.util.Map<java.lang.String,Placeholder> |
getPlaceholders() Returns the map of placeholders for modifications. |
java.lang.String |
getReplaceableRegion() |
java.lang.String |
getTemplate() |
java.lang.String |
getUrlParam() |
boolean |
isLocal() |
boolean |
isPrimary() |
boolean |
isSecondary() |
void |
setPlaceholderDefinitionMap(java.util.Map<java.lang.String,java.lang.String> placeholderDefinitionMap) Set the placeholder configuration map |
void |
setPrimary(boolean b) Set this as primary if true or secondary if false |
void |
setReplaceableRegion(java.lang.String replaceableRegion) set the replaceable region |
void |
setSecondary(boolean b) Set this as secondary if true or primary if false |
void |
setTemplate(java.lang.String template) Set the layout |
void |
setUrlParam(java.lang.String urlParam) |
java.lang.String |
toString() String representation of the layout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_LAYOUT
Constructor Detail |
---|
public PageTemplate(java.lang.String template)
template
- the layout namepublic PageTemplate(java.lang.String template, java.util.Map<java.lang.String,Placeholder> placeholders)
template
- the layoutplaceholders
- the content mappublic PageTemplate(java.lang.String template, java.util.Map<java.lang.String,Placeholder> placeholders, java.lang.String query)
template
- the layoutplaceholders
- the content mapquery
- the query parameterspublic PageTemplate(PageTemplate pageTemplate)
pageTemplate
- the template to copyMethod Detail |
---|
public boolean isLocal()
public java.lang.String getTemplate()
public void setTemplate(java.lang.String template)
template
- the layoutpublic boolean isSecondary()
public void setSecondary(boolean b)
b
- booleanpublic boolean isPrimary()
public void setPrimary(boolean b)
b
- booleanpublic java.lang.String getReplaceableRegion()
public void setReplaceableRegion(java.lang.String replaceableRegion)
replaceableRegion
- the region namepublic java.util.Map<java.lang.String,Placeholder> getPlaceholders()
public Placeholder getPlaceholder(java.lang.String name)
name
- the content namepublic java.util.Collection<java.lang.String> getPlaceholderNames()
public java.util.Map<java.lang.String,java.lang.String> getPlaceholderDefinitions()
public java.lang.String getPlaceholderDefinitionName(java.lang.String placeholderName)
placeholderName
- the placeholder namepublic void setPlaceholderDefinitionMap(java.util.Map<java.lang.String,java.lang.String> placeholderDefinitionMap)
placeholderDefinitionMap
- a mapping of placeholder name to config for this layoutpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String getUrlParam()
public void setUrlParam(java.lang.String urlParam)
urlParam
- the urlParam to set
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |