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