Examples of EmployerInfo


Examples of oasis.names.tc.wsrp.v1.types.EmployerInfo

     *
     * @param profile
     * @param context
     */
    protected void fill(UserProfile profile, UserContextExtension context) {
        profile.setEmployerInfo(new EmployerInfo());
        profile.setHomeInfo(new Contact());
        profile.setBusinessInfo(new Contact());
    }
View Full Code Here

Examples of oasis.names.tc.wsrp.v1.types.EmployerInfo

     *
     * @param profile
     * @param context
     */
    protected void fill(UserProfile profile, UserContextExtension context) {
        profile.setEmployerInfo(new EmployerInfo());
        profile.setHomeInfo(new Contact());
        profile.setBusinessInfo(new Contact());
    }
View Full Code Here

Examples of org.oasis.wsrp.v2.EmployerInfo

      return online;
   }

   public static EmployerInfo createEmployerInfo(String employer, String department, String jobTitle)
   {
      EmployerInfo employerInfo = new EmployerInfo();
      employerInfo.setEmployer(employer);
      employerInfo.setDepartment(department);
      employerInfo.setJobtitle(jobTitle);

      return employerInfo;
   }
View Full Code Here

Examples of org.oasis.wsrp.v2.EmployerInfo

      if (v1UserProfile != null)
      {
         PersonName name = toV2PersonName(v1UserProfile.getName());
         XMLGregorianCalendar bdate = v1UserProfile.getBdate();
         String gender = v1UserProfile.getGender();
         EmployerInfo employerInfo = toV2EmployerInfo(v1UserProfile.getEmployerInfo());
         Contact homeInfo = toV2Context(v1UserProfile.getHomeInfo());
         Contact businessInfo = toV2Context(v1UserProfile.getBusinessInfo());
         UserProfile userProfile = WSRPTypeFactory.createUserProfile(name, bdate, gender, employerInfo, homeInfo, businessInfo);

         return userProfile;
View Full Code Here

Examples of org.oasis.wsrp.v2.EmployerInfo

      if (v1EmployerInfo != null)
      {
         String employer = v1EmployerInfo.getEmployer();
         String department = v1EmployerInfo.getEmployer();
         String jobTitle = v1EmployerInfo.getJobtitle();
         EmployerInfo employerInfo = WSRPTypeFactory.createEmployerInfo(employer, department, jobTitle);

         List<V1Extension> extensions = v1EmployerInfo.getExtensions();
         if (extensions != null)
         {
            employerInfo.getExtensions().addAll(WSRPUtils.transform(extensions, EXTENSION));
         }

         return employerInfo;
      }
      else
View Full Code Here

Examples of org.oasis.wsrp.v2.EmployerInfo

      }

      String employer = userInfos.get(INFO_USER_EMPLOYER);
      String department = userInfos.get(INFO_USER_DEPARTMENT);
      String jobTitle = userInfos.get(INFO_USER_JOB_TITLE);
      EmployerInfo employerInfo = WSRPTypeFactory.createEmployerInfo(employer, department, jobTitle);

      Contact homeInfo = createContactFrom(userInfos, false);
      Contact businessInfo = createContactFrom(userInfos, true);
      UserProfile userProfile = WSRPTypeFactory.createUserProfile(name, bdate, userInfos.get(INFO_USER_GENDER), employerInfo, homeInfo, businessInfo);
View Full Code Here

Examples of org.oasis.wsrp.v2.EmployerInfo

               populateContactInfo(profile.getBusinessInfo(), true);

               populateContactInfo(profile.getHomeInfo(), false);

               EmployerInfo employerInfo = profile.getEmployerInfo();
               if (employerInfo != null)
               {
                  infos.put(INFO_USER_DEPARTMENT, employerInfo.getDepartment());
                  infos.put(INFO_USER_EMPLOYER, employerInfo.getEmployer());
                  infos.put(INFO_USER_JOB_TITLE, employerInfo.getJobtitle());
               }
            }

            String key = userContext.getUserContextKey();
            if (key == null)
View Full Code Here

Examples of org.oasis.wsrp.v2.EmployerInfo

      return online;
   }

   public static EmployerInfo createEmployerInfo(String employer, String department, String jobTitle)
   {
      EmployerInfo employerInfo = new EmployerInfo();
      employerInfo.setEmployer(employer);
      employerInfo.setDepartment(department);
      employerInfo.setJobtitle(jobTitle);

      return employerInfo;
   }
View Full Code Here

Examples of org.oasis.wsrp.v2.EmployerInfo

      }

      String employer = userInfos.get(INFO_USER_EMPLOYER);
      String department = userInfos.get(INFO_USER_DEPARTMENT);
      String jobTitle = userInfos.get(INFO_USER_JOB_TITLE);
      EmployerInfo employerInfo = WSRPTypeFactory.createEmployerInfo(employer, department, jobTitle);

      Contact homeInfo = createContactFrom(userInfos, false);
      Contact businessInfo = createContactFrom(userInfos, true);
      UserProfile userProfile = WSRPTypeFactory.createUserProfile(name, bdate, userInfos.get(INFO_USER_GENDER), employerInfo, homeInfo, businessInfo);
View Full Code Here

Examples of org.oasis.wsrp.v2.EmployerInfo

               populateContactInfo(profile.getBusinessInfo(), true);

               populateContactInfo(profile.getHomeInfo(), false);

               EmployerInfo employerInfo = profile.getEmployerInfo();
               if (employerInfo != null)
               {
                  infos.put(INFO_USER_DEPARTMENT, employerInfo.getDepartment());
                  infos.put(INFO_USER_EMPLOYER, employerInfo.getEmployer());
                  infos.put(INFO_USER_JOB_TITLE, employerInfo.getJobtitle());
               }
            }

            String key = userContext.getUserContextKey();
            if (key == null)
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.