public class ScriptI extends AbstractAmdServant implements omero.api._IScriptOperations, ServiceFactoryAware, BlitzOnly
ome.api.IScript
Modifier and Type | Field and Description |
---|---|
protected ChecksumProviderFactory |
cpf |
protected ServiceFactoryI |
factory |
protected ParamsHelper |
helper |
protected ScriptRepoHelper |
scripts |
Constructor and Description |
---|
ScriptI(BlitzExecutor be,
ScriptRepoHelper scripts,
ChecksumProviderFactory cpf) |
Modifier and Type | Method and Description |
---|---|
protected ParamsHelper.Acquirer |
acquirer() |
void |
canRunScript_async(omero.api.AMD_IScript_canRunScript __cb,
long scriptID,
Ice.Current __current) |
void |
deleteScript_async(omero.api.AMD_IScript_deleteScript cb,
long id,
Ice.Current __current)
Delete the script with id from the server.
|
void |
editScript_async(omero.api.AMD_IScript_editScript __cb,
omero.model.OriginalFile fileObject,
String scriptText,
Ice.Current __current) |
void |
getParams_async(omero.api.AMD_IScript_getParams __cb,
long id,
Ice.Current __current)
Get the Parameters of the script.
|
void |
getScriptID_async(omero.api.AMD_IScript_getScriptID __cb,
String scriptPath,
Ice.Current __current)
Get the id of the official script with given path.
|
void |
getScripts_async(omero.api.AMD_IScript_getScripts __cb,
Ice.Current __current)
Get Scripts will return all the scripts by id and name available on the
server.
|
void |
getScriptText_async(omero.api.AMD_IScript_getScriptText __cb,
long id,
Ice.Current __current)
Return the script with the name to the user.
|
void |
getScriptWithDetails_async(omero.api.AMD_IScript_getScriptWithDetails __cb,
long id,
Ice.Current __current)
Return the script with the name to the user.
|
void |
getUserScripts_async(omero.api.AMD_IScript_getUserScripts __cb,
List<omero.model.IObject> acceptsList,
Ice.Current __current) |
void |
runScript_async(omero.api.AMD_IScript_runScript __cb,
long scriptID,
Map<String,omero.RType> inputs,
omero.RInt waitSecs,
Ice.Current __current) |
void |
setServiceFactory(ServiceFactoryI sf) |
void |
uploadOfficialScript_async(omero.api.AMD_IScript_uploadOfficialScript __cb,
String path,
String scriptText,
Ice.Current __current) |
void |
uploadScript_async(omero.api.AMD_IScript_uploadScript __cb,
String path,
String scriptText,
Ice.Current __current)
Upload script to the server.
|
void |
validateScript_async(omero.api.AMD_IScript_validateScript __cb,
omero.model.Job j,
List<omero.model.IObject> acceptsList,
Ice.Current __current) |
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
protected ServiceFactoryI factory
protected ParamsHelper helper
protected final ScriptRepoHelper scripts
protected final ChecksumProviderFactory cpf
public ScriptI(BlitzExecutor be, ScriptRepoHelper scripts, ChecksumProviderFactory cpf)
public void setServiceFactory(ServiceFactoryI sf) throws omero.ServerError
setServiceFactory
in interface ServiceFactoryAware
omero.ServerError
protected ParamsHelper.Acquirer acquirer() throws omero.ServerError
omero.ServerError
public void runScript_async(omero.api.AMD_IScript_runScript __cb, long scriptID, Map<String,omero.RType> inputs, omero.RInt waitSecs, Ice.Current __current) throws omero.ServerError
runScript_async
in interface omero.api._IScriptOperations
omero.ServerError
public void canRunScript_async(omero.api.AMD_IScript_canRunScript __cb, long scriptID, Ice.Current __current) throws omero.ServerError
canRunScript_async
in interface omero.api._IScriptOperations
omero.ServerError
public void getScriptID_async(omero.api.AMD_IScript_getScriptID __cb, String scriptPath, Ice.Current __current) throws omero.ServerError
getScriptID_async
in interface omero.api._IScriptOperations
scriptPath
- OriginalFile.getPath()
of the script to find id for.__current
- ice context.omero.ServerError
public void uploadScript_async(omero.api.AMD_IScript_uploadScript __cb, String path, String scriptText, Ice.Current __current) throws omero.ServerError
uploadScript_async
in interface omero.api._IScriptOperations
scriptText
- __current
- ice context.omero.ServerError
public void uploadOfficialScript_async(omero.api.AMD_IScript_uploadOfficialScript __cb, String path, String scriptText, Ice.Current __current) throws omero.ServerError
uploadOfficialScript_async
in interface omero.api._IScriptOperations
omero.ServerError
public void editScript_async(omero.api.AMD_IScript_editScript __cb, omero.model.OriginalFile fileObject, String scriptText, Ice.Current __current) throws omero.ServerError
editScript_async
in interface omero.api._IScriptOperations
omero.ServerError
public void getScriptWithDetails_async(omero.api.AMD_IScript_getScriptWithDetails __cb, long id, Ice.Current __current) throws omero.ServerError
getScriptWithDetails_async
in interface omero.api._IScriptOperations
name
- see above.__current
- ice context.omero.ServerError
- validation, api usage.public void getScriptText_async(omero.api.AMD_IScript_getScriptText __cb, long id, Ice.Current __current) throws omero.ServerError
getScriptText_async
in interface omero.api._IScriptOperations
name
- see above.__current
- ice context.omero.ServerError
- validation, api usage.public void getParams_async(omero.api.AMD_IScript_getParams __cb, long id, Ice.Current __current) throws omero.ServerError
getParams_async
in interface omero.api._IScriptOperations
id
- see above.__current
- Ice contextomero.ServerError
- validation, api usage.public void getScripts_async(omero.api.AMD_IScript_getScripts __cb, Ice.Current __current) throws omero.ServerError
getScripts_async
in interface omero.api._IScriptOperations
__current
- ice context,omero.ServerError
- validation, api usage.public void getUserScripts_async(omero.api.AMD_IScript_getUserScripts __cb, List<omero.model.IObject> acceptsList, Ice.Current __current) throws omero.ServerError
getUserScripts_async
in interface omero.api._IScriptOperations
omero.ServerError
public void validateScript_async(omero.api.AMD_IScript_validateScript __cb, omero.model.Job j, List<omero.model.IObject> acceptsList, Ice.Current __current) throws omero.ServerError
validateScript_async
in interface omero.api._IScriptOperations
omero.ServerError
public void deleteScript_async(omero.api.AMD_IScript_deleteScript cb, long id, Ice.Current __current) throws omero.ServerError
deleteScript_async
in interface omero.api._IScriptOperations
id
- the id of the script to delete.omero.ServerError
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.