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.SCLicense;
28
29
42 public interface SCLicensePersistence extends BasePersistence<SCLicense> {
43 public void cacheResult(
44 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses);
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
60 public com.liferay.portlet.softwarecatalog.model.SCLicense update(
61 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.softwarecatalog.model.SCLicense updateImpl(
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 findByPrimaryKey(
69 long licenseId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
72
73 public com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(
74 long licenseId) throws com.liferay.portal.SystemException;
75
76 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
77 boolean active) throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
80 boolean active, int start, int end)
81 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 com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_First(
89 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
92
93 public com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_Last(
94 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
97
98 public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByActive_PrevAndNext(
99 long licenseId, boolean active,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
103
104 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
105 boolean active, boolean recommended)
106 throws com.liferay.portal.SystemException;
107
108 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
109 boolean active, boolean recommended, int start, int end)
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 com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException;
116
117 public com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_First(
118 boolean active, boolean recommended,
119 com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
122
123 public com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_Last(
124 boolean active, boolean recommended,
125 com.liferay.portal.kernel.util.OrderByComparator obc)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
128
129 public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByA_R_PrevAndNext(
130 long licenseId, boolean active, boolean recommended,
131 com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.SystemException,
133 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
134
135 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll()
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(
139 int start, int end) throws com.liferay.portal.SystemException;
140
141 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(
142 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException;
144
145 public void removeByActive(boolean active)
146 throws com.liferay.portal.SystemException;
147
148 public void removeByA_R(boolean active, boolean recommended)
149 throws com.liferay.portal.SystemException;
150
151 public void removeAll() throws com.liferay.portal.SystemException;
152
153 public int countByActive(boolean active)
154 throws com.liferay.portal.SystemException;
155
156 public int countByA_R(boolean active, boolean recommended)
157 throws com.liferay.portal.SystemException;
158
159 public int countAll() throws com.liferay.portal.SystemException;
160
161 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
162 long pk) throws com.liferay.portal.SystemException;
163
164 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
165 long pk, int start, int end) throws com.liferay.portal.SystemException;
166
167 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
168 long pk, int start, int end,
169 com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException;
171
172 public int getSCProductEntriesSize(long pk)
173 throws com.liferay.portal.SystemException;
174
175 public boolean containsSCProductEntry(long pk, long scProductEntryPK)
176 throws com.liferay.portal.SystemException;
177
178 public boolean containsSCProductEntries(long pk)
179 throws com.liferay.portal.SystemException;
180
181 public void addSCProductEntry(long pk, long scProductEntryPK)
182 throws com.liferay.portal.SystemException;
183
184 public void addSCProductEntry(long pk,
185 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
186 throws com.liferay.portal.SystemException;
187
188 public void addSCProductEntries(long pk, long[] scProductEntryPKs)
189 throws com.liferay.portal.SystemException;
190
191 public void addSCProductEntries(long pk,
192 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
193 throws com.liferay.portal.SystemException;
194
195 public void clearSCProductEntries(long pk)
196 throws com.liferay.portal.SystemException;
197
198 public void removeSCProductEntry(long pk, long scProductEntryPK)
199 throws com.liferay.portal.SystemException;
200
201 public void removeSCProductEntry(long pk,
202 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
203 throws com.liferay.portal.SystemException;
204
205 public void removeSCProductEntries(long pk, long[] scProductEntryPKs)
206 throws com.liferay.portal.SystemException;
207
208 public void removeSCProductEntries(long pk,
209 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
210 throws com.liferay.portal.SystemException;
211
212 public void setSCProductEntries(long pk, long[] scProductEntryPKs)
213 throws com.liferay.portal.SystemException;
214
215 public void setSCProductEntries(long pk,
216 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
217 throws com.liferay.portal.SystemException;
218 }