Package org.spw.controller

Examples of org.spw.controller.ContactController


   
    @Override
    protected void setUp() throws Exception {
        super.setUp();
        comCtrl = new CommunicationController();
        contactCtrl = new ContactController();
        testContact = new Contact();
        testContact.setFirstName(getName());
        contactCtrl.create(testContact);
        //Action completed with a participant
        completedWithContact = new Communication();
View Full Code Here


            this.document.setDocumentLink(justFileName);
            this.document.setTitle(doc);
            this.document.setDocumentType(uploadedFileType);
            this.document = new DocumentController().update(this.document);
            getContact().getDocumentLinks().add(this.document);
            new ContactController().update(
                    getContact());
            title.setText("");
           
        } catch (Exception ex) {
            error("Cannot upload file: " + uploadedFile.getOriginalName() + " to " +
View Full Code Here

       
        return null;
    }

    private void removeDocument(final Document document) {
        new ContactController().removeDocument(document);
        list.refreshListContact();
    }
View Full Code Here

       
        return null;
    }

    void deleteDonation(final Donation donation) {
        new ContactController().removeDonation(donation);
    }
View Full Code Here

TOP

Related Classes of org.spw.controller.ContactController

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.