|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.blitz.impl.AbstractAmdServant
ome.services.blitz.impl.ScriptI
public class ScriptI
implementation of the IScript service interface.
ome.api.IScript
Field Summary | |
---|---|
protected ServiceFactoryI |
factory
|
protected ParamsHelper |
helper
|
protected ScriptRepoHelper |
scripts
|
Fields inherited from class ome.services.blitz.impl.AbstractAmdServant |
---|
be, ctx, invoker, service |
Constructor Summary | |
---|---|
ScriptI(BlitzExecutor be,
ScriptRepoHelper scripts)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant |
---|
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, close_async, close, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, preClose, runnableCall, safeRunnableCall, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ServiceFactoryI factory
protected ParamsHelper helper
protected final ScriptRepoHelper scripts
Constructor Detail |
---|
public ScriptI(BlitzExecutor be, ScriptRepoHelper scripts)
Method Detail |
---|
public void setServiceFactory(ServiceFactoryI sf) throws omero.ServerError
setServiceFactory
in interface ServiceFactoryAware
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 context
omero.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.