1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface PortletPreferencesPersistence extends BasePersistence {
40 public void cacheResult(
41 com.liferay.portal.model.PortletPreferences portletPreferences);
42
43 public void cacheResult(
44 java.util.List<com.liferay.portal.model.PortletPreferences> portletPreferenceses);
45
46 public void clearCache();
47
48 public com.liferay.portal.model.PortletPreferences create(
49 long portletPreferencesId);
50
51 public com.liferay.portal.model.PortletPreferences remove(
52 long portletPreferencesId)
53 throws com.liferay.portal.NoSuchPortletPreferencesException,
54 com.liferay.portal.SystemException;
55
56 public com.liferay.portal.model.PortletPreferences remove(
57 com.liferay.portal.model.PortletPreferences portletPreferences)
58 throws com.liferay.portal.SystemException;
59
60
63 public com.liferay.portal.model.PortletPreferences update(
64 com.liferay.portal.model.PortletPreferences portletPreferences)
65 throws com.liferay.portal.SystemException;
66
67
79 public com.liferay.portal.model.PortletPreferences update(
80 com.liferay.portal.model.PortletPreferences portletPreferences,
81 boolean merge) throws com.liferay.portal.SystemException;
82
83 public com.liferay.portal.model.PortletPreferences updateImpl(
84 com.liferay.portal.model.PortletPreferences portletPreferences,
85 boolean merge) throws com.liferay.portal.SystemException;
86
87 public com.liferay.portal.model.PortletPreferences findByPrimaryKey(
88 long portletPreferencesId)
89 throws com.liferay.portal.NoSuchPortletPreferencesException,
90 com.liferay.portal.SystemException;
91
92 public com.liferay.portal.model.PortletPreferences fetchByPrimaryKey(
93 long portletPreferencesId) throws com.liferay.portal.SystemException;
94
95 public java.util.List<com.liferay.portal.model.PortletPreferences> findByPlid(
96 long plid) throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portal.model.PortletPreferences> findByPlid(
99 long plid, int start, int end)
100 throws com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portal.model.PortletPreferences> findByPlid(
103 long plid, int start, int end,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException;
106
107 public com.liferay.portal.model.PortletPreferences findByPlid_First(
108 long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
109 throws com.liferay.portal.NoSuchPortletPreferencesException,
110 com.liferay.portal.SystemException;
111
112 public com.liferay.portal.model.PortletPreferences findByPlid_Last(
113 long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.NoSuchPortletPreferencesException,
115 com.liferay.portal.SystemException;
116
117 public com.liferay.portal.model.PortletPreferences[] findByPlid_PrevAndNext(
118 long portletPreferencesId, long plid,
119 com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.NoSuchPortletPreferencesException,
121 com.liferay.portal.SystemException;
122
123 public java.util.List<com.liferay.portal.model.PortletPreferences> findByP_P(
124 long plid, java.lang.String portletId)
125 throws com.liferay.portal.SystemException;
126
127 public java.util.List<com.liferay.portal.model.PortletPreferences> findByP_P(
128 long plid, java.lang.String portletId, int start, int end)
129 throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portal.model.PortletPreferences> findByP_P(
132 long plid, java.lang.String portletId, int start, int end,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException;
135
136 public com.liferay.portal.model.PortletPreferences findByP_P_First(
137 long plid, java.lang.String portletId,
138 com.liferay.portal.kernel.util.OrderByComparator obc)
139 throws com.liferay.portal.NoSuchPortletPreferencesException,
140 com.liferay.portal.SystemException;
141
142 public com.liferay.portal.model.PortletPreferences findByP_P_Last(
143 long plid, java.lang.String portletId,
144 com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.NoSuchPortletPreferencesException,
146 com.liferay.portal.SystemException;
147
148 public com.liferay.portal.model.PortletPreferences[] findByP_P_PrevAndNext(
149 long portletPreferencesId, long plid, java.lang.String portletId,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.NoSuchPortletPreferencesException,
152 com.liferay.portal.SystemException;
153
154 public java.util.List<com.liferay.portal.model.PortletPreferences> findByO_O_P(
155 long ownerId, int ownerType, long plid)
156 throws com.liferay.portal.SystemException;
157
158 public java.util.List<com.liferay.portal.model.PortletPreferences> findByO_O_P(
159 long ownerId, int ownerType, long plid, int start, int end)
160 throws com.liferay.portal.SystemException;
161
162 public java.util.List<com.liferay.portal.model.PortletPreferences> findByO_O_P(
163 long ownerId, int ownerType, long plid, int start, int end,
164 com.liferay.portal.kernel.util.OrderByComparator obc)
165 throws com.liferay.portal.SystemException;
166
167 public com.liferay.portal.model.PortletPreferences findByO_O_P_First(
168 long ownerId, int ownerType, long plid,
169 com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.NoSuchPortletPreferencesException,
171 com.liferay.portal.SystemException;
172
173 public com.liferay.portal.model.PortletPreferences findByO_O_P_Last(
174 long ownerId, int ownerType, long plid,
175 com.liferay.portal.kernel.util.OrderByComparator obc)
176 throws com.liferay.portal.NoSuchPortletPreferencesException,
177 com.liferay.portal.SystemException;
178
179 public com.liferay.portal.model.PortletPreferences[] findByO_O_P_PrevAndNext(
180 long portletPreferencesId, long ownerId, int ownerType, long plid,
181 com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.NoSuchPortletPreferencesException,
183 com.liferay.portal.SystemException;
184
185 public com.liferay.portal.model.PortletPreferences findByO_O_P_P(
186 long ownerId, int ownerType, long plid, java.lang.String portletId)
187 throws com.liferay.portal.NoSuchPortletPreferencesException,
188 com.liferay.portal.SystemException;
189
190 public com.liferay.portal.model.PortletPreferences fetchByO_O_P_P(
191 long ownerId, int ownerType, long plid, java.lang.String portletId)
192 throws com.liferay.portal.SystemException;
193
194 public com.liferay.portal.model.PortletPreferences fetchByO_O_P_P(
195 long ownerId, int ownerType, long plid, java.lang.String portletId,
196 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
197
198 public java.util.List<Object> findWithDynamicQuery(
199 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
200 throws com.liferay.portal.SystemException;
201
202 public java.util.List<Object> findWithDynamicQuery(
203 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
204 int end) throws com.liferay.portal.SystemException;
205
206 public java.util.List<com.liferay.portal.model.PortletPreferences> findAll()
207 throws com.liferay.portal.SystemException;
208
209 public java.util.List<com.liferay.portal.model.PortletPreferences> findAll(
210 int start, int end) throws com.liferay.portal.SystemException;
211
212 public java.util.List<com.liferay.portal.model.PortletPreferences> findAll(
213 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
214 throws com.liferay.portal.SystemException;
215
216 public void removeByPlid(long plid)
217 throws com.liferay.portal.SystemException;
218
219 public void removeByP_P(long plid, java.lang.String portletId)
220 throws com.liferay.portal.SystemException;
221
222 public void removeByO_O_P(long ownerId, int ownerType, long plid)
223 throws com.liferay.portal.SystemException;
224
225 public void removeByO_O_P_P(long ownerId, int ownerType, long plid,
226 java.lang.String portletId)
227 throws com.liferay.portal.NoSuchPortletPreferencesException,
228 com.liferay.portal.SystemException;
229
230 public void removeAll() throws com.liferay.portal.SystemException;
231
232 public int countByPlid(long plid) throws com.liferay.portal.SystemException;
233
234 public int countByP_P(long plid, java.lang.String portletId)
235 throws com.liferay.portal.SystemException;
236
237 public int countByO_O_P(long ownerId, int ownerType, long plid)
238 throws com.liferay.portal.SystemException;
239
240 public int countByO_O_P_P(long ownerId, int ownerType, long plid,
241 java.lang.String portletId) throws com.liferay.portal.SystemException;
242
243 public int countAll() throws com.liferay.portal.SystemException;
244 }