| Constructor and Description |
|---|
SiteDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Site site,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Site |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
String |
searchDuplicateSite(String siteName,
String artifactId,
String scmUrl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find if site is already exist
|
List<Site> |
selectByCluster(int nClusterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all sites for a given cluster
|
List<Integer> |
selectIdSitesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the site objects and returns them as a list
|
List<Site> |
selectSitesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the site objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectSitesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the site objects and returns them as a referenceList
|
void |
store(Site site,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(Site site, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Site load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Site site, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Site> selectSitesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectSitesList in interface ISiteDAOplugin - the Pluginpublic List<Integer> selectIdSitesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdSitesList in interface ISiteDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectSitesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectSitesReferenceList in interface ISiteDAOplugin - the Pluginpublic List<Site> selectByCluster(int nClusterId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByCluster in interface ISiteDAOnClusterId - The cluster IDplugin - The pluginpublic String searchDuplicateSite(String siteName, String artifactId, String scmUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
searchDuplicateSite in interface ISiteDAOsiteName - The site NameartifactId - The artifactId of the siteplugin - The pluginCopyright © 2024 City of Paris. All rights reserved.