Class PortletPreferencesPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
com.liferay.portal.service.persistence.impl.PortletPreferencesPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>, com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence

public class PortletPreferencesPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences> implements com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
The persistence implementation for the portlet preferences service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the portlet preferences persistence.
    void
    cacheResult(com.liferay.portal.kernel.model.PortletPreferences portletPreferences)
    Caches the portlet preferences in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.portal.kernel.model.PortletPreferences> portletPreferenceses)
    Caches the portlet preferenceses in the entity cache if it is enabled.
    protected void
     
    void
    Clears the cache for all portlet preferenceses.
    void
    clearCache(com.liferay.portal.kernel.model.PortletPreferences portletPreferences)
    Clears the cache for the portlet preferences.
    void
    clearCache(List<com.liferay.portal.kernel.model.PortletPreferences> portletPreferenceses)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    Returns the number of portlet preferenceses.
    int
    countByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId)
    Returns the number of portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    int
    countByO_O_P(long ownerId, int ownerType, long plid)
    Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.
    int
    countByO_O_P_P(long ownerId, int ownerType, long plid, String portletId)
    Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and plid = ? and portletId = ?.
    int
    countByO_O_PI(long ownerId, int ownerType, String portletId)
    Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.
    int
    countByO_P(int ownerType, String portletId)
    Returns the number of portlet preferenceses where ownerType = ? and portletId = ?.
    int
    countByO_P_P(int ownerType, long plid, String portletId)
    Returns the number of portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.
    int
    countByOwnerId(long ownerId)
    Returns the number of portlet preferenceses where ownerId = ?.
    int
    countByP_P(long plid, String portletId)
    Returns the number of portlet preferenceses where plid = ? and portletId = ?.
    int
    countByPlid(long plid)
    Returns the number of portlet preferenceses where plid = ?.
    int
    Returns the number of portlet preferenceses where portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    create(long portletPreferencesId)
    Creates a new portlet preferences with the primary key.
    void
     
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByC_O_O_LikeP_First(long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByC_O_O_LikeP_Last(long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_O_P_First(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_O_P_Last(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_O_P_P(long ownerId, int ownerType, long plid, String portletId)
    Returns the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_O_P_P(long ownerId, int ownerType, long plid, String portletId, boolean useFinderCache)
    Returns the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_O_PI_First(long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_O_PI_Last(long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_P_First(int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerType = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_P_Last(int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerType = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_P_P_First(int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByO_P_P_Last(int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByOwnerId_First(long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByOwnerId_Last(long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByP_P_First(long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByP_P_Last(long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByPortletId_First(String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByPortletId_Last(String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    fetchByPrimaryKey(long portletPreferencesId)
    Returns the portlet preferences with the primary key or returns null if it could not be found.
    com.liferay.portal.kernel.model.PortletPreferences
    Returns the portlet preferences with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.portal.kernel.model.PortletPreferences>
     
    List<com.liferay.portal.kernel.model.PortletPreferences>
    Returns all the portlet preferenceses.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findAll(int start, int end)
    Returns a range of all the portlet preferenceses.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId)
    Returns all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end)
    Returns a range of all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByC_O_O_LikeP_First(long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByC_O_O_LikeP_Last(long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    com.liferay.portal.kernel.model.PortletPreferences[]
    findByC_O_O_LikeP_PrevAndNext(long portletPreferencesId, long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_O_P(long ownerId, int ownerType, long plid)
    Returns all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_O_P(long ownerId, int ownerType, long plid, int start, int end)
    Returns a range of all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_O_P(long ownerId, int ownerType, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_O_P(long ownerId, int ownerType, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByO_O_P_First(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByO_O_P_Last(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByO_O_P_P(long ownerId, int ownerType, long plid, String portletId)
    Returns the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? or throws a NoSuchPortletPreferencesException if it could not be found.
    com.liferay.portal.kernel.model.PortletPreferences[]
    findByO_O_P_PrevAndNext(long portletPreferencesId, long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_O_PI(long ownerId, int ownerType, String portletId)
    Returns all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end)
    Returns a range of all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByO_O_PI_First(long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByO_O_PI_Last(long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences[]
    findByO_O_PI_PrevAndNext(long portletPreferencesId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_P(int ownerType, String portletId)
    Returns all the portlet preferenceses where ownerType = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_P(int ownerType, String portletId, int start, int end)
    Returns a range of all the portlet preferenceses where ownerType = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_P(int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses where ownerType = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_P(int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses where ownerType = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByO_P_First(int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerType = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByO_P_Last(int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerType = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_P_P(int ownerType, long plid, String portletId)
    Returns all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_P_P(int ownerType, long plid, String portletId, int start, int end)
    Returns a range of all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_P_P(int ownerType, long plid, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByO_P_P(int ownerType, long plid, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByO_P_P_First(int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByO_P_P_Last(int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences[]
    findByO_P_P_PrevAndNext(long portletPreferencesId, int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences[]
    findByO_P_PrevAndNext(long portletPreferencesId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerType = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByOwnerId(long ownerId)
    Returns all the portlet preferenceses where ownerId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByOwnerId(long ownerId, int start, int end)
    Returns a range of all the portlet preferenceses where ownerId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByOwnerId(long ownerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses where ownerId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByOwnerId(long ownerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses where ownerId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByOwnerId_First(long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where ownerId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByOwnerId_Last(long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where ownerId = ?.
    com.liferay.portal.kernel.model.PortletPreferences[]
    findByOwnerId_PrevAndNext(long portletPreferencesId, long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByP_P(long plid, String portletId)
    Returns all the portlet preferenceses where plid = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByP_P(long plid, String portletId, int start, int end)
    Returns a range of all the portlet preferenceses where plid = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByP_P(long plid, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses where plid = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByP_P(long plid, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses where plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByP_P_First(long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByP_P_Last(long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where plid = ? and portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences[]
    findByP_P_PrevAndNext(long portletPreferencesId, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where plid = ? and portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByPlid(long plid)
    Returns all the portlet preferenceses where plid = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByPlid(long plid, int start, int end)
    Returns a range of all the portlet preferenceses where plid = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses where plid = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses where plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where plid = ?.
    com.liferay.portal.kernel.model.PortletPreferences[]
    findByPlid_PrevAndNext(long portletPreferencesId, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where plid = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    Returns all the portlet preferenceses where portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByPortletId(String portletId, int start, int end)
    Returns a range of all the portlet preferenceses where portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByPortletId(String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns an ordered range of all the portlet preferenceses where portletId = ?.
    List<com.liferay.portal.kernel.model.PortletPreferences>
    findByPortletId(String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the portlet preferenceses where portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByPortletId_First(String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the first portlet preferences in the ordered set where portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByPortletId_Last(String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the last portlet preferences in the ordered set where portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences[]
    findByPortletId_PrevAndNext(long portletPreferencesId, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
    Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where portletId = ?.
    com.liferay.portal.kernel.model.PortletPreferences
    findByPrimaryKey(long portletPreferencesId)
    Returns the portlet preferences with the primary key or throws a NoSuchPortletPreferencesException if it could not be found.
    com.liferay.portal.kernel.model.PortletPreferences
    Returns the portlet preferences with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    protected com.liferay.portal.kernel.model.PortletPreferences
    getByC_O_O_LikeP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferences
    getByO_O_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferences
    getByO_O_PI_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferences
    getByO_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferences
    getByO_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferences
    getByOwnerId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferences
    getByP_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferences
    getByPlid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.PortletPreferences
    getByPortletId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
     
    getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
     
    protected com.liferay.portal.kernel.dao.orm.EntityCache
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
     
    protected String
     
    protected String
     
     
     
     
    com.liferay.portal.kernel.model.PortletPreferences
    remove(long portletPreferencesId)
    Removes the portlet preferences with the primary key from the database.
    com.liferay.portal.kernel.model.PortletPreferences
    remove(Serializable primaryKey)
    Removes the portlet preferences with the primary key from the database.
    void
    Removes all the portlet preferenceses from the database.
    void
    removeByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId)
    Removes all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ? from the database.
    void
    removeByO_O_P(long ownerId, int ownerType, long plid)
    Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ? from the database.
    com.liferay.portal.kernel.model.PortletPreferences
    removeByO_O_P_P(long ownerId, int ownerType, long plid, String portletId)
    Removes the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? from the database.
    void
    removeByO_O_PI(long ownerId, int ownerType, String portletId)
    Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ? from the database.
    void
    removeByO_P(int ownerType, String portletId)
    Removes all the portlet preferenceses where ownerType = ? and portletId = ? from the database.
    void
    removeByO_P_P(int ownerType, long plid, String portletId)
    Removes all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ? from the database.
    void
    removeByOwnerId(long ownerId)
    Removes all the portlet preferenceses where ownerId = ? from the database.
    void
    removeByP_P(long plid, String portletId)
    Removes all the portlet preferenceses where plid = ? and portletId = ? from the database.
    void
    removeByPlid(long plid)
    Removes all the portlet preferenceses where plid = ? from the database.
    void
    Removes all the portlet preferenceses where portletId = ? from the database.
    protected com.liferay.portal.kernel.model.PortletPreferences
    removeImpl(com.liferay.portal.kernel.model.PortletPreferences portletPreferences)
     
    com.liferay.portal.kernel.model.PortletPreferences
    updateImpl(com.liferay.portal.kernel.model.PortletPreferences portletPreferences)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Field Details

    • FINDER_CLASS_NAME_ENTITY

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
  • Constructor Details

    • PortletPreferencesPersistenceImpl

      public PortletPreferencesPersistenceImpl()
  • Method Details

    • findByOwnerId

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByOwnerId(long ownerId)
      Returns all the portlet preferenceses where ownerId = ?.
      Specified by:
      findByOwnerId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      Returns:
      the matching portlet preferenceses
    • findByOwnerId

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByOwnerId(long ownerId, int start, int end)
      Returns a range of all the portlet preferenceses where ownerId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByOwnerId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of matching portlet preferenceses
    • findByOwnerId

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByOwnerId(long ownerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses where ownerId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByOwnerId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preferenceses
    • findByOwnerId

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByOwnerId(long ownerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses where ownerId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByOwnerId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching portlet preferenceses
    • findByOwnerId_First

      public com.liferay.portal.kernel.model.PortletPreferences findByOwnerId_First(long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the first portlet preferences in the ordered set where ownerId = ?.
      Specified by:
      findByOwnerId_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByOwnerId_First

      public com.liferay.portal.kernel.model.PortletPreferences fetchByOwnerId_First(long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the first portlet preferences in the ordered set where ownerId = ?.
      Specified by:
      fetchByOwnerId_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByOwnerId_Last

      public com.liferay.portal.kernel.model.PortletPreferences findByOwnerId_Last(long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the last portlet preferences in the ordered set where ownerId = ?.
      Specified by:
      findByOwnerId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByOwnerId_Last

      public com.liferay.portal.kernel.model.PortletPreferences fetchByOwnerId_Last(long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the last portlet preferences in the ordered set where ownerId = ?.
      Specified by:
      fetchByOwnerId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByOwnerId_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferences[] findByOwnerId_PrevAndNext(long portletPreferencesId, long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ?.
      Specified by:
      findByOwnerId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the current portlet preferences
      ownerId - the owner ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • getByOwnerId_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferences getByOwnerId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long ownerId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
    • removeByOwnerId

      public void removeByOwnerId(long ownerId)
      Removes all the portlet preferenceses where ownerId = ? from the database.
      Specified by:
      removeByOwnerId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
    • countByOwnerId

      public int countByOwnerId(long ownerId)
      Returns the number of portlet preferenceses where ownerId = ?.
      Specified by:
      countByOwnerId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      Returns:
      the number of matching portlet preferenceses
    • findByPlid

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByPlid(long plid)
      Returns all the portlet preferenceses where plid = ?.
      Specified by:
      findByPlid in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      Returns:
      the matching portlet preferenceses
    • findByPlid

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByPlid(long plid, int start, int end)
      Returns a range of all the portlet preferenceses where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByPlid in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of matching portlet preferenceses
    • findByPlid

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByPlid in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preferenceses
    • findByPlid

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses where plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByPlid in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching portlet preferenceses
    • findByPlid_First

      public com.liferay.portal.kernel.model.PortletPreferences findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the first portlet preferences in the ordered set where plid = ?.
      Specified by:
      findByPlid_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByPlid_First

      public com.liferay.portal.kernel.model.PortletPreferences fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the first portlet preferences in the ordered set where plid = ?.
      Specified by:
      fetchByPlid_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByPlid_Last

      public com.liferay.portal.kernel.model.PortletPreferences findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the last portlet preferences in the ordered set where plid = ?.
      Specified by:
      findByPlid_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByPlid_Last

      public com.liferay.portal.kernel.model.PortletPreferences fetchByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the last portlet preferences in the ordered set where plid = ?.
      Specified by:
      fetchByPlid_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByPlid_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where plid = ?.
      Specified by:
      findByPlid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the current portlet preferences
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • getByPlid_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferences getByPlid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
    • removeByPlid

      public void removeByPlid(long plid)
      Removes all the portlet preferenceses where plid = ? from the database.
      Specified by:
      removeByPlid in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
    • countByPlid

      public int countByPlid(long plid)
      Returns the number of portlet preferenceses where plid = ?.
      Specified by:
      countByPlid in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      Returns:
      the number of matching portlet preferenceses
    • findByPortletId

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByPortletId(String portletId)
      Returns all the portlet preferenceses where portletId = ?.
      Specified by:
      findByPortletId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
      Returns:
      the matching portlet preferenceses
    • findByPortletId

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByPortletId(String portletId, int start, int end)
      Returns a range of all the portlet preferenceses where portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByPortletId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of matching portlet preferenceses
    • findByPortletId

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByPortletId(String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses where portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByPortletId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preferenceses
    • findByPortletId

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByPortletId(String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses where portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByPortletId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching portlet preferenceses
    • findByPortletId_First

      public com.liferay.portal.kernel.model.PortletPreferences findByPortletId_First(String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the first portlet preferences in the ordered set where portletId = ?.
      Specified by:
      findByPortletId_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByPortletId_First

      public com.liferay.portal.kernel.model.PortletPreferences fetchByPortletId_First(String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the first portlet preferences in the ordered set where portletId = ?.
      Specified by:
      fetchByPortletId_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByPortletId_Last

      public com.liferay.portal.kernel.model.PortletPreferences findByPortletId_Last(String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the last portlet preferences in the ordered set where portletId = ?.
      Specified by:
      findByPortletId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByPortletId_Last

      public com.liferay.portal.kernel.model.PortletPreferences fetchByPortletId_Last(String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the last portlet preferences in the ordered set where portletId = ?.
      Specified by:
      fetchByPortletId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByPortletId_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferences[] findByPortletId_PrevAndNext(long portletPreferencesId, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where portletId = ?.
      Specified by:
      findByPortletId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the current portlet preferences
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • getByPortletId_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferences getByPortletId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
    • removeByPortletId

      public void removeByPortletId(String portletId)
      Removes all the portlet preferenceses where portletId = ? from the database.
      Specified by:
      removeByPortletId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
    • countByPortletId

      public int countByPortletId(String portletId)
      Returns the number of portlet preferenceses where portletId = ?.
      Specified by:
      countByPortletId in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletId - the portlet ID
      Returns:
      the number of matching portlet preferenceses
    • findByO_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_P(int ownerType, String portletId)
      Returns all the portlet preferenceses where ownerType = ? and portletId = ?.
      Specified by:
      findByO_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
      Returns:
      the matching portlet preferenceses
    • findByO_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_P(int ownerType, String portletId, int start, int end)
      Returns a range of all the portlet preferenceses where ownerType = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of matching portlet preferenceses
    • findByO_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_P(int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses where ownerType = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preferenceses
    • findByO_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_P(int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses where ownerType = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching portlet preferenceses
    • findByO_P_First

      public com.liferay.portal.kernel.model.PortletPreferences findByO_P_First(int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the first portlet preferences in the ordered set where ownerType = ? and portletId = ?.
      Specified by:
      findByO_P_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByO_P_First

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_P_First(int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the first portlet preferences in the ordered set where ownerType = ? and portletId = ?.
      Specified by:
      fetchByO_P_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByO_P_Last

      public com.liferay.portal.kernel.model.PortletPreferences findByO_P_Last(int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the last portlet preferences in the ordered set where ownerType = ? and portletId = ?.
      Specified by:
      findByO_P_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByO_P_Last

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_P_Last(int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the last portlet preferences in the ordered set where ownerType = ? and portletId = ?.
      Specified by:
      fetchByO_P_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByO_P_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferences[] findByO_P_PrevAndNext(long portletPreferencesId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerType = ? and portletId = ?.
      Specified by:
      findByO_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the current portlet preferences
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • getByO_P_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferences getByO_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
    • removeByO_P

      public void removeByO_P(int ownerType, String portletId)
      Removes all the portlet preferenceses where ownerType = ? and portletId = ? from the database.
      Specified by:
      removeByO_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
    • countByO_P

      public int countByO_P(int ownerType, String portletId)
      Returns the number of portlet preferenceses where ownerType = ? and portletId = ?.
      Specified by:
      countByO_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      portletId - the portlet ID
      Returns:
      the number of matching portlet preferenceses
    • findByP_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByP_P(long plid, String portletId)
      Returns all the portlet preferenceses where plid = ? and portletId = ?.
      Specified by:
      findByP_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
      Returns:
      the matching portlet preferenceses
    • findByP_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByP_P(long plid, String portletId, int start, int end)
      Returns a range of all the portlet preferenceses where plid = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByP_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of matching portlet preferenceses
    • findByP_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByP_P(long plid, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses where plid = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByP_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preferenceses
    • findByP_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByP_P(long plid, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses where plid = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByP_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching portlet preferenceses
    • findByP_P_First

      public com.liferay.portal.kernel.model.PortletPreferences findByP_P_First(long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the first portlet preferences in the ordered set where plid = ? and portletId = ?.
      Specified by:
      findByP_P_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByP_P_First

      public com.liferay.portal.kernel.model.PortletPreferences fetchByP_P_First(long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the first portlet preferences in the ordered set where plid = ? and portletId = ?.
      Specified by:
      fetchByP_P_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByP_P_Last

      public com.liferay.portal.kernel.model.PortletPreferences findByP_P_Last(long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the last portlet preferences in the ordered set where plid = ? and portletId = ?.
      Specified by:
      findByP_P_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByP_P_Last

      public com.liferay.portal.kernel.model.PortletPreferences fetchByP_P_Last(long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the last portlet preferences in the ordered set where plid = ? and portletId = ?.
      Specified by:
      fetchByP_P_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByP_P_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferences[] findByP_P_PrevAndNext(long portletPreferencesId, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where plid = ? and portletId = ?.
      Specified by:
      findByP_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the current portlet preferences
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • getByP_P_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferences getByP_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
    • removeByP_P

      public void removeByP_P(long plid, String portletId)
      Removes all the portlet preferenceses where plid = ? and portletId = ? from the database.
      Specified by:
      removeByP_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
    • countByP_P

      public int countByP_P(long plid, String portletId)
      Returns the number of portlet preferenceses where plid = ? and portletId = ?.
      Specified by:
      countByP_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      plid - the plid
      portletId - the portlet ID
      Returns:
      the number of matching portlet preferenceses
    • findByO_O_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_O_P(long ownerId, int ownerType, long plid)
      Returns all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.
      Specified by:
      findByO_O_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      Returns:
      the matching portlet preferenceses
    • findByO_O_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_O_P(long ownerId, int ownerType, long plid, int start, int end)
      Returns a range of all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_O_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of matching portlet preferenceses
    • findByO_O_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_O_P(long ownerId, int ownerType, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_O_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preferenceses
    • findByO_O_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_O_P(long ownerId, int ownerType, long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_O_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching portlet preferenceses
    • findByO_O_P_First

      public com.liferay.portal.kernel.model.PortletPreferences findByO_O_P_First(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
      Specified by:
      findByO_O_P_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByO_O_P_First

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_O_P_First(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
      Specified by:
      fetchByO_O_P_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByO_O_P_Last

      public com.liferay.portal.kernel.model.PortletPreferences findByO_O_P_Last(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
      Specified by:
      findByO_O_P_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByO_O_P_Last

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_O_P_Last(long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
      Specified by:
      fetchByO_O_P_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByO_O_P_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferences[] findByO_O_P_PrevAndNext(long portletPreferencesId, long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.
      Specified by:
      findByO_O_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the current portlet preferences
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • getByO_O_P_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferences getByO_O_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long ownerId, int ownerType, long plid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
    • removeByO_O_P

      public void removeByO_O_P(long ownerId, int ownerType, long plid)
      Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ? from the database.
      Specified by:
      removeByO_O_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
    • countByO_O_P

      public int countByO_O_P(long ownerId, int ownerType, long plid)
      Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.
      Specified by:
      countByO_O_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      Returns:
      the number of matching portlet preferenceses
    • findByO_O_PI

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_O_PI(long ownerId, int ownerType, String portletId)
      Returns all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.
      Specified by:
      findByO_O_PI in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      Returns:
      the matching portlet preferenceses
    • findByO_O_PI

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end)
      Returns a range of all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_O_PI in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of matching portlet preferenceses
    • findByO_O_PI

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_O_PI in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preferenceses
    • findByO_O_PI

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_O_PI in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching portlet preferenceses
    • findByO_O_PI_First

      public com.liferay.portal.kernel.model.PortletPreferences findByO_O_PI_First(long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
      Specified by:
      findByO_O_PI_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByO_O_PI_First

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_O_PI_First(long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
      Specified by:
      fetchByO_O_PI_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByO_O_PI_Last

      public com.liferay.portal.kernel.model.PortletPreferences findByO_O_PI_Last(long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
      Specified by:
      findByO_O_PI_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByO_O_PI_Last

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_O_PI_Last(long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
      Specified by:
      fetchByO_O_PI_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByO_O_PI_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferences[] findByO_O_PI_PrevAndNext(long portletPreferencesId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.
      Specified by:
      findByO_O_PI_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the current portlet preferences
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • getByO_O_PI_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferences getByO_O_PI_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
    • removeByO_O_PI

      public void removeByO_O_PI(long ownerId, int ownerType, String portletId)
      Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ? from the database.
      Specified by:
      removeByO_O_PI in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
    • countByO_O_PI

      public int countByO_O_PI(long ownerId, int ownerType, String portletId)
      Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.
      Specified by:
      countByO_O_PI in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      Returns:
      the number of matching portlet preferenceses
    • findByO_P_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_P_P(int ownerType, long plid, String portletId)
      Returns all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.
      Specified by:
      findByO_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      Returns:
      the matching portlet preferenceses
    • findByO_P_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_P_P(int ownerType, long plid, String portletId, int start, int end)
      Returns a range of all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of matching portlet preferenceses
    • findByO_P_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_P_P(int ownerType, long plid, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preferenceses
    • findByO_P_P

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByO_P_P(int ownerType, long plid, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByO_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching portlet preferenceses
    • findByO_P_P_First

      public com.liferay.portal.kernel.model.PortletPreferences findByO_P_P_First(int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the first portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
      Specified by:
      findByO_P_P_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByO_P_P_First

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_P_P_First(int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the first portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
      Specified by:
      fetchByO_P_P_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByO_P_P_Last

      public com.liferay.portal.kernel.model.PortletPreferences findByO_P_P_Last(int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the last portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
      Specified by:
      findByO_P_P_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByO_P_P_Last

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_P_P_Last(int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the last portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
      Specified by:
      fetchByO_P_P_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByO_P_P_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferences[] findByO_P_P_PrevAndNext(long portletPreferencesId, int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.
      Specified by:
      findByO_P_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the current portlet preferences
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • getByO_P_P_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferences getByO_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, int ownerType, long plid, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
    • removeByO_P_P

      public void removeByO_P_P(int ownerType, long plid, String portletId)
      Removes all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ? from the database.
      Specified by:
      removeByO_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
    • countByO_P_P

      public int countByO_P_P(int ownerType, long plid, String portletId)
      Returns the number of portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.
      Specified by:
      countByO_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      Returns:
      the number of matching portlet preferenceses
    • findByC_O_O_LikeP

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId)
      Returns all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
      Specified by:
      findByC_O_O_LikeP in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      Returns:
      the matching portlet preferenceses
    • findByC_O_O_LikeP

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end)
      Returns a range of all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByC_O_O_LikeP in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of matching portlet preferenceses
    • findByC_O_O_LikeP

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByC_O_O_LikeP in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching portlet preferenceses
    • findByC_O_O_LikeP

      public List<com.liferay.portal.kernel.model.PortletPreferences> findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findByC_O_O_LikeP in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching portlet preferenceses
    • findByC_O_O_LikeP_First

      public com.liferay.portal.kernel.model.PortletPreferences findByC_O_O_LikeP_First(long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the first portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
      Specified by:
      findByC_O_O_LikeP_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByC_O_O_LikeP_First

      public com.liferay.portal.kernel.model.PortletPreferences fetchByC_O_O_LikeP_First(long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the first portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
      Specified by:
      fetchByC_O_O_LikeP_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByC_O_O_LikeP_Last

      public com.liferay.portal.kernel.model.PortletPreferences findByC_O_O_LikeP_Last(long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the last portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
      Specified by:
      findByC_O_O_LikeP_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByC_O_O_LikeP_Last

      public com.liferay.portal.kernel.model.PortletPreferences fetchByC_O_O_LikeP_Last(long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns the last portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
      Specified by:
      fetchByC_O_O_LikeP_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching portlet preferences, or null if a matching portlet preferences could not be found
    • findByC_O_O_LikeP_PrevAndNext

      public com.liferay.portal.kernel.model.PortletPreferences[] findByC_O_O_LikeP_PrevAndNext(long portletPreferencesId, long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
      Specified by:
      findByC_O_O_LikeP_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the current portlet preferences
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • getByC_O_O_LikeP_PrevAndNext

      protected com.liferay.portal.kernel.model.PortletPreferences getByC_O_O_LikeP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferences portletPreferences, long companyId, long ownerId, int ownerType, String portletId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean previous)
    • removeByC_O_O_LikeP

      public void removeByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId)
      Removes all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ? from the database.
      Specified by:
      removeByC_O_O_LikeP in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
    • countByC_O_O_LikeP

      public int countByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId)
      Returns the number of portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.
      Specified by:
      countByC_O_O_LikeP in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      companyId - the company ID
      ownerId - the owner ID
      ownerType - the owner type
      portletId - the portlet ID
      Returns:
      the number of matching portlet preferenceses
    • findByO_O_P_P

      public com.liferay.portal.kernel.model.PortletPreferences findByO_O_P_P(long ownerId, int ownerType, long plid, String portletId) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? or throws a NoSuchPortletPreferencesException if it could not be found.
      Specified by:
      findByO_O_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      Returns:
      the matching portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a matching portlet preferences could not be found
    • fetchByO_O_P_P

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_O_P_P(long ownerId, int ownerType, long plid, String portletId)
      Returns the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByO_O_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      Returns:
      the matching portlet preferences, or null if a matching portlet preferences could not be found
    • fetchByO_O_P_P

      public com.liferay.portal.kernel.model.PortletPreferences fetchByO_O_P_P(long ownerId, int ownerType, long plid, String portletId, boolean useFinderCache)
      Returns the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByO_O_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching portlet preferences, or null if a matching portlet preferences could not be found
    • removeByO_O_P_P

      public com.liferay.portal.kernel.model.PortletPreferences removeByO_O_P_P(long ownerId, int ownerType, long plid, String portletId) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Removes the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? from the database.
      Specified by:
      removeByO_O_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      Returns:
      the portlet preferences that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
    • countByO_O_P_P

      public int countByO_O_P_P(long ownerId, int ownerType, long plid, String portletId)
      Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and plid = ? and portletId = ?.
      Specified by:
      countByO_O_P_P in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      ownerId - the owner ID
      ownerType - the owner type
      plid - the plid
      portletId - the portlet ID
      Returns:
      the number of matching portlet preferenceses
    • cacheResult

      public void cacheResult(com.liferay.portal.kernel.model.PortletPreferences portletPreferences)
      Caches the portlet preferences in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
      Parameters:
      portletPreferences - the portlet preferences
    • cacheResult

      public void cacheResult(List<com.liferay.portal.kernel.model.PortletPreferences> portletPreferenceses)
      Caches the portlet preferenceses in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferenceses - the portlet preferenceses
    • clearCache

      public void clearCache()
      Clears the cache for all portlet preferenceses.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • clearCache

      public void clearCache(com.liferay.portal.kernel.model.PortletPreferences portletPreferences)
      Clears the cache for the portlet preferences.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • clearCache

      public void clearCache(List<com.liferay.portal.kernel.model.PortletPreferences> portletPreferenceses)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(PortletPreferencesModelImpl portletPreferencesModelImpl)
    • create

      public com.liferay.portal.kernel.model.PortletPreferences create(long portletPreferencesId)
      Creates a new portlet preferences with the primary key. Does not add the portlet preferences to the database.
      Specified by:
      create in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key for the new portlet preferences
      Returns:
      the new portlet preferences
    • remove

      public com.liferay.portal.kernel.model.PortletPreferences remove(long portletPreferencesId) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Removes the portlet preferences with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the portlet preferences
      Returns:
      the portlet preferences that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • remove

      public com.liferay.portal.kernel.model.PortletPreferences remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Removes the portlet preferences with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
      Parameters:
      primaryKey - the primary key of the portlet preferences
      Returns:
      the portlet preferences that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • removeImpl

      protected com.liferay.portal.kernel.model.PortletPreferences removeImpl(com.liferay.portal.kernel.model.PortletPreferences portletPreferences)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • updateImpl

      public com.liferay.portal.kernel.model.PortletPreferences updateImpl(com.liferay.portal.kernel.model.PortletPreferences portletPreferences)
      Specified by:
      updateImpl in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.PortletPreferences findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferences with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
      Parameters:
      primaryKey - the primary key of the portlet preferences
      Returns:
      the portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.PortletPreferences findByPrimaryKey(long portletPreferencesId) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
      Returns the portlet preferences with the primary key or throws a NoSuchPortletPreferencesException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the portlet preferences
      Returns:
      the portlet preferences
      Throws:
      com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException - if a portlet preferences with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.PortletPreferences fetchByPrimaryKey(Serializable primaryKey)
      Returns the portlet preferences with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
      Overrides:
      fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
      Parameters:
      primaryKey - the primary key of the portlet preferences
      Returns:
      the portlet preferences, or null if a portlet preferences with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.PortletPreferences fetchByPrimaryKey(long portletPreferencesId)
      Returns the portlet preferences with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      portletPreferencesId - the primary key of the portlet preferences
      Returns:
      the portlet preferences, or null if a portlet preferences with the primary key could not be found
    • fetchByPrimaryKeys

      public Map<Serializable,com.liferay.portal.kernel.model.PortletPreferences> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      Specified by:
      fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • findAll

      public List<com.liferay.portal.kernel.model.PortletPreferences> findAll()
      Returns all the portlet preferenceses.
      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Returns:
      the portlet preferenceses
    • findAll

      public List<com.liferay.portal.kernel.model.PortletPreferences> findAll(int start, int end)
      Returns a range of all the portlet preferenceses.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      Returns:
      the range of portlet preferenceses
    • findAll

      public List<com.liferay.portal.kernel.model.PortletPreferences> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator)
      Returns an ordered range of all the portlet preferenceses.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of portlet preferenceses
    • findAll

      public List<com.liferay.portal.kernel.model.PortletPreferences> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferences> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the portlet preferenceses.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from PortletPreferencesModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Parameters:
      start - the lower bound of the range of portlet preferenceses
      end - the upper bound of the range of portlet preferenceses (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of portlet preferenceses
    • removeAll

      public void removeAll()
      Removes all the portlet preferenceses from the database.
      Specified by:
      removeAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
    • countAll

      public int countAll()
      Returns the number of portlet preferenceses.
      Specified by:
      countAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
      Returns:
      the number of portlet preferenceses
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • getCTColumnNames

      public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
      Specified by:
      getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Initializes the portlet preferences persistence.
    • destroy

      public void destroy()
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>