Kawai Wiki

Rev

Rev 77 | Rev 79 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 77 Rev 78
Line 3... Line 3...
3
import java.util.List;
3
import java.util.List;
4
4
5
import org.kawai.model.Language;
5
import org.kawai.model.Language;
6
import org.kawai.model.Page;
6
import org.kawai.model.Page;
7
import org.kawai.model.Preview;
7
import org.kawai.model.Preview;
-
 
8
import org.kawai.model.Revision;
8
9
9
public interface PageDAO {
10
public interface PageDAO {
10
       
11
       
11
        public Page load(int id);
12
        public Page load(int id);
12
       
13
       
Line 35... Line 36...
35
        public Preview loadPreview(int userId, String name, Language lang);
36
        public Preview loadPreview(int userId, String name, Language lang);
36
       
37
       
37
        public Preview insertPreview(int userId, Page p);
38
        public Preview insertPreview(int userId, Page p);
38
       
39
       
39
        public void deletePreview(int userId, String name, Language lang);
40
        public void deletePreview(int userId, String name, Language lang);
-
 
41
       
-
 
42
        public Revision loadRevision(int revision, String name, Language lang);
-
 
43
       
-
 
44
        public void insertRevision(Revision r);
40
}
45
}