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