Package beans.profcheckup.entity

Examples of beans.profcheckup.entity.ProfcheckupItemDetails


     * @return идентификатор сущности
     */
    @Override
    protected void onUpdate(ProfcheckupItem entity, EntityDetails details,
            AuditDoc auditDoc, List<AuditDoc> auditDocList) throws ClipsServerException{
        ProfcheckupItemDetails d = (ProfcheckupItemDetails) details;
        if (d.dangerId != entity.getDanger().getId()){
            throw new EDataIntegrity("Запрещено менять назначенный опасный фактор!");
        }
        if (d.diseaseID != entity.getDisease().getId()){
            throw new EDataIntegrity("Запрещено подменять заболевание!");
View Full Code Here


//        serviceList1.set(new ArrayList<ServiceCheckupChunk>());
//    }

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

        if(isNewlyCreated()) {
            try {
                int iD = profcheckup.get().getID();
                //todo save by chunk --> saving
                TransportData transportData = getBean().createItem(new ProfcheckupItemChunk(getDetails().dangerId, getDetails().polisID, iD, serviceList1.get()));
                ProfcheckupItemDetails details = transportData.itemDetails;
                getDetails().dangerId = details.dangerId;
                getDetails().diseaseID =details.diseaseID;
                getDetails().id = details.id;
                getDetails().lightWorkTill = details.lightWorkTill;
                getDetails().passed = details.passed;
View Full Code Here

TOP

Related Classes of beans.profcheckup.entity.ProfcheckupItemDetails

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.