Examples of ProfcheckupDetails


Examples of beans.profcheckup.entity.ProfcheckupDetails

    @Override
    protected void onUpdate(Profcheckup entity, EntityDetails details,
            AuditDoc auditDoc, List<AuditDoc> auditDocList) throws ClipsServerException{
        // TODO - Можно редактировать! Но надо додумать
//        throw new EDataIntegrity("Прямое редактирование профосмотров запрещено");
        ProfcheckupDetails d = (ProfcheckupDetails) details;
        if (d.dateFrom.after(d.dateTill)){
            throw new EDataIntegrity("Время окончания профосмотра не может быть меньше времени его начала");
        }

        entity.setDatefrom(d.dateFrom);
View Full Code Here

Examples of beans.profcheckup.entity.ProfcheckupDetails

        super(details, al);
    }

    @Override
    protected ProfcheckupDetails getNewDetails() {
        return new ProfcheckupDetails();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.