Show PortalSiteDao.java syntax highlighted
/*
* org.riverock.interfaces - Common classes and interafces shared between projects
*
* Copyright (C) 2006, Riverock Software, All Rights Reserved.
*
* Riverock - The Open-source Java Development Community
* http://www.riverock.org
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.riverock.interfaces.portal.dao;
import java.util.List;
import org.riverock.interfaces.portal.bean.Site;
import org.riverock.interfaces.portal.bean.VirtualHost;
import org.riverock.interfaces.portal.spi.PortalSiteSpi;
/**
* @deprecated use org.riverock.interfaces.portal.spi.PortalSiteSpi
* @author Sergei Maslyukov
* Date: 17.05.2006
* Time: 13:54:22
*/
public interface PortalSiteDao {
public List<Site> getSites();
public Site getSite( Long siteId );
public Site getSite( String siteName );
public Long createSite(Site site);
public Long createSiteWithVirtualHost(Site site, List<VirtualHost> hosts);
public void updateSite(Site site);
public void updateSiteWithVirtualHost(Site site, List<VirtualHost> hosts);
public void deleteSite(Long siteId);
}
See more files for this project here