org.geomajas.command.feature
Class PersistTransactionCommand
java.lang.Object
org.geomajas.command.feature.PersistTransactionCommand
- All Implemented Interfaces:
- Command<PersistTransactionRequest,PersistTransactionResponse>
@Api
@Component
@Transactional(rollbackFor=java.lang.Exception.class)
public class PersistTransactionCommand
- extends Object
- implements Command<PersistTransactionRequest,PersistTransactionResponse>
A securityException will fail all, not just the feature(s) which are not allowed.
- Since:
- 1.6.0
- Author:
- Jan De Moerloose, Pieter De Graef, Joachim Van der Auwera
PersistTransactionCommand
public PersistTransactionCommand()
getEmptyCommandResponse
public PersistTransactionResponse getEmptyCommandResponse()
- Specified by:
getEmptyCommandResponse in interface Command<PersistTransactionRequest,PersistTransactionResponse>
execute
public void execute(PersistTransactionRequest request,
PersistTransactionResponse response)
throws Exception
- Specified by:
execute in interface Command<PersistTransactionRequest,PersistTransactionResponse>
- Throws:
Exception
Copyright © 2014 Geosparc. All Rights Reserved.