-
Notifications
You must be signed in to change notification settings - Fork 19
/
IPackageService.cls
56 lines (43 loc) · 1.7 KB
/
IPackageService.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Class %ZPM.PackageManager.Core.IPackageService [ Abstract ]
{
Method GetApplication(pModuleReference As %ZPM.PackageManager.Core.ResolvedModuleReference) As %Stream.Object [ Abstract ]
{
}
Method GetApplicationDirectory(pModuleReference As %ZPM.PackageManager.Core.ResolvedModuleReference) As %String [ Abstract ]
{
}
Method GetApplicationManifest(pModuleReference As %ZPM.PackageManager.Core.ResolvedModuleReference) As %Stream.Object [ Abstract ]
{
}
Method GetModule(pModuleReference As %ZPM.PackageManager.Core.ResolvedModuleReference, Output AsArchive As %Boolean = 0) As %Stream.Object [ Abstract ]
{
}
Method GetModuleDirectory(pModuleReference As %ZPM.PackageManager.Core.ResolvedModuleReference) As %String [ Abstract ]
{
}
Method GetModuleManifest(pModuleReference As %ZPM.PackageManager.Core.ResolvedModuleReference) As %Stream.Object [ Abstract ]
{
}
Method HasApplication(pModuleReference As %ZPM.PackageManager.Core.ResolvedModuleReference) As %Boolean [ Abstract ]
{
}
Method HasModule(pModuleReference As %ZPM.PackageManager.Core.ResolvedModuleReference) As %Boolean [ Abstract ]
{
}
Method ListApplications(pSearchCriteria As %ZPM.PackageManager.Core.SearchCriteria) As %ListOfObjects(ELEMENTTYPE="%ZPM.PackageManager.Core.ResolvedModuleReference") [ Abstract ]
{
}
Method ListModules(pSearchCriteria As %ZPM.PackageManager.Core.SearchCriteria) As %ListOfObjects(ELEMENTTYPE="%ZPM.PackageManager.Core.ResolvedModuleReference") [ Abstract ]
{
}
/// Returns 1 if the service supports a particular method.
ClassMethod Supports(pMethod As %String) As %Boolean
{
Quit 0
}
/// For run-time checks to ensure the service is available before attempting to invoke it.
Method IsAvailable() As %Boolean
{
Quit 1
}
}