001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.PortletPreferences;
018
019
025 public interface PortletPreferencesPersistence extends BasePersistence<PortletPreferences> {
026 public void cacheResult(
027 com.liferay.portal.model.PortletPreferences portletPreferences);
028
029 public void cacheResult(
030 java.util.List<com.liferay.portal.model.PortletPreferences> portletPreferenceses);
031
032 public com.liferay.portal.model.PortletPreferences create(
033 long portletPreferencesId);
034
035 public com.liferay.portal.model.PortletPreferences remove(
036 long portletPreferencesId)
037 throws com.liferay.portal.NoSuchPortletPreferencesException,
038 com.liferay.portal.kernel.exception.SystemException;
039
040 public com.liferay.portal.model.PortletPreferences updateImpl(
041 com.liferay.portal.model.PortletPreferences portletPreferences,
042 boolean merge)
043 throws com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portal.model.PortletPreferences findByPrimaryKey(
046 long portletPreferencesId)
047 throws com.liferay.portal.NoSuchPortletPreferencesException,
048 com.liferay.portal.kernel.exception.SystemException;
049
050 public com.liferay.portal.model.PortletPreferences fetchByPrimaryKey(
051 long portletPreferencesId)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054 public java.util.List<com.liferay.portal.model.PortletPreferences> findByPlid(
055 long plid) throws com.liferay.portal.kernel.exception.SystemException;
056
057 public java.util.List<com.liferay.portal.model.PortletPreferences> findByPlid(
058 long plid, int start, int end)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061 public java.util.List<com.liferay.portal.model.PortletPreferences> findByPlid(
062 long plid, int start, int end,
063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
064 throws com.liferay.portal.kernel.exception.SystemException;
065
066 public com.liferay.portal.model.PortletPreferences findByPlid_First(
067 long plid,
068 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
069 throws com.liferay.portal.NoSuchPortletPreferencesException,
070 com.liferay.portal.kernel.exception.SystemException;
071
072 public com.liferay.portal.model.PortletPreferences findByPlid_Last(
073 long plid,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.NoSuchPortletPreferencesException,
076 com.liferay.portal.kernel.exception.SystemException;
077
078 public com.liferay.portal.model.PortletPreferences[] findByPlid_PrevAndNext(
079 long portletPreferencesId, long plid,
080 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
081 throws com.liferay.portal.NoSuchPortletPreferencesException,
082 com.liferay.portal.kernel.exception.SystemException;
083
084 public java.util.List<com.liferay.portal.model.PortletPreferences> findByP_P(
085 long plid, java.lang.String portletId)
086 throws com.liferay.portal.kernel.exception.SystemException;
087
088 public java.util.List<com.liferay.portal.model.PortletPreferences> findByP_P(
089 long plid, java.lang.String portletId, int start, int end)
090 throws com.liferay.portal.kernel.exception.SystemException;
091
092 public java.util.List<com.liferay.portal.model.PortletPreferences> findByP_P(
093 long plid, java.lang.String portletId, int start, int end,
094 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
095 throws com.liferay.portal.kernel.exception.SystemException;
096
097 public com.liferay.portal.model.PortletPreferences findByP_P_First(
098 long plid, java.lang.String portletId,
099 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
100 throws com.liferay.portal.NoSuchPortletPreferencesException,
101 com.liferay.portal.kernel.exception.SystemException;
102
103 public com.liferay.portal.model.PortletPreferences findByP_P_Last(
104 long plid, java.lang.String portletId,
105 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
106 throws com.liferay.portal.NoSuchPortletPreferencesException,
107 com.liferay.portal.kernel.exception.SystemException;
108
109 public com.liferay.portal.model.PortletPreferences[] findByP_P_PrevAndNext(
110 long portletPreferencesId, long plid, java.lang.String portletId,
111 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
112 throws com.liferay.portal.NoSuchPortletPreferencesException,
113 com.liferay.portal.kernel.exception.SystemException;
114
115 public java.util.List<com.liferay.portal.model.PortletPreferences> findByO_O_P(
116 long ownerId, int ownerType, long plid)
117 throws com.liferay.portal.kernel.exception.SystemException;
118
119 public java.util.List<com.liferay.portal.model.PortletPreferences> findByO_O_P(
120 long ownerId, int ownerType, long plid, int start, int end)
121 throws com.liferay.portal.kernel.exception.SystemException;
122
123 public java.util.List<com.liferay.portal.model.PortletPreferences> findByO_O_P(
124 long ownerId, int ownerType, long plid, int start, int end,
125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
126 throws com.liferay.portal.kernel.exception.SystemException;
127
128 public com.liferay.portal.model.PortletPreferences findByO_O_P_First(
129 long ownerId, int ownerType, long plid,
130 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
131 throws com.liferay.portal.NoSuchPortletPreferencesException,
132 com.liferay.portal.kernel.exception.SystemException;
133
134 public com.liferay.portal.model.PortletPreferences findByO_O_P_Last(
135 long ownerId, int ownerType, long plid,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.NoSuchPortletPreferencesException,
138 com.liferay.portal.kernel.exception.SystemException;
139
140 public com.liferay.portal.model.PortletPreferences[] findByO_O_P_PrevAndNext(
141 long portletPreferencesId, long ownerId, int ownerType, long plid,
142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143 throws com.liferay.portal.NoSuchPortletPreferencesException,
144 com.liferay.portal.kernel.exception.SystemException;
145
146 public com.liferay.portal.model.PortletPreferences findByO_O_P_P(
147 long ownerId, int ownerType, long plid, java.lang.String portletId)
148 throws com.liferay.portal.NoSuchPortletPreferencesException,
149 com.liferay.portal.kernel.exception.SystemException;
150
151 public com.liferay.portal.model.PortletPreferences fetchByO_O_P_P(
152 long ownerId, int ownerType, long plid, java.lang.String portletId)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155 public com.liferay.portal.model.PortletPreferences fetchByO_O_P_P(
156 long ownerId, int ownerType, long plid, java.lang.String portletId,
157 boolean retrieveFromCache)
158 throws com.liferay.portal.kernel.exception.SystemException;
159
160 public java.util.List<com.liferay.portal.model.PortletPreferences> findAll()
161 throws com.liferay.portal.kernel.exception.SystemException;
162
163 public java.util.List<com.liferay.portal.model.PortletPreferences> findAll(
164 int start, int end)
165 throws com.liferay.portal.kernel.exception.SystemException;
166
167 public java.util.List<com.liferay.portal.model.PortletPreferences> findAll(
168 int start, int end,
169 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
170 throws com.liferay.portal.kernel.exception.SystemException;
171
172 public void removeByPlid(long plid)
173 throws com.liferay.portal.kernel.exception.SystemException;
174
175 public void removeByP_P(long plid, java.lang.String portletId)
176 throws com.liferay.portal.kernel.exception.SystemException;
177
178 public void removeByO_O_P(long ownerId, int ownerType, long plid)
179 throws com.liferay.portal.kernel.exception.SystemException;
180
181 public void removeByO_O_P_P(long ownerId, int ownerType, long plid,
182 java.lang.String portletId)
183 throws com.liferay.portal.NoSuchPortletPreferencesException,
184 com.liferay.portal.kernel.exception.SystemException;
185
186 public void removeAll()
187 throws com.liferay.portal.kernel.exception.SystemException;
188
189 public int countByPlid(long plid)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192 public int countByP_P(long plid, java.lang.String portletId)
193 throws com.liferay.portal.kernel.exception.SystemException;
194
195 public int countByO_O_P(long ownerId, int ownerType, long plid)
196 throws com.liferay.portal.kernel.exception.SystemException;
197
198 public int countByO_O_P_P(long ownerId, int ownerType, long plid,
199 java.lang.String portletId)
200 throws com.liferay.portal.kernel.exception.SystemException;
201
202 public int countAll()
203 throws com.liferay.portal.kernel.exception.SystemException;
204 }