Package org.libreplan.ws.common.api

Examples of org.libreplan.ws.common.api.ErrorDTO


        try {
            OrderElement orderElement = orderElementDAO.findByCode(code);
            String errorMessage = checkRemovalValidation(orderElement);
            if (errorMessage != null) {
                return Response.status(Status.FORBIDDEN)
                        .entity(new ErrorDTO(errorMessage)).build();
            }

            if (orderElement.isOrder()) {
                orderModel.remove((Order) orderElement);
            } else {
View Full Code Here

TOP

Related Classes of org.libreplan.ws.common.api.ErrorDTO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.