|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.errordisplay.AErrorModel
public abstract class AErrorModel
This is an abstract model extended by various concrete error model.
| Field Summary | |
|---|---|
protected AActivitySpace |
m_asOwner
|
| Constructor Summary | |
|---|---|
AErrorModel()
|
|
| 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. |
void |
ClearError(java.lang.String sKey)
Call this method to clear the specified error. |
abstract void |
ClearError(java.lang.String sKey,
ISessionManager mySessionManager,
IApplication myApplication)
Implement to remove the specified error. |
void |
ClearErrors()
Call this method to clear all errors exposed to the current user. |
abstract void |
ClearErrors(ISessionManager mySessionManager,
IApplication myApplication)
Implement to remove all errors available to the current user. |
abstract void |
ClearErrorsForASChange(java.lang.String sASName,
ISessionManager mySessionManager,
IApplication myApplication)
Implement to clear those errors that need to be cleared when the user changes activity space. |
abstract java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
abstract boolean |
GetDisplaySeparatePageErrors()
Implement to return a boolean indicating whether this MVC should display errors requiring a separate display page. |
IXPEnumerator |
GetErrors()
Call this method to obtain an enumeration of all errors that are appropriate for the current user. |
abstract IXPEnumerator |
GetErrors(ISessionManager session,
IApplication myApplication,
AActivitySpace activitySpace,
boolean bGetErrorsAssociatedWithAnAS)
Implement to obtain an enumeration of errors appropriate for the current user. |
abstract boolean |
GetErrorsAssociatedWithAnAS()
Implement to return a boolean indicating whether this MVC should display only those errors associated with the current MVC. |
abstract java.lang.String |
GetName()
Return the name of the MVC object. |
abstract 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 |
|---|
protected AActivitySpace m_asOwner
| Constructor Detail |
|---|
public AErrorModel()
| Method Detail |
|---|
public abstract void ClearError(java.lang.String sKey,
ISessionManager mySessionManager,
IApplication myApplication)
sKey - String key used to store the error to be removed.mySessionManager - ISessionManagermyApplication - IApplication
public abstract void ClearErrors(ISessionManager mySessionManager,
IApplication myApplication)
mySessionManager - ISessionManagermyApplication - IApplication
public abstract void ClearErrorsForASChange(java.lang.String sASName,
ISessionManager mySessionManager,
IApplication myApplication)
sASName - String name of the new activity space.mySessionManager - ISessionManagermyApplication - IApplicationpublic abstract java.lang.Object Create()
Create in interface IManagedObjectpublic abstract boolean GetDisplaySeparatePageErrors()
GetDisplaySeparatePageErrors in interface IErrorModelRO
public abstract IXPEnumerator GetErrors(ISessionManager session,
IApplication myApplication,
AActivitySpace activitySpace,
boolean bGetErrorsAssociatedWithAnAS)
session - ISessionManagermyApplication - IApplicationas - AActivitySpacebGetErrorsAssociatedWithAnAS - boolean value
public abstract boolean GetErrorsAssociatedWithAnAS()
GetErrorsAssociatedWithAnAS in interface IErrorModelROpublic abstract java.lang.String GetName()
GetName in interface IMVCObjectpublic abstract void Init(AActivitySpace parent)
Init in interface IModelparent - the parent Activity Spacepublic void CleanupTempData()
IModel
CleanupTempData in interface IModelIModel.CleanupTempData()public void CleanupAllData()
IModel
CleanupAllData in interface IModelIModel.CleanupAllData()public void ClearError(java.lang.String sKey)
sKey - String key used to store the error. Available from
UIError.GetSessionKey().public void ClearErrors()
public IXPEnumerator GetErrors()
GetErrors in interface IErrorModelRO
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||