/
View.java
111 lines (82 loc) · 3.59 KB
/
View.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*
* ComiXed - A digital comic book library management application.
* Copyright (C) 2017, The ComiXed Project
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses>
*/
package org.comixedproject.views;
/**
* <code>View</code> provides interfaces used to decide what details are included in JSON responses
* sent to the front end.
*
* @author Darryl L. Pierce
*/
public interface View {
/** Used when returning the generic response. */
public interface GenericObjectView {}
/** Used when retrieving the list of comic formats. */
public interface ComicFormatList {}
/** Used when retrieving the list of scan types. */
public interface ScanTypeList {}
/** Used when viewing a list of comics. */
public interface ComicListView {}
/** Used when viewing the details of comics. */
public interface ComicDetailsView extends ComicListView {}
/** Used when viewing a list of deleted comics. */
public interface DeletedComicList {}
/** Used when viewing the details of a deleted comic. */
public interface PageDetails extends PageList {}
/** Used when viewing a list of pages. */
public interface PageList {}
/** Used when viewing a list of users. */
public interface UserList {}
/** Used when viewing the details of a user. */
public interface UserDetailsView extends UserList {}
/** Used when viewing the list of reading lists. */
public interface ReadingLists {}
/** Used when viewing the details for a reading list. */
public interface ReadingListDetail extends ReadingLists {}
/** Used when viewing the list of smart reading lists. */
public interface SmartReadingList {}
/** Used when viewing the list of duplicate pages. */
public interface DuplicatePageList {}
/** Used when viewing the details of a duplicate page. */
public interface DuplicatePageDetail extends DuplicatePageList {}
/** Used when viewing the list of plugins. */
public interface PluginList {}
/** Used when viewing a list of audit log entries. */
public interface AuditLogEntryList {}
/** Used when viewing a list of audit log detail. */
public interface AuditLogEntryDetail {}
/** Used when viewing a list of comic files. */
public interface ComicFileList {}
/** Used when viewing the build details for the server. */
public interface BuildDetails {}
/** Used when viewing a list of blocked hashes. */
public interface BlockedHashList {}
/** Used when viewing the details of a blocked hashes. */
public interface BlockedHashDetail extends BlockedHashList {}
/** Used when viewing the last read dates for a user. */
public interface LastReadList {}
/** Used when retrieving the configuration list. */
public interface ConfigurationList {}
/** Used when retrieving the filename scraping rules. */
public interface FilenameScrapingRuleList {}
/** Used when retrieving the list of imprints. */
public interface ImprintListView {}
/** Used when retrieving a list of stories. */
public interface StoryList {}
/** Used when retrieving a story. */
public interface StoryDetail {}
}