|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.bejug.javacareers.jobs.view.jsf.action.BaseAction
org.bejug.javacareers.jobs.view.jsf.action.ItemAction
The Job Action class.
| Field Summary | |
static java.lang.String |
LINES_PER_PAGE
|
static java.lang.String |
SHOW_ALL_ITEMS
|
| Fields inherited from class org.bejug.javacareers.jobs.view.jsf.action.BaseAction |
outcome, searchCriteriaFactory, searchCriteriaService, token, TOKEN_KEY, TRANSACTION_TOKEN_KEY |
| Constructor Summary | |
ItemAction()
|
|
| Method Summary | |
void |
approveCurrentItem(javax.faces.event.ActionEvent actionEvent)
|
void |
approveItem(javax.faces.event.ActionEvent actionEvent)
|
java.lang.String |
cancelDelete()
cancel the Delete |
void |
confirmDelete(javax.faces.event.ActionEvent actionEvent)
|
void |
confirmDeleteCurrentItem(javax.faces.event.ActionEvent actionEvent)
|
void |
deleteItem(javax.faces.event.ActionEvent actionEvent)
Delete the current Item |
org.bejug.javacareers.project.properties.JavaCareersConfig |
getConfig()
|
java.lang.String |
getCurrentFilter()
|
java.lang.String |
getImage()
|
java.lang.String |
getItemCount()
Gets the number of items |
ItemFileRemover |
getItemFileRemover()
|
java.util.List |
getItemSpinnerList()
|
javax.faces.component.UIData |
getItemTable()
|
org.bejug.javacareers.jobs.model.Item |
getItemToDelete()
|
int |
getLinesPerPage()
|
java.lang.String |
getTokenKey()
A getter method to be able to acces this variable from within jsf |
java.lang.String |
getUnApprovedItemCount()
|
boolean |
isDeletePressed()
|
boolean |
isFirst()
|
boolean |
isJobOffer()
|
boolean |
isLast()
|
boolean |
isOffer()
|
boolean |
isUnApprovedItems()
|
void |
listItems(javax.faces.event.ActionEvent actionEvent)
List all open Items |
void |
listUnApprovedItems(javax.faces.event.ActionEvent actionEvent)
List all open Items |
void |
setBindingList(ItemValueBindingList bindingList)
|
void |
setConfig(org.bejug.javacareers.project.properties.JavaCareersConfig config)
|
void |
setDeletePressed(boolean deletePressed)
|
void |
setDisplayFilter(javax.faces.event.ValueChangeEvent event)
|
void |
setItemFileRemover(ItemFileRemover itemFileRemover)
|
void |
setItemService(org.bejug.javacareers.common.service.ItemService itemService)
Set Job Service via Springs IoC injection. |
void |
setItemTable(javax.faces.component.UIData itemTable)
|
void |
setItemToDelete(org.bejug.javacareers.jobs.model.Item itemToDelete)
|
void |
setLinesPerPage(javax.faces.event.ValueChangeEvent event)
|
void |
setUnApprovedItems(boolean approvedItems)
|
java.lang.String |
showItem()
Store the item requested to be displayed on session scope so it can be picked up by the next page. |
void |
showNextItem(javax.faces.event.ActionEvent actionEvent)
|
void |
showPreviousItem(javax.faces.event.ActionEvent actionEvent)
|
| Methods inherited from class org.bejug.javacareers.jobs.view.jsf.action.BaseAction |
doOutcome, generateToken, getSearchCriteriaFactory, getSearchCriteriaService, getToken, isTokenValid, saveToken, setSearchCriteriaFactory, setSearchCriteriaService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String LINES_PER_PAGE
public static final java.lang.String SHOW_ALL_ITEMS
| Constructor Detail |
public ItemAction()
| Method Detail |
public void setItemService(org.bejug.javacareers.common.service.ItemService itemService)
itemService - ItemServicepublic void setBindingList(ItemValueBindingList bindingList)
bindingList - ItemValueBindingListpublic void confirmDelete(javax.faces.event.ActionEvent actionEvent)
actionEvent - actionEventpublic void confirmDeleteCurrentItem(javax.faces.event.ActionEvent actionEvent)
actionEvent - actionEventpublic java.lang.String showItem()
public void setItemTable(javax.faces.component.UIData itemTable)
itemTable - The itemTable to set.public javax.faces.component.UIData getItemTable()
public boolean isOffer()
public boolean isJobOffer()
public java.lang.String getImage()
public void listItems(javax.faces.event.ActionEvent actionEvent)
actionEvent - ActionEventpublic void showPreviousItem(javax.faces.event.ActionEvent actionEvent)
actionEvent - ActionEventpublic void showNextItem(javax.faces.event.ActionEvent actionEvent)
actionEvent - ActionEventpublic boolean isFirst()
public boolean isLast()
public org.bejug.javacareers.project.properties.JavaCareersConfig getConfig()
public void setConfig(org.bejug.javacareers.project.properties.JavaCareersConfig config)
config - Stringpublic java.lang.String getItemCount()
public java.lang.String getTokenKey()
public java.util.List getItemSpinnerList()
public void setDisplayFilter(javax.faces.event.ValueChangeEvent event)
event - ValueChangeEventpublic int getLinesPerPage()
public void setLinesPerPage(javax.faces.event.ValueChangeEvent event)
event - The ValueChangeEvent.public java.lang.String getCurrentFilter()
public java.lang.String getUnApprovedItemCount()
public void listUnApprovedItems(javax.faces.event.ActionEvent actionEvent)
actionEvent - ActionEventpublic boolean isUnApprovedItems()
public void setUnApprovedItems(boolean approvedItems)
approvedItems - The unApprovedItems to set.public void approveItem(javax.faces.event.ActionEvent actionEvent)
actionEvent - is the generated eventpublic void approveCurrentItem(javax.faces.event.ActionEvent actionEvent)
actionEvent - is the generated eventpublic void deleteItem(javax.faces.event.ActionEvent actionEvent)
actionEvent - is the generated eventpublic java.lang.String cancelDelete()
public boolean isDeletePressed()
public void setDeletePressed(boolean deletePressed)
deletePressed - The deletePressed to set.public org.bejug.javacareers.jobs.model.Item getItemToDelete()
public void setItemToDelete(org.bejug.javacareers.jobs.model.Item itemToDelete)
itemToDelete - The itemToDelete to set.public ItemFileRemover getItemFileRemover()
public void setItemFileRemover(ItemFileRemover itemFileRemover)
itemFileRemover - The itemFileRemover to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||