com.plumtree.portaluiinfrastructure.securitymatrix
Class MultiObjectsSecurityView

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.portaluiinfrastructure.editor.commonpages.objectsecurity.ObjectSecurityView
                  extended by com.plumtree.portaluiinfrastructure.securitymatrix.MultiObjectsSecurityView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class MultiObjectsSecurityView
extends ObjectSecurityView

This is the implementation of the Expandable List framework for the Select PTObject list. Is constains the HTML to display the object Array. It gets the data to display from SelectPTObjectModel.

Author:
Julie Fournier

Field Summary
static java.lang.String HTMLINPUT_SETCOLUMN
          HTML Object set column value
static java.lang.String HTMLINPUT_SETROW
          HTML Object set row value
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the activity space
 
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.commonpages.objectsecurity.ObjectSecurityView
HTMLINPUT_GROUPTREEASID, HTMLSELECT_ACCESS_LEVEL, HTMLSELECT_COMMMEMBERSHIP, HTMLSELECT_MANDATORY
 
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
MultiObjectsSecurityView()
           
 
Method Summary
protected  void AddHTMLToActionBar(HTMLTableRow _myRow)
          Empty method that sub classes can averride 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.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
protected  HTMLTable GetHTMLBelowActionBar()
          Returns the HTML for the space below the Action bar.
protected  HTMLTableRow GetHTMLForBottomRow()
          Returns the HTML for the last row of the main table.
 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.editor.commonpages.objectsecurity.ObjectSecurityView
GetHTMLForAccessLevelCell, GetHTMLForCheckBox, GetHTMLForCommMembershipCell, GetHTMLForMandatoryCell, GetHTMLForNameColumn
 
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView
GetAnchorForAddAction, GetHTMLForAddAction, GetIcon
 
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView
CheckRowIsVisible, Display, GetHiddenInputsForPagination, GetHTMLBelowMainTable, GetHTMLForActionBar, GetHTMLForAllRowsAdded, 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
Class name for the activity space

See Also:
Constant Field Values

HTMLINPUT_SETROW

public static final java.lang.String HTMLINPUT_SETROW
HTML Object set row value

See Also:
Constant Field Values

HTMLINPUT_SETCOLUMN

public static final java.lang.String HTMLINPUT_SETCOLUMN
HTML Object set column value

See Also:
Constant Field Values
Constructor Detail

MultiObjectsSecurityView

public MultiObjectsSecurityView()
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 ObjectSecurityView
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 just an icon and input text.

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

GetHTMLForBottomRow

protected HTMLTableRow GetHTMLForBottomRow()
Returns the HTML for the last row of the main table.

Overrides:
GetHTMLForBottomRow in class ExpListView
Returns:
HTMLTable
Throws:
java.lang.Exception

GetName

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

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

AddHTMLToActionBar

protected void AddHTMLToActionBar(HTMLTableRow _myRow)
Empty method that sub classes can averride to add actions to the action bar (like a create object action).

Overrides:
AddHTMLToActionBar in class SelectPTObjectView
Parameters:
_myRow - Action bar row object.
Throws:
java.lang.Exception

GetHTMLBelowActionBar

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

Overrides:
GetHTMLBelowActionBar in class ObjectSecurityView
Returns:
HTMLTable
Throws:
java.lang.Exception

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



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