%ZHSLIB.Context.ServiceBase
abstract class %ZHSLIB.Context.ServiceBase extends %Library.RegisteredObject
This is a base class for a HealthShare Service. A Service is a singleton object that is instantiated when a HealthShare Instance is started. @API.Extensible @Modifier Availability InterSystemsMethod Inventory (Including Private)
Parameters
parameter ServiceKey;
The unique key for the service (e.g. classname).
@API.Overrideable
@API.Overrideable
parameter ServiceVersion;
Semantic version of the Service. Must be a version string with the following format:
..
@API.Overrideable
Methods (Including Private)
classmethod %%CheckSubClassValidity() [ Language = objectscript ]
Ensure non-abstract subclasses have abstract parameters defined correctly
classmethod Instance(pMinimumMinorVersion As %Integer = 0) as %ZHSLIB.Context.ServiceBase [ Language = objectscript ]
Returns the singleton service to use for this instance. The service returned will be
have the same major version as that in ServiceVersion. The
latest minor and patch version available for the service will be returned.
If pMinimumMinorVersion is provided, then a service is returned only if
one is found with at least the provided minor version.
Throws errors if service not found.
Inherited Members
Inherited Methods (Including Private)
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnClose()
- %OnConstructClone()
- %OnNew()
- %OnValidateObject()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()