com.liferay.portal.service.persistence
Interface PortletPreferencesPersistence

All Known Implementing Classes:
PortletPreferencesPersistenceImpl

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 countByPlid(long plid)
           
 com.liferay.portal.model.PortletPreferences create(long portletPreferencesId)
           
 com.liferay.portal.model.PortletPreferences fetchByO_O_P_P(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.PortletPreferences findByO_O_P_First(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.PortletPreferences findByO_O_P_Last(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.PortletPreferences findByO_O_P_P(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.PortletPreferences findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.PortletPreferences findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.PortletPreferences remove(long portletPreferencesId)
           
 com.liferay.portal.model.PortletPreferences remove(com.liferay.portal.model.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 removeByPlid(long plid)
           
 com.liferay.portal.model.PortletPreferences update(com.liferay.portal.model.PortletPreferences portletPreferences)
           
 com.liferay.portal.model.PortletPreferences update(com.liferay.portal.model.PortletPreferences portletPreferences, boolean merge)
           
 

Method Detail

create

public com.liferay.portal.model.PortletPreferences create(long portletPreferencesId)

remove

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

remove

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

update

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

update

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

findByPrimaryKey

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

fetchByPrimaryKey

public com.liferay.portal.model.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 com.liferay.portal.model.PortletPreferences findByPlid_First(long plid,
                                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                                             throws com.liferay.portal.SystemException,
                                                                    com.liferay.portal.NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException

findByPlid_Last

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

findByPlid_PrevAndNext

public com.liferay.portal.model.PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId,
                                                                            long plid,
                                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                     throws com.liferay.portal.SystemException,
                                                                            com.liferay.portal.NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.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 com.liferay.portal.model.PortletPreferences findByO_O_P_First(long ownerId,
                                                                     int ownerType,
                                                                     long plid,
                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                              throws com.liferay.portal.SystemException,
                                                                     com.liferay.portal.NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException

findByO_O_P_Last

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

findByO_O_P_PrevAndNext

public com.liferay.portal.model.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,
                                                                             com.liferay.portal.NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException

findByO_O_P_P

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

fetchByO_O_P_P

public com.liferay.portal.model.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

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,
                            com.liferay.portal.NoSuchPortletPreferencesException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.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

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