Class 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
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
cacheUniqueFindersCache
(PortletPreferencesModelImpl portletPreferencesModelImpl) 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
countAll()
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
countByPortletId
(String portletId) 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
destroy()
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 returnsnull
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 returnsnull
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 returnsnull
if it could not be found.com.liferay.portal.kernel.model.PortletPreferences
fetchByPrimaryKey
(Serializable primaryKey) Returns the portlet preferences with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.portal.kernel.model.PortletPreferences> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) List<com.liferay.portal.kernel.model.PortletPreferences>
findAll()
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 aNoSuchPortletPreferencesException
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>
Returns all the portlet preferenceses where ownerType = ? and portletId = ?.List<com.liferay.portal.kernel.model.PortletPreferences>
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>
Returns all the portlet preferenceses where plid = ? and portletId = ?.List<com.liferay.portal.kernel.model.PortletPreferences>
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>
findByPortletId
(String portletId) 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 aNoSuchPortletPreferencesException
if it could not be found.com.liferay.portal.kernel.model.PortletPreferences
findByPrimaryKey
(Serializable primaryKey) Returns the portlet preferences with the primary key or throws acom.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
removeByPortletId
(String portletId) 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
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
PortletPreferencesPersistenceImpl
public PortletPreferencesPersistenceImpl()
-
-
Method Details
-
findByOwnerId
Returns all the portlet preferenceses where ownerId = ?.- Specified by:
findByOwnerId
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByOwnerId
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDstart
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByOwnerId
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByOwnerId
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferencesId
- the primary key of the current portlet preferencesownerId
- the owner IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner ID- Returns:
- the number of matching portlet preferenceses
-
findByPlid
Returns all the portlet preferenceses where plid = ?.- Specified by:
findByPlid
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByPlid
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidstart
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByPlid
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByPlid
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferencesId
- the primary key of the current portlet preferencesplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plid- Returns:
- the number of matching portlet preferenceses
-
findByPortletId
Returns all the portlet preferenceses where portletId = ?.- Specified by:
findByPortletId
in interfacecom.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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByPortletId
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByPortletId
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByPortletId
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferencesId
- the primary key of the current portlet preferencesportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the portlet preferenceses where portletId = ? from the database.- Specified by:
removeByPortletId
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletId
- the portlet ID
-
countByPortletId
Returns the number of portlet preferenceses where portletId = ?.- Specified by:
countByPortletId
in interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferencesId
- the primary key of the current portlet preferencesownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the portlet preferenceses where ownerType = ? and portletId = ? from the database.- Specified by:
removeByO_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- the portlet ID
-
countByO_P
Returns the number of portlet preferenceses where ownerType = ? and portletId = ?.- Specified by:
countByO_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeportletId
- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByP_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByP_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByP_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferencesId
- the primary key of the current portlet preferencesplid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the portlet preferenceses where plid = ? and portletId = ? from the database.- Specified by:
removeByP_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- the portlet ID
-
countByP_P
Returns the number of portlet preferenceses where plid = ? and portletId = ?.- Specified by:
countByP_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
plid
- the plidportletId
- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_O_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidstart
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_O_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_O_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferencesId
- the primary key of the current portlet preferencesownerId
- the owner IDownerType
- the owner typeplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_O_PI
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_O_PI
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_O_PI
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferencesId
- the primary key of the current portlet preferencesownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ? from the database.- Specified by:
removeByO_O_PI
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- the portlet ID
-
countByO_O_PI
Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.- Specified by:
countByO_O_PI
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeportletId
- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByO_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferencesId
- the primary key of the current portlet preferencesownerType
- the owner typeplid
- the plidportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ? from the database.- Specified by:
removeByO_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- the portlet ID
-
countByO_P_P
Returns the number of portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.- Specified by:
countByO_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerType
- the owner typeplid
- the plidportletId
- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByC_O_O_LikeP
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByC_O_O_LikeP
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findByC_O_O_LikeP
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDstart
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferencesId
- the primary key of the current portlet preferencescompanyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- the portlet IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Removes all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ? from the database.- Specified by:
removeByC_O_O_LikeP
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- the portlet ID
-
countByC_O_O_LikeP
Returns the number of portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.- Specified by:
countByC_O_O_LikeP
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
companyId
- the company IDownerId
- the owner IDownerType
- the owner typeportletId
- 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 aNoSuchPortletPreferencesException
if it could not be found.- Specified by:
findByO_O_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidportletId
- 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByO_O_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidportletId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByO_O_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidportletId
- the portlet IDuseFinderCache
- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidportletId
- the portlet ID- Returns:
- the portlet preferences that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferencesException
-
countByO_O_P_P
Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and plid = ? and portletId = ?.- Specified by:
countByO_O_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
ownerId
- the owner IDownerType
- the owner typeplid
- the plidportletId
- 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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Overrides:
cacheResult
in classcom.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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
portletPreferenceses
- the portlet preferenceses
-
clearCache
public void clearCache()Clears the cache for all portlet preferenceses.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
clearCache
in classcom.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
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
clearCache
in classcom.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 interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
-
cacheUniqueFindersCache
-
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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
remove
in classcom.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 classcom.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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Overrides:
updateImpl
in classcom.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 acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
findByPrimaryKey
in classcom.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 aNoSuchPortletPreferencesException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
fetchByPrimaryKey
in classcom.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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.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 interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
findAll
Returns all the portlet preferenceses.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Returns:
- the portlet preferenceses
-
findAll
Returns a range of all the portlet preferenceses.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
start
- the lower bound of the range of portlet preferencesesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
start
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
- Parameters:
start
- the lower bound of the range of portlet preferencesesend
- the upper bound of the range of portlet preferenceses (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
-
countAll
public int countAll()Returns the number of portlet preferenceses.- Specified by:
countAll
in interfacecom.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 classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.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 interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in interfacecom.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 classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-