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 SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidchangeStatus(long id, boolean enabled) Changes a importFolder enabled/disabled statusclone(long id) Clones a given import foldervoiddelete(long id) Deletes a given import folderget(long id) Loads a given import folder from the databasevoidresetCache(long id) Cleans the cachevoidresetCounter(long id) Reset the import countersave(GUIImportFolder importFolder) Creates or updates an import folderbooleantest(long id) Tests the connection to the given import folder
- 
Method Details- 
deleteDeletes a given import folder- Parameters:
- id- identifier of the import folder
- Throws:
- ServerException- an error happened in the server application
 
- 
saveCreates 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
 
- 
getLoads 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
 
- 
testTests 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
 
- 
changeStatusChanges a importFolder enabled/disabled status- Parameters:
- id- identifier of the import folder
- enabled- flag to enable / disable the import folder
- Throws:
- ServerException- an error happened in the server application
 
- 
resetCounterReset the import counter- Parameters:
- id- identifier of the import folder
- Throws:
- ServerException- an error happened in the server application
 
- 
resetCacheCleans the cache- Parameters:
- id- identifier of the import folder
- Throws:
- ServerException- an error happened in the server application
 
- 
cloneClones a given import folder- Parameters:
- id- Identifier of the original import folder to clone
- Returns:
- The created clone
- Throws:
- ServerException- an error happened in the server application
 
 
-