|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDbPageDatabaseSectionDAO
IDbPageDatabaseSectionDAO interface
| Method Summary | |
|---|---|
int |
countSections(int nDbPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculates the number of sections in a page |
void |
delete(int nDbPageDatabaseSectionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
getModifySectionOrder(int nPageId,
int nNewOrder,
int nIdSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modify the order of a section |
void |
insert(DbPageDatabaseSection dbPageDatabaseSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
DbPageDatabaseSection |
load(int nDbPageDatabaseSectionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of DbPageDatabaseSection from the table |
java.util.List<DbPageDatabaseSection> |
loadSectionsByPageId(int nDbPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the sections related to a page |
java.util.Collection<DbPageDatabaseSection> |
loadSectionsByRoleKey(java.lang.String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
This method is used to find the sections of a dbpage |
void |
reorderSections(int nIdSection1,
int nOrderSection1,
int nIdSection2,
int nOrderSection2,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
java.util.List<DbPageDatabaseSection> |
selectDbPageDatabaseSectionList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of dbPageDatabaseSections by page |
int |
selectIdByOrder(int nPageId,
int nSectionOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the identifier of a section in a distinct order |
int |
selectMaxIdOrder(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the highest order on a page |
fr.paris.lutece.util.ReferenceList |
selectOrderList(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of orders |
void |
store(DbPageDatabaseSection dbPageDatabaseSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Method Detail |
|---|
void insert(DbPageDatabaseSection dbPageDatabaseSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
dbPageDatabaseSection - The dbPageDatabaseSection object
int countSections(int nDbPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDbPageId - The id of the page
void delete(int nDbPageDatabaseSectionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDbPageDatabaseSectionId - The DbPageDatabaseSection Id
void getModifySectionOrder(int nPageId,
int nNewOrder,
int nIdSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPageId - The Page identifiernNewOrder - The order numbernIdSection - The Section identifier
DbPageDatabaseSection load(int nDbPageDatabaseSectionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDbPageDatabaseSectionId - The identifier of DbPageDatabaseSection
java.util.List<DbPageDatabaseSection> loadSectionsByPageId(int nDbPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDbPageId - The identifier of DbPageDatabase
java.util.Collection<DbPageDatabaseSection> loadSectionsByRoleKey(java.lang.String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strRoleKey - The role keyplugin - The plugin object
void reorderSections(int nIdSection1,
int nOrderSection1,
int nIdSection2,
int nOrderSection2,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSection1 - the section ordernOrderSection1 - the section ordernIdSection2 - the section ordernOrderSection2 - the section orderjava.util.List<DbPageDatabaseSection> selectDbPageDatabaseSectionList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
int selectIdByOrder(int nPageId,
int nSectionOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPageId - The identifier of the pagenSectionOrder - The order number
int selectMaxIdOrder(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPageId - The identifier of the page
fr.paris.lutece.util.ReferenceList selectOrderList(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPageId - The identifier of the page
void store(DbPageDatabaseSection dbPageDatabaseSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
dbPageDatabaseSection - The reference of dbPageDatabaseSection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||