package edu.usc.glidein.service.db;

import edu.usc.glidein.stubs.types.Site;
import edu.usc.glidein.stubs.types.SiteStatus;

public interface SiteDAO
{
	public int create(Site site) throws DatabaseException;
	public void store(Site site) throws DatabaseException;
	public Site load(int siteId) throws DatabaseException;
	public void delete(int siteId) throws DatabaseException;
	public SiteStatus getStatus(int siteId) throws DatabaseException;
	public void updateStatus(int siteId, SiteStatus status) throws DatabaseException;
}

package edu.usc.glidein.service.db;

import edu.usc.glidein.stubs.types.Site;
import edu.usc.glidein.stubs.types.SiteStatus;

public interface SiteDAO
{
	public int create(Site site) throws DatabaseException;
	public void store(Site site) throws DatabaseException;
	public Site load(int siteId) throws DatabaseException;
	public void delete(int siteId) throws DatabaseException;
	public void updateStatus(int siteId, SiteStatus status, String statusMessage) throws DatabaseException;
	public Site[] list(boolean full) throws DatabaseException;
}

Remove getStatus Modify updateStatus Add list
Remove getStatus
Modify updateStatus
Add list

git-svn-id: bdb5f82b9b83a1400e05d69d262344b821646179@1235 e217846f-e12e-0410-a4e5-89ccaea66ff7
