com.plumtree.portalpages.admin.ptutilities.migrationutility.exp
Class MigrationSelectForExportView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListView
          extended by com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
              extended by com.plumtree.portalpages.admin.ptutilities.migrationutility.exp.MigrationSelectForExportView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class MigrationSelectForExportView
extends SelectPTObjectView

Author:
jennifersu

Field Summary
static java.lang.String HTML_FILTER_ADMIN_OBJ_VALUE
          HTML dropdown value for filtering on admin objects.
static java.lang.String HTML_FILTER_DIRECTORY_VALUE
          HTML dropdown value for filtering on directory objects.
static java.lang.String HTML_FILTER_GLOBAL_VALUE
          HTML dropdown value for filtering on global maps.
static java.lang.String HTML_FILTER_NONE_SELECTED_VALUE
          HTML dropdown value for default, none selected.
static java.lang.String HTMLCHECKBOX_CHECKALLDEPENDENCIES
          HTML Object name: Check all dependencies checkbox
static java.lang.String HTMLCHECKBOX_CHECKALLFOLDERS
          HTML Object name: Check all folder contents checkbox
static java.lang.String HTMLCHECKBOX_DEPENDENCIES
          HTML Object name: Add Dependencies checkbox
static java.lang.String HTMLCHECKBOX_FOLDERCONTENTS
          HTML Object name: Add Folder Contents checkbox
static java.lang.String HTMLINPUT_ADMIN_TREEASID
          HTML Object names
static java.lang.String HTMLINPUT_DIR_TREEASID
          HTML Object names
static java.lang.String HTMLINPUT_FILTER
          HTML for dropdown filter
static java.lang.String HTMLINPUT_GLOBAL_TREEASID
          HTML Object names
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
Fields inherited from class com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
HTMLINPUT_TREEASID
 
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
MigrationSelectForExportView()
           
 
Method Summary
protected  void AddHTMLToActionBar(HTMLTableRow _myRow)
          Add HTML to the action bar for the Add Approved button.
protected  void AddLineBreaks(HTMLElement myElement, int nNumBreaks)
          Helper method to add a BR tag to another element.
 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  HTMLAnchor GetAnchorForAddAction()
          Helper method to return the add action link.
protected  HTMLAnchor GetAnchorForAddApprovedAction()
          Helper method to return the add action link.
protected  HTMLTable GetHTMLForActionBar()
          Returns the HTML for the Action bar.
protected  HTMLTableCell GetHTMLForAddAction()
          Returns the HTML for the invisible add cell in the action bar.
protected  HTMLTableCell GetHTMLForCheckBox(int _nRowIndex)
          Returns the HTML for the checkbox on row _nRowIndex.
