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, OrderByComparator orderByComparator)
           
 PortletPreferences findByO_O_P_First(long ownerId, int ownerType, long plid, OrderByComparator orderByComparator)
           
 PortletPreferences findByO_O_P_Last(long ownerId, int ownerType, long plid, 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, 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, OrderByComparator orderByComparator)
           
 PortletPreferences findByP_P_First(long plid, java.lang.String portletId, OrderByComparator orderByComparator)
           
 PortletPreferences findByP_P_Last(long plid, java.lang.String portletId, OrderByComparator orderByComparator)
           
 PortletPreferences[] findByP_P_PrevAndNext(long portletPreferencesId, long plid, java.lang.String portletId, 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, OrderByComparator orderByComparator)
           
 PortletPreferences findByPlid_First(long plid, OrderByComparator orderByComparator)
           
 PortletPreferences findByPlid_Last(long plid, OrderByComparator orderByComparator)
           
 PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId, long plid, 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, 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 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,
                                 SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

updateImpl

PortletPreferences updateImpl(PortletPreferences portletPreferences,
                              boolean merge)
                              throws SystemException
Throws:
SystemException

findByPrimaryKey

PortletPreferences findByPrimaryKey(long portletPreferencesId)
                                    throws NoSuchPortletPreferencesException,
                                           SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

fetchByPrimaryKey

PortletPreferences fetchByPrimaryKey(long portletPreferencesId)
                                     throws SystemException
Throws:
SystemException

findByPlid

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

findByPlid

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

findByPlid

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

findByPlid_First

PortletPreferences findByPlid_First(long plid,
                                    OrderByComparator orderByComparator)
                                    throws NoSuchPortletPreferencesException,
                                           SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

findByPlid_Last

PortletPreferences findByPlid_Last(long plid,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchPortletPreferencesException,
                                          SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

findByPlid_PrevAndNext

PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId,
                                            long plid,
                                            OrderByComparator orderByComparator)
                                            throws NoSuchPortletPreferencesException,
                                                   SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

findByP_P

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

findByP_P

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

findByP_P

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

findByP_P_First

PortletPreferences findByP_P_First(long plid,
                                   java.lang.String portletId,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchPortletPreferencesException,
                                          SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

findByP_P_Last

PortletPreferences findByP_P_Last(long plid,
                                  java.lang.String portletId,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchPortletPreferencesException,
                                         SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

findByP_P_PrevAndNext

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

findByO_O_P

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

findByO_O_P

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

findByO_O_P

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

findByO_O_P_First

PortletPreferences findByO_O_P_First(long ownerId,
                                     int ownerType,
                                     long plid,
                                     OrderByComparator orderByComparator)
                                     throws NoSuchPortletPreferencesException,
                                            SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

findByO_O_P_Last

PortletPreferences findByO_O_P_Last(long ownerId,
                                    int ownerType,
                                    long plid,
                                    OrderByComparator orderByComparator)
                                    throws NoSuchPortletPreferencesException,
                                           SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

findByO_O_P_PrevAndNext

PortletPreferences[] findByO_O_P_PrevAndNext(long portletPreferencesId,
                                             long ownerId,
                                             int ownerType,
                                             long plid,
                                             OrderByComparator orderByComparator)
                                             throws NoSuchPortletPreferencesException,
                                                    SystemException
Throws:
NoSuchPortletPreferencesException
SystemException

findByO_O_P_P

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

fetchByO_O_P_P

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

fetchByO_O_P_P

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

findAll

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

findAll

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

findAll

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

removeByPlid

void removeByPlid(long plid)
                  throws SystemException
Throws:
SystemException

removeByP_P

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

removeByO_O_P

void removeByO_O_P(long ownerId,
                   int ownerType,
                   long plid)
                   throws SystemException
Throws:
SystemException

removeByO_O_P_P

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

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByPlid

int countByPlid(long plid)
                throws SystemException
Throws:
SystemException

countByP_P

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

countByO_O_P

int countByO_O_P(long ownerId,
                 int ownerType,
                 long plid)
                 throws SystemException
Throws:
SystemException

countByO_O_P_P

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

countAll

int countAll()
             throws SystemException
Throws:
SystemException