com.plumtree.portalpages.rest
Class ARESTModel

java.lang.Object
  extended by com.plumtree.portalpages.rest.ARESTModel
Direct Known Subclasses:
AQueryStoreModel, KDFolderDataStoreModel, UserIdLookupModel, UserRESTModel

public class ARESTModel
extends java.lang.Object

Abstract class for all REST models

Author:
rozhang

Field Summary
protected  IRESTError m_error
          Contains the current error object Usually set by a control and read by a displaypage
 
Constructor Summary
ARESTModel()
           
 
Method Summary
 IRESTError GetError()
          Gets an error object for the current REST request if one exists Usually called by a REST display page
 void SetError(IRESTError _error)
          Set an error object for the current REST request Usually called by a REST control
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_error

protected IRESTError m_error
Contains the current error object Usually set by a control and read by a displaypage

Constructor Detail

ARESTModel

public ARESTModel()
Method Detail

SetError

public void SetError(IRESTError _error)
Set an error object for the current REST request Usually called by a REST control

Parameters:
_error -

GetError

public IRESTError GetError()
Gets an error object for the current REST request if one exists Usually called by a REST display page

Returns:



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