Examples of JaJob


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

    protected void addJobs(ArrayList<HashMap> lines) {
        if (this.getJobAssignment().getJobs()!=null) {
            Iterator<JaJob> it = this.getJobAssignment().getJobs().iterator();
            while (it.hasNext()) {
                HashMap line = new HashMap();
                JaJob job = it.next();
                line.put("jaDetail.groupName", JbsL10N.getString("JobApplication.career"));
                if (job.getDateFrom()!=null)
                    line.put("jaDetail.dateFrom",ClientGlobals.getDateFormat().format(job.getDateFrom()));
                if (job.getDateTo()!=null)
                    line.put("jaDetail.dateTo",ClientGlobals.getDateFormat().format(job.getDateTo()));
                String hs =JbsL10N.getString("JobApplication.jobGroup")+": ";
               
                if (job.getJobGroup()!=null)
                    hs += job.getJobGroup().getName(ClientGlobals.getMainDbLanguage());
                if ((job.getJobName()!=null) && (!job.getJobName().equals("")))
                    hs+=" ("+job.getJobName()+")";
                if ((job.getCompanyName()!=null) && (!job.getCompanyName().equals(""))) {
                    hs+="\n"+JbsL10N.getString("JobApplication.company")+": "+job.getCompanyName();
                    if ((job.getCity()!=null) && (!job.getCity().equals("")))
                        hs+=", "+job.getCity();
                }
                line.put("jaDetail.lineDetails",hs);
               
                lines.add(line);
            }
View Full Code Here

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

        return new JobRow(this,data);
    }

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

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

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