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