JAMS Developer Guide
Resource Class Members
Properties  Methods  Events


MVPSI.JAMS Namespace : Resource Class

The following tables list the members exposed by Resource.

Public Constructors
 NameDescription
Public ConstructorCreates a new Resource.  
Top
Public Properties
 NameDescription
Public PropertyGets the Access Control List  
Public PropertyGets or sets agent specific.  
Public PropertyGets or sets Resource description.  
Public PropertyGets an error message that describes the errors in the object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyThe 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. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyIs this object in the middle of an edit? (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyReturns any error messages currently associated with this column. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyGets the date and time that this Resource was last changed.  
Public PropertyGets and sets the user who changed the resource last.  
Public PropertyGets the UTC date and time that this Resource was last changed.  
Public PropertyGets the JAMS server where this is stored.  
Public PropertyThe 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. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyThe NewObject property indicates that this object has just been created and has never been saved on a JAMS Server. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyGets or sets the Quantity Available.  
Public PropertyGets the quantity currently in use. This is a dynamic value which is only supplied when the JAMS Scheduler service is running.  
Public PropertyGets the quantity left available. This is a dynamic value which is only supplied when the JAMS Scheduler service is running.  
Public PropertyGets the total quantity waiting. This is a dynamic value which is only supplied when the JAMS Scheduler service is running.  
Public PropertyGets a list of References to this Resource.  
Public PropertyGets a ResourceDetailList that contains the ResourceDetails for this Resource definition. Only agent specific Resources can have resource details.  
Public PropertyGets a boolean which indicates if the ResourceDetails collection was modified during an edit.  
Public PropertyGets the Resource ID.  
Public PropertyGets or sets the Resource Name.  
Public PropertyThe 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. (Inherited from MVPSI.JAMS.BasePublicObject)
Top
Public Methods
 NameDescription
Public MethodStarts an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodCancels an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public Methodstatic (Shared in Visual Basic)Overloaded. Check to see if a Resource is valid and the caller has acquire access. This signature shipped with v4.2.6. Got to keep it so that user code doesn't break.  
Public MethodClears the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodOverridden. Clear the modified flag of this Resource and all of the attached lists.  
Public MethodImplementation of ICloneable Clone.  
Public MethodImplementation of IComparable CompareTo. Compares this instance to the one specified.  
Public MethodOverloaded. Delete the Resource definition.  
Public MethodEnds an edit of this object. Any changes are saved. (Inherited from MVPSI.JAMS.BasePublicObject)
Public Methodstatic (Shared in Visual Basic)Overloaded. Test to determine if a given Resource exists on the default server.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Creates and load a new ResourceList from the default server.  
Public MethodOverloaded. Gets a ResourceSecurity object that encapsulates the access control list (ACL) entries for the Resource described by the current Resource object.  
Public MethodInitializes properties to their default values.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Load the Resource with the specified name from the current JAMS Server.  
Public MethodReads the resource values from XML.  
Public MethodSave the Resource with a new name and/or server.  
Public MethodApplies access control list (ACL) entries described by a ResourceSecurity object to the Resource described by the current Resource object.  
Public MethodSets the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodMarks the object as modified. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodConvert a Resource to a String.  
Public MethodOverridden. Undo changes that have not been saved to the database.  
Public MethodOverloaded. Updates a JAMS Resource definition on a JAMS Server.  
Public MethodOverloaded. Overridden. Validate all properties.  
Public MethodWrites the resource values to XML.  
Top
Protected Methods
 NameDescription
Protected MethodAttempts to raise the PropertyChanged event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodAttempts to raise the PropertyChanging event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodSaveOriginal is called when an edit is about to begin. You override this method to save the original values. (Inherited from MVPSI.JAMS.BasePublicObject)
Top
Public Events
 NameDescription
Public EventEvent Handler for Property Changed Event (Inherited from MVPSI.JAMS.BasePublicObject)
Public EventEvent Handler for Property Changing Event (Inherited from MVPSI.JAMS.BasePublicObject)
Top
See Also

Reference

Resource Class
MVPSI.JAMS Namespace