Package clips.delegate.directory.simple.representativeStatus

Examples of clips.delegate.directory.simple.representativeStatus.DirectoryRepresentativeStatusItem


        cbRepresStatus.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                try {
                    DirectoryRepresentativeStatusItem item =
                        (DirectoryRepresentativeStatusItem) cbRepresStatus.getSelectedItem();
                    clientLocal.setRepresStatus(item);
                    if (item.getID() == 0) {
                        clientLocal.setRepresentative(null);
                        editRepresentative.setText("");
                        cbRepresStatus.setEnabled(clientLocal.getRepresentative() != null);
                    }
                } catch (ClipsException ex) {
View Full Code Here


                if (representative != null) {
                    editRepresentative.setText(representative.getSurname() + " " +
                            representative.getName() +
                            " " + representative.getPathron());
                } else {
                    DirectoryRepresentativeStatusItem item = dir.getNullItem();
                    clientLocal.setRepresStatus(item);
                    cbRepresStatus.setSelectedItem(item);

                    editRepresentative.setText("");
                }
View Full Code Here

        if (representative != null) {
            data.put("representative_surname", representative.getSurname().getTitle());
            data.put("representative_name", representative.getName().getTitle());
            data.put("representative_patron", representative.getPathron().getTitle());
            data.put("is_representative_document", Boolean.TRUE);
            DirectoryRepresentativeStatusItem item = client.getRepresStatus();
            if (item != null) {
                data.put("representative_status", item.getID());
            }

            doc = representative.getClientDocument();
            polis = representative.getPolisOMS();
        }
View Full Code Here

TOP

Related Classes of clips.delegate.directory.simple.representativeStatus.DirectoryRepresentativeStatusItem

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.