com.liferay.portal.service.persistence
Interface PortletPreferencesPersistence

All Superinterfaces:
BasePersistence<PortletPreferences>

public interface PortletPreferencesPersistence
extends BasePersistence<PortletPreferences>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
PortletPreferencesPersistenceImpl, PortletPreferencesUtil
Generated:

Method Summary
 void cacheResult(java.util.List<PortletPreferences> portletPreferenceses)
           
 void cacheResult(PortletPreferences portletPreferences)
           
 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 fetchByO_O_P_P(long ownerId, int ownerType, long plid, java.lang.String portletId, boolean retrieveFromCache)
           
 PortletPreferences fetchByPrimaryKey(long portletPreferencesId)
           
 java.util.List<PortletPreferences> findAll()
           
 java.util.List<PortletPreferences> findAll(int start, int end)
           
 java.util.List<PortletPreferences> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PortletPreferences findByO_O_P_First(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PortletPreferences findByO_O_P_Last(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 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 orderByComparator)
           
 java.util.List<PortletPreferences> findByO_O_P(long ownerId, int ownerType, long plid)
           
 java.util.List<PortletPreferences> findByO_O_P(long ownerId, int ownerType, long plid, int start, int end)
           
 java.util.List<PortletPreferences> findByO_O_P(long ownerId, int ownerType, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PortletPreferences findByP_P_First(long plid, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PortletPreferences findByP_P_Last(long plid, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PortletPreferences[] findByP_P_PrevAndNext(long portletPreferencesId, long plid, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<PortletPreferences> findByP_P(long plid, java.lang.String portletId)
           
 java.util.List<PortletPreferences> findByP_P(long plid, java.lang.String portletId, int start, int end)
           
 java.util.List<PortletPreferences> findByP_P(long plid, java.lang.String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PortletPreferences findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PortletPreferences findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId, long plid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<PortletPreferences> findByPlid(long plid)
           
 java.util.List<PortletPreferences> findByPlid(long plid, int start, int end)
           
 java.util.List<PortletPreferences> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 PortletPreferences findByPrimaryKey(long portletPreferencesId)
           
 PortletPreferences remove(long portletPreferencesId)
           
 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)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 PortletPreferences updateImpl(PortletPreferences portletPreferences, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(PortletPreferences portletPreferences)

cacheResult

void cacheResult(java.util.List<PortletPreferences> portletPreferenceses)

create

PortletPreferences create(long portletPreferencesId)

remove

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

update

PortletPreferences update(PortletPreferences portletPreferences)
                          throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByPlid

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

findByPlid

java.util.List<PortletPreferences> findByPlid(long plid,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPlid

java.util.List<PortletPreferences> findByPlid(long plid,
                                              int start,
                                              int end,
                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPlid_First

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

findByPlid_Last

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

findByPlid_PrevAndNext

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

findByP_P

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

findByP_P

java.util.List<PortletPreferences> findByP_P(long plid,
                                             java.lang.String portletId,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_P

java.util.List<PortletPreferences> findByP_P(long plid,
                                             java.lang.String portletId,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_P_First

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

findByP_P_Last

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

findByP_P_PrevAndNext

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

findByO_O_P

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

findByO_O_P

java.util.List<PortletPreferences> findByO_O_P(long ownerId,
                                               int ownerType,
                                               long plid,
                                               int start,
                                               int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByO_O_P

java.util.List<PortletPreferences> findByO_O_P(long ownerId,
                                               int ownerType,
                                               long plid,
                                               int start,
                                               int end,
                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByO_O_P_First

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

findByO_O_P_Last

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

findByO_O_P_PrevAndNext

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

findByO_O_P_P

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

fetchByO_O_P_P

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

fetchByO_O_P_P

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

findAll

java.util.List<PortletPreferences> findAll()
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<PortletPreferences> findAll(int start,
                                           int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<PortletPreferences> findAll(int start,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByPlid

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

removeByP_P

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

removeByO_O_P

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

removeByO_O_P_P

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

removeAll

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

countByPlid

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

countByP_P

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

countByO_O_P

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

countByO_O_P_P

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

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