Package beans.directory.dlodruglist

Examples of beans.directory.dlodruglist.DloDrugListDetails


     * Назначает признак "Входит в список ЖНВЛС"
     * @throws ClipsException
     */
    public void setVital(boolean vitalthrows ClipsException {
       if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.vital = vital;
            saveDetails(newDetails);
        } else {
            getDetails().vital = vital;
        }
View Full Code Here


     * Назначает признак "Запрещен к отпуску"
     * @throws ClipsException
     */
    public void setForbidden(boolean forbiddenthrows ClipsException {
       if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.forbidden = forbidden;
            saveDetails(newDetails);
        } else {
            getDetails().forbidden = forbidden;
        }
View Full Code Here

     * Назначает дату включения в перечень
     * @throws ClipsException
     */
    public void setDateIn(Date dateInthrows ClipsException {
       if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.dateIn = dateIn;
            saveDetails(newDetails);
        } else {
            getDetails().dateIn = dateIn;
        }
View Full Code Here

     * Назначает дату исключения из перечня
     * @throws ClipsException
     */
    public void setDateOut(Date dateOutthrows ClipsException {
       if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.dateOut = dateOut;
            saveDetails(newDetails);
        } else {
            getDetails().dateOut = dateOut;
        }
View Full Code Here

     * Назначает примечание
     * @throws ClipsException
     */
    public void setMsg(String msgthrows ClipsException {
       if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.msg = msg;
            saveDetails(newDetails);
        } else {
            getDetails().msg = msg;
        }
View Full Code Here

        return dir.getItemFromID(getDetails().sectionId);
    }

    public void setSection(DirectoryDloDrugSectionItem item) throws ClipsException {
        if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.sectionId = item.getID();
            saveDetails(newDetails);
        } else {
            getDetails().sectionId = item.getID();
        }
View Full Code Here

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

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

TOP

Related Classes of beans.directory.dlodruglist.DloDrugListDetails

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.