1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface SCProductScreenshotPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> scProductScreenshots);
46
47 public void clearCache();
48
49 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot create(
50 long productScreenshotId);
51
52 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(
53 long productScreenshotId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
56
57 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(
58 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(
65 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(
81 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateImpl(
85 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(
89 long productScreenshotId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
92
93 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(
94 long productScreenshotId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
97 long productEntryId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
100 long productEntryId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
104 long productEntryId, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_First(
109 long productEntryId,
110 com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
113
114 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_Last(
115 long productEntryId,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
119
120 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] findByProductEntryId_PrevAndNext(
121 long productScreenshotId, long productEntryId,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
125
126 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByThumbnailId(
127 long thumbnailId)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
130
131 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(
132 long thumbnailId) throws com.liferay.portal.SystemException;
133
134 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(
135 long thumbnailId, boolean retrieveFromCache)
136 throws com.liferay.portal.SystemException;
137
138 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByFullImageId(
139 long fullImageId)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
142
143 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(
144 long fullImageId) throws com.liferay.portal.SystemException;
145
146 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(
147 long fullImageId, boolean retrieveFromCache)
148 throws com.liferay.portal.SystemException;
149
150 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByP_P(
151 long productEntryId, int priority)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
154
155 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(
156 long productEntryId, int priority)
157 throws com.liferay.portal.SystemException;
158
159 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(
160 long productEntryId, int priority, boolean retrieveFromCache)
161 throws com.liferay.portal.SystemException;
162
163 public java.util.List<Object> findWithDynamicQuery(
164 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
165 throws com.liferay.portal.SystemException;
166
167 public java.util.List<Object> findWithDynamicQuery(
168 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
169 int end) throws com.liferay.portal.SystemException;
170
171 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll()
172 throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(
175 int start, int end) throws com.liferay.portal.SystemException;
176
177 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(
178 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
179 throws com.liferay.portal.SystemException;
180
181 public void removeByProductEntryId(long productEntryId)
182 throws com.liferay.portal.SystemException;
183
184 public void removeByThumbnailId(long thumbnailId)
185 throws com.liferay.portal.SystemException,
186 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
187
188 public void removeByFullImageId(long fullImageId)
189 throws com.liferay.portal.SystemException,
190 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
191
192 public void removeByP_P(long productEntryId, int priority)
193 throws com.liferay.portal.SystemException,
194 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
195
196 public void removeAll() throws com.liferay.portal.SystemException;
197
198 public int countByProductEntryId(long productEntryId)
199 throws com.liferay.portal.SystemException;
200
201 public int countByThumbnailId(long thumbnailId)
202 throws com.liferay.portal.SystemException;
203
204 public int countByFullImageId(long fullImageId)
205 throws com.liferay.portal.SystemException;
206
207 public int countByP_P(long productEntryId, int priority)
208 throws com.liferay.portal.SystemException;
209
210 public int countAll() throws com.liferay.portal.SystemException;
211 }