HS.HC.InstanceConfig.Resource.Feature
class HS.HC.InstanceConfig.Resource.Feature extends HS.REST.Model.Proxy
REST resource to perform CRUD operations on HS feature configurations i.e. instances of HS.Util.Installer.ConfigItem.Method Inventory
Parameters
parameter MEDIATYPE = $$$ResourceFeatureConfigMediaType;
Inherited description: Content-Type implemented in this class
Subclasses MAY override this
parameter RESOURCENAME = $$$ResourceFeatureConfig;
Inherited description: Name of the resource at the REST level
Subclasses MUST override this
parameter SOURCECLASS = HS.Util.Installer.ConfigItem;
Generated code will depend on this class so need to ensure we have a DependsOn flag for it
Methods
classmethod Supports(pOperation As %String, pType As %String(VALUELIST=",instance,class"), pRequest As %CSP.Request = $$$NULLOREF) as %Boolean
Inherited description: Checks if the particular operation is supported for this resource.
Look at documentation of SupportsDefault() for default behavior of this method.
If the method returns 0, the corresponding dispatch class will return a 404 Not Found status when the operation is invoked.
NOTE: This method runs on EVERY request so should be quick, lightweight checks to prevent performance bottlenecks.
pOperation may be one of the macros of the form $$$Operation* present in %pkg.isc.rest.general.inc.
pType is the type of the operation (instance-level on a particular record or class-level).
pRequest is the request object in an HTTP context. NOTE: MUST check that this is an object before using it as it may be passed as a NULL OREF in some cases.
Look at documentation of SupportsDefault() for default behavior of this method.
If the method returns 0, the corresponding dispatch class will return a 404 Not Found status when the operation is invoked.
NOTE: This method runs on EVERY request so should be quick, lightweight checks to prevent performance bottlenecks.
pOperation may be one of the macros of the form $$$Operation* present in %pkg.isc.rest.general.inc.
pType is the type of the operation (instance-level on a particular record or class-level).
pRequest is the request object in an HTTP context. NOTE: MUST check that this is an object before using it as it may be passed as a NULL OREF in some cases.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %JSONExport()
- %JSONExportToStream()
- %JSONExportToString()
- %JSONImport()
- %JSONMappingInfo()
- %JSONNew()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- DeleteModelInstance()
- GetCollection()
- GetModelFromResultRow()
- GetModelInstance()
- JSONExport()
- JSONExportToStream()
- JSONExportToString()
- JSONImport()
- ModifyOpenAPIInfo()
- OnAfterSaveModel()
- OnBeforeSaveModel()
- OnGetProxyColumnList()
- SaveModelInstance()
- SupportsDefault()
- Version()