|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorView com.plumtree.uiinfrastructure.expandablelist.ExpListView com.plumtree.portalpages.browsing.editors.community.PageListView
public class PageListView
Section for a list of pages, with action bar.
Field Summary | |
---|---|
static java.lang.String |
HTMLINPUT_CB_PAGE
Form Input: Checbox for Pages |
static java.lang.String |
HTMLINPUT_EDITPAGEASID
Edit Page Space ID |
static java.lang.String |
HTMLINPUT_HI_EDITPAGE
Form Input: Hidden Edit Page |
static java.lang.String |
HTMLINPUT_HI_PAGECOUNT
Form Input: Hidden Page Count |
static java.lang.String |
HTMLINPUT_NEWPAGETREEASID
New Page Tree Space ID |
static java.lang.String |
JAVASCRIPT_CHECK_HOME_PAGE
|
static java.lang.String |
PAGE_UNIQUE_ID
Query String: Page Unique ID |
static java.lang.String |
STR_MVC_CLASS_NAME
Object Name |
Fields inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView |
---|
HTMLBUTTON_DELETE, HTMLCHECKBOX_CHECKALL, HTMLCHECKBOX_DELROW, HTMLHIDDEN_COLUMNID, HTMLHIDDEN_MOVEACTION, HTMLHIDDEN_ROWINDEX, HTMLID_EXPLIST, m_nLastVisibleRow |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView |
---|
m_asOwner, m_model, SPACE |
Constructor Summary | |
---|---|
PageListView()
|
Method Summary | |
---|---|
protected void |
AddHTMLToActionBar(HTMLTableRow _row)
Empty method that sub classes can override to add actions to the action bar (like a create object action). |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
protected ASURL |
CreateUrlToEditPage()
Creates URL to edit a page. |
protected ASURL |
CreateUrlToEditPrevPage()
Creates URL to edit a previously opened page. |
HTMLScript |
DisplayJavascript()
Display the javascript functions that are needed in this view. |
protected HTMLTableCell |
GetHTMLForAddAction()
Gets the HTML for the add new page action, for the action bar. |
protected HTMLTableCell |
GetHTMLForCheckBox(int _nRowIndex)
Returns the HTML for the checkbox on row _nRowIndex. |
protected HTMLTableCell |
GetHTMLForFromCommunityTemplateColumn(IPTGrowableSortedArrayWrapperRO _saData,
int _nRowIndex)
Returns the HTML for the row _nRowIndex. |
protected HTMLTableCell |
GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData,
int _nRowIndex)
Returns the HTML for the row _nRowIndex. |
HTMLElement |
GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData,
int _nRowIndex)
Will be called for each row. |
protected HTMLImg |
GetIcon(PTImageType _imgRowIcon)
Helper method to get the HTML for the icon. |
java.lang.String |
GetName()
Returns the Class name. |
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView |
---|
CheckRowIsVisible, Display, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForActionBar, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForDeleteAction, GetHTMLForEmptyCellInActionBar, GetHTMLForEmptyList, GetHTMLForMoveRowActions, GetHTMLForPaginationLinks, GetHTMLForSubHeader, GetJavaScriptsForPagination, SetRowStyle |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView |
---|
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable, Init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String HTMLINPUT_CB_PAGE
public static final java.lang.String HTMLINPUT_NEWPAGETREEASID
public static final java.lang.String HTMLINPUT_EDITPAGEASID
public static final java.lang.String HTMLINPUT_HI_EDITPAGE
public static final java.lang.String HTMLINPUT_HI_PAGECOUNT
public static final java.lang.String PAGE_UNIQUE_ID
public static final java.lang.String JAVASCRIPT_CHECK_HOME_PAGE
Constructor Detail |
---|
public PageListView()
Method Detail |
---|
public java.lang.Object Create()
EditorView
Create
in interface IManagedObject
Create
in class EditorView
IManagedObject.Create()
public HTMLScript DisplayJavascript()
DisplayJavascript
in interface IView
DisplayJavascript
in class ExpListView
IView.DisplayJavascript()
protected ASURL CreateUrlToEditPage()
protected ASURL CreateUrlToEditPrevPage()
public HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
ExpListView
GetHTMLForRow
in class ExpListView
ExpListView.GetHTMLForRow(IPTGrowableSortedArrayWrapperRO, int)
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorView
protected HTMLTableCell GetHTMLForAddAction()
GetHTMLForAddAction
in class ExpListView
protected void AddHTMLToActionBar(HTMLTableRow _row)
ExpListView
AddHTMLToActionBar
in class ExpListView
_row
- Action bar row object.ExpListView.AddHTMLToActionBar(com.plumtree.xpshared.htmlelements.HTMLTableRow)
protected HTMLTableCell GetHTMLForCheckBox(int _nRowIndex)
ExpListView
GetHTMLForCheckBox
in class ExpListView
ExpListView.GetHTMLForCheckBox(int)
protected HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
_saData
- _nRowIndex
-
java.lang.Exception
protected HTMLTableCell GetHTMLForFromCommunityTemplateColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
_saData
- _nRowIndex
-
java.lang.Exception
protected HTMLImg GetIcon(PTImageType _imgRowIcon)
java.lang.Exception
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |