com.liferay.portal.service.persistence
Interface PortletPreferencesPersistence


public interface PortletPreferencesPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByO_O_P_P(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 int countByO_O_P(long ownerId, int ownerType, long plid)
           
 int countByP_P(long plid, java.lang.String portletId)
           
 int countByPlid(long plid)
           
 PortletPreferences create(long portletPreferencesId)
           
 PortletPreferences fetchByO_O_P_P(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 PortletPreferences fetchByPrimaryKey(long portletPreferencesId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences findByO_O_P_First(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences findByO_O_P_Last(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences findByO_O_P_P(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 PortletPreferences[] findByO_O_P_PrevAndNext(long portletPreferencesId, long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByO_O_P(long ownerId, int ownerType, long plid)
           
 java.util.List findByO_O_P(long ownerId, int ownerType, long plid, int begin, int end)
           
 java.util.List findByO_O_P(long ownerId, int ownerType, long plid, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences findByP_P_First(long plid, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences findByP_P_Last(long plid, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences[] findByP_P_PrevAndNext(long portletPreferencesId, long plid, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByP_P(long plid, java.lang.String portletId)
           
 java.util.List findByP_P(long plid, java.lang.String portletId, int begin, int end)
           
 java.util.List findByP_P(long plid, java.lang.String portletId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId, long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByPlid(long plid)
           
 java.util.List findByPlid(long plid, int begin, int end)
           
 java.util.List findByPlid(long plid, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletPreferences findByPrimaryKey(long portletPreferencesId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 PortletPreferences remove(long portletPreferencesId)
           
 PortletPreferences remove(PortletPreferences portletPreferences)
           
 void removeAll()
           
 void removeByO_O_P_P(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 void removeByO_O_P(long ownerId, int ownerType, long plid)
           
 void removeByP_P(long plid, java.lang.String portletId)
           
 void removeByPlid(long plid)
           
 PortletPreferences update(PortletPreferences portletPreferences)
           
 PortletPreferences update(PortletPreferences portletPreferences, boolean merge)
           
 PortletPreferences updateImpl(PortletPreferences portletPreferences, boolean merge)
           
 

Method Detail

create

public PortletPreferences create(long portletPreferencesId)

remove

public PortletPreferences remove(long portletPreferencesId)
                          throws com.liferay.portal.SystemException,
                                 NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

remove

public PortletPreferences remove(PortletPreferences portletPreferences)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public PortletPreferences update(PortletPreferences portletPreferences)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public PortletPreferences update(PortletPreferences portletPreferences,
                                 boolean merge)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public PortletPreferences updateImpl(PortletPreferences portletPreferences,
                                     boolean merge)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public PortletPreferences findByPrimaryKey(long portletPreferencesId)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

fetchByPrimaryKey

public PortletPreferences fetchByPrimaryKey(long portletPreferencesId)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPlid

public java.util.List findByPlid(long plid)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPlid

public java.util.List findByPlid(long plid,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPlid

public java.util.List findByPlid(long plid,
                                 int begin,
                                 int end,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPlid_First

public PortletPreferences findByPlid_First(long plid,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

findByPlid_Last

public PortletPreferences findByPlid_Last(long plid,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

findByPlid_PrevAndNext

public PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId,
                                                   long plid,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException,
                                                   NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

findByP_P

public java.util.List findByP_P(long plid,
                                java.lang.String portletId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_P

public java.util.List findByP_P(long plid,
                                java.lang.String portletId,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_P

public java.util.List findByP_P(long plid,
                                java.lang.String portletId,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_P_First

public PortletPreferences findByP_P_First(long plid,
                                          java.lang.String portletId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

findByP_P_Last

public PortletPreferences findByP_P_Last(long plid,
                                         java.lang.String portletId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

findByP_P_PrevAndNext

public PortletPreferences[] findByP_P_PrevAndNext(long portletPreferencesId,
                                                  long plid,
                                                  java.lang.String portletId,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

findByO_O_P

public java.util.List findByO_O_P(long ownerId,
                                  int ownerType,
                                  long plid)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByO_O_P

public java.util.List findByO_O_P(long ownerId,
                                  int ownerType,
                                  long plid,
                                  int begin,
                                  int end)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByO_O_P

public java.util.List findByO_O_P(long ownerId,
                                  int ownerType,
                                  long plid,
                                  int begin,
                                  int end,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByO_O_P_First

public PortletPreferences findByO_O_P_First(long ownerId,
                                            int ownerType,
                                            long plid,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

findByO_O_P_Last

public PortletPreferences findByO_O_P_Last(long ownerId,
                                           int ownerType,
                                           long plid,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

findByO_O_P_PrevAndNext

public PortletPreferences[] findByO_O_P_PrevAndNext(long portletPreferencesId,
                                                    long ownerId,
                                                    int ownerType,
                                                    long plid,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

findByO_O_P_P

public PortletPreferences findByO_O_P_P(long ownerId,
                                        int ownerType,
                                        long plid,
                                        java.lang.String portletId)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

fetchByO_O_P_P

public PortletPreferences fetchByO_O_P_P(long ownerId,
                                         int ownerType,
                                         long plid,
                                         java.lang.String portletId)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByPlid

public void removeByPlid(long plid)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByP_P

public void removeByP_P(long plid,
                        java.lang.String portletId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByO_O_P

public void removeByO_O_P(long ownerId,
                          int ownerType,
                          long plid)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByO_O_P_P

public void removeByO_O_P_P(long ownerId,
                            int ownerType,
                            long plid,
                            java.lang.String portletId)
                     throws com.liferay.portal.SystemException,
                            NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByPlid

public int countByPlid(long plid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByP_P

public int countByP_P(long plid,
                      java.lang.String portletId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByO_O_P

public int countByO_O_P(long ownerId,
                        int ownerType,
                        long plid)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByO_O_P_P

public int countByO_O_P_P(long ownerId,
                          int ownerType,
                          long plid,
                          java.lang.String portletId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException