Skip to content

Remove unneeded snippets #1235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 0 additions & 114 deletions snippets/objectscript-class.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,4 @@
{
"Class definition without superclass": {
"prefix": "Class",
"body": [
"/// ${1:Description}",
"Class ${2:PackageName.ClassName}",
"{",
"$0",
"}"
]
},
"Class definition with one superclass": {
"prefix": "Class",
"body": [
"/// ${1:Description}",
"Class ${2:PackageName.ClassName} Extends ${3|%Persistent,%SerialObject,%RegisteredObject|}",
"{",
"$0",
"}"
]
},
"Class definition with multiple superclasses": {
"prefix": "Class",
"body": [
"/// ${1:Description}",
"Class ${2:PackageName.ClassName} Extends (${3|%Persistent,%SerialObject,%RegisteredObject|}, ${4:%JSON.Adaptor}, ${5:%XML.Adaptor})",
"{",
"$0",
"}"
]
},
"ClassMethod definition": {
"prefix": "ClassMethod",
"body": [
Expand Down Expand Up @@ -191,90 +161,6 @@
],
"description": "XData"
},
"BusinessService": {
"prefix": ["BusinessService","Interoperability","ClassService"],
"body": [
"/// ${1:Description}",
"Class ${2:${TM_DIRECTORY/^.+\\/(.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.BusinessService",
"{",
"",
"Property Adapter As ${3:Ens.InboundAdapter};",
"",
"Parameter ADAPTER = \"$3\";",
"",
"Method OnProcessInput(pInput As %RegisteredObject, pOutput As %RegisteredObject) As %Status",
"{",
"\t$0",
"\tReturn \\$\\$\\$ERROR(\\$\\$\\$NotImplemented)",
"}",
"}"
],
"description": "Business Service Definition"
},
"BusinessProcessBPL": {
"prefix": ["BusinessProcess","Interoperability","ClassProcess"],
"body": [
"/// ${0:Description}",
"Class ${1:${TM_DIRECTORY/^.+\\/(.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.BusinessProcessBPL [ ClassType = persistent, ProcedureBlock ]",
"{",
"XData BPL [ XMLNamespace = \"http://www.intersystems.com/bpl\" ]",
"{",
"<process language='objectscript' request='Ens.Request' response='Ens.Response' height='2000' width='2000' >",
"\t<sequence xend='200' yend='350' >",
"\t\t<trace value='\"test\"' xpos='200' ypos='250' disabled=\"true\"/>",
"\t</sequence>",
"</process>",
"}",
"}"
],
"description": "Business Process Definition"
},
"BusinessProcess": {
"prefix": ["BusinessProcess","Interoperability","ClassProcess"],
"body": [
"/// ${1:Description}",
"Class ${2:${TM_DIRECTORY/^.+\\/(.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.BusinessProcess [ ClassType = persistent, ProcedureBlock ]",
"{",
"Method OnRequest(pRequest As Ens.Request, Output pResponse As Ens.Response) As %Status",
"{",
"\t$0",
"\tReturn \\$\\$\\$ERROR(\\$\\$\\$NotImplemented)",
"}",
"}"
],
"description": "Business Process Definition"
},
"BusinessOperation": {
"prefix":["BusinessOperation","Interoperability","ClassOperation"],
"body": [
"/// ${1:Description}",
"Class ${2:${TM_DIRECTORY/^.+\\/(.*)$/$1/}.$TM_FILENAME_BASE} Extends Ens.BusinessOperation",
"{",
"",
"Property Adapter As ${3:Ens.OutboundAdapter};",
"",
"Parameter ADAPTER = \"$3\";",
"",
"Parameter INVOCATION = \"Queue\";",
"",
"Method SampleCall(pRequest As ${4:Ens.Request}, Output pResponse As ${5:Ens.Response} ) As %Status",
"{",
"\t$0",
"\tReturn \\$\\$\\$ERROR(\\$\\$\\$NotImplemented)",
"}",
"",
"XData MessageMap",
"{",
"<MapItems>",
"\t<MapItem MessageType=\"$4\">",
"\t\t<Method>SampleCall</Method>",
"\t</MapItem>",
"</MapItems>",
"}",
"}"
],
"description": "Business Operation Definition"
},
"Production": {
"prefix": ["Production","Interoperability","ClassProduction"],
"body": [
Expand Down