Package beans.profcheckup

Examples of beans.profcheckup.ProfcheckupItemBeanRemote


        Field f[] = {new Field("disease", entity)};
        //Ибо удаляя профосмотр никто не хочет чистить всё ручками
        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

TOP

Related Classes of beans.profcheckup.ProfcheckupItemBeanRemote

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.