|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.activityspace.AClearModel
public abstract class AClearModel
This model is designed to have all of it's data stored in a temporary data storage object. This object will be automatically deleted at the end of every HTTP Request and regenerated at the beginning of the next request. This is for browsing pages that have low-memory requirements. This means that data will only be stored during requests. Admin and Editor pages should probably not use this model scheme. All data should go on the temporary storage object, especially Query Results and large arrays. The design of the temporary data object is left to the implementor's discretion.
Field Summary | |
---|---|
AActivitySpace |
m_asOwner
the parent AActivitySpace |
Constructor Summary | |
---|---|
AClearModel()
|
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 java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
abstract java.lang.String |
GetName()
Return the name of the MVC object. |
abstract java.lang.Object |
GetNewTempData()
This method returns a new temporary data object. |
protected java.lang.Object |
GetTempData()
This method is used to access the temporary data object. |
void |
Init(AActivitySpace parent)
This method initializes the model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public AActivitySpace m_asOwner
Constructor Detail |
---|
public AClearModel()
Method Detail |
---|
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
IModel.CleanupTempData()
public void CleanupAllData()
IModel
CleanupAllData
in interface IModel
IModel.CleanupAllData()
public abstract java.lang.Object Create()
Create
in interface IManagedObject
public abstract java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
IMVCObject.GetName()
public abstract java.lang.Object GetNewTempData()
public void Init(AActivitySpace parent)
IModel
Init
in interface IModel
parent
- the parent Activity SpaceIModel.Init(AActivitySpace)
protected java.lang.Object GetTempData()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |