1
14
15 package com.liferay.portlet.softwarecatalog.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.softwarecatalog.model.SCLicense;
20
21
34 public interface SCLicensePersistence extends BasePersistence<SCLicense> {
35 public void cacheResult(
36 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses);
40
41 public com.liferay.portlet.softwarecatalog.model.SCLicense create(
42 long licenseId);
43
44 public com.liferay.portlet.softwarecatalog.model.SCLicense remove(
45 long licenseId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
48
49 public com.liferay.portlet.softwarecatalog.model.SCLicense updateImpl(
50 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.softwarecatalog.model.SCLicense findByPrimaryKey(
55 long licenseId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
58
59 public com.liferay.portlet.softwarecatalog.model.SCLicense fetchByPrimaryKey(
60 long licenseId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
64 boolean active)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
68 boolean active, int start, int end)
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByActive(
72 boolean active, int start, int end,
73 com.liferay.portal.kernel.util.OrderByComparator obc)
74 throws com.liferay.portal.kernel.exception.SystemException;
75
76 public com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_First(
77 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
78 throws com.liferay.portal.kernel.exception.SystemException,
79 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
80
81 public com.liferay.portlet.softwarecatalog.model.SCLicense findByActive_Last(
82 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.kernel.exception.SystemException,
84 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
85
86 public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByActive_PrevAndNext(
87 long licenseId, boolean active,
88 com.liferay.portal.kernel.util.OrderByComparator obc)
89 throws com.liferay.portal.kernel.exception.SystemException,
90 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
91
92 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
93 boolean active, boolean recommended)
94 throws com.liferay.portal.kernel.exception.SystemException;
95
96 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
97 boolean active, boolean recommended, int start, int end)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findByA_R(
101 boolean active, boolean recommended, int start, int end,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_First(
106 boolean active, boolean recommended,
107 com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.kernel.exception.SystemException,
109 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
110
111 public com.liferay.portlet.softwarecatalog.model.SCLicense findByA_R_Last(
112 boolean active, boolean recommended,
113 com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.kernel.exception.SystemException,
115 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
116
117 public com.liferay.portlet.softwarecatalog.model.SCLicense[] findByA_R_PrevAndNext(
118 long licenseId, boolean active, boolean recommended,
119 com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.kernel.exception.SystemException,
121 com.liferay.portlet.softwarecatalog.NoSuchLicenseException;
122
123 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll()
124 throws com.liferay.portal.kernel.exception.SystemException;
125
126 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(
127 int start, int end)
128 throws com.liferay.portal.kernel.exception.SystemException;
129
130 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> findAll(
131 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public void removeByActive(boolean active)
135 throws com.liferay.portal.kernel.exception.SystemException;
136
137 public void removeByA_R(boolean active, boolean recommended)
138 throws com.liferay.portal.kernel.exception.SystemException;
139
140 public void removeAll()
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public int countByActive(boolean active)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146 public int countByA_R(boolean active, boolean recommended)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149 public int countAll()
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
153 long pk) throws com.liferay.portal.kernel.exception.SystemException;
154
155 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
156 long pk, int start, int end)
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
160 long pk, int start, int end,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.kernel.exception.SystemException;
163
164 public int getSCProductEntriesSize(long pk)
165 throws com.liferay.portal.kernel.exception.SystemException;
166
167 public boolean containsSCProductEntry(long pk, long scProductEntryPK)
168 throws com.liferay.portal.kernel.exception.SystemException;
169
170 public boolean containsSCProductEntries(long pk)
171 throws com.liferay.portal.kernel.exception.SystemException;
172
173 public void addSCProductEntry(long pk, long scProductEntryPK)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 public void addSCProductEntry(long pk,
177 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180 public void addSCProductEntries(long pk, long[] scProductEntryPKs)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public void addSCProductEntries(long pk,
184 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
185 throws com.liferay.portal.kernel.exception.SystemException;
186
187 public void clearSCProductEntries(long pk)
188 throws com.liferay.portal.kernel.exception.SystemException;
189
190 public void removeSCProductEntry(long pk, long scProductEntryPK)
191 throws com.liferay.portal.kernel.exception.SystemException;
192
193 public void removeSCProductEntry(long pk,
194 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
195 throws com.liferay.portal.kernel.exception.SystemException;
196
197 public void removeSCProductEntries(long pk, long[] scProductEntryPKs)
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200 public void removeSCProductEntries(long pk,
201 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
202 throws com.liferay.portal.kernel.exception.SystemException;
203
204 public void setSCProductEntries(long pk, long[] scProductEntryPKs)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207 public void setSCProductEntries(long pk,
208 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
209 throws com.liferay.portal.kernel.exception.SystemException;
210 }