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