JAMS 6.x Help
Resource Class Members
Properties  Methods  Events


The following tables list the members exposed by Resource.

Public Constructors
 NameDescription
Public ConstructorResource ConstructorCreates a new Resource.  
Top
Public Properties
 NameDescription
Public PropertyACLGets the Access Control List  
Public PropertyDescriptionGets or sets Resource description.  
Public PropertyErrorGets an error message that describes the errors in the object. (Inherited from MVPSI.JAMS.BasePublicObject)
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. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyInEditIs this object in the middle of an edit? (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyItemReturns any error messages currently associated with this column. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyLastChangeGets the date and time that this Resource was last changed.  
Public PropertyLastChangeUTCGets the UTC date and time that this Resource was last changed.  
Public PropertyLoadedFromGets the JAMS server where this is stored.  
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. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyNewObjectThe 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 PropertyNodeSpecificGets or sets Node specific.  
Public PropertyQuantityAvailableGets or sets the Quantity Available.  
Public PropertyQuantityInUseGets the quantity currently in use.  
Public PropertyResourceDetailsGets a ResourceDetailList that contains the ResourceDetails for this Resource definition. Only node specific Resources can have resource details.  
Public PropertyResourceDetailsModifiedGets a boolean which indicates if the ResourceDetails collection was modified during an edit.  
Public PropertyResourceIDGets the Resource ID.  
Public PropertyResourceNameGets or sets the Resource Name.  
Public PropertyRoutineNameGets or sets Routine name.  
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. (Inherited from MVPSI.JAMS.BasePublicObject)
Top
Public Methods
 NameDescription
Public MethodBeginEditStarts an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodCancelEditCancels an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public Methodstatic (Shared in Visual Basic)CheckOverloaded. 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 MethodClearErrorClears the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodClearModifiedOverridden. Clear the modified flag of this Resource and all of the attached lists.  
Public MethodCloneImplementation of ICloneable Clone.  
Public MethodCompareToImplementation of IComparable CompareTo. Compares this instance to the one specified.  
Public MethodDeleteOverloaded. Delete the Resource definition.  
Public MethodEndEditEnds an edit of this object. Any changes are saved. (Inherited from MVPSI.JAMS.BasePublicObject)
Public Methodstatic (Shared in Visual Basic)ExistsOverloaded. Test to determine if a given Resource exists on the default server.  
Public Methodstatic (Shared in Visual Basic)FindOverloaded. Creates and load a new ResourceList from the default server.  
Public MethodGetAccessControlOverloaded. Gets a ResourceSecurity object that encapsulates the access control list (ACL) entries for the Resource described by the current Resource object.  
Public MethodInitializeInitializes properties to their default values.  
Public Methodstatic (Shared in Visual Basic)LoadOverloaded. Load the Resource with the specified name from the current JAMS Server.  
Public MethodSaveAsSave the Resource with a new name and/or server.  
Public MethodSetAccessControlApplies access control list (ACL) entries described by a ResourceSecurity object to the Resource described by the current Resource object.  
Public MethodSetErrorSets the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodSetModifiedMarks the object as modified. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodToStringConvert a Resource to a String.  
Public MethodUndoEditsOverridden. Undo changes that have not been saved to the database.  
Public MethodUpdateOverloaded. Updates a JAMS Resource definition on a JAMS Server.  
Public MethodValidateOverloaded. Overridden. Validate all properties.  
Top
Protected Methods
 NameDescription
Protected MethodRaisePropertyChangedAttempts to raise the PropertyChanged event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodRaisePropertyChangingAttempts to raise the PropertyChanging event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodSaveOriginalSaveOriginal 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 EventPropertyChangedEvent Handler for Property Changed Event (Inherited from MVPSI.JAMS.BasePublicObject)
Public EventPropertyChangingEvent Handler for Property Changing Event (Inherited from MVPSI.JAMS.BasePublicObject)
Top
See Also

Reference

Resource Class
MVPSI.JAMS Namespace

Send Feedback