public interface ISiteDAO
| 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
|
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
|
void insert(Site site, fr.paris.lutece.portal.service.plugin.Plugin plugin)
site - instance of the Site object to insertplugin - the Pluginvoid store(Site site, fr.paris.lutece.portal.service.plugin.Plugin plugin)
site - the reference of the Siteplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the Site to deleteplugin - the PluginSite load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the siteplugin - the PluginList<Site> selectSitesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Integer> selectIdSitesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectSitesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Site> selectByCluster(int nClusterId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nClusterId - The cluster IDplugin - The pluginString searchDuplicateSite(String siteName, String artifactId, String scmUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
siteName - The site NameartifactId - The artifactId of the sitescmurl - The site's scm urlplugin - The pluginCopyright © 2022 City of Paris. All rights reserved.