public class RoundtripService extends AbstractRestService
list,
get,
create andupdate methods as well as some utilities to the cycle client application.
The arrangement of methods is compatible with angular JS
$resource.| Constructor and Description |
|---|
RoundtripService() |
| Modifier and Type | Method and Description |
|---|---|
RoundtripDTO |
create(long roundtripId,
String diagramLabel,
Roundtrip.SyncMode syncMode,
String modeler,
Long connectorId,
String parentFolderId,
String message) |
RoundtripDTO |
create(RoundtripDTO data) |
void |
delete(long id) |
SynchronizationResultDTO |
doSynchronize(Roundtrip.SyncMode syncMode,
long roundtripId,
String message) |
RoundtripDTO |
get(long id) |
RoundtripDTO |
getDetails(long id) |
boolean |
isNameAvailable(String name) |
List<RoundtripDTO> |
list() |
RoundtripDTO |
update(RoundtripDTO data) |
RoundtripDTO |
updateDetails(RoundtripDTO data) |
badRequest, internalServerError, notAllowed, notFound, redirectTopublic List<RoundtripDTO> list()
public RoundtripDTO get(long id)
@Transactional public RoundtripDTO update(RoundtripDTO data)
public RoundtripDTO create(RoundtripDTO data)
@Transactional public void delete(long id)
@Transactional public RoundtripDTO getDetails(long id)
@Transactional public RoundtripDTO updateDetails(RoundtripDTO data)
public boolean isNameAvailable(String name)
@Transactional public SynchronizationResultDTO doSynchronize(Roundtrip.SyncMode syncMode, long roundtripId, String message)
@Transactional public RoundtripDTO create(long roundtripId, String diagramLabel, Roundtrip.SyncMode syncMode, String modeler, Long connectorId, String parentFolderId, String message)
Copyright © 2015. All rights reserved.