Class SiteDAO
- java.lang.Object
-
- org.silverpeas.components.websites.dao.SiteDAO
-
public class SiteDAO extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassociateIcons(String id, Collection<String> iconIds)voidcreateWebSite(SiteDetail description)voiddeleteAllWebSites()voiddeleteWebSites(Collection<String> siteIds)voiddePublish(Collection<String> siteIds)Collection<IconDetail>getAllIcons()Collection<SiteDetail>getAllWebSite()Collection<IconDetail>getIcons(SitePK pk)StringgetIdPublication(String siteId)StringgetNextId()SiteDetailgetWebSite(SitePK pk)List<SiteDetail>getWebSites(List<String> siteIds)voidpublish(Collection<String> siteIds)voidupdateWebSite(SiteDetail description)
-
-
-
Constructor Detail
-
SiteDAO
public SiteDAO(String componentId)
-
-
Method Detail
-
getIdPublication
public String getIdPublication(String siteId) throws SQLException
- Throws:
SQLException
-
getAllWebSite
public Collection<SiteDetail> getAllWebSite() throws SQLException
- Throws:
SQLException
-
getWebSite
public SiteDetail getWebSite(SitePK pk) throws SQLException
- Throws:
SQLException
-
getWebSites
public List<SiteDetail> getWebSites(List<String> siteIds) throws SQLException
- Throws:
SQLException
-
getIcons
public Collection<IconDetail> getIcons(SitePK pk) throws SQLException
- Throws:
SQLException
-
getNextId
public String getNextId() throws SQLException
- Throws:
SQLException
-
getAllIcons
public Collection<IconDetail> getAllIcons() throws SQLException
- Throws:
SQLException
-
createWebSite
public void createWebSite(SiteDetail description) throws SQLException
- Throws:
SQLException
-
associateIcons
public void associateIcons(String id, Collection<String> iconIds) throws SQLException
- Throws:
SQLException
-
publish
public void publish(Collection<String> siteIds) throws SQLException
- Throws:
SQLException
-
dePublish
public void dePublish(Collection<String> siteIds) throws SQLException
- Throws:
SQLException
-
deleteWebSites
public void deleteWebSites(Collection<String> siteIds) throws SQLException
- Throws:
SQLException
-
deleteAllWebSites
public void deleteAllWebSites() throws SQLException- Throws:
SQLException
-
updateWebSite
public void updateWebSite(SiteDetail description) throws SQLException
- Throws:
SQLException
-
-