|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The ItemService is responsable for all manipulations on items(offers and resumes).
| Method Summary | |
void |
delete(Item item)
deletes an item |
Item |
findById(java.lang.Integer id)
finds an item by id |
Item |
getItem(java.lang.Integer id)
gets the item. |
int |
getItemCount()
|
int |
getItemCount(int itemType)
|
java.util.List |
getItems()
gets the items. |
java.util.List |
getItems(java.lang.Class clazz)
List the items by type |
java.util.List |
getItems(int itemType)
gets the items. |
int |
getUnApprovedItemCount()
|
int |
getUnApprovedItemCount(int itemType)
|
java.util.List |
getUnApprovedItems()
|
java.util.List |
getUnApprovedItems(java.lang.Class clazz)
List the items by type |
java.util.List |
getUnApprovedItems(int itemType)
List the items by type |
void |
store(CommercialEducationOffer item)
|
void |
store(Item item)
Store an item; |
| Method Detail |
public java.util.List getItems()
public Item getItem(java.lang.Integer id)
id - is the identity
public java.util.List getItems(int itemType)
itemType - an integer indicating the type of item we want.
public int getItemCount()
public int getItemCount(int itemType)
itemType - the type of items to count.
public int getUnApprovedItemCount()
public int getUnApprovedItemCount(int itemType)
itemType - is itemType
public java.util.List getUnApprovedItems()
public java.util.List getUnApprovedItems(int itemType)
itemType - of The javacareers Item class
public java.util.List getUnApprovedItems(java.lang.Class clazz)
clazz - The javacareers Item class
public void delete(Item item)
item - the item to deletepublic Item findById(java.lang.Integer id)
id - an Integer indicating the id of the Item.
public java.util.List getItems(java.lang.Class clazz)
clazz - The javacareers Item class
public void store(Item item)
item - Item.public void store(CommercialEducationOffer item)
item - is the item
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||