|
||||||||||
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. |
boolean |
isSectionInPage(java.lang.String strPageName,
java.lang.String strSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
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 objectplugin
- The pluginint countSections(int nDbPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDbPageId
- The id of the pageplugin
- The plugin
void delete(int nDbPageDatabaseSectionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDbPageDatabaseSectionId
- The DbPageDatabaseSection Idplugin
- The pluginvoid getModifySectionOrder(int nPageId, int nNewOrder, int nIdSection, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPageId
- The Page identifiernNewOrder
- The order numbernIdSection
- The Section identifierplugin
- The pluginDbPageDatabaseSection load(int nDbPageDatabaseSectionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDbPageDatabaseSectionId
- The identifier of DbPageDatabaseSectionplugin
- The plugin
java.util.List<DbPageDatabaseSection> loadSectionsByPageId(int nDbPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDbPageId
- The identifier of DbPageDatabaseplugin
- The plugin
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 orderplugin
- The pluginjava.util.List<DbPageDatabaseSection> selectDbPageDatabaseSectionList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The plugin
int selectIdByOrder(int nPageId, int nSectionOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPageId
- The identifier of the pagenSectionOrder
- The order numberplugin
- The plugin
int selectMaxIdOrder(int nPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPageId
- The identifier of the pageplugin
- The plugin
fr.paris.lutece.util.ReferenceList selectOrderList(int nPageId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPageId
- The identifier of the pageplugin
- The plugin
void store(DbPageDatabaseSection dbPageDatabaseSection, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The plugindbPageDatabaseSection
- The reference of dbPageDatabaseSectionboolean isSectionInPage(java.lang.String strPageName, java.lang.String strSection, fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |