Class SiteDAO
- java.lang.Object
-
- org.silverpeas.components.websites.siteManage.dao.SiteDAO
-
public class SiteDAO extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
associateIcons(String id, Collection<String> liste)
associateIconsvoid
createWebSite(SiteDetail description)
createWebSitevoid
deleteAllWebSites()
void
deleteWebSites(Collection<String> liste)
deleteWebSitesvoid
dePublish(Collection<String> liste)
dePublishCollection<IconDetail>
getAllIcons()
getAllIconsCollection<SiteDetail>
getAllWebSite()
getAllWebSiteCollection<IconDetail>
getIcons(SitePK pk)
getIconsString
getIdPublication(String idSite)
getIdPublicationString
getNextId()
getNextIdSiteDetail
getWebSite(SitePK pk)
getWebSiteList<SiteDetail>
getWebSites(List<String> ids)
getWebSitesvoid
publish(Collection<String> liste)
publishvoid
updateWebSite(SiteDetail description)
deleteWebSites
-
-
-
Constructor Detail
-
SiteDAO
public SiteDAO(String componentId)
-
-
Method Detail
-
getIdPublication
public String getIdPublication(String idSite) throws SQLException
getIdPublication- Throws:
SQLException
-
getAllWebSite
public Collection<SiteDetail> getAllWebSite() throws SQLException
getAllWebSite- Throws:
SQLException
-
getWebSite
public SiteDetail getWebSite(SitePK pk) throws SQLException
getWebSite- Throws:
SQLException
-
getWebSites
public List<SiteDetail> getWebSites(List<String> ids) throws SQLException
getWebSites- Throws:
SQLException
-
getIcons
public Collection<IconDetail> getIcons(SitePK pk) throws SQLException
getIcons- Throws:
SQLException
-
getNextId
public String getNextId() throws SQLException
getNextId- Throws:
SQLException
-
getAllIcons
public Collection<IconDetail> getAllIcons() throws SQLException
getAllIcons- Throws:
SQLException
-
createWebSite
public void createWebSite(SiteDetail description) throws SQLException
createWebSite- Throws:
SQLException
-
associateIcons
public void associateIcons(String id, Collection<String> liste) throws SQLException
associateIcons- Throws:
SQLException
-
publish
public void publish(Collection<String> liste) throws SQLException
publish- Throws:
SQLException
-
dePublish
public void dePublish(Collection<String> liste) throws SQLException
dePublish- Throws:
SQLException
-
deleteWebSites
public void deleteWebSites(Collection<String> liste) throws SQLException
deleteWebSites- Throws:
SQLException
-
deleteAllWebSites
public void deleteAllWebSites() throws SQLException
- Throws:
SQLException
-
updateWebSite
public void updateWebSite(SiteDetail description) throws SQLException
deleteWebSites- Throws:
SQLException
-
-