|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageHome
The root interface of DAO for Page, defines methods for visiting
database.
Page| Method Summary | |
|---|---|
void |
deletePage(Page p)
Delete a Page object from data base. |
Page |
findById(long id)
Find a Page object from data base by the specified id. |
Page[] |
findByIds(long[] ids)
Find Page objects from data base by IDs. |
Page |
findByUrl(java.lang.String url)
Count the number of records in table "page" in data base. |
long |
findPageNum()
|
long |
savePage(Page p)
Save a Page object to data base,and return the page id in data
base. |
| Method Detail |
|---|
long savePage(Page p)
Page object to data base,and return the page id in data
base.
p - a Page to save.
Page object.void deletePage(Page p)
Page object from data base.
p - Page object needed to delete.Page findById(long id)
Page object from data base by the specified id.
id - Page object id, a long value.
Page objectPage[] findByIds(long[] ids)
Page objects from data base by IDs.
ids - Integer array containing id of Page object.
Page array.Page findByUrl(java.lang.String url)
long findPageNum()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||