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