Package beans.directory.dlodrugsection

Examples of beans.directory.dlodrugsection.DloDrugSectionDetails


                        changeList.put(pItem, title);
                    }
                    presentItems.remove(code);
                } else {
                    //Создать новый
                    DloDrugSectionDetails details = new DloDrugSectionDetails();
                    details.code = code;
                    details.number = number;
                    details.title = title;
                    details.subNumber = p_number;
                    details.subTitle = p_title;
View Full Code Here


     * Назначает код раздела
     * @throws ClipsException
     */
    public void setCode(int codethrows ClipsException {
       if(isInDirectory()) {
            DloDrugSectionDetails newDetails = getDetailsCopy();
            newDetails.code = code;
            saveDetails(newDetails);
        } else {
            getDetails().code = code;
        }
View Full Code Here

     * @param metric
     * @throws ClipsException
     */
    public void setNumber(int numberthrows ClipsException {
       if(isInDirectory()) {
            DloDrugSectionDetails newDetails = getDetailsCopy();
            newDetails.number = number;
            saveDetails(newDetails);
        } else {
            getDetails().number = number;
        }
View Full Code Here

     * @param metric
     * @throws ClipsException
     */
    public void setSubNumber(String subNumberthrows ClipsException {
       if(isInDirectory()) {
            DloDrugSectionDetails newDetails = getDetailsCopy();
            newDetails.subNumber = subNumber;
            saveDetails(newDetails);
        } else {
            getDetails().subNumber = subNumber;
        }
View Full Code Here

     * @param metric
     * @throws ClipsException
     */
    public void setSubTitle(String subTitlethrows ClipsException {
       if(isInDirectory()) {
            DloDrugSectionDetails newDetails = getDetailsCopy();
            newDetails.subTitle = subTitle;
            saveDetails(newDetails);
        } else {
            getDetails().subTitle = subTitle;
        }
View Full Code Here

        super(DirectoryDloDrugSectionBean.class.getSimpleName());
    }

    @Override
    protected DirectoryDloDrugSectionItem createFromLoadedDetails(DirectoryItemDetails details) {
        DloDrugSectionDetails d = (DloDrugSectionDetails) details;
        return new DirectoryDloDrugSectionItem(d);
    }
View Full Code Here

        return "Разделы перечня ЛС";
    }

    public DirectoryDloDrugSectionItem getItemByCode(int code) throws ClipsException {
        try {
            DloDrugSectionDetails det = getBean().get().getItemByCode(code);
            return new DirectoryDloDrugSectionItem(det);
        } catch (ClipsServerException ex) {
            throw new ClipsException("", ex);
        }
    }
View Full Code Here

TOP

Related Classes of beans.directory.dlodrugsection.DloDrugSectionDetails

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.