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