package edu.usc.glidein.service.db;

import edu.usc.glidein.stubs.types.Glidein;
import edu.usc.glidein.stubs.types.GlideinStatus;

public interface GlideinDAO
{
	public int create(Glidein glidein) throws DatabaseException;
	public void store(Glidein glidein) throws DatabaseException;
	public Glidein load(int glideinId) throws DatabaseException;
	public void delete(int glideinId) throws DatabaseException;
	public GlideinStatus getStatus(int glideinId) throws DatabaseException;
	public void updateStatus(int glideinId, GlideinStatus status) throws DatabaseException;
}

package edu.usc.glidein.service.db;

import edu.usc.glidein.stubs.types.Glidein;
import edu.usc.glidein.stubs.types.GlideinStatus;

public interface GlideinDAO
{
	public int create(Glidein glidein) throws DatabaseException;
	public void store(Glidein glidein) throws DatabaseException;
	public Glidein load(int glideinId) throws DatabaseException;
	public void delete(int glideinId) throws DatabaseException;
	public void updateStatus(int glideinId, GlideinStatus status, String statusMessage) throws DatabaseException;
	public Glidein[] list(boolean longFormat) throws DatabaseException;
}

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

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