Package org.libreplan.ws.common.api

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


    public static InstanceConstraintViolationsDTOId
        generateInstanceConstraintViolationsDTOId(Long numItem,
             IntegrationEntityDTO integrationEntityDTO) {

        return new InstanceConstraintViolationsDTOId(numItem,
            integrationEntityDTO.code,
            integrationEntityDTO.getEntityType());

    }
View Full Code Here


                            return null;
                        }
                    });
        } catch (ValidationException e) {
            InstanceConstraintViolationsDTO violation = ConstraintViolationConverter
                    .toDTO(new InstanceConstraintViolationsDTOId(Long.valueOf(1),
                            updateDeliveringDateDTO.externalCompanyNif, OrderDTO.ENTITY_TYPE), e);
            throw new ViolationError(violation);
        }
    }
View Full Code Here

                            return null;
                        }
                    });
        } catch (ValidationException e) {
            InstanceConstraintViolationsDTO violation = ConstraintViolationConverter
                    .toDTO(new InstanceConstraintViolationsDTOId(Long.valueOf(1),
                            orderElementDTO.code, OrderDTO.ENTITY_TYPE), e);
            throw new ViolationError(violation);
        }
    }
View Full Code Here

TOP

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

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.