public final class SiteHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Site |
create(Site site)
Create an instance of the site class
|
static List<Site> |
findByCluster(int nClusterId)
Find all sites for a given cluster
|
static Site |
findByPrimaryKey(int nKey)
Returns an instance of a site whose identifier is specified in parameter
|
static String |
findDuplicateSite(String siteName,
String artifactId,
String scmUrl)
Search if the site is already exist
|
static List<Integer> |
getIdSitesList()
Load the id of all the site objects and returns them as a list
|
static List<Site> |
getSitesList()
Load the data of all the site objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getSitesReferenceList()
Load the data of all the site objects and returns them as a referenceList
|
static void |
remove(int nKey)
Remove the site whose identifier is specified in parameter
|
static Site |
update(Site site)
Update of the site which is specified in parameter
|
public static Site create(Site site)
site - The instance of the Site which contains the informations to storepublic static Site update(Site site)
site - The instance of the Site which contains the data to storepublic static void remove(int nKey)
nKey - The site Idpublic static Site findByPrimaryKey(int nKey)
nKey - The site primary keypublic static List<Site> getSitesList()
public static List<Integer> getIdSitesList()
public static fr.paris.lutece.util.ReferenceList getSitesReferenceList()
public static List<Site> findByCluster(int nClusterId)
nClusterId - The cluster IDpublic static String findDuplicateSite(String siteName, String artifactId, String scmUrl)
siteName - The site nameartifactId - The site artifacteIdscmUrl - The site sources urlCopyright © 2021 City of Paris. All rights reserved.