|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorView
com.plumtree.portalpages.browsing.editors.community.PortletPreferencesView
public class PortletPreferencesView
View of portlet preferences used for both community and my pages
Field Summary | |
---|---|
static java.lang.String |
HTMLBUTTON_REPOST
|
static java.lang.String |
HTMLHIDDEN_FLIPCURRENTTITLEBARSTATE
|
static java.lang.String |
HTMLHIDDEN_FLIPGADGETID
|
static java.lang.String |
HTMLHIDDEN_SORTINGPAGEINDEX
|
static java.lang.String |
HTMLINPUT_PROP_DESCRIPTION
|
static java.lang.String |
HTMLINPUT_PROP_NAME
|
static java.lang.String |
HTMLINPUT_SELECTION_PORTLET
|
static java.lang.String |
STR_MVC_CLASS_NAME
Object Name |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView |
---|
m_asOwner, m_model, SPACE |
Constructor Summary | |
---|---|
PortletPreferencesView()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
HTMLElement |
Display()
Main display page |
protected boolean |
DisplayAdminPrefColumn(PTSortedArrayWrapper arrPortlets)
|
protected boolean |
DisplayCommunityPrefColumn(int nCommunityID)
|
HTMLScript |
DisplayJavascript()
Returns Java Script for goToPage function. |
protected boolean |
DisplayPersonalPrefsColumn()
|
protected HTMLTable |
GetAfterPageNameSpacerTable()
|
protected HTMLTable |
GetBeforePageNameSpacerTable()
Localized String: Unable to display the JavaScript for PortletPreferencesView (DisplayJavascript). |
protected HTMLTableCell |
GetHTMLForCheckBox(int nPortletID,
int nPortletTitleBarState)
Returns the HTML for the checkbox for a gadget |
protected HTMLTableCell |
GetHTMLForPortletName(java.lang.String strPortletName,
int nPortletID,
int nPortletType)
Returns the HTML for the cell containing the portlet name |
protected HTMLTableCell |
GetHTMLForPortletPref(int nPortletID,
int nPageID,
int nCommunityID,
int ptPrefsType,
boolean bHasAccess,
java.lang.String strPortletName)
Returns the HTML for the cell containing the portlet preference url |
java.lang.String |
GetName()
Returns the Class name. |
protected HTMLTable |
GetPageNameTable(java.lang.String strEncodedPageName)
|
protected HTMLTableRow |
GetPortletNameDisplayTitleBarRow(int iCurrentPage,
int nCommunityID,
PTSortedArrayWrapper arrPortlets)
|
protected boolean |
UserHasAdminAccessToPortlet(int nPortletID)
|
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 HTMLINPUT_PROP_NAME
public static final java.lang.String HTMLINPUT_PROP_DESCRIPTION
public static final java.lang.String HTMLBUTTON_REPOST
public static final java.lang.String HTMLINPUT_SELECTION_PORTLET
public static final java.lang.String HTMLHIDDEN_SORTINGPAGEINDEX
public static final java.lang.String HTMLHIDDEN_FLIPGADGETID
public static final java.lang.String HTMLHIDDEN_FLIPCURRENTTITLEBARSTATE
Constructor Detail |
---|
public PortletPreferencesView()
Method Detail |
---|
public java.lang.Object Create()
EditorView
Create
in interface IManagedObject
Create
in class EditorView
IManagedObject.Create()
public HTMLElement Display()
Display
in interface IView
Display
in class EditorView
XPException
public HTMLScript DisplayJavascript()
DisplayJavascript
in interface IView
DisplayJavascript
in class EditorView
IView.DisplayJavascript()
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorView
protected HTMLTableCell GetHTMLForCheckBox(int nPortletID, int nPortletTitleBarState) throws HTMLException
nPortletID
-
HTMLException
protected HTMLTableCell GetHTMLForPortletName(java.lang.String strPortletName, int nPortletID, int nPortletType) throws java.lang.Exception
strPortletName
-
HTMLException
java.lang.Exception
protected HTMLTableCell GetHTMLForPortletPref(int nPortletID, int nPageID, int nCommunityID, int ptPrefsType, boolean bHasAccess, java.lang.String strPortletName) throws java.lang.Exception
int
- nPortletID, int nPageID, int nCommunityID, int nHasPortletPrefs
HTMLException
java.lang.Exception
protected HTMLTable GetAfterPageNameSpacerTable() throws java.lang.Exception
java.lang.Exception
protected HTMLTable GetBeforePageNameSpacerTable() throws java.lang.Exception
java.lang.Exception
protected HTMLTable GetPageNameTable(java.lang.String strEncodedPageName) throws java.lang.Exception
strEncodedPageName
- Page Name must be html encoded before being passed to this method.
java.lang.Exception
protected HTMLTableRow GetPortletNameDisplayTitleBarRow(int iCurrentPage, int nCommunityID, PTSortedArrayWrapper arrPortlets) throws java.lang.Exception
iCurrentPage
- arrPortlets
-
java.lang.Exception
protected boolean UserHasAdminAccessToPortlet(int nPortletID)
protected boolean DisplayAdminPrefColumn(PTSortedArrayWrapper arrPortlets)
protected boolean DisplayCommunityPrefColumn(int nCommunityID)
protected boolean DisplayPersonalPrefsColumn()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |