|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.bejug.javacareers.jobs.view.jsf.model.MailBean
| Constructor Summary | |
MailBean()
|
|
| Method Summary | |
java.util.List |
getJobsPostedInLast24Hours()
Get the list of jobs posted in the last 24 hours. |
java.util.List |
getJobsPostedSince(java.util.Date date)
Get the jobs posted since a particular date. |
org.bejug.javacareers.common.search.SearchCriteriaFactory |
getSearchCriteriaFactory()
|
javax.servlet.ServletContext |
getServletContext()
|
TemplateUtilities |
getTemplateUtilities()
|
void |
sendJobDigestMailToUsers()
Send an email to all users who subscribed to the regular job digest mailing. |
void |
sendJobMailToFriend(org.bejug.javacareers.jobs.model.User user,
org.bejug.javacareers.jobs.model.JobOffer job,
java.lang.String friendsName,
java.lang.String friendsEmail,
java.lang.String page)
Send an email containing the details of the job offer to the original poster of the job offer. |
void |
sendPasswordToUser(org.bejug.javacareers.jobs.model.User user,
java.lang.String password)
Send an email containing a new password to the specified user. |
void |
sendPostJobMailNotification(org.bejug.javacareers.jobs.model.User user,
org.bejug.javacareers.jobs.model.JobOffer job)
Send an email containing the details of the job offer to the original poster of the job offer. |
void |
setAdminService(org.bejug.javacareers.jobs.service.AdminService adminService)
|
void |
setConfig(org.bejug.javacareers.project.properties.JavaCareersConfig config)
|
void |
setMailService(org.bejug.javacareers.jobs.service.MailService mailService)
|
void |
setSearchCriteriaFactory(org.bejug.javacareers.common.search.SearchCriteriaFactory searchCriteriaFactory)
|
void |
setSearchCriteriaService(org.bejug.javacareers.common.search.SearchCriteriaService searchCriteriaService)
|
void |
setServletContext(javax.servlet.ServletContext servletContext)
sets the servletcontext. |
void |
setTemplateUtilities(TemplateUtilities templateUtilities)
|
void |
setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MailBean()
| Method Detail |
public java.util.List getJobsPostedSince(java.util.Date date)
date - get jobs posted later than this date.
public java.util.List getJobsPostedInLast24Hours()
public void sendPostJobMailNotification(org.bejug.javacareers.jobs.model.User user,
org.bejug.javacareers.jobs.model.JobOffer job)
user - the user to send mail to.job - the job offer to mail.
public void sendJobMailToFriend(org.bejug.javacareers.jobs.model.User user,
org.bejug.javacareers.jobs.model.JobOffer job,
java.lang.String friendsName,
java.lang.String friendsEmail,
java.lang.String page)
user - the user to send mail to.job - the job offer to mail.friendsName - a String containing the name of the friend.friendsEmail - a String containing the mailaddress of the friend.page - a String containing the page to send.public void sendJobDigestMailToUsers()
public void sendPasswordToUser(org.bejug.javacareers.jobs.model.User user,
java.lang.String password)
user - the user to send an email to.password - the user's new password.public void setSearchCriteriaService(org.bejug.javacareers.common.search.SearchCriteriaService searchCriteriaService)
searchCriteriaService - The searchCriteriaService to set.public void setVelocityEngine(org.apache.velocity.app.VelocityEngine velocityEngine)
velocityEngine - The velocityEngine to set.public void setAdminService(org.bejug.javacareers.jobs.service.AdminService adminService)
adminService - The adminService to set.public void setMailService(org.bejug.javacareers.jobs.service.MailService mailService)
mailService - The mailService to set.public void setConfig(org.bejug.javacareers.project.properties.JavaCareersConfig config)
config - The config to set.public org.bejug.javacareers.common.search.SearchCriteriaFactory getSearchCriteriaFactory()
public TemplateUtilities getTemplateUtilities()
public void setTemplateUtilities(TemplateUtilities templateUtilities)
templateUtilities - the utilities to set.public void setSearchCriteriaFactory(org.bejug.javacareers.common.search.SearchCriteriaFactory searchCriteriaFactory)
searchCriteriaFactory - the searchCriteriaFactory to set.public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAwareservletContext - the context to set.public javax.servlet.ServletContext getServletContext()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||