Interface RobotService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("robot")
public interface RobotService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Robot Service. This service gives all needed
 methods to handle robots.
- Since:
- 9.2
- Author:
- Marco Meschieri - LogicalDOC
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionAsks a question to the robotClones a robotvoidDeletes some robotsvoidenable(long robotId, boolean enable) Enables/Disabled a robotget(long robotId) Retrieves a robot from the data layervoidresetAvatar(long robotId) Resets the avatar to the default oneCreates or updates a robotvoidsaveAvatar(long robotId) Saves an uploaded image as the robot's avatar
- 
Method Details- 
deleteDeletes some robots- Parameters:
- robotIds- identifiers of the robots
- Throws:
- ServerException- an error happened in the server application
 
- 
saveCreates or updates a robot- Parameters:
- robot- the robot to save
- Returns:
- the saved sampler
- Throws:
- ServerException- an error happened in the server application
 
- 
getRetrieves a robot from the data layer- Parameters:
- robotId- identifier of the robot
- Returns:
- the sampler
- Throws:
- ServerException- an error happened in the server application
 
- 
cloneClones a robot- Parameters:
- robotId- Identifier of the robot to clone
- newName- The name to give to the clone
- Returns:
- The clone
- Throws:
- ServerException- an error happened in the server application
 
- 
enableEnables/Disabled a robot- Parameters:
- robotId- Identifier of the robot to change
- enable- The new enabled status
- Throws:
- ServerException- an error happened in the server application
 
- 
askAsks a question to the robot- Parameters:
- robotId- Identifier of the robot to ask
- question- The question to ask
- Throws:
- ServerException- an error happened in the server application
 
- 
saveAvatarSaves an uploaded image as the robot's avatar- Parameters:
- robotId- Identifier of the robot
- Throws:
- ServerException- error generated in the server application
 
- 
resetAvatarResets the avatar to the default one- Parameters:
- robotId- Identifier of the robot
- Throws:
- ServerException- error generated in the server application
 
 
-