This repository has been archived by the owner on Aug 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
NAMESPACE
167 lines (156 loc) · 3.04 KB
/
NAMESPACE
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
## imports from other packages
import(RCurl, methods)
importFrom(rjson, toJSON, fromJSON)
importFrom(tools, md5sum)
importFrom(digest, digest, hmac)
importFrom(utils, edit, compareVersion, packageDescription, install.packages, installed.packages, read.table)
## package has a dynamic library
useDynLib(synapseClient)
## commands defined in C-4
export(
"synGet",
"synStore",
"getFileLocation",
"submit",
"synRestGET",
"synRestDELETE",
"synRestPOST",
"synRestPUT",
"synGetWiki",
"synGetUserProfile",
"synGetSubmission",
"synGetSubmissionStatus",
"synGetEvaluation",
"synGetEvaluationByContentSource",
"synGetSubmissions",
"synGetWikiHeaders",
"synDelete",
"listObjects",
"synGetActivity",
"synAnnot",
"synAnnot<-",
"onWeb",
"identical",
"synCreateEntityACL",
"synGetEntityACL",
"synUpdateEntityACL",
"synDeleteEntityACL"
)
## S3 utility methods
export(
"synapseResetEndpoints",
"synapseAuthServiceEndpoint",
"synapseRepoServiceEndpoint",
"synapseFileServiceEndpoint",
"synapsePortalEndpoint",
"synapseLogin",
"synapseLogout",
"synapseCacheDir",
"hmacSecretKey",
"invalidateAPIKey",
"setApiCredentials",
"synapseQuery",
"synQuery",
"touOnWeb",
"sendMessage",
"synTableQuery",
"synDeleteRows",
"synDownloadTableFile", # NOTE: This function is deprecated
"synDownloadTableColumns",
"synGetColumns",
"synAddColumn",
"synRemoveColumn"
)
## Synapse object constructors
export(
"File",
"Folder",
"Project",
"Activity",
"Evaluation",
"WikiPage",
"UserProfile",
"ResourceAccess",
"TableSchema",
"TableRowSet",
"TableColumn",
"Table",
"Row",
"RowReference",
"RowReferenceSet",
"AccessControlList",
"ResourceAccessList",
"UserPreferenceList",
"RowList",
"as.ResourceAccessList",
"as.UserPreferenceList",
"as.RowList",
"UserPreferenceBoolean",
"Settings",
"length.QueryResult",
"names.QueryResult"
)
## entity S4 methods
exportMethods(
"getParentEntity",
"getActivity",
"generatedBy",
"generatedBy<-",
"used",
"used<-",
"executed",
"executed<-",
# methods for TypeList
"set",
"getList",
"append",
"identical",
"as.tableColumns"
)
## entity property/annotation setters and getters
exportMethods(
"annotValue<-",
"annotValue",
"annotations",
"annotations<-",
"annotationValues<-",
"annotationValues",
"annotationNames",
"deleteProperty",
"deleteAnnotation",
"propertyValue",
"propertyValue<-",
"propertyValues<-",
"propertyValues",
"properties",
"propertyNames"
)
exportMethods(
"synGetAnnotations",
"synSetAnnotations<-",
"synGetProperties",
"synSetProperties<-",
"synGetAnnotation",
"synSetAnnotation<-",
"synGetProperty",
"synSetProperty<-"
)
export(
"synSetEndpoints",
"synGetEndpoints"
)
# Methods used on deprecated Synapse objects (but left in code base for backward compatibility)
exportMethods(
"addFile",
"addObject",
"deleteObject",
"getObject",
"renameObject",
"storeEntity",
"getEntity",
"deleteEntity",
"createEntity",
"updateEntity",
"downloadEntity",
"loadEntity"
)