1
14
15 package com.liferay.portlet.softwarecatalog.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.softwarecatalog.model.SCProductScreenshot;
20
21
34 public interface SCProductScreenshotPersistence extends BasePersistence<SCProductScreenshot> {
35 public void cacheResult(
36 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> scProductScreenshots);
40
41 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot create(
42 long productScreenshotId);
43
44 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(
45 long productScreenshotId)
46 throws com.liferay.portal.SystemException,
47 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
48
49
52 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(
53 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateImpl(
57 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(
61 long productScreenshotId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
64
65 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(
66 long productScreenshotId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
69 long productEntryId) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
72 long productEntryId, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
76 long productEntryId, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_First(
81 long productEntryId,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
85
86 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_Last(
87 long productEntryId,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
91
92 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] findByProductEntryId_PrevAndNext(
93 long productScreenshotId, long productEntryId,
94 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
97
98 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByThumbnailId(
99 long thumbnailId)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
102
103 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(
104 long thumbnailId) throws com.liferay.portal.SystemException;
105
106 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(
107 long thumbnailId, boolean retrieveFromCache)
108 throws com.liferay.portal.SystemException;
109
110 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByFullImageId(
111 long fullImageId)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
114
115 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(
116 long fullImageId) throws com.liferay.portal.SystemException;
117
118 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(
119 long fullImageId, boolean retrieveFromCache)
120 throws com.liferay.portal.SystemException;
121
122 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByP_P(
123 long productEntryId, int priority)
124 throws com.liferay.portal.SystemException,
125 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
126
127 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(
128 long productEntryId, int priority)
129 throws com.liferay.portal.SystemException;
130
131 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(
132 long productEntryId, int priority, boolean retrieveFromCache)
133 throws com.liferay.portal.SystemException;
134
135 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll()
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(
139 int start, int end) throws com.liferay.portal.SystemException;
140
141 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(
142 int start, int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.SystemException;
145
146 public void removeByProductEntryId(long productEntryId)
147 throws com.liferay.portal.SystemException;
148
149 public void removeByThumbnailId(long thumbnailId)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
152
153 public void removeByFullImageId(long fullImageId)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
156
157 public void removeByP_P(long productEntryId, int priority)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
160
161 public void removeAll() throws com.liferay.portal.SystemException;
162
163 public int countByProductEntryId(long productEntryId)
164 throws com.liferay.portal.SystemException;
165
166 public int countByThumbnailId(long thumbnailId)
167 throws com.liferay.portal.SystemException;
168
169 public int countByFullImageId(long fullImageId)
170 throws com.liferay.portal.SystemException;
171
172 public int countByP_P(long productEntryId, int priority)
173 throws com.liferay.portal.SystemException;
174
175 public int countAll() throws com.liferay.portal.SystemException;
176 }