Examples of Contact


Examples of spring3.form.Contact

     */
    @RequestMapping("/contacts")
    public ModelAndView showContacts() {
     
      ModelAndView mav =  new ModelAndView("contact");
    mav.addObject("contact",new Contact());
    return mav;
    }
View Full Code Here

Examples of voxo.common.entities.Contact

    if (u == null) {
      throw new RequestException(Messages.getString("ContactAddAction.ERR_UserNotFound")); //$NON-NLS-1$
    }

    // Check for existing contact
    Contact c = new Contact(null, u.getUserId(), cu.getUserId(), null);
    ArrayList<Contact> alc = ContactManager.searchContactAbsolute(c);
    if (alc.size() > 0) {
      new SendMessageAction(Messages.getString("ContactAddAction.AlreadySent"), u, EnumPacket.SERVER_Error); //$NON-NLS-1$
      throw new RequestException(Messages.getString("ContactAddAction.ERR_AlreadyContact")); //$NON-NLS-1$
    }

    // Add contact
    ContactManager.addContact(new Contact(null, u.getUserId(), cu.getUserId(), false));

    // Notify users
    new SendMessageAction(String.format(Messages.getString("ContactAddAction.ResponseTarget"), u.getUsername()), cu, EnumPacket.SERVER_Notice); //$NON-NLS-1$
    if(cu.getOnline() == true) {
      new SendContactListAction(cu);
View Full Code Here

Examples of wicket.contrib.phonebook.Contact

       * Contact details
       */
      @Override
      public void onClick() {
        setResponsePage(new EditContactPage(getPage(),
            new Model<Contact>(new Contact())));
      }
    });
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.