|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.form.AFormDP com.plumtree.uiinfrastructure.editor.EditorDP com.plumtree.portalpages.admin.editors.savedsearch.SavSrchMainDP
public class SavSrchMainDP
Field Summary | |
---|---|
static java.lang.String |
HTMLCHECKBOX_ADMINFOLDER
Checkbox name for the folders |
static java.lang.String |
HTMLCHECKBOX_CATALOGFOLDER
Checkbox name for the folders |
static java.lang.String |
HTMLCHECKBOX_CHECKALL
Checkbox to be displayed in the subheader of the Add Folders toolabar |
static java.lang.String |
HTMLHIDDEN_ADMSPACEID
Hidden HTML field for the Admin folder activity space id |
static java.lang.String |
HTMLHIDDEN_CATSPACEID
Hidden HTML field for the catalog activity space id |
static java.lang.String |
HTMLHIDDEN_FOLDERSELECTED
Hidden HTML field for the catalog folder selected |
static java.lang.String |
HTMLHIDDEN_TREEREPOST
Hidden HTML for the tree repost action |
static java.lang.String |
JAVASCRIPT_ADMINFOLDERTREE
Admin folder open javascript function name |
static java.lang.String |
JAVASCRIPT_CATALOGFOLDERTREE
Catalog folder open javascript function name |
protected PTStyleClass |
m_styleListItem
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
static java.lang.String |
strCardLanguagePlugInKey
|
static java.lang.String |
UPDATE_ALERT_JS
javascript name for function that alerts user of portlet cache |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorDP |
---|
m_asOwner |
Fields inherited from class com.plumtree.uiinfrastructure.form.AFormDP |
---|
GET, HTMLFORM_NAME, JAVASCRIPT_SETUP_FOR_SUBMIT_TO_CONTROL, JAVASCRIPT_SUBMIT_FORM, JAVASCRIPT_SUBMIT_TO_CONTROL, MULTIPART_ENCODING, POST |
Constructor Summary | |
---|---|
SavSrchMainDP()
|
Method Summary | |
---|---|
void |
DisplayFolderList(HTMLTableCell foldercell,
int type)
Displays a list of selected folders, admin or catalog |
protected void |
DisplayFolderListHeader(HTMLTable myTable,
int classid)
Display the header row for a list of folders |
protected void |
DisplayFolderListItem(HTMLTable myTable,
int id,
java.lang.String name,
java.lang.String path,
int intType)
Display a single item in a list of folders |
HTMLElementCollection |
DisplayHTMLBeforeForm()
Displays some HTML after the body tag and before the form tag. |
protected HTMLScriptCollection |
DisplayJavaScriptFromChild()
Display javascript for this display page |
protected java.lang.String[] |
GetFolderNameAndPath(int id,
int type)
Get the folder name based on ID and type |
protected HTMLElement |
GetHTMLBelowSubHeader()
Implement this method to add HTML below the sub header. |
HTMLImg |
GetImage(PTImageType type,
java.lang.String alt,
java.lang.String w,
java.lang.String h)
Helper function for retrieving images from the construct factory |
java.lang.String |
GetLeftNavString()
Returns the String to display on the left navigation menu, linking to that page. |
protected ISavedSearchModelRO |
GetModel()
Returns the read-only model |
java.lang.String |
GetName()
Returns the Class name. |
HTMLElement |
PageDisplay()
Returns the HTML for the General Info page. |
protected PTObjectIdNamePair[] |
SortObjectByName(XPArrayList ids,
int type,
boolean ascending)
Helper function for sorting |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorDP |
---|
AddScriptToHead, CreateContentTable, CreateLeftNavBar, GetEditorHeaderViewName, GetFormTitle, GetOwner, GetPageTitle, Init, SetContentTableCellSpacing |
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 UPDATE_ALERT_JS
public static final java.lang.String strCardLanguagePlugInKey
public static final java.lang.String HTMLCHECKBOX_CATALOGFOLDER
public static final java.lang.String HTMLCHECKBOX_ADMINFOLDER
public static final java.lang.String HTMLCHECKBOX_CHECKALL
public static final java.lang.String HTMLHIDDEN_CATSPACEID
public static final java.lang.String HTMLHIDDEN_ADMSPACEID
public static final java.lang.String HTMLHIDDEN_TREEREPOST
public static final java.lang.String JAVASCRIPT_CATALOGFOLDERTREE
public static final java.lang.String JAVASCRIPT_ADMINFOLDERTREE
public static final java.lang.String HTMLHIDDEN_FOLDERSELECTED
protected PTStyleClass m_styleListItem
Constructor Detail |
---|
public SavSrchMainDP()
Method Detail |
---|
public HTMLElementCollection DisplayHTMLBeforeForm()
DisplayHTMLBeforeForm
in class EditorDP
AFormDP.DisplayHTMLBeforeForm()
public java.lang.String GetLeftNavString()
GetLeftNavString
in class EditorDP
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorDP
IMVCObject.GetName()
protected HTMLElement GetHTMLBelowSubHeader()
GetHTMLBelowSubHeader
in class EditorDP
HTMLException
public HTMLElement PageDisplay()
PageDisplay
in class EditorDP
com.plumtree.uiinfrastructure.activityspace.AFormDP#PageDisplay(HTMLTableRow)
protected HTMLScriptCollection DisplayJavaScriptFromChild()
DisplayJavaScriptFromChild
in class EditorDP
HTMLException
public void DisplayFolderList(HTMLTableCell foldercell, int type)
foldercell
- The cell to display the folders intype
- The type of folder to display
HTMLException
protected void DisplayFolderListHeader(HTMLTable myTable, int classid)
myTable
- The table to display the header inclassid
- The type of folder
HTMLException
protected void DisplayFolderListItem(HTMLTable myTable, int id, java.lang.String name, java.lang.String path, int intType)
myTable
- The table being manipulatedid
- The id of the foldername
- The name of the folderintType
- = The classid of the folder type
HTMLException
protected ISavedSearchModelRO GetModel()
public HTMLImg GetImage(PTImageType type, java.lang.String alt, java.lang.String w, java.lang.String h)
type
- PTImageTypealt
- Stringw
- width - Stringh
- height - String
protected PTObjectIdNamePair[] SortObjectByName(XPArrayList ids, int type, boolean ascending)
ids
- ID of folders being manipulatedtype
- The type of folderascending
- Ascending or descending
protected java.lang.String[] GetFolderNameAndPath(int id, int type)
id
- The ID of the foldertype
- The type of the folder
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |