Liferay 6.2-ce-ga5

com.liferay.portlet
Interface PortletPreferencesFactory


@ProviderType
public interface PortletPreferencesFactory


Method Summary
 void checkControlPanelPortletPreferences(ThemeDisplay themeDisplay, Portlet portlet)
           
 PortletPreferences fromDefaultXML(String xml)
           
 PortalPreferences fromXML(long ownerId, int ownerType, String xml)
           
 PortletPreferences fromXML(long companyId, long ownerId, int ownerType, long plid, String portletId, String xml)
           
 PortalPreferences fromXML(long companyId, long ownerId, int ownerType, String xml)
          Deprecated. As of 6.2.0, replaced by fromXML(long, int, String)
 PortletPreferences getLayoutPortletSetup(Layout layout, String portletId)
           
 PortalPreferences getPortalPreferences(javax.servlet.http.HttpServletRequest request)
           
 PortalPreferences getPortalPreferences(javax.servlet.http.HttpSession session, long userId, boolean signedIn)
           
 PortalPreferences getPortalPreferences(javax.servlet.http.HttpSession session, long companyId, long userId, boolean signedIn)
          Deprecated. As of 6.2.0, replaced by getPortalPreferences(HttpSession, long, boolean)
 PortalPreferences getPortalPreferences(long userId, boolean signedIn)
           
 PortalPreferences getPortalPreferences(long companyId, long userId, boolean signedIn)
          Deprecated. As of 6.2.0, replaced by getPortalPreferences(long, boolean)
 PortalPreferences getPortalPreferences(PortletRequest portletRequest)
           
 PortletPreferences getPortletPreferences(javax.servlet.http.HttpServletRequest request, String portletId)
           
 PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest request, Layout selLayout, String portletId)
           
 PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest request, String portletId)
           
 PortletPreferencesIds getPortletPreferencesIds(long scopeGroupId, long userId, Layout layout, String portletId, boolean modeEditGuest)
           
 PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest request, String portletId)
           
 PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest request, String portletId, String defaultPreferences)
           
 PortletPreferences getPortletSetup(Layout layout, String portletId, String defaultPreferences)
           
 PortletPreferences getPortletSetup(long scopeGroupId, Layout layout, String portletId, String defaultPreferences)
           
 PortletPreferences getPortletSetup(PortletRequest portletRequest)
           
 PortletPreferences getPortletSetup(PortletRequest portletRequest, String portletId)
           
 Map<Long,PortletPreferences> getPortletSetupMap(long companyId, long groupId, long ownerId, int ownerType, String portletId, boolean privateLayout)
           
 PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
           
 PreferencesValidator getPreferencesValidator(Portlet portlet)
           
 PortletPreferences getStrictLayoutPortletSetup(Layout layout, String portletId)
           
 PortletPreferences getStrictPortletSetup(Layout layout, String portletId)
           
 PortletPreferences strictFromXML(long companyId, long ownerId, int ownerType, long plid, String portletId, String xml)
           
 String toXML(PortalPreferences portalPreferences)
           
 String toXML(PortletPreferences portletPreferences)
           
 

Method Detail

checkControlPanelPortletPreferences

void checkControlPanelPortletPreferences(ThemeDisplay themeDisplay,
                                         Portlet portlet)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

fromDefaultXML

PortletPreferences fromDefaultXML(String xml)
                                  throws SystemException
Throws:
SystemException

fromXML

PortalPreferences fromXML(long ownerId,
                          int ownerType,
                          String xml)
                          throws SystemException
Throws:
SystemException

fromXML

PortletPreferences fromXML(long companyId,
                           long ownerId,
                           int ownerType,
                           long plid,
                           String portletId,
                           String xml)
                           throws SystemException
Throws:
SystemException

fromXML

PortalPreferences fromXML(long companyId,
                          long ownerId,
                          int ownerType,
                          String xml)
                          throws SystemException
Deprecated. As of 6.2.0, replaced by fromXML(long, int, String)

Throws:
SystemException

getLayoutPortletSetup

PortletPreferences getLayoutPortletSetup(Layout layout,
                                         String portletId)
                                         throws SystemException
Throws:
SystemException

getPortalPreferences

PortalPreferences getPortalPreferences(javax.servlet.http.HttpServletRequest request)
                                       throws SystemException
Throws:
SystemException

getPortalPreferences

PortalPreferences getPortalPreferences(javax.servlet.http.HttpSession session,
                                       long userId,
                                       boolean signedIn)
                                       throws SystemException
Throws:
SystemException

getPortalPreferences

PortalPreferences getPortalPreferences(javax.servlet.http.HttpSession session,
                                       long companyId,
                                       long userId,
                                       boolean signedIn)
                                       throws SystemException
Deprecated. As of 6.2.0, replaced by getPortalPreferences(HttpSession, long, boolean)

Throws:
SystemException

getPortalPreferences

PortalPreferences getPortalPreferences(long userId,
                                       boolean signedIn)
                                       throws SystemException
Throws:
SystemException

getPortalPreferences

PortalPreferences getPortalPreferences(long companyId,
                                       long userId,
                                       boolean signedIn)
                                       throws SystemException
Deprecated. As of 6.2.0, replaced by getPortalPreferences(long, boolean)

Throws:
SystemException

getPortalPreferences

PortalPreferences getPortalPreferences(PortletRequest portletRequest)
                                       throws SystemException
Throws:
SystemException

getPortletPreferences

PortletPreferences getPortletPreferences(javax.servlet.http.HttpServletRequest request,
                                         String portletId)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

getPortletPreferencesIds

PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest request,
                                               Layout selLayout,
                                               String portletId)
                                               throws PortalException,
                                                      SystemException
Throws:
PortalException
SystemException

getPortletPreferencesIds

PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest request,
                                               String portletId)
                                               throws PortalException,
                                                      SystemException
Throws:
PortalException
SystemException

getPortletPreferencesIds

PortletPreferencesIds getPortletPreferencesIds(long scopeGroupId,
                                               long userId,
                                               Layout layout,
                                               String portletId,
                                               boolean modeEditGuest)
                                               throws PortalException,
                                                      SystemException
Throws:
PortalException
SystemException

getPortletSetup

PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest request,
                                   String portletId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getPortletSetup

PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest request,
                                   String portletId,
                                   String defaultPreferences)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getPortletSetup

PortletPreferences getPortletSetup(Layout layout,
                                   String portletId,
                                   String defaultPreferences)
                                   throws SystemException
Throws:
SystemException

getPortletSetup

PortletPreferences getPortletSetup(long scopeGroupId,
                                   Layout layout,
                                   String portletId,
                                   String defaultPreferences)
                                   throws SystemException
Throws:
SystemException

getPortletSetup

PortletPreferences getPortletSetup(PortletRequest portletRequest)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getPortletSetup

PortletPreferences getPortletSetup(PortletRequest portletRequest,
                                   String portletId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getPortletSetupMap

Map<Long,PortletPreferences> getPortletSetupMap(long companyId,
                                                long groupId,
                                                long ownerId,
                                                int ownerType,
                                                String portletId,
                                                boolean privateLayout)
                                                throws SystemException
Throws:
SystemException

getPreferences

PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)

getPreferencesValidator

PreferencesValidator getPreferencesValidator(Portlet portlet)

getStrictLayoutPortletSetup

PortletPreferences getStrictLayoutPortletSetup(Layout layout,
                                               String portletId)
                                               throws SystemException
Throws:
SystemException

getStrictPortletSetup

PortletPreferences getStrictPortletSetup(Layout layout,
                                         String portletId)
                                         throws SystemException
Throws:
SystemException

strictFromXML

PortletPreferences strictFromXML(long companyId,
                                 long ownerId,
                                 int ownerType,
                                 long plid,
                                 String portletId,
                                 String xml)
                                 throws SystemException
Throws:
SystemException

toXML

String toXML(PortalPreferences portalPreferences)

toXML

String toXML(PortletPreferences portletPreferences)

Liferay 6.2-ce-ga5