Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.core.project.structure
Class NamedPageNode

java.lang.Object
  extended by oracle.stellent.wcm.core.project.structure.NamedPageNode


public class NamedPageNode
extends java.lang.Object

This represents the named page node in the project/section


Field Summary
static java.lang.String CONTRIBUTOR_ONLY
           
static java.lang.String FLEX_DATA
           
static java.lang.String INCLUDE_IN_NAVIGATION
           
static java.lang.String LABEL
           
static java.lang.String PAGE_TEMPLATE
           
static java.lang.String PAGEID
           
static java.lang.String READY_TO_REPLICATE
           
static java.lang.String SECURITY
           
static java.lang.String URL_PAGENAME
           

 

Constructor Summary
NamedPageNode(oracle.stellent.wcm.core.project.model.PageType pageType, SectionNode parentSection)
          Construct a new named page
NamedPageNode(oracle.stellent.wcm.core.project.model.PageType pageType, SectionNode parentSection, int parentChildCount)
           

 

Method Summary
 java.lang.String getFlexData()
          Get the flex data of the node
 java.lang.String getLabel()
           
 oracle.stellent.wcm.core.project.model.PageType getModel()
          Get the underlying model
 java.lang.String getNodeID()
          Get the node id of the named page
 SectionNode getParent()
          Get the parent section of this named page
 java.lang.String getProperty(java.lang.String name)
          Retrieve a property from the section by name.
 java.lang.String getUrlPageName()
          Get the Url page name of the named node page
 java.lang.String getUrlPath()
          Get the computed page url path, or compute it
 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

PAGEID

public static final java.lang.String PAGEID
See Also:
Constant Field Values

LABEL

public static final java.lang.String LABEL
See Also:
Constant Field Values

URL_PAGENAME

public static final java.lang.String URL_PAGENAME
See Also:
Constant Field Values

PAGE_TEMPLATE

public static final java.lang.String PAGE_TEMPLATE
See Also:
Constant Field Values

FLEX_DATA

public static final java.lang.String FLEX_DATA
See Also:
Constant Field Values

SECURITY

public static final java.lang.String SECURITY
See Also:
Constant Field Values

INCLUDE_IN_NAVIGATION

public static final java.lang.String INCLUDE_IN_NAVIGATION
See Also:
Constant Field Values

CONTRIBUTOR_ONLY

public static final java.lang.String CONTRIBUTOR_ONLY
See Also:
Constant Field Values

READY_TO_REPLICATE

public static final java.lang.String READY_TO_REPLICATE
See Also:
Constant Field Values

Constructor Detail

NamedPageNode

public NamedPageNode(oracle.stellent.wcm.core.project.model.PageType pageType,
                     SectionNode parentSection)
Construct a new named page
Parameters:
pageType - the page type
parentSection - the parent section

NamedPageNode

public NamedPageNode(oracle.stellent.wcm.core.project.model.PageType pageType,
                     SectionNode parentSection,
                     int parentChildCount)

Method Detail

getModel

public oracle.stellent.wcm.core.project.model.PageType getModel()
Get the underlying model
Returns:
the pagetype (model)

getUrlPath

public java.lang.String getUrlPath()
Get the computed page url path, or compute it
Returns:
the url path

getParent

public SectionNode getParent()
Get the parent section of this named page
Returns:
the parent section

getNodeID

public java.lang.String getNodeID()
Get the node id of the named page
Returns:
the node id

getUrlPageName

public java.lang.String getUrlPageName()
Get the Url page name of the named node page
Returns:
the url page name

getFlexData

public java.lang.String getFlexData()
Get the flex data of the node
Returns:
the flex data

getLabel

public java.lang.String getLabel()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getProperty

public java.lang.String getProperty(java.lang.String name)
                             throws java.lang.Exception
Retrieve a property from the section by name. First queries the known properties, then looks in the "otherAttributes" Map
Parameters:
name - the property name
Returns:
the property
Throws:
java.lang.Exception - if an error occurs during reflection

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
                 throws java.lang.Exception
Set the property via reflection; if no property is found, set in the section "otherAttributes" map
Parameters:
name - the property name
value - the property value
Throws:
java.lang.Exception - if an error occurs during reflection

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.