Package beans.profcheckup.entity

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


        super(details, al);
    }

    @Override
    protected ProfcheckupDetails getNewDetails() {
        return new ProfcheckupDetails();
    }
View Full Code Here

TOP

Related Classes of beans.profcheckup.entity.ProfcheckupDetails

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.