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 TypeMethodDescriptionvoidInitializes the portlet preferences persistence.voidcacheResult(com.liferay.portal.kernel.model.PortletPreferences portletPreferences) Caches the portlet preferences in the entity cache if it is enabled.voidcacheResult(List<com.liferay.portal.kernel.model.PortletPreferences> portletPreferenceses) Caches the portlet preferenceses in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(PortletPreferencesModelImpl portletPreferencesModelImpl) voidClears the cache for all portlet preferenceses.voidclearCache(com.liferay.portal.kernel.model.PortletPreferences portletPreferences) Clears the cache for the portlet preferences.voidclearCache(List<com.liferay.portal.kernel.model.PortletPreferences> portletPreferenceses) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of portlet preferenceses.intcountByC_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 ?.intcountByO_O_P(long ownerId, int ownerType, long plid) Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.intcountByO_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 = ?.intcountByO_O_PI(long ownerId, int ownerType, String portletId) Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.intcountByO_P(int ownerType, String portletId) Returns the number of portlet preferenceses where ownerType = ? and portletId = ?.intcountByO_P_P(int ownerType, long plid, String portletId) Returns the number of portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.intcountByOwnerId(long ownerId) Returns the number of portlet preferenceses where ownerId = ?.intcountByP_P(long plid, String portletId) Returns the number of portlet preferenceses where plid = ? and portletId = ?.intcountByPlid(long plid) Returns the number of portlet preferenceses where plid = ?.intcountByPortletId(String portletId) Returns the number of portlet preferenceses where portletId = ?.com.liferay.portal.kernel.model.PortletPreferencescreate(long portletPreferencesId) Creates a new portlet preferences with the primary key.voiddestroy()com.liferay.portal.kernel.model.PortletPreferencesfetchByC_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.PortletPreferencesfetchByC_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.PortletPreferencesfetchByO_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.PortletPreferencesfetchByO_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.PortletPreferencesfetchByO_O_P_P(long ownerId, int ownerType, long plid, String portletId) Returns the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.PortletPreferencesfetchByO_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 returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.PortletPreferencesfetchByO_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.PortletPreferencesfetchByO_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.PortletPreferencesfetchByO_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.PortletPreferencesfetchByO_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.PortletPreferencesfetchByO_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.PortletPreferencesfetchByO_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.PortletPreferencesfetchByOwnerId_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.PortletPreferencesfetchByOwnerId_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.PortletPreferencesfetchByP_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.PortletPreferencesfetchByP_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.PortletPreferencesfetchByPlid_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.PortletPreferencesfetchByPlid_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.PortletPreferencesfetchByPortletId_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.PortletPreferencesfetchByPortletId_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.PortletPreferencesfetchByPrimaryKey(long portletPreferencesId) Returns the portlet preferences with the primary key or returnsnullif it could not be found.com.liferay.portal.kernel.model.PortletPreferencesfetchByPrimaryKey(Serializable primaryKey) Returns the portlet preferences with the primary key or returnsnullif 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.PortletPreferencesfindByC_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.PortletPreferencesfindByC_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.PortletPreferencesfindByO_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.PortletPreferencesfindByO_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.PortletPreferencesfindByO_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 aNoSuchPortletPreferencesExceptionif 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.PortletPreferencesfindByO_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.PortletPreferencesfindByO_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.PortletPreferencesfindByO_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.PortletPreferencesfindByO_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.PortletPreferencesfindByO_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.PortletPreferencesfindByO_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.PortletPreferencesfindByOwnerId_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.PortletPreferencesfindByOwnerId_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.PortletPreferencesfindByP_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.PortletPreferencesfindByP_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.PortletPreferencesfindByPlid_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.PortletPreferencesfindByPlid_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.PortletPreferencesfindByPortletId_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.PortletPreferencesfindByPortletId_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.PortletPreferencesfindByPrimaryKey(long portletPreferencesId) Returns the portlet preferences with the primary key or throws aNoSuchPortletPreferencesExceptionif it could not be found.com.liferay.portal.kernel.model.PortletPreferencesfindByPrimaryKey(Serializable primaryKey) Returns the portlet preferences with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.protected com.liferay.portal.kernel.model.PortletPreferencesgetByC_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.PortletPreferencesgetByO_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.PortletPreferencesgetByO_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.PortletPreferencesgetByO_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.PortletPreferencesgetByO_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.PortletPreferencesgetByOwnerId_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.PortletPreferencesgetByP_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.PortletPreferencesgetByPlid_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.PortletPreferencesgetByPortletId_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.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.portal.kernel.model.PortletPreferencesremove(long portletPreferencesId) Removes the portlet preferences with the primary key from the database.com.liferay.portal.kernel.model.PortletPreferencesremove(Serializable primaryKey) Removes the portlet preferences with the primary key from the database.voidRemoves all the portlet preferenceses from the database.voidremoveByC_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.voidremoveByO_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.PortletPreferencesremoveByO_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.voidremoveByO_O_PI(long ownerId, int ownerType, String portletId) Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ? from the database.voidremoveByO_P(int ownerType, String portletId) Removes all the portlet preferenceses where ownerType = ? and portletId = ? from the database.voidremoveByO_P_P(int ownerType, long plid, String portletId) Removes all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ? from the database.voidremoveByOwnerId(long ownerId) Removes all the portlet preferenceses where ownerId = ? from the database.voidremoveByP_P(long plid, String portletId) Removes all the portlet preferenceses where plid = ? and portletId = ? from the database.voidremoveByPlid(long plid) Removes all the portlet preferenceses where plid = ? from the database.voidremoveByPortletId(String portletId) Removes all the portlet preferenceses where portletId = ? from the database.protected com.liferay.portal.kernel.model.PortletPreferencesremoveImpl(com.liferay.portal.kernel.model.PortletPreferences portletPreferences) com.liferay.portal.kernel.model.PortletPreferencesupdateImpl(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, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
findByOwnerIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByOwnerIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByOwnerIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByOwnerIdin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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:
removeByOwnerIdin 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:
countByOwnerIdin 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:
findByPlidin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByPlidin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByPlidin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByPlidin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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:
removeByPlidin 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:
countByPlidin 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:
findByPortletIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByPortletIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByPortletIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByPortletIdin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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:
removeByPortletIdin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence- Parameters:
portletId- the portlet ID
-
countByPortletId
Returns the number of portlet preferenceses where portletId = ?.- Specified by:
countByPortletIdin 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_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_Pin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Pin 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_Pin 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_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByP_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByP_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByP_Pin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Pin 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_Pin 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_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_O_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_O_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_O_Pin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Pin 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_Pin 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_PIin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_O_PIin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_O_PIin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_O_PIin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_PIin 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_PIin 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_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_P_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_P_Pin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByO_P_Pin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Pin 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_Pin 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_LikePin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByC_O_O_LikePin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByC_O_O_LikePin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findByC_O_O_LikePin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_LikePin 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_LikePin 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 aNoSuchPortletPreferencesExceptionif it could not be found.- Specified by:
findByO_O_P_Pin 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 returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByO_O_P_Pin 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
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByO_O_P_Pin 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
nullif 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_Pin 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_Pin 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:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence- Overrides:
cacheResultin 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:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence- Parameters:
portletPreferenceses- the portlet preferenceses
-
clearCache
public void clearCache()Clears the cache for all portlet preferenceses.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>- Overrides:
clearCachein 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
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>- Overrides:
clearCachein 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:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
clearCache
- Specified by:
clearCachein 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:
createin 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:
removein 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:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>- Overrides:
removein 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:
removeImplin 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:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence- Overrides:
updateImplin 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.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>- Overrides:
findByPrimaryKeyin 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 aNoSuchPortletPreferencesExceptionif it could not be found.- Specified by:
findByPrimaryKeyin 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 returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>- Overrides:
fetchByPrimaryKeyin 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
nullif 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 returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence- Parameters:
portletPreferencesId- the primary key of the portlet preferences- Returns:
- the portlet preferences, or
nullif 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:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
findAll
Returns all the portlet preferenceses.- Specified by:
findAllin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findAllin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findAllin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferencesModelImpl.- Specified by:
findAllin 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:
removeAllin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence
-
countAll
public int countAll()Returns the number of portlet preferenceses.- Specified by:
countAllin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesPersistence- Returns:
- the number of portlet preferenceses
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
getSelectSQL
- Overrides:
getSelectSQLin 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:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferences>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin 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:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-