com.plumtree.portalpages.admin.serversettings.globalaclsyncmap
Class GlobalACLSyncMapListView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.uiinfrastructure.expandablelist.ExpListView
          extended by com.plumtree.portaluiinfrastructure.ptmulticolumnlist.PTMultiColumnListView
              extended by com.plumtree.portalpages.admin.serversettings.globalaclsyncmap.GlobalACLSyncMapListView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class GlobalACLSyncMapListView
extends PTMultiColumnListView

Author:
jennifersu Custom MultiColumnListModel for the Global ACL Sync Map. Has a Select PT Object Tree but displays certain properties about the selected objects rather than the name itself. (Domain mapping displays auth source prefix; Group mapping displays mappingauthname). Also, can edit both columns of the list.

Field Summary
static java.lang.String HTMLHIDDEN_EDITCOL
          Hidden element for the edit column
static java.lang.String JAVASCRIPT_SETEDITROWCOL
          Javascript funtion name
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
Fields inherited from class com.plumtree.portaluiinfrastructure.ptmulticolumnlist.PTMultiColumnListView
HTMLHIDDEN_EDITROW, HTMLINPUT_ITEM, HTMLINPUT_TREEASID, JAVASCRIPT_SETEDITROW
 
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
GlobalACLSyncMapListView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          Returns the HTML for the Section.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
 HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
          Returns the HTML for the row _nRowIndex.
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.ptmulticolumnlist.PTMultiColumnListView
AddHTMLToActionBar, GetAnchorForAddAction, GetHTMLForAddAction, GetHTMLForNameColumn, GetHTMLForSubHeader, GetIcon
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
CheckRowIsVisible, GetHiddenInputsForPagination, GetHTMLBelowActionBar, GetHTMLBelowMainTable, GetHTMLForActionBar, GetHTMLForAllRowsAdded, GetHTMLForBottomRow, GetHTMLForCheckBox, 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

JAVASCRIPT_SETEDITROWCOL

public static final java.lang.String JAVASCRIPT_SETEDITROWCOL
Javascript funtion name

See Also:
Constant Field Values

HTMLHIDDEN_EDITCOL

public static final java.lang.String HTMLHIDDEN_EDITCOL
Hidden element for the edit column

See Also:
Constant Field Values
Constructor Detail

GlobalACLSyncMapListView

public GlobalACLSyncMapListView()
Method Detail

GetName

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

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

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 PTMultiColumnListView
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. Each row contains 2 editable columns.

Overrides:
GetHTMLForRow in class PTMultiColumnListView
Parameters:
_saData -
_nRowIndex -
Returns:
HTMLElement
Throws:
java.lang.Exception

Display

public HTMLElement Display()
Returns the HTML for the Section. Overrides PTMultiColumnListView since we need a hidden input for which column is being edited.

Specified by:
Display in interface IView
Overrides:
Display in class PTMultiColumnListView
Returns:
HTMLElement

DisplayJavascript

public HTMLScript DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on the page. Overrides PTMultiColumnListView since we need to set the index of the column being edited.

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



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