Interface ImportFolderService
-
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("importfolder") public interface ImportFolderService extends com.google.gwt.user.client.rpc.RemoteServiceThe client side stub for the ImportFolder Service. This service gives all needed methods to handle import folders.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classImportFolderService.Instance
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangeStatus(long id, boolean enabled)Changes a importFolder enabled/disabled statusvoiddelete(long id)Deletes a given import folderGUIImportFoldergetImportFolder(long id)Loads a given import folder from the databasevoidresetCache(long id)Cleans the cachevoidresetCounter(long id)Reset the import counterGUIImportFoldersave(GUIImportFolder importFolder)Creates or updates an import folderbooleantest(long id)Tests the connection to the given import folder
-
-
-
Method Detail
-
delete
void delete(long id) throws ServerExceptionDeletes a given import folder- Parameters:
id- identifier of the import folder- Throws:
ServerException- an error happened in the server application
-
save
GUIImportFolder save(GUIImportFolder importFolder) throws ServerException
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
GUIImportFolder getImportFolder(long id) throws ServerException
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
boolean test(long id) throws ServerExceptionTests 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
void changeStatus(long id, boolean enabled) throws ServerExceptionChanges 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
void resetCounter(long id) throws ServerExceptionReset the import counter- Parameters:
id- identifier of the import folder- Throws:
ServerException- an error happened in the server application
-
resetCache
void resetCache(long id) throws ServerExceptionCleans the cache- Parameters:
id- identifier of the import folder- Throws:
ServerException- an error happened in the server application
-
-