Package clips.delegate.directory.filtered

Examples of clips.delegate.directory.filtered.DirectoryMatter


        this.contraindicationLocal = cl;

        chooserDate.setDate(contraindicationLocal.getDate());

        //подготовка комбобокса
        DirectoryMatter directory = DirectoryLocator.getDirectory(DirectoryMatter.class, false);
    FilteredComboBoxModel  model = new FilteredComboBoxModel(cbMatter, new FilteredComboBoxModel.MaskChecker(), false) {

      @Override
      public Object addItem(String txt) {
        throw new UnsupportedOperationException("Not supported yet.");
View Full Code Here


        getDetails().date = date;
        fireContentStateEvent();
    }

    public DirectoryMatterItem getMatter() throws ClipsException {        
        DirectoryMatter matterList = (DirectoryMatter) DirectoryLocator.getDirectory(DirectoryMatter.class, false);
        return matterList.getItemFromID(getDetails().matter);
    }
View Full Code Here

            throw new ClipsException("Не удалось назначить услугу", ex);
        }
    }

    public boolean isVidalBad(DirectoryVidalItem vidal) throws ClipsException{
        DirectoryMatter directoryMatter = DirectoryLocator.getDirectory(DirectoryMatter.class, false);

        List<ContraindicationLocal> contraList = getContraindicationList();
        Set<Integer> matterIDSet = new HashSet<Integer>();
        for (int i = 0; i < contraList.size(); i++) {
            matterIDSet.add(contraList.get(i).getMatter().getID());
        }
        HashMap<DirectoryVidalItem, SelectorEditableExceptional<DirectoryMatterItem>> mapFiltered;
        mapFiltered = new HashMap<DirectoryVidalItem, SelectorEditableExceptional<DirectoryMatterItem>>();

       
        SelectorEditableExceptional<DirectoryMatterItem> s;
        if (mapFiltered.get(vidal) == null) {
            s = directoryMatter.getFilteredItems(vidal);
            mapFiltered.put(vidal,s);
        } else {
            s = mapFiltered.get(vidal);
        }
        boolean contraFounded = false;
View Full Code Here

TOP

Related Classes of clips.delegate.directory.filtered.DirectoryMatter

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.