1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.softwarecatalog.model.SCProductVersion;
28
29
42 public interface SCProductVersionPersistence extends BasePersistence<SCProductVersion> {
43 public void cacheResult(
44 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> scProductVersions);
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
60 public com.liferay.portlet.softwarecatalog.model.SCProductVersion update(
61 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateImpl(
65 com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByPrimaryKey(
69 long productVersionId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
72
73 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByPrimaryKey(
74 long productVersionId) throws com.liferay.portal.SystemException;
75
76 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
77 long productEntryId) throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
80 long productEntryId, int start, int end)
81 throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findByProductEntryId(
84 long productEntryId, int start, int end,
85 com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_First(
89 long productEntryId,
90 com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.SystemException,
92 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
93
94 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByProductEntryId_Last(
95 long productEntryId,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
99
100 public com.liferay.portlet.softwarecatalog.model.SCProductVersion[] findByProductEntryId_PrevAndNext(
101 long productVersionId, long productEntryId,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
105
106 public com.liferay.portlet.softwarecatalog.model.SCProductVersion findByDirectDownloadURL(
107 java.lang.String directDownloadURL)
108 throws com.liferay.portal.SystemException,
109 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
110
111 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(
112 java.lang.String directDownloadURL)
113 throws com.liferay.portal.SystemException;
114
115 public com.liferay.portlet.softwarecatalog.model.SCProductVersion fetchByDirectDownloadURL(
116 java.lang.String directDownloadURL, boolean retrieveFromCache)
117 throws com.liferay.portal.SystemException;
118
119 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll()
120 throws com.liferay.portal.SystemException;
121
122 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
123 int start, int end) throws com.liferay.portal.SystemException;
124
125 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> findAll(
126 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.SystemException;
128
129 public void removeByProductEntryId(long productEntryId)
130 throws com.liferay.portal.SystemException;
131
132 public void removeByDirectDownloadURL(java.lang.String directDownloadURL)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.softwarecatalog.NoSuchProductVersionException;
135
136 public void removeAll() throws com.liferay.portal.SystemException;
137
138 public int countByProductEntryId(long productEntryId)
139 throws com.liferay.portal.SystemException;
140
141 public int countByDirectDownloadURL(java.lang.String directDownloadURL)
142 throws com.liferay.portal.SystemException;
143
144 public int countAll() throws com.liferay.portal.SystemException;
145
146 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
147 long pk) throws com.liferay.portal.SystemException;
148
149 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
150 long pk, int start, int end) throws com.liferay.portal.SystemException;
151
152 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
153 long pk, int start, int end,
154 com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException;
156
157 public int getSCFrameworkVersionsSize(long pk)
158 throws com.liferay.portal.SystemException;
159
160 public boolean containsSCFrameworkVersion(long pk, long scFrameworkVersionPK)
161 throws com.liferay.portal.SystemException;
162
163 public boolean containsSCFrameworkVersions(long pk)
164 throws com.liferay.portal.SystemException;
165
166 public void addSCFrameworkVersion(long pk, long scFrameworkVersionPK)
167 throws com.liferay.portal.SystemException;
168
169 public void addSCFrameworkVersion(long pk,
170 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
171 throws com.liferay.portal.SystemException;
172
173 public void addSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
174 throws com.liferay.portal.SystemException;
175
176 public void addSCFrameworkVersions(long pk,
177 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
178 throws com.liferay.portal.SystemException;
179
180 public void clearSCFrameworkVersions(long pk)
181 throws com.liferay.portal.SystemException;
182
183 public void removeSCFrameworkVersion(long pk, long scFrameworkVersionPK)
184 throws com.liferay.portal.SystemException;
185
186 public void removeSCFrameworkVersion(long pk,
187 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
188 throws com.liferay.portal.SystemException;
189
190 public void removeSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
191 throws com.liferay.portal.SystemException;
192
193 public void removeSCFrameworkVersions(long pk,
194 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
195 throws com.liferay.portal.SystemException;
196
197 public void setSCFrameworkVersions(long pk, long[] scFrameworkVersionPKs)
198 throws com.liferay.portal.SystemException;
199
200 public void setSCFrameworkVersions(long pk,
201 java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> scFrameworkVersions)
202 throws com.liferay.portal.SystemException;
203 }