1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface SCProductVersionPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions);
46
47 public void clearCache();
48
49 public com.liferay.portlet.softwarecatalog.model.SCProductVersion create(
50 long productVersionId);
51
52 public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(
53 long productVersionId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
56
57 public com.liferay.portlet.softwarecatalog.model.SCProductVersion remove(
58 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.softwarecatalog.model.SCProductVersion update(
65 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.softwarecatalog.model.SCProductVersion update(
81 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(
85 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(
89 long productVersionId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
92
93 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(
94 long productVersionId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
97 long productEntryId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> 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.SCProductVersion> 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.SCProductVersion findByProductEntryId_First(
109 long productEntryId,
110 com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
113
114 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(
115 long productEntryId,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
119
120 public com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(
121 long productVersionId, long productEntryId,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
125
126 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL(
127 java.lang.String directDownloadURL)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
130
131 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(
132 java.lang.String directDownloadURL)
133 throws com.liferay.portal.SystemException;
134
135 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(
136 java.lang.String directDownloadURL, boolean retrieveFromCache)
137 throws com.liferay.portal.SystemException;
138
139 public java.util.List<Object> findWithDynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
141 throws com.liferay.portal.SystemException;
142
143 public java.util.List<Object> findWithDynamicQuery(
144 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
145 int end) throws com.liferay.portal.SystemException;
146
147 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll()
148 throws com.liferay.portal.SystemException;
149
150 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
151 int start, int end) throws com.liferay.portal.SystemException;
152
153 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
154 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException;
156
157 public void removeByProductEntryId(long productEntryId)
158 throws com.liferay.portal.SystemException;
159
160 public void removeByDirectDownloadURL(java.lang.String directDownloadURL)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
163
164 public void removeAll() throws com.liferay.portal.SystemException;
165
166 public int countByProductEntryId(long productEntryId)
167 throws com.liferay.portal.SystemException;
168
169 public int countByDirectDownloadURL(java.lang.String directDownloadURL)
170 throws com.liferay.portal.SystemException;
171
172 public int countAll() throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
175 long pk) throws com.liferay.portal.SystemException;
176
177 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
178 long pk, int start, int end) throws com.liferay.portal.SystemException;
179
180 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
181 long pk, int start, int end,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException;
184
185 public int getSCFrameworkVersionsSize(long pk)
186 throws com.liferay.portal.SystemException;
187
188 public boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK)
189 throws com.liferay.portal.SystemException;
190
191 public boolean containsSCFrameworkVersions(long pk)
192 throws com.liferay.portal.SystemException;
193
194 public void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
195 throws com.liferay.portal.SystemException;
196
197 public void addSCFrameworkVersion(long pk,
198 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
199 throws com.liferay.portal.SystemException;
200
201 public void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
202 throws com.liferay.portal.SystemException;
203
204 public void addSCFrameworkVersions(long pk,
205 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
206 throws com.liferay.portal.SystemException;
207
208 public void clearSCFrameworkVersions(long pk)
209 throws com.liferay.portal.SystemException;
210
211 public void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
212 throws com.liferay.portal.SystemException;
213
214 public void removeSCFrameworkVersion(long pk,
215 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
216 throws com.liferay.portal.SystemException;
217
218 public void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
219 throws com.liferay.portal.SystemException;
220
221 public void removeSCFrameworkVersions(long pk,
222 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
223 throws com.liferay.portal.SystemException;
224
225 public void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
226 throws com.liferay.portal.SystemException;
227
228 public void setSCFrameworkVersions(long pk,
229 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
230 throws com.liferay.portal.SystemException;
231 }