1
22
23 package com.liferay.portal.service;
24
25
26
51 public interface PortletPreferencesLocalService {
52 public com.liferay.portal.model.PortletPreferences addPortletPreferences(
53 com.liferay.portal.model.PortletPreferences portletPreferences)
54 throws com.liferay.portal.SystemException;
55
56 public void deletePortletPreferences(long portletPreferencesId)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deletePortletPreferences(
61 com.liferay.portal.model.PortletPreferences portletPreferences)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List<Object> dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portal.model.PortletPreferences getPortletPreferences(
73 long portletPreferencesId)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portal.PortalException;
76
77 public com.liferay.portal.model.PortletPreferences updatePortletPreferences(
78 com.liferay.portal.model.PortletPreferences portletPreferences)
79 throws com.liferay.portal.SystemException;
80
81 public void deletePortletPreferences(long ownerId, int ownerType, long plid)
82 throws com.liferay.portal.SystemException;
83
84 public void deletePortletPreferences(long ownerId, int ownerType,
85 long plid, java.lang.String portletId)
86 throws com.liferay.portal.PortalException,
87 com.liferay.portal.SystemException;
88
89 public javax.portlet.PortletPreferences getDefaultPreferences(
90 long companyId, java.lang.String portletId)
91 throws com.liferay.portal.PortalException,
92 com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences()
95 throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
98 long plid, java.lang.String portletId)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferences(
102 long ownerId, int ownerType, long plid)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portal.model.PortletPreferences getPortletPreferences(
106 long ownerId, int ownerType, long plid, java.lang.String portletId)
107 throws com.liferay.portal.PortalException,
108 com.liferay.portal.SystemException;
109
110 public java.util.List<com.liferay.portal.model.PortletPreferences> getPortletPreferencesByPlid(
111 long plid) throws com.liferay.portal.SystemException;
112
113 public javax.portlet.PortletPreferences getPreferences(
114 com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException;
117
118 public javax.portlet.PortletPreferences getPreferences(long companyId,
119 long ownerId, int ownerType, long plid, java.lang.String portletId)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException;
122
123 public javax.portlet.PortletPreferences getPreferences(long companyId,
124 long ownerId, int ownerType, long plid, java.lang.String portletId,
125 java.lang.String defaultPreferences)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException;
128
129 public com.liferay.portal.model.PortletPreferences updatePreferences(
130 long ownerId, int ownerType, long plid, java.lang.String portletId,
131 javax.portlet.PortletPreferences prefs)
132 throws com.liferay.portal.SystemException;
133 }