JAMS 6.x Help
BasePublicObject Class Members
Properties  Methods  Events


The following tables list the members exposed by BasePublicObject.

Public Properties
 NameDescription
Public PropertyErrorGets an error message that describes the errors in the object.  
Public PropertyHasErrorsThe HasErrors property can be used to determine if the object has any errors. If the object needs to be validated, it is done before returning.  
Public PropertyInEditIs this object in the middle of an edit?  
Public PropertyItemReturns any error messages currently associated with this column.  
Public PropertyModifiedThe Modified property keeps track of modified state of this object. You cannot set the Modified property. If you modify the object, the modified property will be true until you end or cancel the update.  
Public PropertyNewObjectThe NewObject property indicates that this object has just been created and has never been saved on a JAMS Server.  
Public PropertyValidatedThe Validated property keeps track of the validation state of this object. If the object has been modified, Validated will be false until the object has been successfully validated by the Validate method.  
Top
Public Methods
 NameDescription
Public MethodBeginEditStarts an edit of this object.  
Public MethodCancelEditCancels an edit of this object.  
Public Methodstatic (Shared in Visual Basic)CheckServerVersionChecks the server's version against the one specified.  
Public MethodClearErrorClears the error message for a property.  
Public MethodClearModifiedClearModified is designed to be used internally and should not be called from end-user code. Call Update() which saves the modifications and then calls ClearModified.  
Public MethodEndEditEnds an edit of this object. Any changes are saved.  
Public MethodSetErrorSets the error message for a property.  
Public MethodSetModifiedMarks the object as modified.  
Public MethodUndoEditsUndo changes.  
Public MethodUpdateSave the changes to the object.  
Public MethodValidateThe Validate method is a virtual method used to validate the object. The default implantation does no validation it simply marks the object as valid.  
Top
Protected Methods
 NameDescription
Protected MethodRaisePropertyChangedAttempts to raise the PropertyChanged event  
Protected MethodRaisePropertyChangingAttempts to raise the PropertyChanging event  
Protected MethodSaveOriginalSaveOriginal is called when an edit is about to begin. You override this method to save the original values.  
Top
Public Events
 NameDescription
Public EventPropertyChangedEvent Handler for Property Changed Event  
Public EventPropertyChangingEvent Handler for Property Changing Event  
Top
See Also

Reference

BasePublicObject Class
MVPSI.JAMS Namespace

Send Feedback