Package beans.doctor.sicklist.entity

Examples of beans.doctor.sicklist.entity.SickLongDetails


                    //Указаны поля по уходу
                    s.disabID = DisabilityType.DISABILITY_TYPE_DISEATED_SUPPORT;
                }
                s.openerID = cfc.getCollaborator().getID();
                s.dateOpen = sstData.blBeg;
                SickLongDetails sld = new SickLongDetails();
                sld.collID = cfc.getCollaborator().getID();
                sld.date = sstData.blEnd;
                sld.serrenID = diag.serviceRenderID;
                s.sickLongList = new ArrayList<SickLongDetails>();
                s.sickLongList.add(sld);
View Full Code Here


        //Проверка - все ли старые записи находятся в новых
        if (!newList.containsAll(oldList)) {
            throw new EDataIntegrity("Запрещено изменять существующие продления больничного");
        }
        for (int i = 0; i < newList.size(); i++) {
            SickLongDetails sickLongDetails = newList.get(i);
            if (!oldList.contains(sickLongDetails)) {
        GregorianCalendar      calendar = new GregorianCalendar();
        calendar.setTime(sickLongDetails.date);
        calendar.add(GregorianCalendar.DAY_OF_MONTH, -1);
        Date      compareDate = calendar.getTime();
View Full Code Here

        getDetails().dateToWork = DateTimeUtils.getDateOnly(dateToWork.getTime());
        fireContentStateEvent();
    }
   
    public void prolongate(Calendar dateTill, SerRenLocal serRenLocal) throws ClipsException {
        SickLongDetails sld  = new SickLongDetails();
        sld.collID = UserInfo.get().getCollaborator().getID();
        sld.date = DateTimeUtils.getDateOnly(dateTill.getTime());
        sld.serrenID = serRenLocal.getID();
        getDetails().sickLongList.add(sld);
        serrenCache.clearCache();
View Full Code Here

TOP

Related Classes of beans.doctor.sicklist.entity.SickLongDetails

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.