@Path(value="/sync") public class SyncServiceImpl extends java.lang.Object implements SyncService
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
SyncServiceImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<SyncClient> |
getClients() |
java.util.List<SyncServer> |
getServers() |
void |
persistClient(SyncClient syncClient) |
void |
persistServer(SyncServer syncServer) |
void |
setPicMan(PicManFacade pmf)
Set the reference to the PicMan API.
|
public void setPicMan(PicManFacade pmf)
pmf
- The PicManFacade@Path(value="/servers") public java.util.List<SyncServer> getServers()
getServers
in interface SyncService
@Path(value="/persist/server") public void persistServer(SyncServer syncServer)
persistServer
in interface SyncService
@Path(value="/clients") public java.util.List<SyncClient> getClients()
getClients
in interface SyncService
@Path(value="/persist/client") public void persistClient(SyncClient syncClient)
persistClient
in interface SyncService