Geomajas, Geomajas server: Main - commands 1.15.1

org.geomajas.command.feature
Class PersistTransactionCommand

java.lang.Object
  extended by 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

Constructor Summary
PersistTransactionCommand()
           
 
Method Summary
 void execute(PersistTransactionRequest request, PersistTransactionResponse response)
           
 PersistTransactionResponse getEmptyCommandResponse()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistTransactionCommand

public PersistTransactionCommand()
Method Detail

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

Geomajas, Geomajas server: Main - commands 1.15.1

Copyright © 2014 Geosparc. All Rights Reserved.