|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICategoryDAO
Interface for Category DAO
Method Summary | |
---|---|
void |
delete(int nIdCategory)
Delete a record from the table |
void |
insert(Category category)
insert a new Category |
Category |
load(int nIdCategory)
Load the data of Category from the table |
fr.paris.lutece.portal.service.image.ImageResource |
loadImageResource(int nCategoryId)
Return the image resource corresponding to the category id |
java.util.Collection<Category> |
selectAll()
Load the list of category |
java.util.Collection<Category> |
selectByName(java.lang.String strCategoryName)
Load the data of Category from the table |
int |
selectCountIdDocuments(int nIdCategory)
Return the number of documents linked to a category |
void |
store(Category category)
Update the record in the table |
Method Detail |
---|
java.util.Collection<Category> selectAll()
void insert(Category category)
category
- the new Category objectCategory load(int nIdCategory)
nIdCategory
- The id of the category
java.util.Collection<Category> selectByName(java.lang.String strCategoryName)
strCategoryName
- The name of the category
void delete(int nIdCategory)
nIdCategory
- The identifier of the object Categoryvoid store(Category category)
category
- The instance of the Category to updateint selectCountIdDocuments(int nIdCategory)
nIdCategory
- The category id
fr.paris.lutece.portal.service.image.ImageResource loadImageResource(int nCategoryId)
nCategoryId
- The Category id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |