com.stratelia.webactiv.webSites.siteManage.dao
Class SiteDAO

java.lang.Object
  extended by com.stratelia.webactiv.webSites.siteManage.dao.SiteDAO

public class SiteDAO
extends Object


Constructor Summary
SiteDAO(String componentId)
           
 
Method Summary
 void associateIcons(String id, Collection<String> liste)
          associateIcons
 void createWebSite(SiteDetail description)
          createWebSite
 void deleteWebSites(Collection<String> liste)
          deleteWebSites
 void dePublish(Collection<String> liste)
          dePublish
 Collection<IconDetail> getAllIcons()
          getAllIcons
 Collection<SiteDetail> getAllWebSite()
          getAllWebSite
 Collection<IconDetail> getIcons(SitePK pk)
          getIcons
 String getIdPublication(String idSite)
          getIdPublication
 String getNextId()
          getNextId
 SiteDetail getWebSite(SitePK pk)
          getWebSite
 List<SiteDetail> getWebSites(List<String> ids)
          getWebSites
 void publish(Collection<String> liste)
          publish
 void updateWebSite(SiteDetail description)
          deleteWebSites
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteDAO

public SiteDAO(String componentId)
Method Detail

getIdPublication

public String getIdPublication(String idSite)
                        throws SQLException,
                               com.stratelia.webactiv.util.exception.UtilException
getIdPublication

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

getAllWebSite

public Collection<SiteDetail> getAllWebSite()
                                     throws SQLException,
                                            com.stratelia.webactiv.util.exception.UtilException
getAllWebSite

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

getWebSite

public SiteDetail getWebSite(SitePK pk)
                      throws SQLException,
                             com.stratelia.webactiv.util.exception.UtilException
getWebSite

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

getWebSites

public List<SiteDetail> getWebSites(List<String> ids)
                             throws SQLException,
                                    com.stratelia.webactiv.util.exception.UtilException
getWebSites

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

getIcons

public Collection<IconDetail> getIcons(SitePK pk)
                                throws SQLException,
                                       com.stratelia.webactiv.util.exception.UtilException
getIcons

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

getNextId

public String getNextId()
                 throws SQLException,
                        com.stratelia.webactiv.util.exception.UtilException
getNextId

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

getAllIcons

public Collection<IconDetail> getAllIcons()
                                   throws SQLException,
                                          com.stratelia.webactiv.util.exception.UtilException
getAllIcons

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

createWebSite

public void createWebSite(SiteDetail description)
                   throws SQLException,
                          com.stratelia.webactiv.util.exception.UtilException
createWebSite

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

associateIcons

public void associateIcons(String id,
                           Collection<String> liste)
                    throws SQLException,
                           com.stratelia.webactiv.util.exception.UtilException
associateIcons

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

publish

public void publish(Collection<String> liste)
             throws SQLException,
                    com.stratelia.webactiv.util.exception.UtilException
publish

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

dePublish

public void dePublish(Collection<String> liste)
               throws SQLException,
                      com.stratelia.webactiv.util.exception.UtilException
dePublish

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

deleteWebSites

public void deleteWebSites(Collection<String> liste)
                    throws SQLException,
                           com.stratelia.webactiv.util.exception.UtilException
deleteWebSites

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException

updateWebSite

public void updateWebSite(SiteDetail description)
                   throws SQLException,
                          com.stratelia.webactiv.util.exception.UtilException
deleteWebSites

Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException


Copyright © 2016 Silverpeas. All Rights Reserved.