Interface SyndicationService
- 
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
 
 @RemoteServiceRelativePath("syndication") public interface SyndicationService extends com.google.gwt.user.client.rpc.RemoteServiceThe client side stub for the Syndication Service. This service gives all needed methods to handle the syndications.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classSyndicationService.Instance
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangeStatus(long id, boolean enabled)Changes a syndication enabled/disabled statusvoiddelete(long id)Deletes a given syndicationGUISyndicationgetSyndication(long id)Loads a given syndication from the databasevoidresetCache(long id)Cleans the cacheGUISyndicationsave(GUISyndication syndication)Creates or updates a syndicationbooleantest(long id)Test the connection to the given syndication
 
- 
- 
- 
Method Detail- 
deletevoid delete(long id) throws ServerExceptionDeletes a given syndication- Parameters:
- id- the syndication identifier
- Throws:
- ServerException- an error happened in the server application
 
 - 
saveGUISyndication save(GUISyndication syndication) throws ServerException Creates or updates a syndication- Parameters:
- syndication- the syndication to save
- Returns:
- the saved syndication
- Throws:
- ServerException- an error happened in the server application
 
 - 
getSyndicationGUISyndication getSyndication(long id) throws ServerException Loads a given syndication from the database- Parameters:
- id- identifier of the syndication
- Returns:
- the syndication retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
 - 
testboolean test(long id) throws ServerExceptionTest the connection to the given syndication- Parameters:
- id- identifier of the syndication
- Returns:
- if the remote server has been connected
- Throws:
- ServerException- an error happened in the server application
 
 - 
changeStatusvoid changeStatus(long id, boolean enabled) throws ServerExceptionChanges a syndication enabled/disabled status- Parameters:
- id- identifier of the syndication
- enabled- the new status of the syndication
- Throws:
- ServerException- an error happened in the server application
 
 - 
resetCachevoid resetCache(long id) throws ServerExceptionCleans the cache- Parameters:
- id- identifier of the syndication
- Throws:
- ServerException- an error happened in the server application
 
 
- 
 
-