|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.portalpages.admin.objmgr.ObjMgrViewHelper
public class ObjMgrViewHelper
| Field Summary | |
|---|---|
static java.lang.String |
HTML_OBJECT_CHECKBOX_PREFIX
checkbox prefix |
static java.lang.String |
HTML_OBJECT_CHECKBOX_SUFFIX
checkbox suffix |
static java.lang.String |
HTML_OBJECT_HIDDEN_SUBTYPE
hidden subtype |
| Constructor Summary | |
|---|---|
ObjMgrViewHelper()
|
|
| Method Summary | |
|---|---|
HTMLElement |
AddObjectViewHTML(IObjectModelRO model)
Returns additional HTML as an html element for the object view to display. |
void |
Display508Object(int nObjectIndex,
HTMLTable tableObjects,
IObjectModelRO model,
AActivitySpace parent)
Displays the object in 508 mode at the given index in the query result. |
HTMLScriptCollection |
DisplayJavascriptCollection(AActivitySpace asOwner,
IObjectModelRO model)
Returns the javascript for this view helper. |
void |
DisplayObject(int nObjectIndex,
int nRowIndex,
HTMLTable tableObjects,
IObjectModelRO model,
AActivitySpace parent)
Displays the object at the given index in the query result. |
java.lang.String |
GetDateString(java.lang.Object dateObject,
XPDateFormat xpDateTimeFormat,
java.lang.String strDateName)
This helper function translates date objects into localized date strings. |
java.lang.String |
GetStatusString(int intStatus,
AActivitySpace asOwner)
This helper function translates PT_JOBSTATUS numbers into localized string values |
java.lang.String |
GetThereAreNoItemsString(AActivitySpace asOwner)
Return the message to display if there are no items. |
void |
SetExpandAnchor(HTMLAnchor anchor,
IObjectModelRO model)
This method is called by the ObjectView to fill out the anchor for the expand / collapse links on the object view header. |
| 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 HTML_OBJECT_CHECKBOX_PREFIX
public static final java.lang.String HTML_OBJECT_CHECKBOX_SUFFIX
public static final java.lang.String HTML_OBJECT_HIDDEN_SUBTYPE
| Constructor Detail |
|---|
public ObjMgrViewHelper()
| Method Detail |
|---|
public HTMLElement AddObjectViewHTML(IObjectModelRO model)
IObjectViewHelper
AddObjectViewHTML in interface IObjectViewHelpercom.plumtree.portalpages.common.objects.IObjectViewHelper#AddObjectViewHTML()
public void Display508Object(int nObjectIndex,
HTMLTable tableObjects,
IObjectModelRO model,
AActivitySpace parent)
IObjectViewHelper
Display508Object in interface IObjectViewHelpernObjectIndex - nObjectIndextableObjects - tableObjectsIObjectViewHelper.Display508Object(int, HTMLTable, IObjectModelRO, AActivitySpace)
public HTMLScriptCollection DisplayJavascriptCollection(AActivitySpace asOwner,
IObjectModelRO model)
IObjectViewHelper
DisplayJavascriptCollection in interface IObjectViewHelpercom.plumtree.portalpages.common.objects.IObjectViewHelper#DisplayJavascriptCollection(AActivitySpace)public java.lang.String GetThereAreNoItemsString(AActivitySpace asOwner)
IObjectViewHelper
GetThereAreNoItemsString in interface IObjectViewHelperIObjectViewHelper#GetThereAreNoItemsString(AActivitySpace)
public void DisplayObject(int nObjectIndex,
int nRowIndex,
HTMLTable tableObjects,
IObjectModelRO model,
AActivitySpace parent)
IObjectViewHelper
DisplayObject in interface IObjectViewHelpernObjectIndex - nObjectIndextableObjects - tableObjectscom.plumtree.portalpages.common.objects.IObjectViewHelper#DisplayObject(int, HTMLTable, IObjectModelRO)
public void SetExpandAnchor(HTMLAnchor anchor,
IObjectModelRO model)
IObjectViewHelper
SetExpandAnchor in interface IObjectViewHelpercom.plumtree.portalpages.common.objects.IObjectViewHelper#SetExpandButton(HTMLAnchor)
public java.lang.String GetDateString(java.lang.Object dateObject,
XPDateFormat xpDateTimeFormat,
java.lang.String strDateName)
Object - the date objectXPDateFormat - the localized date format objectString - the name of the date to display in an error message
if the date cannot be converted correctly.
public java.lang.String GetStatusString(int intStatus,
AActivitySpace asOwner)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||