com.plumtree.portalpages.admin.ptutilities.migrationutility.imp
Class MigrationDependencyListView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListView
          extended by com.plumtree.portalpages.admin.ptutilities.migrationutility.imp.MigrationDependencyListView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class MigrationDependencyListView
extends ExpListView


Field Summary
static java.lang.String HTMLINPUT_DEPENDENCYTREEASID
          Hidden input to store the tree space ID of the dependency tree
static java.lang.String STR_MVC_CLASS_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
MigrationDependencyListView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
protected  HTMLTableCell GetHTMLForEdit(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns HTML for edit button
protected  HTMLTableCell GetHTMLForIconColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
           
protected  HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          HTML for column containing unresolved dependency
protected  HTMLTableCell GetHTMLForReplacementColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          HTML for column containing replacement
 HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
protected  HTMLTableCell GetHTMLForRowAction(int _nRowIndex)
          Returns null because rows are read-only in browse-mode.
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
AddHTMLToActionBar, CheckRowIsVisible, Display, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForActionBar, GetHTMLForAddAction, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForCheckBox, 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

STR_MVC_CLASS_NAME

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

HTMLINPUT_DEPENDENCYTREEASID

public static final java.lang.String HTMLINPUT_DEPENDENCYTREEASID
Hidden input to store the tree space ID of the dependency tree

See Also:
Constant Field Values
Constructor Detail

MigrationDependencyListView

public MigrationDependencyListView()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorView
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class EditorView
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetHTMLForRow

public HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData,
                                 int _nRowIndex)
Returns the HTML for the row _nRowIndex.

Specified by:
GetHTMLForRow in class ExpListView
Parameters:
_saData -
_nRowIndex - Row index
Returns:
HTML for row
Throws:
java.lang.Exception

GetHTMLForRowAction

protected HTMLTableCell GetHTMLForRowAction(int _nRowIndex)
Returns null because rows are read-only in browse-mode.

Parameters:
_nRowIndex - Current row index
Returns:
Table cell for action
Throws:
java.lang.Exception

GetName

public java.lang.String GetName()
Description copied from class: EditorView
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorView
Returns:
String
See Also:
IMVCObject.GetName()

GetHTMLForNameColumn

protected HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                             int _nRowIndex)
HTML for column containing unresolved dependency

Parameters:
_saData -
_nRowIndex -
Returns:

GetHTMLForIconColumn

protected HTMLTableCell GetHTMLForIconColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                             int _nRowIndex)
Parameters:
_saData -
_nRowIndex -
Returns:

GetHTMLForReplacementColumn

protected HTMLTableCell GetHTMLForReplacementColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                                    int _nRowIndex)
HTML for column containing replacement

Parameters:
_saData -
_nRowIndex -
Returns:

GetHTMLForEdit

protected HTMLTableCell GetHTMLForEdit(IPTGrowableSortedArrayWrapperRO _saData,
                                       int _nRowIndex)
Returns HTML for edit button

Parameters:
_nRowIndex - Row index
Returns:
HTML table cell for edit button
Throws:
HTMLException

DisplayJavascript

public HTMLScript DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on the page.

Specified by:
DisplayJavascript in interface IView
Overrides:
DisplayJavascript in class ExpListView
Returns:
HTMLScript
See Also:
IView.DisplayJavascript()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.