1
22
23 package com.liferay.portlet.softwarecatalog.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface SCLicensePersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses);
46
47 public void clearCache();
48
49 public com.liferay.portlet.softwarecatalog.model.SCLicense create(
50 long licenseId);
51
52 public com.liferay.portlet.softwarecatalog.model.SCLicense remove(
53 long licenseId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
56
57 public com.liferay.portlet.softwarecatalog.model.SCLicense remove(
58 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.softwarecatalog.model.SCLicense update(
65 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.softwarecatalog.model.SCLicense update(
81 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.softwarecatalog.model.SCLicense updateImpl(
85 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(
89 long licenseId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
92
93 public com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(
94 long licenseId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
97 boolean active) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
100 boolean active, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
104 boolean active, 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.SCLicense findByActive_First(
109 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
112
113 public com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_Last(
114 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
117
118 public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByActive_PrevAndNext(
119 long licenseId, boolean active,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
123
124 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
125 boolean active, boolean recommended)
126 throws com.liferay.portal.SystemException;
127
128 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
129 boolean active, boolean recommended, int start, int end)
130 throws com.liferay.portal.SystemException;
131
132 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
133 boolean active, boolean recommended, int start, int end,
134 com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.SystemException;
136
137 public com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_First(
138 boolean active, boolean recommended,
139 com.liferay.portal.kernel.util.OrderByComparator obc)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
142
143 public com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_Last(
144 boolean active, boolean recommended,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.SystemException,
147 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
148
149 public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByA_R_PrevAndNext(
150 long licenseId, boolean active, boolean recommended,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
154
155 public java.util.List<Object> findWithDynamicQuery(
156 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
157 throws com.liferay.portal.SystemException;
158
159 public java.util.List<Object> findWithDynamicQuery(
160 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
161 int end) throws com.liferay.portal.SystemException;
162
163 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll()
164 throws com.liferay.portal.SystemException;
165
166 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(
167 int start, int end) throws com.liferay.portal.SystemException;
168
169 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(
170 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.SystemException;
172
173 public void removeByActive(boolean active)
174 throws com.liferay.portal.SystemException;
175
176 public void removeByA_R(boolean active, boolean recommended)
177 throws com.liferay.portal.SystemException;
178
179 public void removeAll() throws com.liferay.portal.SystemException;
180
181 public int countByActive(boolean active)
182 throws com.liferay.portal.SystemException;
183
184 public int countByA_R(boolean active, boolean recommended)
185 throws com.liferay.portal.SystemException;
186
187 public int countAll() throws com.liferay.portal.SystemException;
188
189 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
190 long pk) throws com.liferay.portal.SystemException;
191
192 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
193 long pk, int start, int end) throws com.liferay.portal.SystemException;
194
195 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
196 long pk, int start, int end,
197 com.liferay.portal.kernel.util.OrderByComparator obc)
198 throws com.liferay.portal.SystemException;
199
200 public int getSCProductEntriesSize(long pk)
201 throws com.liferay.portal.SystemException;
202
203 public boolean containsSCProductEntry(long pk, long scProductEntryPK)
204 throws com.liferay.portal.SystemException;
205
206 public boolean containsSCProductEntries(long pk)
207 throws com.liferay.portal.SystemException;
208
209 public void addSCProductEntry(long pk, long scProductEntryPK)
210 throws com.liferay.portal.SystemException;
211
212 public void addSCProductEntry(long pk,
213 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
214 throws com.liferay.portal.SystemException;
215
216 public void addSCProductEntries(long pk, long[] scProductEntryPKs)
217 throws com.liferay.portal.SystemException;
218
219 public void addSCProductEntries(long pk,
220 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
221 throws com.liferay.portal.SystemException;
222
223 public void clearSCProductEntries(long pk)
224 throws com.liferay.portal.SystemException;
225
226 public void removeSCProductEntry(long pk, long scProductEntryPK)
227 throws com.liferay.portal.SystemException;
228
229 public void removeSCProductEntry(long pk,
230 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
231 throws com.liferay.portal.SystemException;
232
233 public void removeSCProductEntries(long pk, long[] scProductEntryPKs)
234 throws com.liferay.portal.SystemException;
235
236 public void removeSCProductEntries(long pk,
237 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
238 throws com.liferay.portal.SystemException;
239
240 public void setSCProductEntries(long pk, long[] scProductEntryPKs)
241 throws com.liferay.portal.SystemException;
242
243 public void setSCProductEntries(long pk,
244 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
245 throws com.liferay.portal.SystemException;
246 }