|
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.SectionNode
public class SectionNode
Represents the individual section of a WCM site
Field Summary | |
---|---|
static java.lang.String |
CONTRIBUTOR_ONLY |
static java.lang.String |
MAX_AGE |
static java.lang.String |
MAX_AGE_SECONDARY |
static java.lang.String |
NODEID |
static java.lang.String |
PRIMARY_PAGE |
static java.lang.String |
PRIMARY_PAGE_VIEWS |
static java.lang.String |
PRIMARY_PLACEHOLDER_CONFIG_URL |
static java.lang.String |
PRIMARY_VIEW_URL |
static java.lang.String |
SECONDARY_PAGE |
static java.lang.String |
SECONDARY_PAGE_VIEWS |
static java.lang.String |
SECONDARY_PLACEHOLDER_CONFIG_URL |
static java.lang.String |
SECONDARY_URL_VARIABLE_FIELD |
static java.lang.String |
SECONDARY_VIEW_URL |
static java.lang.String |
SECTION_ACTIVE |
static java.lang.String |
SECTION_CLBRA_ALIAS_LIST |
static java.lang.String |
SECTION_CLBRA_ROLE_LIST |
static java.lang.String |
SECTION_CLBRA_USER_LIST |
static java.lang.String |
SECTION_DOC_ACCOUNT |
static java.lang.String |
SECTION_LABEL |
static java.lang.String |
SECTION_SECURITY_GROUP |
static java.lang.String |
SECTION_URL_PAGENAME |
static java.lang.String |
SECTION_URLDIRNAME |
static java.lang.String |
SECTION_URLPATH |
Constructor Summary | |
---|---|
SectionNode(oracle.stellent.wcm.core.project.model.RootSectionType rootSectionType) |
|
SectionNode(oracle.stellent.wcm.core.project.model.SectionType sectionType, SectionNode parentNode, int index) |
|
SectionNode(oracle.stellent.wcm.core.project.model.SectionType sectionType, SectionNode parentNode, int index, boolean recurse) |
Method Summary | |
---|---|
protected void |
addLayout(java.lang.String name, PageTemplate layout, boolean isRegEx) |
protected PageTemplate |
createLayoutFromUrl(java.lang.String url, java.lang.String viewUrl, java.lang.String replacableRegion, java.lang.String placeholderConfigMap, boolean isSecondary) Example: rvh_default?region1=rvh_servers®ion2=rvh_logocontent <section active="TRUE" label="Home" nodeid="1" primaryUrl="TestLayout?region1=TestDataFile®ion2=Test11gDataFile" primaryViewUrl="region1=FirstView®ion2=SecondView" secondaryUrl="LegacySchemaLayout" secondaryViewUrl="regionA=UnpopularView®ionB=AwfulView" urlDirname="TestSiteOnCS10g"> |
java.util.List<SectionNode> |
getActiveChildren() |
java.util.List<SectionNode> |
getAncestors() |
java.util.List<SectionNode> |
getChildren() |
java.lang.String |
getID() |
int |
getIndex() |
PageTemplate |
getLayout(java.lang.String name) Retrieve the path to a particular page mapped to this section |
protected java.util.Map<java.lang.String,PageTemplate> |
getLayoutMap() |
java.util.Collection<java.lang.String> |
getLayouts() |
int |
getLevel() |
oracle.stellent.wcm.core.project.model.SectionType |
getModel() |
NamedPageNode |
getNamedPageNodeByName(java.lang.String nodeName) Get a named node page in this section by name |
java.util.List<NamedPageNode> |
getNamedPageNodeList() Get the list of named page nodes in the section |
SectionNode |
getParent() |
PageTemplate |
getPrimaryLayout() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
java.lang.String |
getProperty(java.lang.String name) Retrieve a property from the section by name. |
protected java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> |
getPropertyEntrySet() |
PageTemplate |
getSecondaryLayout() |
java.lang.String |
getUrlPath() |
boolean |
hasNamedPages() |
protected void |
initLayoutMap() |
protected void |
initLayouts() Initialize the layouts |
void |
setPrimaryLayout(PageTemplate primaryLayout) |
void |
setProperty(java.lang.String name, java.lang.String value) Set the property via reflection; if no property is found, set in the section "otherAttributes" map |
void |
setSecondaryLayout(PageTemplate secondaryLayout) |
java.lang.String |
toString() |
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 CONTRIBUTOR_ONLY
public static final java.lang.String SECTION_ACTIVE
public static final java.lang.String NODEID
public static final java.lang.String SECTION_URLPATH
public static final java.lang.String SECTION_URLDIRNAME
public static final java.lang.String SECTION_LABEL
public static final java.lang.String SECTION_URL_PAGENAME
public static final java.lang.String PRIMARY_PAGE
public static final java.lang.String SECONDARY_PAGE
public static final java.lang.String PRIMARY_PAGE_VIEWS
public static final java.lang.String PRIMARY_PLACEHOLDER_CONFIG_URL
public static final java.lang.String SECONDARY_PAGE_VIEWS
public static final java.lang.String SECONDARY_PLACEHOLDER_CONFIG_URL
public static final java.lang.String SECONDARY_URL_VARIABLE_FIELD
public static final java.lang.String MAX_AGE
public static final java.lang.String MAX_AGE_SECONDARY
public static final java.lang.String SECTION_SECURITY_GROUP
public static final java.lang.String SECTION_DOC_ACCOUNT
public static final java.lang.String SECTION_CLBRA_USER_LIST
public static final java.lang.String SECTION_CLBRA_ALIAS_LIST
public static final java.lang.String SECTION_CLBRA_ROLE_LIST
public static final java.lang.String PRIMARY_VIEW_URL
public static final java.lang.String SECONDARY_VIEW_URL
Constructor Detail |
---|
public SectionNode(oracle.stellent.wcm.core.project.model.RootSectionType rootSectionType)
public SectionNode(oracle.stellent.wcm.core.project.model.SectionType sectionType, SectionNode parentNode, int index)
public SectionNode(oracle.stellent.wcm.core.project.model.SectionType sectionType, SectionNode parentNode, int index, boolean recurse)
Method Detail |
---|
protected java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> getPropertyEntrySet()
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public java.lang.String getProperty(java.lang.String name) throws java.lang.Exception
name
- the property namejava.lang.Exception
- if an error occurs during reflectionpublic void setProperty(java.lang.String name, java.lang.String value) throws java.lang.Exception
name
- the property namevalue
- the property valuejava.lang.Exception
- if an error occurs during reflectionpublic oracle.stellent.wcm.core.project.model.SectionType getModel()
public PageTemplate getPrimaryLayout()
public void setPrimaryLayout(PageTemplate primaryLayout)
public PageTemplate getSecondaryLayout()
public void setSecondaryLayout(PageTemplate secondaryLayout)
public int getLevel()
public int getIndex()
public java.lang.String getID()
public java.lang.String getUrlPath()
public PageTemplate getLayout(java.lang.String name)
name
- the page namepublic java.util.Collection<java.lang.String> getLayouts()
public SectionNode getParent()
public java.util.List<SectionNode> getAncestors()
public java.util.List<SectionNode> getChildren()
public java.util.List<SectionNode> getActiveChildren()
public java.util.List<NamedPageNode> getNamedPageNodeList()
public boolean hasNamedPages()
public NamedPageNode getNamedPageNodeByName(java.lang.String nodeName)
nodeName
- the namepublic java.lang.String toString()
toString
in class java.lang.Object
protected void addLayout(java.lang.String name, PageTemplate layout, boolean isRegEx)
protected java.util.Map<java.lang.String,PageTemplate> getLayoutMap()
protected void initLayouts()
protected void initLayoutMap()
protected PageTemplate createLayoutFromUrl(java.lang.String url, java.lang.String viewUrl, java.lang.String replacableRegion, java.lang.String placeholderConfigMap, boolean isSecondary)
url
- the url from the XMLviewUrl
- the view mapping urlreplacableRegion
- the name of the replacable region (if specified)placeholderConfigMap
- a mapping of placeholder name to configisSecondary
- true if this is the secondary layout
|
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 |