public interface NavigationNode extends ManagedPortalObject<NavigationNodePropertyBean>
ManagedPortalObject.ValidateOnCreate, ManagedPortalObject.ValidateOnUpdate| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_CONTENT_ITEM |
static java.lang.String |
TYPE_CONTENT_QUERY |
static java.lang.String |
TYPE_FOLDER |
static java.lang.String |
TYPE_LINK |
static java.lang.String |
TYPE_NAVIGATION_REFERENCE |
static java.lang.String |
TYPE_PAGE |
static java.lang.String |
TYPE_PAGE_LINK |
static java.lang.String |
TYPE_PAGES_QUERY |
static java.lang.String |
TYPE_PORTAL_QUERY |
static java.lang.String |
TYPE_ROOT |
static java.lang.String |
TYPE_SEPARATOR |
| Modifier and Type | Method and Description |
|---|---|
NavigationNode |
addChildNode(NavigationNode node)
Add a child node
|
NavigationNode |
addChildNode(NavigationNode node,
NavigationNode nodeToFollow)
Add a child node after a specific node
|
NavigationNode |
addChildNode(Page page)
Adds a child node for a Page
|
NavigationNode |
addChildNode(Page page,
java.util.List<java.util.Map<java.lang.String,java.lang.String>> parameters,
NavigationNode nodeToFollow)
Adds a child node for a Page after a specific node
|
NavigationNode |
addChildNode(Page page,
NavigationNode nodeToFollow)
Adds a child node for a Page after a specific node
|
void |
addPageVariant(Page page)
Add a page variant to the node
|
NavigationNode |
createNavigationPage(Portal portal,
PageStyle pageStyle,
java.lang.String title,
java.lang.String description,
java.lang.String keywords)
Adds a new page as a child node
The new node is added to the end
|
NavigationNode |
createNavigationPage(Portal portal,
PageStyle pageStyle,
java.lang.String title,
java.lang.String description,
java.lang.String keywords,
java.util.List<java.util.Map<java.lang.String,java.lang.String>> parameters,
NavigationNode nodeToFollow)
Adds a new page as a child node after a specific node
|
NavigationNode |
createNavigationPage(Portal portal,
PageStyle pageStyle,
java.lang.String title,
java.lang.String description,
java.lang.String keywords,
NavigationNode nodeToFollow)
Adds a new page as a child node after a specific node
|
NavigationNode |
createNavigationPage(Portal portal,
java.lang.String pageStylePath,
java.lang.String title,
java.lang.String description,
java.lang.String keywords)
Deprecated.
|
NavigationNode |
createNavigationPage(Portal portal,
java.lang.String pageStylePath,
java.lang.String title,
java.lang.String description,
java.lang.String keywords,
java.util.List<java.util.Map<java.lang.String,java.lang.String>> parameters,
NavigationNode nodeToFollow)
Adds a new page as a child node after a specific node
|
NavigationNode |
createNavigationPage(Portal portal,
java.lang.String pageStylePath,
java.lang.String title,
java.lang.String description,
java.lang.String keywords,
NavigationNode nodeToFollow)
Deprecated.
|
Page |
createPageVariant(java.lang.String deviceGroupName)
Creates a page variant for the node
|
Page |
createPageVariant(java.lang.String deviceGroupName,
PageStyle pageStyle)
Creates a page variant for the node
|
java.lang.String |
getAccessURL()
Get the access url for the node
|
java.lang.String |
getAccessURLWithExternalId()
Get the access url for the node
|
NavigationNode |
getChildNode(java.lang.String name)
Gets a child node by name
|
java.util.List<NavigationNode> |
getChildNodes()
Get the list of the child nodes
|
NavigationNode |
getNextNode()
Get the next sibling
|
Page |
getPage()
Get the page of type
Page associated with the NavigationNode |
java.util.List<Page> |
getPageVariants()
Get the list of page variants
|
NavigationNode |
getParentNode()
Get the parent node
|
NavigationNode |
getPreviousNode()
Get the previous sibling
|
NavigationNode |
getSiblingNode(java.lang.String name)
Get sibling with a name
|
boolean |
hasChild()
Query to check if the node has child nodes
|
void |
indent()
Indent the node
Make the node a child of its previous sibling.
|
boolean |
isIndentAllowed()
Check if the node can be indented
|
boolean |
isMovedownAllowed()
Check if the node can be moved down
|
boolean |
isMoveupAllowed()
Check if the node can be moved up
|
boolean |
isOutdentAllowed()
Check if the node can be outdented
|
void |
moveBefore(NavigationNode node)
Move the node before a specific node under the same parent
|
void |
movedown()
move the node down one position
|
void |
moveup()
move the node up one position
|
void |
outdent()
Outdent the node
Make the node a sibling of its parent.
|
void |
removeChildNode(NavigationNode node)
Remove a child node
|
void |
removePageVariant(Page page)
Remove a page variant from the node
|
void |
setPage(Page page)
Set the page for the node
|
void |
setParentNode(NavigationNode parentNode)
Deprecated.
|
copy, copy, delete, expandProperties, getAuthorizedActions, getDependentPortalObjects, getHolder, getPortal, getTypeName, isCurrent, isValid, setPortal, setPropertiesgetId, getProperties, getPropertiesstatic final java.lang.String TYPE_ROOT
static final java.lang.String TYPE_PAGE
static final java.lang.String TYPE_CONTENT_ITEM
static final java.lang.String TYPE_CONTENT_QUERY
static final java.lang.String TYPE_PAGE_LINK
static final java.lang.String TYPE_LINK
static final java.lang.String TYPE_PAGES_QUERY
static final java.lang.String TYPE_PORTAL_QUERY
static final java.lang.String TYPE_NAVIGATION_REFERENCE
static final java.lang.String TYPE_FOLDER
static final java.lang.String TYPE_SEPARATOR
java.util.List<NavigationNode> getChildNodes()
Collection with the child nodes of type NavigationNode
for the NavigationNodeNavigationNode addChildNode(NavigationNode node) throws oracle.webcenter.portal.PortalOptimisticLockException
node - the child node for the NavigationNodeoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.NavigationNode addChildNode(NavigationNode node, NavigationNode nodeToFollow) throws oracle.webcenter.portal.PortalOptimisticLockException
node - the child node for the NavigationNodenodeToFollow - the node that the child node is placed after,
if it is null, the child node is added to the endoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.NavigationNode addChildNode(Page page) throws oracle.webcenter.portal.PortalOptimisticLockException
page - the pageoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.NavigationNode addChildNode(Page page, NavigationNode nodeToFollow) throws oracle.webcenter.portal.PortalOptimisticLockException
page - the pagenodeToFollow - the node that the child node is placed after,
if it is null, the child node is added to the endoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.NavigationNode addChildNode(Page page, java.util.List<java.util.Map<java.lang.String,java.lang.String>> parameters, NavigationNode nodeToFollow) throws oracle.webcenter.portal.PortalOptimisticLockException
page - the pagenodeToFollow - the node that the child node is placed after,
if it is null, the child node is added to the endparameters - the page parametersoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.@Deprecated NavigationNode createNavigationPage(Portal portal, java.lang.String pageStylePath, java.lang.String title, java.lang.String description, java.lang.String keywords) throws DuplicateNameException, oracle.webcenter.portal.PortalOptimisticLockException
portal - the portal the new page should belong topageStylePath - the path of the page style to use to create the new pagedescription - the description for the new pagekeywords - the keywords for the new pageoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.DuplicateNameException@Deprecated NavigationNode createNavigationPage(Portal portal, java.lang.String pageStylePath, java.lang.String title, java.lang.String description, java.lang.String keywords, NavigationNode nodeToFollow) throws DuplicateNameException, oracle.webcenter.portal.PortalOptimisticLockException
portal - the portal the new page should belong topageStylePath - the path of the page style to use to create the new pagedescription - the description for the new pagekeywords - the keywords for the new pagenodeToFollow - the node that the new node is placed after,
if it is null, the new node will be added at the endoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.DuplicateNameExceptionNavigationNode createNavigationPage(Portal portal, java.lang.String pageStylePath, java.lang.String title, java.lang.String description, java.lang.String keywords, java.util.List<java.util.Map<java.lang.String,java.lang.String>> parameters, NavigationNode nodeToFollow) throws DuplicateNameException, oracle.webcenter.portal.PortalOptimisticLockException
portal - the portal the new page should belong topageStylePath - the path of the page style to use to create the new pagedescription - the description for the new pagekeywords - the keywords for the new pageparameters - the page parametersnodeToFollow - the node that the new node is placed after,
if it is null, the new node will be added at the endoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.DuplicateNameExceptionNavigationNode createNavigationPage(Portal portal, PageStyle pageStyle, java.lang.String title, java.lang.String description, java.lang.String keywords) throws DuplicateNameException, oracle.webcenter.portal.PortalOptimisticLockException
portal - the portal the new page should belong topageStyle - the page style to use to create the new pagedescription - the description for the new pagekeywords - the keywords for the new pageoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.DuplicateNameExceptionNavigationNode createNavigationPage(Portal portal, PageStyle pageStyle, java.lang.String title, java.lang.String description, java.lang.String keywords, NavigationNode nodeToFollow) throws DuplicateNameException, oracle.webcenter.portal.PortalOptimisticLockException
portal - the portal the new page should belong topageStyle - the page style to use to create the new pagedescription - the description for the new pagekeywords - the keywords for the new pagenodeToFollow - the node that the new node is placed after
if it is null, the new node will be added at the endoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.DuplicateNameExceptionNavigationNode createNavigationPage(Portal portal, PageStyle pageStyle, java.lang.String title, java.lang.String description, java.lang.String keywords, java.util.List<java.util.Map<java.lang.String,java.lang.String>> parameters, NavigationNode nodeToFollow) throws DuplicateNameException, oracle.webcenter.portal.PortalOptimisticLockException
portal - the portal the new page should belong topageStyle - the page style to use to create the new pagedescription - the description for the new pagekeywords - the keywords for the new pageparameters - the page parametersnodeToFollow - the node that the new node is placed after
if it is null, the new node will be added at the endoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.DuplicateNameExceptionPage createPageVariant(java.lang.String deviceGroupName)
deviceGroupName - the device group namePagePage createPageVariant(java.lang.String deviceGroupName, PageStyle pageStyle)
deviceGroupName - the device group namepageStyle - the page style to use to create the page variantPageNavigationNode getChildNode(java.lang.String name)
name - the namevoid removeChildNode(NavigationNode node) throws oracle.webcenter.portal.PortalOptimisticLockException
node - the child node to be removed for the NavigationNodeoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.NavigationNode getParentNode()
NavigationNode
for the NavigationNodeNavigationNode getPreviousNode()
NavigationNode getNextNode()
NavigationNode getSiblingNode(java.lang.String name)
java.lang.String getAccessURL()
java.lang.String getAccessURLWithExternalId()
@Deprecated void setParentNode(NavigationNode parentNode) throws oracle.webcenter.portal.PortalOptimisticLockException
parentNode - the new parent node of type NavigationNode
for the NavigationNodeoracle.webcenter.portal.PortalOptimisticLockExceptionjava.util.List<Page> getPageVariants()
Collection with the page variants of type Page
for the NavigationNodevoid addPageVariant(Page page) throws oracle.webcenter.portal.PortalOptimisticLockException
page - the page variant of the type Page
for the NavigationNodeoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.void removePageVariant(Page page) throws oracle.webcenter.portal.PortalOptimisticLockException
page - page the page variant to be removedoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.Page getPage()
Page associated with the NavigationNodePage for the NavigationNodevoid setPage(Page page) throws oracle.webcenter.portal.PortalOptimisticLockException
page - the page of the type Page for the NavigationNodeoracle.webcenter.portal.PortalOptimisticLockException - another transaction has updated objects in the current active transaction.boolean isIndentAllowed()
boolean isOutdentAllowed()
boolean isMoveupAllowed()
boolean isMovedownAllowed()
void indent()
void outdent()
void moveup()
void movedown()
void moveBefore(NavigationNode node)
node - the node that the current node is placed beforeboolean hasChild()