Search in sources :

Example 6 with DataQueryVO

use of com.netsteadfast.greenstep.vo.DataQueryVO in project bamboobsc by billchen198318.

the class QueryDataAction method delete.

private void delete() throws ControllerException, AuthorityException, ServiceException, Exception {
    DataQueryVO dataQuery = new DataQueryVO();
    this.transformFields2ValueObject(dataQuery, new String[] { "oid" });
    DefaultResult<Boolean> result = this.dataQueryLogicService.delete(dataQuery);
    this.message = result.getSystemMessage().getValue();
    if (result.getValue() != null && result.getValue()) {
        this.success = IS_YES;
    }
}
Also used : DataQueryVO(com.netsteadfast.greenstep.vo.DataQueryVO)

Aggregations

DataQueryVO (com.netsteadfast.greenstep.vo.DataQueryVO)6 ServiceException (com.netsteadfast.greenstep.base.exception.ServiceException)2 DataSourceConfVO (com.netsteadfast.greenstep.vo.DataSourceConfVO)2 ServiceMethodAuthority (com.netsteadfast.greenstep.base.model.ServiceMethodAuthority)1 HashMap (java.util.HashMap)1 Transactional (org.springframework.transaction.annotation.Transactional)1