|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletView
public abstract class IntrinsicPortletView
This is the base intrinsic portlet view. All intrinsic portlet views should extend this base class.
Field Summary | |
---|---|
static java.lang.String |
INTRINSIC_PORTLET_HTMLFORM_NAME
The name of the intrinsic portlet form prefix (for use in Javascript, etc...). |
static java.lang.String |
INTRINSIC_PORTLET_JAVASCRIPT_SUBMIT_FORM
The name of the JavaScript used to submit the form. |
protected AActivitySpace |
m_asOwner
Parent Activity Space |
protected boolean |
m_bAddFormToPortlet
Set to true if you want your portlet to have a form and JavaScript for repost. |
protected boolean |
m_bMultiPart
Set to true if you want your portlet to have a multi-part form |
protected IModelRO |
m_model
RO interface to model |
Constructor Summary | |
---|---|
IntrinsicPortletView()
|
Method Summary | |
---|---|
abstract java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
HTMLElement |
Display()
This is called by the MyPortalContentView, which aggregates all the intrinsic portlet views. |
HTMLScript |
DisplayJavascript()
Portlet Javascript is aggregated by PlumtreeDP. |
abstract HTMLElement |
DisplayPortlet()
Displays the HTML for the portlet. |
abstract java.lang.String |
DisplayPortletWML()
Displays the WML for the portlet. |
java.lang.String |
DisplayWML()
This is called by the ??, which aggregates all the intrinsic portlet WML views. |
abstract java.lang.String |
GetName()
Return the name of the MVC object. |
void |
Init(IModelRO model,
AActivitySpace parent)
Inits the Section with the read-only Model and the Activity Space. |
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 INTRINSIC_PORTLET_HTMLFORM_NAME
public static final java.lang.String INTRINSIC_PORTLET_JAVASCRIPT_SUBMIT_FORM
protected AActivitySpace m_asOwner
protected IModelRO m_model
protected boolean m_bAddFormToPortlet
protected boolean m_bMultiPart
Constructor Detail |
---|
public IntrinsicPortletView()
Method Detail |
---|
public abstract java.lang.Object Create()
Create
in interface IManagedObject
IManagedObject.Create()
public HTMLElement Display()
Display
in interface IView
XPException
- Exception thrown if portlet was uanble to display.IView.Display()
public java.lang.String DisplayWML()
public HTMLScript DisplayJavascript()
DisplayJavascript
in interface IView
XPException
- Exception thrown if portlet was uanble to generate
JavaScript.IView.DisplayJavascript()
public abstract HTMLElement DisplayPortlet()
public abstract java.lang.String DisplayPortletWML()
public abstract java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
IMVCObject.GetName()
public void Init(IModelRO model, AActivitySpace parent)
Init
in interface IView
model
- parent
- IView.Init(IModelRO,
AActivitySpace)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |