|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
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_LABEL |
static java.lang.String |
SECTION_SECURITY |
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 java.lang.String |
capitalize(java.lang.String name) This is the inverse method to the decapitalize() in the Introspector class (@see Introspector.decapitalize(String) . |
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() |
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() |
protected void |
initLayouts() Initialize the layouts |
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 |
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
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 reflectionprotected java.lang.String capitalize(java.lang.String name)
Introspector.decapitalize(String)
. This allows as to handle names which starts with a single lowercase char followed by a upper case char in the name. We convert the starting lower case char to upper case so that the Introspector class will correctly map our names to the property names in the bean class. Currently affected names: dSecurityName, dDocAccount, xClbraUserList, xClbraAliasListname
- the property namepublic oracle.stellent.wcm.core.project.model.SectionType getModel()
public PageTemplate getPrimaryLayout()
public PageTemplate getSecondaryLayout()
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.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 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® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |