Liferay 6.1.2-ce-ga3

com.liferay.portlet
Interface PortletPreferencesFactory


public interface PortletPreferencesFactory


Method Summary
 PortletPreferences fromDefaultXML(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)
           
 PortletPreferences getLayoutPortletSetup(Layout layout, String portletId)
           
 PortalPreferences getPortalPreferences(javax.servlet.http.HttpServletRequest request)
           
 PortalPreferences getPortalPreferences(javax.servlet.http.HttpSession session, long companyId, long userId, boolean signedIn)
           
 PortalPreferences getPortalPreferences(long companyId, long userId, boolean signedIn)
           
 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)
           
 String toXML(PortalPreferences portalPreferences)
           
 String toXML(PortletPreferences portletPreferences)
           
 

Method Detail

fromDefaultXML

PortletPreferences fromDefaultXML(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
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 companyId,
                                       long userId,
                                       boolean signedIn)
                                       throws SystemException
Throws:
SystemException

getPortalPreferences

PortalPreferences getPortalPreferences(long companyId,
                                       long userId,
                                       boolean signedIn)
                                       throws SystemException
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

toXML

String toXML(PortalPreferences portalPreferences)

toXML

String toXML(PortletPreferences portletPreferences)

Liferay 6.1.2-ce-ga3