1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25
31 public interface SCProductScreenshotPersistence {
32 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot create(
33 long productScreenshotId);
34
35 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(
36 long productScreenshotId)
37 throws com.liferay.portal.SystemException,
38 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
39
40 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(
41 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
42 throws com.liferay.portal.SystemException;
43
44
47 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(
48 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
49 throws com.liferay.portal.SystemException;
50
51
64 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot update(
65 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateImpl(
69 com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot,
70 boolean merge) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(
73 long productScreenshotId)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
76
77 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(
78 long productScreenshotId) throws com.liferay.portal.SystemException;
79
80 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
81 long productEntryId) throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
84 long productEntryId, int begin, int end)
85 throws com.liferay.portal.SystemException;
86
87 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
88 long productEntryId, int begin, int end,
89 com.liferay.portal.kernel.util.OrderByComparator obc)
90 throws com.liferay.portal.SystemException;
91
92 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_First(
93 long productEntryId,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
97
98 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_Last(
99 long productEntryId,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
103
104 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] findByProductEntryId_PrevAndNext(
105 long productScreenshotId, long productEntryId,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
109
110 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByThumbnailId(
111 long thumbnailId)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
114
115 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(
116 long thumbnailId) throws com.liferay.portal.SystemException;
117
118 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByFullImageId(
119 long fullImageId)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
122
123 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(
124 long fullImageId) throws com.liferay.portal.SystemException;
125
126 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByP_P(
127 long productEntryId, int priority)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
130
131 public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(
132 long productEntryId, int priority)
133 throws com.liferay.portal.SystemException;
134
135 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findWithDynamicQuery(
136 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
137 throws com.liferay.portal.SystemException;
138
139 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findWithDynamicQuery(
140 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
141 int begin, int end) throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll()
144 throws com.liferay.portal.SystemException;
145
146 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(
147 int begin, int end) throws com.liferay.portal.SystemException;
148
149 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(
150 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException;
152
153 public void removeByProductEntryId(long productEntryId)
154 throws com.liferay.portal.SystemException;
155
156 public void removeByThumbnailId(long thumbnailId)
157 throws com.liferay.portal.SystemException,
158 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
159
160 public void removeByFullImageId(long fullImageId)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
163
164 public void removeByP_P(long productEntryId, int priority)
165 throws com.liferay.portal.SystemException,
166 com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
167
168 public void removeAll() throws com.liferay.portal.SystemException;
169
170 public int countByProductEntryId(long productEntryId)
171 throws com.liferay.portal.SystemException;
172
173 public int countByThumbnailId(long thumbnailId)
174 throws com.liferay.portal.SystemException;
175
176 public int countByFullImageId(long fullImageId)
177 throws com.liferay.portal.SystemException;
178
179 public int countByP_P(long productEntryId, int priority)
180 throws com.liferay.portal.SystemException;
181
182 public int countAll() throws com.liferay.portal.SystemException;
183 }