public void write(Mailbox mailbox, PersonalAttendant pa) {
   FileSystemProfileLocation location = new FileSystemProfileLocation();
   location.setParentDir(mailbox.getUserDirectory().getPath());
   String domain = m_coreContext.getDomainName();
   pa.generateVxmlProfile(location, domain, m_generator);
   pa.generatePropertiesProfile(location, domain, m_generator);
 }
 public final PersonalAttendant loadPersonalAttendantForUser(User user) {
   PersonalAttendant pa = findPersonalAttendant(user);
   if (pa == null) {
     pa = new PersonalAttendant();
     pa.setUser(user);
     getHibernateTemplate().save(pa);
   }
   return pa;
 }