com.plumtree.uiinfrastructure.errordisplay
Class SinglePageErrorModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.errordisplay.AErrorModel
      extended by com.plumtree.uiinfrastructure.errordisplay.ErrorModel
          extended by com.plumtree.uiinfrastructure.errordisplay.SinglePageErrorModel
All Implemented Interfaces:
IManagedObject, IModel, IModelRO, IMVCObject, IErrorModelRO

public class SinglePageErrorModel
extends ErrorModel

Author:
Ben Geislinger This model is for use with the MVC responsible for displaying those errors requiring their own display page.

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.uiinfrastructure.errordisplay.AErrorModel
m_asOwner
 
Constructor Summary
SinglePageErrorModel()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 boolean GetDisplaySeparatePageErrors()
          Returns true.
 boolean GetErrorsAssociatedWithAnAS()
          Returns false.
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(AActivitySpace parent)
          Inits the Model with the Activity Space.
 
Methods inherited from class com.plumtree.uiinfrastructure.errordisplay.ErrorModel
ClearError, ClearErrors, ClearErrorsForASChange, GetErrors
 
Methods inherited from class com.plumtree.uiinfrastructure.errordisplay.AErrorModel
CleanupAllData, CleanupTempData, ClearError, ClearErrors, GetErrors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

SinglePageErrorModel

public SinglePageErrorModel()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: AErrorModel
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Overrides:
Create in class ErrorModel
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetDisplaySeparatePageErrors

public boolean GetDisplaySeparatePageErrors()
Returns true.

Specified by:
GetDisplaySeparatePageErrors in interface IErrorModelRO
Overrides:
GetDisplaySeparatePageErrors in class ErrorModel
Returns:
boolean true

GetErrorsAssociatedWithAnAS

public boolean GetErrorsAssociatedWithAnAS()
Returns false. This MVC must retrieve all errors regardless of the activity space with which they're associated.

Specified by:
GetErrorsAssociatedWithAnAS in interface IErrorModelRO
Overrides:
GetErrorsAssociatedWithAnAS in class ErrorModel
Returns:
boolean false

GetName

public java.lang.String GetName()
Description copied from class: AErrorModel
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class ErrorModel
Returns:
the name of the object.
See Also:
com.plumtree.xpshared.activityspace.IModel#GetName()

Init

public void Init(AActivitySpace parent)
Inits the Model with the Activity Space.

Specified by:
Init in interface IModel
Overrides:
Init in class ErrorModel
Parameters:
parent -



Copyright 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.