protected  HTMLTableCell GetHTMLForDependencies(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the checkbox on row _nRowIndex.
protected  HTMLTableCell GetHTMLForFolderContents(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the checkbox on row _nRowIndex.
protected  HTMLImg GetHTMLForIcon(PTImageType _imgRowIcon)
          Helper method to get the HTML for the icon.
protected  HTMLTableCell GetHTMLForIconColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
           
protected  HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
 HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
protected  HTMLTableRow GetHTMLForSubHeader()
          Returns the HTML for the sub header.
protected  HTMLTableCell GetHTMLForSubmittedByColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
           
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
GetIcon
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
CheckRowIsVisible, Display, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForDeleteAction, GetHTMLForEmptyCellInActionBar, GetHTMLForEmptyList, GetHTMLForMoveRowActions, GetHTMLForPaginationLinks, 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
Class name for the activity space

See Also:
Constant Field Values

HTMLINPUT_FILTER

public static final java.lang.String HTMLINPUT_FILTER
HTML for dropdown filter

See Also:
Constant Field Values

HTML_FILTER_NONE_SELECTED_VALUE

public static final java.lang.String HTML_FILTER_NONE_SELECTED_VALUE
HTML dropdown value for default, none selected.

See Also:
Constant Field Values

HTML_FILTER_ADMIN_OBJ_VALUE

public static final java.lang.String HTML_FILTER_ADMIN_OBJ_VALUE
HTML dropdown value for filtering on admin objects.

See Also:
Constant Field Values

HTML_FILTER_DIRECTORY_VALUE

public static final java.lang.String HTML_FILTER_DIRECTORY_VALUE
HTML dropdown value for filtering on directory objects.

See Also:
Constant Field Values

HTML_FILTER_GLOBAL_VALUE

public static final java.lang.String HTML_FILTER_GLOBAL_VALUE
HTML dropdown value for filtering on global maps.

See Also:
Constant Field Values

HTMLINPUT_ADMIN_TREEASID

public static final java.lang.String HTMLINPUT_ADMIN_TREEASID
HTML Object names

See Also:
Constant Field Values

HTMLINPUT_DIR_TREEASID

public static final java.lang.String HTMLINPUT_DIR_TREEASID
HTML Object names

See Also:
Constant Field Values

HTMLINPUT_GLOBAL_TREEASID

public static final java.lang.String HTMLINPUT_GLOBAL_TREEASID
HTML Object names

See Also:
Constant Field Values

HTMLCHECKBOX_CHECKALLFOLDERS

public static final java.lang.String HTMLCHECKBOX_CHECKALLFOLDERS
HTML Object name: Check all folder contents checkbox

See Also:
Constant Field Values

HTMLCHECKBOX_CHECKALLDEPENDENCIES

public static final java.lang.String HTMLCHECKBOX_CHECKALLDEPENDENCIES
HTML Object name: Check all dependencies checkbox

See Also:
Constant Field Values

HTMLCHECKBOX_FOLDERCONTENTS

public static final java.lang.String HTMLCHECKBOX_FOLDERCONTENTS
HTML Object name: Add Folder Contents checkbox

See Also:
Constant Field Values

HTMLCHECKBOX_DEPENDENCIES

public static final java.lang.String HTMLCHECKBOX_DEPENDENCIES
HTML Object name: Add Dependencies checkbox

See Also:
Constant Field Values
Constructor Detail

MigrationSelectForExportView

public MigrationSelectForExportView()
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
Overrides:
Create in class SelectPTObjectView
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class SelectPTObjectView
Returns:
String

GetHTMLForCheckBox

protected HTMLTableCell GetHTMLForCheckBox(int _nRowIndex)
Description copied from class: SelectPTObjectView
Returns the HTML for the checkbox on row _nRowIndex.

Overrides:
GetHTMLForCheckBox in class SelectPTObjectView
Returns:
HTMLTableCell
See Also:
ExpListView.GetHTMLForCheckBox(int)

GetHTMLForActionBar

protected HTMLTable GetHTMLForActionBar()
Returns the HTML for the Action bar. (The one with the add and delete icons).

Overrides:
GetHTMLForActionBar in class ExpListView
Returns:
HTMLTable

GetHTMLForSubHeader

protected HTMLTableRow GetHTMLForSubHeader()
Returns the HTML for the sub header.

Overrides:
GetHTMLForSubHeader in class ExpListView
Returns:
HTMLTableRow

GetHTMLForRow

public HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData,
                                 int _nRowIndex)
Returns the HTML for the row _nRowIndex. Each row contains just an icon and input text.

Overrides:
GetHTMLForRow in class SelectPTObjectView
Parameters:
_saData -
_nRowIndex -
Returns:
HTMLElement

GetHTMLForIconColumn

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

GetHTMLForFolderContents

protected HTMLTableCell GetHTMLForFolderContents(IPTGrowableSortedArrayWrapperRO _saData,
                                                 int _nRowIndex)
Returns the HTML for the checkbox on row _nRowIndex.

Parameters:
_nRowIndex -
Returns:
HTMLTableCell
Throws:
HTMLException

GetHTMLForDependencies

protected HTMLTableCell GetHTMLForDependencies(IPTGrowableSortedArrayWrapperRO _saData,
                                               int _nRowIndex)
Returns the HTML for the checkbox on row _nRowIndex.

Parameters:
_nRowIndex -
Returns:
HTMLTableCell
Throws:
HTMLException

GetHTMLForNameColumn

protected HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                             int _nRowIndex)
Description copied from class: SelectPTObjectView
Returns the HTML for the row _nRowIndex.

Overrides:
GetHTMLForNameColumn in class SelectPTObjectView
Parameters:
_saData -
_nRowIndex -
Returns:

GetHTMLForSubmittedByColumn

protected HTMLTableCell GetHTMLForSubmittedByColumn(IPTGrowableSortedArrayWrapperRO _saData,
                                                    int _nRowIndex)
See Also:
SelectPTObjectView.GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO, int)

GetHTMLForIcon

protected HTMLImg GetHTMLForIcon(PTImageType _imgRowIcon)
                          throws java.lang.Exception
Helper method to get the HTML for the icon. (Each row has an icon before the input text.)

Returns:
HTMLImg
Throws:
java.lang.Exception

AddLineBreaks

protected void AddLineBreaks(HTMLElement myElement,
                             int nNumBreaks)
Helper method to add a BR tag to another element.


AddHTMLToActionBar

protected void AddHTMLToActionBar(HTMLTableRow _myRow)
Add HTML to the action bar for the Add Approved button.

Overrides:
AddHTMLToActionBar in class SelectPTObjectView
Parameters:
_myRow - Action bar row object.

GetAnchorForAddApprovedAction

protected HTMLAnchor GetAnchorForAddApprovedAction()
Helper method to return the add action link.

Returns:
HTMLAnchor

GetAnchorForAddAction

protected HTMLAnchor GetAnchorForAddAction()
Helper method to return the add action link.

Overrides:
GetAnchorForAddAction in class SelectPTObjectView
Returns:
HTMLAnchor

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 SelectPTObjectView
Returns:
HTMLScript
See Also:
IView.DisplayJavascript()

GetHTMLForAddAction

protected HTMLTableCell GetHTMLForAddAction()
Returns the HTML for the invisible add cell in the action bar. This supports the drop down list of "Select Resources..." choices

Overrides:
GetHTMLForAddAction in class SelectPTObjectView
Returns:
HTMLTableCell



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