property ClassVersion as %Integer [ InitialExpression = 23 ];
The class dictionary version of this class, when we save we always upgrade to the latest version automatically.
If you open an existing class we will use the version from this class
private classmethod %DeleteData(id As %String, concurrency As %Integer) as %Status [ Language = objectscript ]
Inherited description: This method is normally generated by the storage class for persistent classes using
%Storage.Persistent or %Storage.SQL. Persistent
classes using some other storage class, such as %Library.CustomStorage must override this
method.
Inherited description: Checks to see if the object identified by the OID oid exists in the extent.
Returns %Boolean TRUE if it exists, FALSE if it does not.
private method %LoadData(classname As %String) as %Status [ Language = objectscript ]
Inherited description: %LoadData() - loads an object from storage. This method is
implemented by the storage class.
private method %OnNew(classname As %String) as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %New() method to
provide notification that a new instance of an object is being created.
If this method returns an error then the object will not be created.
It is passed the arguments provided in the %New call.
When customizing this method, override the arguments with whatever variables and types you expect to receive from %New().
For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:
Method %OnNew(dob as %Date = "", name as %Name = "") as %Status
If instead of returning a %Status code this returns an oref and this oref is a subclass of the current
class then this oref will be the one returned to the caller of %New method.
private method %SaveData(id As %String) as %Status [ Language = objectscript ]
Inherited description: %SaveData() - saves an object to disk, checks uniqueness and referential
integrity constraints, and maintains index structures. This method is
implemented by the storage class.
classmethod CacheSQLInstalled() as %Integer [ Language = objectscript ]
classmethod ClassInfoClose(QHandle As %Binary) as %Status [ Language = objectscript ]
classmethod ClassInfoExecute(ByRef QHandle As %Binary, initvalue As %String, mapped As %Boolean = 1) as %Status [ Language = objectscript ]
classmethod ClassInfoFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
Fetch returns the next row in the query.
classmethod ClassInfoFetchRows(ByRef QHandle As %Binary, FetchCount As %Integer = 0, ByRef RowSet As %List, ByRef ReturnCount As %Integer, ByRef AtEnd As %Integer) as %Status [ Language = objectscript ]
RoutineListFetchRows returns the next FetchCount rows in the query.
method ClassTypeGet() as %RawString [ Language = objectscript ]
classmethod ExportCPP(classname As %String, dir As %String) as %Status [ Language = objectscript ]
classmethod ExportJava(classes As %String, dir As %String) as %Status [ Language = objectscript ]
classmethod ExportODL(classname As %String, file As %String) as %Status [ Language = objectscript ]
method GetClassFullList(flag As %String = "") as %ListOfDataTypes [ Language = objectscript ]
method GetClassLocalList() as %ListOfDataTypes [ Language = objectscript ]
method GetTransientState() as %String [ Language = objectscript ]
method PersistentGet() as %RawString [ Language = objectscript ]
method PersistentSet(value As %RawString) as %Status [ Language = objectscript ]
classmethod PublishUserClass(classname As %String) as %Status [ Language = objectscript ]
classmethod PublishUserClasses() as %Status [ Language = objectscript ]
method QuerytypeGet() as %RawString [ Language = objectscript ]
method QuerytypeSet(value As %RawString) as %Status [ Language = objectscript ]
method SerialGet() as %RawString [ Language = objectscript ]
method SerialSet(value As %RawString) as %Status [ Language = objectscript ]
method SetTransientState(state) [ Language = objectscript ]
classmethod SubclassOfClose(QHandle As %Binary) as %Status [ Language = objectscript ]
classmethod SubclassOfExecute(ByRef QHandle As %Binary, super As %String, initval As %String = "") as %Status [ Language = objectscript ]
classmethod SubclassOfFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
Fetch returns the next row in the query.
classmethod SubclassOfFetchRows(ByRef QHandle As %Binary, FetchCount As %Integer = 0, ByRef RowSet As %List, ByRef ReturnCount As %Integer, ByRef AtEnd As %Integer) as %Status [ Language = objectscript ]
SubclassOfFetchRows returns the next FetchCount rows in the query.
classmethod UpdateUserIndex() as %Status [ Language = objectscript ]
method ViewGet() as %RawString [ Language = objectscript ]
method ViewSet(value As %RawString) as %Status [ Language = objectscript ]
Queries
query ClassInfo(initvalue As %String, mapped As %Boolean = 1)
The SubclassOf query produces a list of classes that are subclasses of the
super class starting the search at initval. For example this
allows you to find all the subclasses of %CSP.Page very easily.