%CSP.Routinestream class %CSP.Routine
Set stream=##class(%CSP.Routine).%New("/csp/samples/inspector.csp") Do stream.OutputToDevice()
True if this routine is generated from something else
Number of times this routines has been locked.
Readonly property holding the namespace for this CSP application.
Caclulated property that contains the current timestamp for the routine.
Property holding the URL for this CSP application.
Override of %OnClose method from %FileCharacterStream
Override of %OnNew method from %FileCharacterStream
Clear the contents of this Stream from permanent storage. This will remove the permanent stream storage and any temporary stream and initialise the stream to its initial state that it starts in, including removing all the stream attributes.
%Statusvalue indicating success or failure.
If needed this will clear the gateway cache of this static url
Compile this CSP page. This calls
SaveStreamto flush the stream out to disk before calling compile.
Internal method to create backups of CSP routines
Delete the file associated with this CSP url
Return true if the CSP file exists (not the class) and false otherwise.
Get the timestamp for the routine.
Return the timestamp of this CSP/CSR file. If there is no file then return -1
Override of GetReadOpenParameter from %FileCharacterStream
Override of IOGetStreamId method from %FileCharacterStream
Link this stream to the file pointed to by this url.
Lock the current routine
Lock or unlock a particular routine
name. If lockis true then it will be locked else it will be unlocked.
Set method for Namespace property to make it readonly
Override of OpenStream method from %FileCharacterStream to open a %CSP.Routine.
Override of SaveStream method from %FileCharacterStream to save this stream
Get method for TimeStamp property.
Unlock the current routine
This is a Get accessor method for the
Set method for Url property