Examples of JaProfessionalExperience


Examples of org.jabusuite.address.employee.jobassignment.JaProfessionalExperience

    protected void addProfessionalExperience(ArrayList<HashMap> lines) {
        if (this.getJobAssignment().getProfessionalExperience()!=null) {
            Iterator<JaProfessionalExperience> it = this.getJobAssignment().getProfessionalExperience().iterator();
            while (it.hasNext()) {
                HashMap line = new HashMap();
                JaProfessionalExperience experience = it.next();
                line.put("jaDetail.groupName", JbsL10N.getString("JobApplication.professionalExperience"));
                if (experience.getDateFrom()!=null)
                    line.put("jaDetail.dateFrom",ClientGlobals.getDateFormat().format(experience.getDateFrom())+" - ");
                if (experience.getDateTo()!=null)
                    line.put("jaDetail.dateTo",ClientGlobals.getDateFormat().format(experience.getDateTo()));

                String hs=JbsL10N.getString("JobApplication.jobGroup")+": ";
                if (experience.getJobGroup()!=null)
                    hs = experience.getJobGroup().getName(ClientGlobals.getMainDbLanguage());
                if ((experience.getJobName()!=null) && (!experience.getJobName().equals("")))
                    hs+=" ("+experience.getJobName()+")";
                if ((experience.getCompanyName()!=null) && (!experience.getCompanyName().equals(""))) {
                    hs+="\n"+JbsL10N.getString("JobApplication.company")+": "+experience.getCompanyName();
                    if ((experience.getCity()!=null) && (!experience.getCity().equals("")))
                        hs+=", "+experience.getCity();
                }
                line.put("jaDetail.lineDetails",hs);
               
                lines.add(line);
            }
View Full Code Here

Examples of org.jabusuite.address.employee.jobassignment.JaProfessionalExperience

        return new ExperienceRow(this,data);
    }

    @Override
    protected JbsObject createDataObject() {
        return new JaProfessionalExperience();
    }
View Full Code Here

Examples of org.jabusuite.address.employee.jobassignment.JaProfessionalExperience

        //we have to fill the set manually.
        List<JaProfessionalExperience> professionalExperience = new ArrayList<JaProfessionalExperience>();
        if (this.getJaEntries()!=null) {
            Iterator<JbsObject> it = this.getJaEntries(true).iterator();
            while (it.hasNext()) {
                JaProfessionalExperience experience = (JaProfessionalExperience)it.next();
                experience.setJobAssignment(jobAssignment);
                professionalExperience.add(experience);
            }
        }
        return professionalExperience;
    }
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.