|
|||||||||
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.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView com.plumtree.portaluiinfrastructure.editor.commonpages.objectsecurity.ObjectSecurityView
public class 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.
Field Summary | |
---|---|
static java.lang.String |
HTMLINPUT_GROUPTREEASID
HTML Object names |
static java.lang.String |
HTMLSELECT_ACCESS_LEVEL
HTML Object name: Access Level drop-down |
static java.lang.String |
HTMLSELECT_COMMMEMBERSHIP
HTML Object name: Community membership drop-down |
static java.lang.String |
HTMLSELECT_MANDATORY
HTML Object name: Mandatory drop-down |
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 | |
---|---|
ObjectSecurityView()
|
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 HTMLTable |
GetHTMLBelowActionBar()
Return the HTML to display more info about the mandatory column when it's enabled. |
protected HTMLTableCell |
GetHTMLForAccessLevelCell(java.lang.String _sInputSelectName,
int _nRowAccessLevelIDToSelect,
boolean _bRowAccessFlag,
int _nRowIndex)
Returns the HTML for the Access Level drop-down cell. |
protected HTMLTableCell |
GetHTMLForCheckBox(int _nRowIndex)
We re-implement this method because some rows are read only and the user doesn't have the rights to delete them so we don't display the checkbox. |
protected HTMLTableCell |
GetHTMLForCommMembershipCell(IPTGrowableSortedArrayWrapperRO _saData,
int _nRowIndex)
Returns the HTML for the Mandatory drop-down cell. |
protected HTMLTableCell |
GetHTMLForMandatoryCell(IPTGrowableSortedArrayWrapperRO _saData,
int _nRowIndex)
Returns the HTML for the Mandatory drop-down cell. |
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. |
java.lang.String |
GetName()
Returns the Class name. |
Methods inherited from class com.plumtree.portaluiinfrastructure.expandablelist.selectptobject.SelectPTObjectView |
---|
AddHTMLToActionBar, GetAnchorForAddAction, GetHTMLForAddAction, GetIcon |
Methods inherited from class com.plumtree.uiinfrastructure.expandablelist.ExpListView |
---|
CheckRowIsVisible, Display, GetHiddenInputsForPagination, 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 HTMLSELECT_ACCESS_LEVEL
public static final java.lang.String HTMLSELECT_MANDATORY
public static final java.lang.String HTMLSELECT_COMMMEMBERSHIP
public static final java.lang.String HTMLINPUT_GROUPTREEASID
Constructor Detail |
---|
public ObjectSecurityView()
Method Detail |
---|
public java.lang.Object Create()
EditorView
Create
in interface IManagedObject
Create
in class SelectPTObjectView
IManagedObject.Create()
public HTMLScript DisplayJavascript()
DisplayJavascript
in interface IView
DisplayJavascript
in class SelectPTObjectView
IView.DisplayJavascript()
protected HTMLTable GetHTMLBelowActionBar()
GetHTMLBelowActionBar
in class ExpListView
java.lang.Exception
public HTMLElement GetHTMLForRow(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
GetHTMLForRow
in class SelectPTObjectView
_saData
- _nRowIndex
-
java.lang.Exception
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class SelectPTObjectView
protected HTMLTableCell GetHTMLForAccessLevelCell(java.lang.String _sInputSelectName, int _nRowAccessLevelIDToSelect, boolean _bRowAccessFlag, int _nRowIndex)
_saData
- _nRowIndex
-
java.lang.Exception
protected HTMLTableCell GetHTMLForCheckBox(int _nRowIndex)
GetHTMLForCheckBox
in class SelectPTObjectView
_nRowIndex
-
HTMLException
protected HTMLTableCell GetHTMLForCommMembershipCell(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
_saData
- _nRowIndex
-
java.lang.Exception
protected HTMLTableCell GetHTMLForMandatoryCell(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
_saData
- _nRowIndex
-
java.lang.Exception
protected HTMLTableCell GetHTMLForNameColumn(IPTGrowableSortedArrayWrapperRO _saData, int _nRowIndex)
GetHTMLForNameColumn
in class SelectPTObjectView
_saData
- _nRowIndex
-
java.lang.Exception
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |