01: /*
02: * transactionsDiscRack
03: *
04: * Enhydra super-servlet specification object
05: *
06: */
07: package transactionsDiscRack.spec;
08:
09: import org.enhydra.dods.exceptions.AssertionDataObjectException;
10:
11: import com.lutris.appserver.server.sql.DBTransaction;
12:
13: public interface Disc {
14:
15: public String getHandle();
16:
17: public String getTitle();
18:
19: public String getArtist();
20:
21: public String getGenre();
22:
23: public boolean isLiked();
24:
25: public void setTitle(String title);
26:
27: public void setArtist(String artist);
28:
29: public void setGenre(String genre);
30:
31: public void setOwner(String ownerHandle);
32:
33: public void setLiked(boolean isLiked);
34:
35: public void save(DBTransaction transaction)
36: throws TransactionsDiscRackException,
37: AssertionDataObjectException;
38:
39: public void delete(DBTransaction transaction)
40: throws TransactionsDiscRackException,
41: AssertionDataObjectException;
42:
43: }
|