1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.PortletPreferences;
18
19
32 public interface PortletPreferencesPersistence extends BasePersistence<PortletPreferences> {
33 public void cacheResult(
34 com.liferay.portal.model.PortletPreferences portletPreferences);
35
36 public void cacheResult(
37 java.util.List<com.liferay.portal.model.PortletPreferences> portletPreferenceses);
38
39 public com.liferay.portal.model.PortletPreferences create(
40 long portletPreferencesId);
41
42 public com.liferay.portal.model.PortletPreferences remove(
43 long portletPreferencesId)
44 throws com.liferay.portal.NoSuchPortletPreferencesException,
45 com.liferay.portal.kernel.exception.SystemException;
46
47 public com.liferay.portal.model.PortletPreferences updateImpl(
48 com.liferay.portal.model.PortletPreferences portletPreferences,
49 boolean merge)
50 throws com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portal.model.PortletPreferences findByPrimaryKey(
53 long portletPreferencesId)
54 throws com.liferay.portal.NoSuchPortletPreferencesException,
55 com.liferay.portal.kernel.exception.SystemException;
56
57 public com.liferay.portal.model.PortletPreferences fetchByPrimaryKey(
58 long portletPreferencesId)
59 throws com.liferay.portal.kernel.exception.SystemException;
60
61 public java.util.List<com.liferay.portal.model.PortletPreferences> findByPlid(
62 long plid) throws com.liferay.portal.kernel.exception.SystemException;
63
64 public java.util.List<com.liferay.portal.model.PortletPreferences> findByPlid(
65 long plid, int start, int end)
66 throws com.liferay.portal.kernel.exception.SystemException;
67
68 public java.util.List<com.liferay.portal.model.PortletPreferences> findByPlid(
69 long plid, int start, int end,
70 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
71 throws com.liferay.portal.kernel.exception.SystemException;
72
73 public com.liferay.portal.model.PortletPreferences findByPlid_First(
74 long plid,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.NoSuchPortletPreferencesException,
77 com.liferay.portal.kernel.exception.SystemException;
78
79 public com.liferay.portal.model.PortletPreferences findByPlid_Last(
80 long plid,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.NoSuchPortletPreferencesException,
83 com.liferay.portal.kernel.exception.SystemException;
84
85 public com.liferay.portal.model.PortletPreferences[] findByPlid_PrevAndNext(
86 long portletPreferencesId, long plid,
87 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
88 throws com.liferay.portal.NoSuchPortletPreferencesException,
89 com.liferay.portal.kernel.exception.SystemException;
90
91 public java.util.List<com.liferay.portal.model.PortletPreferences> findByP_P(
92 long plid, java.lang.String portletId)
93 throws com.liferay.portal.kernel.exception.SystemException;
94
95 public java.util.List<com.liferay.portal.model.PortletPreferences> findByP_P(
96 long plid, java.lang.String portletId, int start, int end)
97 throws com.liferay.portal.kernel.exception.SystemException;
98
99 public java.util.List<com.liferay.portal.model.PortletPreferences> findByP_P(
100 long plid, java.lang.String portletId, int start, int end,
101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public com.liferay.portal.model.PortletPreferences findByP_P_First(
105 long plid, java.lang.String portletId,
106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
107 throws com.liferay.portal.NoSuchPortletPreferencesException,
108 com.liferay.portal.kernel.exception.SystemException;
109
110 public com.liferay.portal.model.PortletPreferences findByP_P_Last(
111 long plid, java.lang.String portletId,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.NoSuchPortletPreferencesException,
114 com.liferay.portal.kernel.exception.SystemException;
115
116 public com.liferay.portal.model.PortletPreferences[] findByP_P_PrevAndNext(
117 long portletPreferencesId, long plid, java.lang.String portletId,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.NoSuchPortletPreferencesException,
120 com.liferay.portal.kernel.exception.SystemException;
121
122 public java.util.List<com.liferay.portal.model.PortletPreferences> findByO_O_P(
123 long ownerId, int ownerType, long plid)
124 throws com.liferay.portal.kernel.exception.SystemException;
125
126 public java.util.List<com.liferay.portal.model.PortletPreferences> findByO_O_P(
127 long ownerId, int ownerType, long plid, int start, int end)
128 throws com.liferay.portal.kernel.exception.SystemException;
129
130 public java.util.List<com.liferay.portal.model.PortletPreferences> findByO_O_P(
131 long ownerId, int ownerType, long plid, int start, int end,
132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public com.liferay.portal.model.PortletPreferences findByO_O_P_First(
136 long ownerId, int ownerType, long plid,
137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138 throws com.liferay.portal.NoSuchPortletPreferencesException,
139 com.liferay.portal.kernel.exception.SystemException;
140
141 public com.liferay.portal.model.PortletPreferences findByO_O_P_Last(
142 long ownerId, int ownerType, long plid,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.NoSuchPortletPreferencesException,
145 com.liferay.portal.kernel.exception.SystemException;
146
147 public com.liferay.portal.model.PortletPreferences[] findByO_O_P_PrevAndNext(
148 long portletPreferencesId, long ownerId, int ownerType, long plid,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.NoSuchPortletPreferencesException,
151 com.liferay.portal.kernel.exception.SystemException;
152
153 public com.liferay.portal.model.PortletPreferences findByO_O_P_P(
154 long ownerId, int ownerType, long plid, java.lang.String portletId)
155 throws com.liferay.portal.NoSuchPortletPreferencesException,
156 com.liferay.portal.kernel.exception.SystemException;
157
158 public com.liferay.portal.model.PortletPreferences fetchByO_O_P_P(
159 long ownerId, int ownerType, long plid, java.lang.String portletId)
160 throws com.liferay.portal.kernel.exception.SystemException;
161
162 public com.liferay.portal.model.PortletPreferences fetchByO_O_P_P(
163 long ownerId, int ownerType, long plid, java.lang.String portletId,
164 boolean retrieveFromCache)
165 throws com.liferay.portal.kernel.exception.SystemException;
166
167 public java.util.List<com.liferay.portal.model.PortletPreferences> findAll()
168 throws com.liferay.portal.kernel.exception.SystemException;
169
170 public java.util.List<com.liferay.portal.model.PortletPreferences> findAll(
171 int start, int end)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public java.util.List<com.liferay.portal.model.PortletPreferences> findAll(
175 int start, int end,
176 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
177 throws com.liferay.portal.kernel.exception.SystemException;
178
179 public void removeByPlid(long plid)
180 throws com.liferay.portal.kernel.exception.SystemException;
181
182 public void removeByP_P(long plid, java.lang.String portletId)
183 throws com.liferay.portal.kernel.exception.SystemException;
184
185 public void removeByO_O_P(long ownerId, int ownerType, long plid)
186 throws com.liferay.portal.kernel.exception.SystemException;
187
188 public void removeByO_O_P_P(long ownerId, int ownerType, long plid,
189 java.lang.String portletId)
190 throws com.liferay.portal.NoSuchPortletPreferencesException,
191 com.liferay.portal.kernel.exception.SystemException;
192
193 public void removeAll()
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public int countByPlid(long plid)
197 throws com.liferay.portal.kernel.exception.SystemException;
198
199 public int countByP_P(long plid, java.lang.String portletId)
200 throws com.liferay.portal.kernel.exception.SystemException;
201
202 public int countByO_O_P(long ownerId, int ownerType, long plid)
203 throws com.liferay.portal.kernel.exception.SystemException;
204
205 public int countByO_O_P_P(long ownerId, int ownerType, long plid,
206 java.lang.String portletId)
207 throws com.liferay.portal.kernel.exception.SystemException;
208
209 public int countAll()
210 throws com.liferay.portal.kernel.exception.SystemException;
211 }