Examples of initByID()


Examples of beans.discount.card.DiscountCardBeanRemote.initByID()

        try {
            DiscountCardBeanRemote cardBeanRemote = getBean(DiscountCardBean.class);
            List list = findEntityList(checked, f);
            for (int i = 0; i < list.size(); i++) {
                DiscountCard discountCard = (DiscountCard) list.get(i);
                cardBeanRemote.initByID(discountCard.getId(), getSessionId());
                DiscountCardDetails details = (DiscountCardDetails) cardBeanRemote.getDetails();
                details.collaboratorBlockerID = getCollaboratorId();
                cardBeanRemote.update(details);
            }
        } catch (ClipsServerException ex) {
View Full Code Here

Examples of beans.doctor.diagnosis.DiagnosisBeanRemote.initByID()

        int mainDiagId = 0;
        for (DiagnosChunk dc : c.diagList) {
            //записываем диагнозы
            DiagnosisBeanRemote bean = getBean(DiagnosisBean.class);
            bean.initByID(0, getSessionId());
            DiagnosisDetails d = new DiagnosisDetails();
            d.author = null;              //Кто поставил (только если из др клиники)
            d.date = dc.dateDs;           //Дата постановки диагноза
            d.mkbID = dc.mkbID;           //диагноз по мкб
            if (dc.diagTypeID == 0) {
View Full Code Here

Examples of beans.profcheckup.ProfcheckupItemBeanRemote.initByID()

        //Ибо удаляя профосмотр никто не хочет чистить всё ручками
        List<ProfcheckupItem> items = findEntityList(ProfcheckupItem.class, f);
        if (items.size() > 0) {
            for (ProfcheckupItem profcheckupItem : items) {
                ProfcheckupItemBeanRemote bean = getBean(ProfcheckupItemBean.class);
                bean.initByID(profcheckupItem.getId(), getSessionId());
                bean.remove();
            }
        }
        if (getEntityCount(ServiceRender.class, f) > 0) {
            throw new EDataIntegrity("Заболевание содержит услуги, удаление невозможно");
View Full Code Here

Examples of framework.beans.report.ReportBeanRemote.initByID()

  }
 
  private JasperPrint buildReport(Map<String, Object> parameters) throws ClipsServerException, JRException{
    ReportBeanRemote      bean = getBean(ReportBean.class);
        DiseaseReport entity = getExistentEntity();
    bean.initByID(entity.getReport().getId(), getSessionId());
    return bean.getReport(parameters);
  }
}
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.