Interface ImportFolderService
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("importfolder")
public interface ImportFolderService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the ImportFolder Service. This service gives all
needed methods to handle import folders.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeStatus
(long id, boolean enabled) Changes a importFolder enabled/disabled statusvoid
delete
(long id) Deletes a given import foldergetImportFolder
(long id) Loads a given import folder from the databasevoid
resetCache
(long id) Cleans the cachevoid
resetCounter
(long id) Reset the import countersave
(GUIImportFolder importFolder) Creates or updates an import folderboolean
test
(long id) Tests the connection to the given import folder
-
Method Details
-
delete
Deletes a given import folder- Parameters:
id
- identifier of the import folder- Throws:
ServerException
- an error happened in the server application
-
save
Creates or updates an import folder- Parameters:
importFolder
- the import folder to save- Returns:
- the saved import folder
- Throws:
ServerException
- an error happened in the server application
-
getImportFolder
Loads a given import folder from the database- Parameters:
id
- identifier of the import folder- Returns:
- the import folder retrieved by the server application
- Throws:
ServerException
- an error happened in the server application
-
test
Tests the connection to the given import folder- Parameters:
id
- identifier of the import folder- Returns:
- if the import folder has been connected and able to work
- Throws:
ServerException
- an error happened in the server application
-
changeStatus
Changes a importFolder enabled/disabled status- Parameters:
id
- identifier of the import folderenabled
- flag to enable / disable the import folder- Throws:
ServerException
- an error happened in the server application
-
resetCounter
Reset the import counter- Parameters:
id
- identifier of the import folder- Throws:
ServerException
- an error happened in the server application
-
resetCache
Cleans the cache- Parameters:
id
- identifier of the import folder- Throws:
ServerException
- an error happened in the server application
-