Package beans.user.collaborator.entities

Examples of beans.user.collaborator.entities.CollaboratorFunctionsDetails


    public DialogNewFunction(Frame parent, CollaboratorLocal collaborator) throws ClipsException {
        super(parent, "Исполняемая обязанность", null);
        initComponents();
        this.collaborator = collaborator;
        chunkDetails = new CollaboratorFunctionsDetails();
        chunkDetails.collaboratorID  = collaborator.getID();
        SelectorEditable<CollaboratorFunctionsChunk> functions = collaborator.getFunctions();
        for (int i=0; i<functions.size(); i++){
            collabChunks.add(functions.get(i));
        }
View Full Code Here


            } else {
                System.out.println("Найден " + i + " " + collab + " ID = " + collab.getID());
            }
            CollaboratorFunctionsChunk collFunc = findFunc(collab, cd.specID, cd.receptionTypeID, cd.dvrID, cd.vmuID);
            if (collFunc == null) {
                CollaboratorFunctionsDetails d = new CollaboratorFunctionsDetails();
                d.collaboratorID = collab.getID();
                d.dvrID = cd.dvrID;
                d.firstMedicalAidID = cd.vmuID;
                d.receptionTypeID = cd.receptionTypeID;
                d.specialityID = cd.specID;
View Full Code Here

                    return foundedByExtKey;
                }
            }
            if (foundedByExtKey != null) {
                //По внешнему ключу нашли, по типу первичной помощи надо создать
                CollaboratorFunctionsDetails d = new CollaboratorFunctionsDetails();
                d.collaboratorID = collab.getID();
                d.dvrID = foundedByExtKey.getDvr().getID();
                d.firstMedicalAidID = dirVmu.getItemFromExtKey(vmu).getID();
                d.receptionTypeID = foundedByExtKey.getReceptionType().getID();
                d.specialityID = foundedByExtKey.getSpeciality().getID();
View Full Code Here

        @Override
        protected void loadDB() throws Exception {
            if (!isNewlyCreated()){
                Iterator<CollaboratorFunctionsDetails> it = getBean().getFunctions().iterator();
                while (it.hasNext()) {
                    CollaboratorFunctionsDetails details = it.next();
                    CollaboratorFunctionsChunk chunk = new CollaboratorFunctionsChunk(CollaboratorLocal.this, details);
                    initByDetails(chunk);
                }
            }
        }
View Full Code Here

                                        implements Comparable<CollaboratorFunctionsChunk>{

    private CollaboratorLocal collaborator;

    public CollaboratorFunctionsChunk (CollaboratorLocal collaborator){
        super(new CollaboratorFunctionsDetails());
        this.collaborator = collaborator;
    }
View Full Code Here

TOP

Related Classes of beans.user.collaborator.entities.CollaboratorFunctionsDetails

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.