46 |
NAME = "GNUe Reports Server" |
NAME = "GNUe Reports Server" |
47 |
USAGE = GServerApp.GServerApp.USAGE |
USAGE = GServerApp.GServerApp.USAGE |
48 |
COMMAND_OPTIONS = [ |
COMMAND_OPTIONS = [ |
49 |
[ 'rpctype',None,'rpc_type',1,"xmlrpc", 'type', |
[ 'rpctype',None,'rpc-type',1,"xmlrpc", 'type', |
50 |
_('Set the GNURPC connection type. The currently supported values ')+ |
_('Set the GNURPC connection type. The currently supported values ')+ |
51 |
_("for <type> are 'xmlrpc' and 'pw_xmlrpc'. For more information on ")+ |
_("for <type> are 'xmlrpc' and 'pw_xmlrpc'. For more information on ")+ |
52 |
_('GNURPC connection types have a look at ')+ |
_('GNURPC connection types have a look at ')+ |
155 |
|
|
156 |
def getReportDefinition(self,location): |
def getReportDefinition(self,location): |
157 |
# Parameters: * location <string> The location of the report |
# Parameters: * location <string> The location of the report |
158 |
|
# def getReportDefinition(self,reportName): |
159 |
|
# Parameters: * location <string> The location of the report |
160 |
|
|
161 |
pass |
pass |
162 |
|
|
169 |
|
|
170 |
pass |
pass |
171 |
|
|
172 |
|
|
173 |
|
def runReport(reportName, sortOption=None, parameters={}): |
174 |
|
pass |
175 |
|
|
176 |
|
|
177 |
|
def runReportFromDefinition(reportDefinition, sortOption, parameters): |
178 |
|
pass |
179 |
|
|
180 |
|
|
181 |
|
|
182 |
|
|
183 |
|
|
184 |
if __name__ == '__main__': |
if __name__ == '__main__': |
185 |
grserv=GRServer() |
grserv=GRServer() |
186 |
grserv.phaseInit() |
grserv.phaseInit() |