|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.dbpage.business.DbPageDatabaseSectionHome
public final class DbPageDatabaseSectionHome
This class provides instances management methods (create, find, ...) for DbPageDatabaseSection objects
| Method Summary | |
|---|---|
static int |
countNumberSections(int nDbPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the number of Sections in a DbPage |
static DbPageDatabaseSection |
create(DbPageDatabaseSection dbPageDatabaseSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of dbPageDatabaseSection |
static DbPageDatabaseSection |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a dbPageDatabaseSection whose identifier is specified in parameter |
static java.util.List<DbPageDatabaseSection> |
findDbPageDatabaseSectionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of dbPageDatabaseSections objects |
static fr.paris.lutece.util.ReferenceList |
findOrderComboList(int nDbPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
This method allows to fetch a representation of the orders of a section in a dbpage |
static java.util.List<DbPageDatabaseSection> |
findSectionsByPage(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
This method is used to find the sections of a dbpage |
static java.util.Collection<DbPageDatabaseSection> |
findSectionsByRoleKey(java.lang.String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
This method is used to find the sections of a dbpage |
static int |
getIdByOrder(int nPageId,
int nItemOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Search the order of a section |
static int |
getMaxIdByOrder(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the maximum order on a page |
static void |
getModifySectionOrder(int nPageId,
int nNewOrder,
int nIdSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the order of a section |
static void |
remove(int nDbPageDatabaseSectionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the DbPageDatabaseSection whose identifier is specified in parameter |
static void |
reorderSections(int nIdSection1,
int nOrderSection1,
int nIdSection2,
int nOrderSection2,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
static DbPageDatabaseSection |
update(DbPageDatabaseSection dbPageDatabaseSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the dbPageDatabaseSection which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DbPageDatabaseSection create(DbPageDatabaseSection dbPageDatabaseSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin objectdbPageDatabaseSection - The instance of the dbPageDatabaseSection which contains the informations to store
public static DbPageDatabaseSection update(DbPageDatabaseSection dbPageDatabaseSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin objectdbPageDatabaseSection - The instance of the dbPageDatabaseSection which contains the data to store
public static void remove(int nDbPageDatabaseSectionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin objectnDbPageDatabaseSectionId - The DbPageDatabaseSection Id
public static DbPageDatabaseSection findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin objectnKey - The Primary key of the dbPageDatabaseSection
public static java.util.List<DbPageDatabaseSection> findDbPageDatabaseSectionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin object
public static java.util.List<DbPageDatabaseSection> findSectionsByPage(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPageId - The id of the dbpageplugin - The plugin object
public static java.util.Collection<DbPageDatabaseSection> findSectionsByRoleKey(java.lang.String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strRoleKey - The role keyplugin - The plugin object
public static int countNumberSections(int nDbPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginnDbPageId - The identifier of the DbPage
public static fr.paris.lutece.util.ReferenceList findOrderComboList(int nDbPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nDbPageId - The dbPage identifierplugin - The plugin object
public static void getModifySectionOrder(int nPageId,
int nNewOrder,
int nIdSection,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin objectnPageId - the identifier of the pagenNewOrder - the new number of ordernIdSection - the Identifier of a scetion
public static int getIdByOrder(int nPageId,
int nItemOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin objectnItemOrder - the number of orders of sections in the pagenPageId - the identifier of the page
public static int getMaxIdByOrder(int nPageId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin objectnPageId - the identifier of the page
public static void reorderSections(int nIdSection1,
int nOrderSection1,
int nIdSection2,
int nOrderSection2,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||