public abstract class SPageNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_UNSAVED_EDITION_CONTINUE_MESSAGE |
static java.lang.String |
DEFAULT_UNSAVED_EDITION_STOP_MESSAGE |
static java.lang.String |
DEFAULT_UNSAVED_EDITION_WARNING_MESSAGE |
Constructor and Description |
---|
SPageNode(SPage parentpage)
creates a note for the specified page
|
Modifier and Type | Method and Description |
---|---|
SPageNode[] |
addCurrentWidgetToRoot(SPageNode[] widgetpathtoroot) |
SPage |
getPage()
gets the parent page for this node
|
abstract java.lang.String |
getWidgetCode() |
abstract boolean |
hideComponent(SPageData input,
SecurityBuffer buffer)
This method allows to hide component in a layout if the user is not
authorized
|
abstract void |
populateDown(SPageSignifPath parentpath,
SPageNode[] widgetpathtoroot)
this method should be recursively called from parent structure to all its
children
|
java.lang.String |
printPath() |
void |
setParentSignifPath(SPageSignifPath parentpath) |
void |
setSignifPath(SPageSignifPath path) |
abstract void |
WritePayloadToCDL(MessageWriter writer,
SPageData input,
SecurityBuffer buffer)
writes the payload of the representation (without opening and closing
structure)
|
void |
WriteToCDL(MessageWriter writer,
SPageData input,
SecurityBuffer buffer) |
public static final java.lang.String DEFAULT_UNSAVED_EDITION_WARNING_MESSAGE
public static final java.lang.String DEFAULT_UNSAVED_EDITION_CONTINUE_MESSAGE
public static final java.lang.String DEFAULT_UNSAVED_EDITION_STOP_MESSAGE
public SPageNode(SPage parentpage)
parentpage
- page this node is part ofpublic SPage getPage()
public abstract void populateDown(SPageSignifPath parentpath, SPageNode[] widgetpathtoroot)
parentpath
- the parent significant pathwidgetpathtoroot
- an array of all the page nodes for traceability in
case of problemspublic abstract void WritePayloadToCDL(MessageWriter writer, SPageData input, SecurityBuffer buffer) throws java.io.IOException
writer
- the CDL writer on which to write the messagejava.io.IOException
public abstract java.lang.String getWidgetCode()
public void WriteToCDL(MessageWriter writer, SPageData input, SecurityBuffer buffer) throws java.io.IOException
java.io.IOException
public void setSignifPath(SPageSignifPath path)
path
- specifies the path for this nodepublic void setParentSignifPath(SPageSignifPath parentpath)
parentpath
- specifies the path of the parentpublic java.lang.String printPath()
public abstract boolean hideComponent(SPageData input, SecurityBuffer buffer)