|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.activityspace.AClearModel
com.plumtree.portaluiinfrastructure.intrinsicportlets.IntrinsicPortletModel
public abstract class IntrinsicPortletModel
This is the base intrinsic portlet model. All intrinsic portlet models should extend this base class.
| Field Summary | |
|---|---|
protected AActivitySpace |
m_asOwner
Parent Activity Space |
protected int |
m_nContainerClassID
ContainerClassID |
protected int |
m_nContainerObjectID
ContainerObjectID |
protected int |
m_nPageID
PageID |
protected int |
m_nPortletID
Portlet ID |
protected int |
m_nPrefType
Preference type |
protected IPTState |
m_ptAppDataState
AppDataState object |
protected IPTGadget |
m_ptPortlet
Portlet object |
protected IPTSession |
m_ptSession
IPTSession |
static int |
PREF_TYPE_ADMIN
Preference type for admin preferences |
static int |
PREF_TYPE_COMMUNITY
Preference type for community preferences |
static int |
PREF_TYPE_PERSONAL
Preference type for personal preferences |
static int |
SETTINGSTYPE_ADMIN
Setting type for admin preferences |
static int |
SETTINGSTYPE_COMMUNITY
Setting type for community preferences |
static int |
SETTINGSTYPE_COMMUNITYPORTLET
Setting type for community portlet preferences |
static int |
SETTINGSTYPE_PORTLET
Setting type for user portlet preferences |
static int |
SETTINGSTYPE_USER
Setting type for user preferences |
| Constructor Summary | |
|---|---|
IntrinsicPortletModel()
|
|
| Method Summary | |
|---|---|
void |
CleanupAllData()
This method is called when an ActivitySpace is removed from the cache. |
void |
CleanupTempData()
This method is called at the end of every HTTP request by the Interpreter. |
abstract boolean |
ControlExists()
Returns true if the portlet has a control associated with it. |
abstract java.lang.String |
GetName()
Return the name of the MVC object. |
int |
GetPortletID()
Returns portlet ID |
java.lang.Object |
GetSettingValue(int nSettingType,
java.lang.String strName)
Returns a single setting value, based on the setting type specified. |
java.lang.Object[][] |
GetSettingValues(int nSettingType,
java.lang.String[] arFilter)
Returns all settings, based on the setting type and filter specified. |
void |
Init(AActivitySpace parent)
Inits the Model with the Activity Space. |
void |
InitPortlet(IPTPageInfo _ptPageInfo,
IPTState _ptAppDataState,
IPTGadget _ptPortlet,
int _nPortletID)
Initializes the member variables of the portlet. |
static boolean |
IsIntrinsicPortlet(java.lang.Object[][] objArrMarkup)
Checks the markup array to see whether or not the portlet is intrinsic |
| Methods inherited from class com.plumtree.uiinfrastructure.activityspace.AClearModel |
|---|
Create, GetNewTempData, GetTempData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IManagedObject |
|---|
Create |
| Field Detail |
|---|
public static final int SETTINGSTYPE_PORTLET
public static final int SETTINGSTYPE_ADMIN
public static final int SETTINGSTYPE_COMMUNITY
public static final int SETTINGSTYPE_COMMUNITYPORTLET
public static final int SETTINGSTYPE_USER
public static final int PREF_TYPE_ADMIN
public static final int PREF_TYPE_PERSONAL
public static final int PREF_TYPE_COMMUNITY
protected AActivitySpace m_asOwner
protected IPTGadget m_ptPortlet
protected IPTSession m_ptSession
protected IPTState m_ptAppDataState
protected int m_nContainerClassID
protected int m_nContainerObjectID
protected int m_nPageID
protected int m_nPortletID
protected int m_nPrefType
| Constructor Detail |
|---|
public IntrinsicPortletModel()
| Method Detail |
|---|
public void CleanupTempData()
IModel
CleanupTempData in interface IModelCleanupTempData in class AClearModelIModel.CleanupTempData()public void CleanupAllData()
IModel
CleanupAllData in interface IModelCleanupAllData in class AClearModelIModel.CleanupAllData()public abstract boolean ControlExists()
ControlExists in interface IIntrinsicPortletModelROIIntrinsicPortletModelRO.ControlExists()public abstract java.lang.String GetName()
IMVCObject
GetName in interface IMVCObjectGetName in class AClearModelIMVCObject.GetName()public int GetPortletID()
GetPortletID in interface IIntrinsicPortletModelROIIntrinsicPortletModelRO.GetPortletID()public void Init(AActivitySpace parent)
Init in interface IModelInit in class AClearModelparent - IModel.Init(AActivitySpace)
public void InitPortlet(IPTPageInfo _ptPageInfo,
IPTState _ptAppDataState,
IPTGadget _ptPortlet,
int _nPortletID)
__ptPageInfo - IPTPageInfo_ptAppDataState - AppDataState object_ptPortlet - Portlet object_nPortletID - Portlet IDpublic static boolean IsIntrinsicPortlet(java.lang.Object[][] objArrMarkup)
objArrMarkup - Array retrieved from IPTGadget::GetHTMLText()
public java.lang.Object GetSettingValue(int nSettingType,
java.lang.String strName)
nSettingType - Setting typestrName - Setting name
com.plumtree.portaluiinfrastructure.intrinsicportlets.prefs.IIntrinsicPortletPrefsModelRO#GetSettingValue(int,
String)
public java.lang.Object[][] GetSettingValues(int nSettingType,
java.lang.String[] arFilter)
nSettingType - Setting typearFilter - Filter for settings
com.plumtree.portaluiinfrastructure.intrinsicportlets.prefs.IIntrinsicPortletPrefsModelRO#GetSettingValues(int,
Object[])
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||