Class PortletPreferencesUtil
com.liferay.portal.service.persistence.impl.PortletPreferencesPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(PortletPreferences portletPreferences) Caches the portlet preferences in the entity cache if it is enabled.static voidcacheResult(List<PortletPreferences> portletPreferenceses) Caches the portlet preferenceses in the entity cache if it is enabled.static voidstatic voidclearCache(PortletPreferences portletPreferences) static intcountAll()Returns the number of portlet preferenceses.static 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 ?.static intcountByO_O_P(long ownerId, int ownerType, long plid) Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.static 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 = ?.static intcountByO_O_PI(long ownerId, int ownerType, String portletId) Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.static intcountByO_P(int ownerType, String portletId) Returns the number of portlet preferenceses where ownerType = ? and portletId = ?.static intcountByO_P_P(int ownerType, long plid, String portletId) Returns the number of portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.static intcountByOwnerId(long ownerId) Returns the number of portlet preferenceses where ownerId = ?.static intcountByP_P(long plid, String portletId) Returns the number of portlet preferenceses where plid = ? and portletId = ?.static intcountByPlid(long plid) Returns the number of portlet preferenceses where plid = ?.static intcountByPortletId(String portletId) Returns the number of portlet preferenceses where portletId = ?.static longcountWithDynamicQuery(DynamicQuery dynamicQuery) static PortletPreferencescreate(long portletPreferencesId) Creates a new portlet preferences with the primary key.static PortletPreferencesfetchByC_O_O_LikeP_First(long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.static PortletPreferencesfetchByC_O_O_LikeP_Last(long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.static PortletPreferencesfetchByO_O_P_First(long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.static PortletPreferencesfetchByO_O_P_Last(long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.static 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.static 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.static PortletPreferencesfetchByO_O_PI_First(long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.static PortletPreferencesfetchByO_O_PI_Last(long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.static PortletPreferencesfetchByO_P_First(int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerType = ? and portletId = ?.static PortletPreferencesfetchByO_P_Last(int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerType = ? and portletId = ?.static PortletPreferencesfetchByO_P_P_First(int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.static PortletPreferencesfetchByO_P_P_Last(int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.static PortletPreferencesfetchByOwnerId_First(long ownerId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerId = ?.static PortletPreferencesfetchByOwnerId_Last(long ownerId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerId = ?.static PortletPreferencesfetchByP_P_First(long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where plid = ? and portletId = ?.static PortletPreferencesfetchByP_P_Last(long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where plid = ? and portletId = ?.static PortletPreferencesfetchByPlid_First(long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where plid = ?.static PortletPreferencesfetchByPlid_Last(long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where plid = ?.static PortletPreferencesfetchByPortletId_First(String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where portletId = ?.static PortletPreferencesfetchByPortletId_Last(String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where portletId = ?.static PortletPreferencesfetchByPrimaryKey(long portletPreferencesId) Returns the portlet preferences with the primary key or returnsnullif it could not be found.static Map<Serializable,PortletPreferences> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<PortletPreferences>findAll()Returns all the portlet preferenceses.static List<PortletPreferences>findAll(int start, int end) Returns a range of all the portlet preferenceses.static List<PortletPreferences>findAll(int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses.static List<PortletPreferences>findAll(int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses.static List<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 ?.static List<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 ?.static List<PortletPreferences>findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.static List<PortletPreferences>findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.static PortletPreferencesfindByC_O_O_LikeP_First(long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.static PortletPreferencesfindByC_O_O_LikeP_Last(long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.static PortletPreferences[]findByC_O_O_LikeP_PrevAndNext(long portletPreferencesId, long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<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 ?.static List<PortletPreferences>findByO_O_P(long ownerId, int ownerType, long plid) Returns all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.static List<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 = ?.static List<PortletPreferences>findByO_O_P(long ownerId, int ownerType, long plid, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.static List<PortletPreferences>findByO_O_P(long ownerId, int ownerType, long plid, int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.static PortletPreferencesfindByO_O_P_First(long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.static PortletPreferencesfindByO_O_P_Last(long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.static 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.static PortletPreferences[]findByO_O_P_PrevAndNext(long portletPreferencesId, long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.static List<PortletPreferences>findByO_O_PI(long ownerId, int ownerType, String portletId) Returns all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.static List<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 = ?.static List<PortletPreferences>findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.static List<PortletPreferences>findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.static PortletPreferencesfindByO_O_PI_First(long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.static PortletPreferencesfindByO_O_PI_Last(long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.static PortletPreferences[]findByO_O_PI_PrevAndNext(long portletPreferencesId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.static List<PortletPreferences>Returns all the portlet preferenceses where ownerType = ? and portletId = ?.static List<PortletPreferences>Returns a range of all the portlet preferenceses where ownerType = ? and portletId = ?.static List<PortletPreferences>findByO_P(int ownerType, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses where ownerType = ? and portletId = ?.static List<PortletPreferences>findByO_P(int ownerType, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses where ownerType = ? and portletId = ?.static PortletPreferencesfindByO_P_First(int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerType = ? and portletId = ?.static PortletPreferencesfindByO_P_Last(int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerType = ? and portletId = ?.static List<PortletPreferences>findByO_P_P(int ownerType, long plid, String portletId) Returns all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.static List<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 = ?.static List<PortletPreferences>findByO_P_P(int ownerType, long plid, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.static List<PortletPreferences>findByO_P_P(int ownerType, long plid, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.static PortletPreferencesfindByO_P_P_First(int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.static PortletPreferencesfindByO_P_P_Last(int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.static PortletPreferences[]findByO_P_P_PrevAndNext(long portletPreferencesId, int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.static PortletPreferences[]findByO_P_PrevAndNext(long portletPreferencesId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerType = ? and portletId = ?.static List<PortletPreferences>findByOwnerId(long ownerId) Returns all the portlet preferenceses where ownerId = ?.static List<PortletPreferences>findByOwnerId(long ownerId, int start, int end) Returns a range of all the portlet preferenceses where ownerId = ?.static List<PortletPreferences>findByOwnerId(long ownerId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses where ownerId = ?.static List<PortletPreferences>findByOwnerId(long ownerId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses where ownerId = ?.static PortletPreferencesfindByOwnerId_First(long ownerId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerId = ?.static PortletPreferencesfindByOwnerId_Last(long ownerId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerId = ?.static PortletPreferences[]findByOwnerId_PrevAndNext(long portletPreferencesId, long ownerId, OrderByComparator<PortletPreferences> orderByComparator) Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ?.static List<PortletPreferences>Returns all the portlet preferenceses where plid = ? and portletId = ?.static List<PortletPreferences>Returns a range of all the portlet preferenceses where plid = ? and portletId = ?.static List<PortletPreferences>findByP_P(long plid, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses where plid = ? and portletId = ?.static List<PortletPreferences>findByP_P(long plid, String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses where plid = ? and portletId = ?.static PortletPreferencesfindByP_P_First(long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where plid = ? and portletId = ?.static PortletPreferencesfindByP_P_Last(long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where plid = ? and portletId = ?.static PortletPreferences[]findByP_P_PrevAndNext(long portletPreferencesId, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where plid = ? and portletId = ?.static List<PortletPreferences>findByPlid(long plid) Returns all the portlet preferenceses where plid = ?.static List<PortletPreferences>findByPlid(long plid, int start, int end) Returns a range of all the portlet preferenceses where plid = ?.static List<PortletPreferences>findByPlid(long plid, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses where plid = ?.static List<PortletPreferences>findByPlid(long plid, int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses where plid = ?.static PortletPreferencesfindByPlid_First(long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where plid = ?.static PortletPreferencesfindByPlid_Last(long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where plid = ?.static PortletPreferences[]findByPlid_PrevAndNext(long portletPreferencesId, long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where plid = ?.static List<PortletPreferences>findByPortletId(String portletId) Returns all the portlet preferenceses where portletId = ?.static List<PortletPreferences>findByPortletId(String portletId, int start, int end) Returns a range of all the portlet preferenceses where portletId = ?.static List<PortletPreferences>findByPortletId(String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) Returns an ordered range of all the portlet preferenceses where portletId = ?.static List<PortletPreferences>findByPortletId(String portletId, int start, int end, OrderByComparator<PortletPreferences> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portlet preferenceses where portletId = ?.static PortletPreferencesfindByPortletId_First(String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where portletId = ?.static PortletPreferencesfindByPortletId_Last(String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where portletId = ?.static PortletPreferences[]findByPortletId_PrevAndNext(long portletPreferencesId, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where portletId = ?.static PortletPreferencesfindByPrimaryKey(long portletPreferencesId) Returns the portlet preferences with the primary key or throws aNoSuchPortletPreferencesExceptionif it could not be found.static List<PortletPreferences>findWithDynamicQuery(DynamicQuery dynamicQuery) static List<PortletPreferences>findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) static List<PortletPreferences>findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) static PortletPreferencesremove(long portletPreferencesId) Removes the portlet preferences with the primary key from the database.static voidRemoves all the portlet preferenceses from the database.static 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.static voidremoveByO_O_P(long ownerId, int ownerType, long plid) Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ? from the database.static 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.static voidremoveByO_O_PI(long ownerId, int ownerType, String portletId) Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ? from the database.static voidremoveByO_P(int ownerType, String portletId) Removes all the portlet preferenceses where ownerType = ? and portletId = ? from the database.static voidremoveByO_P_P(int ownerType, long plid, String portletId) Removes all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ? from the database.static voidremoveByOwnerId(long ownerId) Removes all the portlet preferenceses where ownerId = ? from the database.static voidremoveByP_P(long plid, String portletId) Removes all the portlet preferenceses where plid = ? and portletId = ? from the database.static voidremoveByPlid(long plid) Removes all the portlet preferenceses where plid = ? from the database.static voidremoveByPortletId(String portletId) Removes all the portlet preferenceses where portletId = ? from the database.static voidsetPersistence(PortletPreferencesPersistence persistence) static PortletPreferencesupdate(PortletPreferences portletPreferences) static PortletPreferencesupdate(PortletPreferences portletPreferences, ServiceContext serviceContext) static PortletPreferencesupdateImpl(PortletPreferences portletPreferences)
-
Constructor Details
-
PortletPreferencesUtil
public PortletPreferencesUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
public static Map<Serializable,PortletPreferences> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<PortletPreferences> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<PortletPreferences> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<PortletPreferences> orderByComparator) -
update
-
update
public static PortletPreferences update(PortletPreferences portletPreferences, ServiceContext serviceContext) -
findByOwnerId
Returns all the portlet preferenceses where ownerId = ?.- Parameters:
ownerId- the owner ID- Returns:
- the matching portlet preferenceses
-
findByOwnerId
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.- 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 static List<PortletPreferences> findByOwnerId(long ownerId, int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findByOwnerId(long ownerId, int start, int end, OrderByComparator<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.- 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 static PortletPreferences findByOwnerId_First(long ownerId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the first portlet preferences in the ordered set where ownerId = ?.- Parameters:
ownerId- the owner IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByOwnerId_First
public static PortletPreferences fetchByOwnerId_First(long ownerId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerId = ?.- 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 static PortletPreferences findByOwnerId_Last(long ownerId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the last portlet preferences in the ordered set where ownerId = ?.- Parameters:
ownerId- the owner IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByOwnerId_Last
public static PortletPreferences fetchByOwnerId_Last(long ownerId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerId = ?.- 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 static PortletPreferences[] findByOwnerId_PrevAndNext(long portletPreferencesId, long ownerId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ?.- 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:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
removeByOwnerId
public static void removeByOwnerId(long ownerId) Removes all the portlet preferenceses where ownerId = ? from the database.- Parameters:
ownerId- the owner ID
-
countByOwnerId
public static int countByOwnerId(long ownerId) Returns the number of portlet preferenceses where ownerId = ?.- Parameters:
ownerId- the owner ID- Returns:
- the number of matching portlet preferenceses
-
findByPlid
Returns all the portlet preferenceses where plid = ?.- Parameters:
plid- the plid- Returns:
- the matching portlet preferenceses
-
findByPlid
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.- 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 static List<PortletPreferences> findByPlid(long plid, int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findByPlid(long plid, int start, int end, OrderByComparator<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.- 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 static PortletPreferences findByPlid_First(long plid, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the first portlet preferences in the ordered set where plid = ?.- Parameters:
plid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByPlid_First
public static PortletPreferences fetchByPlid_First(long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where plid = ?.- 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 static PortletPreferences findByPlid_Last(long plid, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the last portlet preferences in the ordered set where plid = ?.- Parameters:
plid- the plidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByPlid_Last
public static PortletPreferences fetchByPlid_Last(long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where plid = ?.- 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 static PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId, long plid, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where plid = ?.- 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:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
removeByPlid
public static void removeByPlid(long plid) Removes all the portlet preferenceses where plid = ? from the database.- Parameters:
plid- the plid
-
countByPlid
public static int countByPlid(long plid) Returns the number of portlet preferenceses where plid = ?.- Parameters:
plid- the plid- Returns:
- the number of matching portlet preferenceses
-
findByPortletId
Returns all the portlet preferenceses where portletId = ?.- Parameters:
portletId- the portlet ID- Returns:
- the matching portlet preferenceses
-
findByPortletId
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.- 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 static List<PortletPreferences> findByPortletId(String portletId, int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findByPortletId(String portletId, int start, int end, OrderByComparator<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.- 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 static PortletPreferences findByPortletId_First(String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the first portlet preferences in the ordered set where portletId = ?.- Parameters:
portletId- the portlet IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByPortletId_First
public static PortletPreferences fetchByPortletId_First(String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where portletId = ?.- 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 static PortletPreferences findByPortletId_Last(String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the last portlet preferences in the ordered set where portletId = ?.- Parameters:
portletId- the portlet IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByPortletId_Last
public static PortletPreferences fetchByPortletId_Last(String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where portletId = ?.- 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 static PortletPreferences[] findByPortletId_PrevAndNext(long portletPreferencesId, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where portletId = ?.- 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:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
removeByPortletId
Removes all the portlet preferenceses where portletId = ? from the database.- Parameters:
portletId- the portlet ID
-
countByPortletId
Returns the number of portlet preferenceses where portletId = ?.- Parameters:
portletId- the portlet ID- Returns:
- the number of matching portlet preferenceses
-
findByO_P
Returns all the portlet preferenceses where ownerType = ? and portletId = ?.- Parameters:
ownerType- the owner typeportletId- the portlet ID- Returns:
- the matching portlet preferenceses
-
findByO_P
public static List<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.- 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 static List<PortletPreferences> findByO_P(int ownerType, String portletId, int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findByO_P(int ownerType, String portletId, int start, int end, OrderByComparator<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.- 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 static PortletPreferences findByO_P_First(int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the first portlet preferences in the ordered set where ownerType = ? and portletId = ?.- Parameters:
ownerType- the owner typeportletId- the portlet IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByO_P_First
public static PortletPreferences fetchByO_P_First(int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerType = ? and portletId = ?.- 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 static PortletPreferences findByO_P_Last(int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the last portlet preferences in the ordered set where ownerType = ? and portletId = ?.- Parameters:
ownerType- the owner typeportletId- the portlet IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByO_P_Last
public static PortletPreferences fetchByO_P_Last(int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerType = ? and portletId = ?.- 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 static PortletPreferences[] findByO_P_PrevAndNext(long portletPreferencesId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerType = ? and portletId = ?.- 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:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
removeByO_P
Removes all the portlet preferenceses where ownerType = ? and portletId = ? from the database.- Parameters:
ownerType- the owner typeportletId- the portlet ID
-
countByO_P
Returns the number of portlet preferenceses where ownerType = ? and portletId = ?.- Parameters:
ownerType- the owner typeportletId- the portlet ID- Returns:
- the number of matching portlet preferenceses
-
findByP_P
Returns all the portlet preferenceses where plid = ? and portletId = ?.- Parameters:
plid- the plidportletId- the portlet ID- Returns:
- the matching portlet preferenceses
-
findByP_P
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.- 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 static List<PortletPreferences> findByP_P(long plid, String portletId, int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findByP_P(long plid, String portletId, int start, int end, OrderByComparator<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.- 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 static PortletPreferences findByP_P_First(long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the first portlet preferences in the ordered set where plid = ? and portletId = ?.- Parameters:
plid- the plidportletId- the portlet IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByP_P_First
public static PortletPreferences fetchByP_P_First(long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where plid = ? and portletId = ?.- 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 static PortletPreferences findByP_P_Last(long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the last portlet preferences in the ordered set where plid = ? and portletId = ?.- Parameters:
plid- the plidportletId- the portlet IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByP_P_Last
public static PortletPreferences fetchByP_P_Last(long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where plid = ? and portletId = ?.- 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 static PortletPreferences[] findByP_P_PrevAndNext(long portletPreferencesId, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where plid = ? and portletId = ?.- 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:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
removeByP_P
Removes all the portlet preferenceses where plid = ? and portletId = ? from the database.- Parameters:
plid- the plidportletId- the portlet ID
-
countByP_P
Returns the number of portlet preferenceses where plid = ? and portletId = ?.- Parameters:
plid- the plidportletId- the portlet ID- Returns:
- the number of matching portlet preferenceses
-
findByO_O_P
Returns all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.- Parameters:
ownerId- the owner IDownerType- the owner typeplid- the plid- Returns:
- the matching portlet preferenceses
-
findByO_O_P
public static List<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.- 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 static List<PortletPreferences> findByO_O_P(long ownerId, int ownerType, long plid, int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findByO_O_P(long ownerId, int ownerType, long plid, int start, int end, OrderByComparator<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.- 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 static PortletPreferences findByO_O_P_First(long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.- 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:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByO_O_P_First
public static PortletPreferences fetchByO_O_P_First(long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.- 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 static PortletPreferences findByO_O_P_Last(long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.- 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:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByO_O_P_Last
public static PortletPreferences fetchByO_O_P_Last(long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.- 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 static PortletPreferences[] findByO_O_P_PrevAndNext(long portletPreferencesId, long ownerId, int ownerType, long plid, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ? and ownerType = ? and plid = ?.- 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:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
removeByO_O_P
public static void removeByO_O_P(long ownerId, int ownerType, long plid) Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and plid = ? from the database.- Parameters:
ownerId- the owner IDownerType- the owner typeplid- the plid
-
countByO_O_P
public static int countByO_O_P(long ownerId, int ownerType, long plid) Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and plid = ?.- Parameters:
ownerId- the owner IDownerType- the owner typeplid- the plid- Returns:
- the number of matching portlet preferenceses
-
findByO_O_PI
Returns all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ?.- Parameters:
ownerId- the owner IDownerType- the owner typeportletId- the portlet ID- Returns:
- the matching portlet preferenceses
-
findByO_O_PI
public static List<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.- 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 static List<PortletPreferences> findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findByO_O_PI(long ownerId, int ownerType, String portletId, int start, int end, OrderByComparator<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.- 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 static PortletPreferences findByO_O_PI_First(long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.- 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:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByO_O_PI_First
public static PortletPreferences fetchByO_O_PI_First(long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.- 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 static PortletPreferences findByO_O_PI_Last(long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.- 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:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByO_O_PI_Last
public static PortletPreferences fetchByO_O_PI_Last(long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.- 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 static PortletPreferences[] findByO_O_PI_PrevAndNext(long portletPreferencesId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerId = ? and ownerType = ? and portletId = ?.- 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:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
removeByO_O_PI
Removes all the portlet preferenceses where ownerId = ? and ownerType = ? and portletId = ? from the database.- 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 = ?.- Parameters:
ownerId- the owner IDownerType- the owner typeportletId- the portlet ID- Returns:
- the number of matching portlet preferenceses
-
findByO_P_P
Returns all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ?.- Parameters:
ownerType- the owner typeplid- the plidportletId- the portlet ID- Returns:
- the matching portlet preferenceses
-
findByO_P_P
public static List<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.- 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 static List<PortletPreferences> findByO_P_P(int ownerType, long plid, String portletId, int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findByO_P_P(int ownerType, long plid, String portletId, int start, int end, OrderByComparator<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.- 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 static PortletPreferences findByO_P_P_First(int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the first portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.- 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:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByO_P_P_First
public static PortletPreferences fetchByO_P_P_First(int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.- 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 static PortletPreferences findByO_P_P_Last(int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the last portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.- 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:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByO_P_P_Last
public static PortletPreferences fetchByO_P_P_Last(int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.- 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 static PortletPreferences[] findByO_P_P_PrevAndNext(long portletPreferencesId, int ownerType, long plid, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the portlet preferenceses before and after the current portlet preferences in the ordered set where ownerType = ? and plid = ? and portletId = ?.- 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:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
removeByO_P_P
Removes all the portlet preferenceses where ownerType = ? and plid = ? and portletId = ? from the database.- 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 = ?.- Parameters:
ownerType- the owner typeplid- the plidportletId- the portlet ID- Returns:
- the number of matching portlet preferenceses
-
findByC_O_O_LikeP
public static List<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 ?.- Parameters:
companyId- the company IDownerId- the owner IDownerType- the owner typeportletId- the portlet ID- Returns:
- the matching portlet preferenceses
-
findByC_O_O_LikeP
public static List<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.- 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 static List<PortletPreferences> findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId, int start, int end, OrderByComparator<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.- 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 static PortletPreferences findByC_O_O_LikeP_First(long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the first portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.- 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:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByC_O_O_LikeP_First
public static PortletPreferences fetchByC_O_O_LikeP_First(long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the first portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.- 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 static PortletPreferences findByC_O_O_LikeP_Last(long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws NoSuchPortletPreferencesException Returns the last portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.- 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:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByC_O_O_LikeP_Last
public static PortletPreferences fetchByC_O_O_LikeP_Last(long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) Returns the last portlet preferences in the ordered set where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ?.- 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 static PortletPreferences[] findByC_O_O_LikeP_PrevAndNext(long portletPreferencesId, long companyId, long ownerId, int ownerType, String portletId, OrderByComparator<PortletPreferences> orderByComparator) throws 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 ?.- 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:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
removeByC_O_O_LikeP
public static void removeByC_O_O_LikeP(long companyId, long ownerId, int ownerType, String portletId) Removes all the portlet preferenceses where companyId = ? and ownerId = ? and ownerType = ? and portletId LIKE ? from the database.- 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 ?.- 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 static PortletPreferences findByO_O_P_P(long ownerId, int ownerType, long plid, String portletId) throws NoSuchPortletPreferencesException Returns the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? or throws aNoSuchPortletPreferencesExceptionif it could not be found.- Parameters:
ownerId- the owner IDownerType- the owner typeplid- the plidportletId- the portlet ID- Returns:
- the matching portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a matching portlet preferences could not be foundNoSuchPortletPreferencesException
-
fetchByO_O_P_P
public static 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.- 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 static 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.- 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 static PortletPreferences removeByO_O_P_P(long ownerId, int ownerType, long plid, String portletId) throws NoSuchPortletPreferencesException Removes the portlet preferences where ownerId = ? and ownerType = ? and plid = ? and portletId = ? from the database.- Parameters:
ownerId- the owner IDownerType- the owner typeplid- the plidportletId- the portlet ID- Returns:
- the portlet preferences that was removed
- Throws:
NoSuchPortletPreferencesException
-
countByO_O_P_P
Returns the number of portlet preferenceses where ownerId = ? and ownerType = ? and plid = ? and portletId = ?.- Parameters:
ownerId- the owner IDownerType- the owner typeplid- the plidportletId- the portlet ID- Returns:
- the number of matching portlet preferenceses
-
cacheResult
Caches the portlet preferences in the entity cache if it is enabled.- Parameters:
portletPreferences- the portlet preferences
-
cacheResult
Caches the portlet preferenceses in the entity cache if it is enabled.- Parameters:
portletPreferenceses- the portlet preferenceses
-
create
Creates a new portlet preferences with the primary key. Does not add the portlet preferences to the database.- Parameters:
portletPreferencesId- the primary key for the new portlet preferences- Returns:
- the new portlet preferences
-
remove
public static PortletPreferences remove(long portletPreferencesId) throws NoSuchPortletPreferencesException Removes the portlet preferences with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
portletPreferencesId- the primary key of the portlet preferences- Returns:
- the portlet preferences that was removed
- Throws:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
updateImpl
-
findByPrimaryKey
public static PortletPreferences findByPrimaryKey(long portletPreferencesId) throws NoSuchPortletPreferencesException Returns the portlet preferences with the primary key or throws aNoSuchPortletPreferencesExceptionif it could not be found.- Parameters:
portletPreferencesId- the primary key of the portlet preferences- Returns:
- the portlet preferences
- Throws:
NoSuchPortletPreferencesException- if a portlet preferences with the primary key could not be foundNoSuchPortletPreferencesException
-
fetchByPrimaryKey
Returns the portlet preferences with the primary key or returnsnullif it could not be found.- 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
-
findAll
Returns all the portlet preferenceses.- 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.- 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 static List<PortletPreferences> findAll(int start, int end, OrderByComparator<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.- 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 static List<PortletPreferences> findAll(int start, int end, OrderByComparator<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.- 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 static void removeAll()Removes all the portlet preferenceses from the database. -
countAll
public static int countAll()Returns the number of portlet preferenceses.- Returns:
- the number of portlet preferenceses
-
getPersistence
-
setPersistence
-