Class PortalPreferenceValueUtil
com.liferay.portal.service.persistence.impl.PortalPreferenceValuePersistenceImpl
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 void
cacheResult
(PortalPreferenceValue portalPreferenceValue) Caches the portal preference value in the entity cache if it is enabled.static void
cacheResult
(List<PortalPreferenceValue> portalPreferenceValues) Caches the portal preference values in the entity cache if it is enabled.static void
static void
clearCache
(PortalPreferenceValue portalPreferenceValue) static int
countAll()
Returns the number of portal preference values.static int
countByP_I_K_N
(long portalPreferencesId, int index, String key, String namespace) Returns the number of portal preference values where portalPreferencesId = ? and index = ? and key = ? and namespace = ?.static int
countByP_K_N
(long portalPreferencesId, String key, String namespace) Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.static int
countByP_K_N_SV
(long portalPreferencesId, String key, String namespace, String smallValue) Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static int
countByP_N
(long portalPreferencesId, String namespace) Returns the number of portal preference values where portalPreferencesId = ? and namespace = ?.static int
countByPortalPreferencesId
(long portalPreferencesId) Returns the number of portal preference values where portalPreferencesId = ?.static long
countWithDynamicQuery
(DynamicQuery dynamicQuery) static PortalPreferenceValue
create
(long portalPreferenceValueId) Creates a new portal preference value with the primary key.static PortalPreferenceValue
fetchByP_I_K_N
(long portalPreferencesId, int index, String key, String namespace) Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or returnsnull
if it could not be found.static PortalPreferenceValue
fetchByP_I_K_N
(long portalPreferencesId, int index, String key, String namespace, boolean useFinderCache) Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or returnsnull
if it could not be found, optionally using the finder cache.static PortalPreferenceValue
fetchByP_K_N_First
(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.static PortalPreferenceValue
fetchByP_K_N_Last
(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.static PortalPreferenceValue
fetchByP_K_N_SV_First
(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static PortalPreferenceValue
fetchByP_K_N_SV_Last
(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static PortalPreferenceValue
fetchByP_N_First
(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.static PortalPreferenceValue
fetchByP_N_Last
(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.static PortalPreferenceValue
fetchByPortalPreferencesId_First
(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ?.static PortalPreferenceValue
fetchByPortalPreferencesId_Last
(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ?.static PortalPreferenceValue
fetchByPrimaryKey
(long portalPreferenceValueId) Returns the portal preference value with the primary key or returnsnull
if it could not be found.static Map<Serializable,
PortalPreferenceValue> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<PortalPreferenceValue>
findAll()
Returns all the portal preference values.static List<PortalPreferenceValue>
findAll
(int start, int end) Returns a range of all the portal preference values.static List<PortalPreferenceValue>
findAll
(int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values.static List<PortalPreferenceValue>
findAll
(int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values.static PortalPreferenceValue
findByP_I_K_N
(long portalPreferencesId, int index, String key, String namespace) Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or throws aNoSuchPreferenceValueException
if it could not be found.static List<PortalPreferenceValue>
findByP_K_N
(long portalPreferencesId, String key, String namespace) Returns all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.static List<PortalPreferenceValue>
findByP_K_N
(long portalPreferencesId, String key, String namespace, int start, int end) Returns a range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.static List<PortalPreferenceValue>
findByP_K_N
(long portalPreferencesId, String key, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.static List<PortalPreferenceValue>
findByP_K_N
(long portalPreferencesId, String key, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.static PortalPreferenceValue
findByP_K_N_First
(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.static PortalPreferenceValue
findByP_K_N_Last
(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.static PortalPreferenceValue[]
findByP_K_N_PrevAndNext
(long portalPreferenceValueId, long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.static List<PortalPreferenceValue>
findByP_K_N_SV
(long portalPreferencesId, String key, String namespace, String smallValue) Returns all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static List<PortalPreferenceValue>
findByP_K_N_SV
(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end) Returns a range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static List<PortalPreferenceValue>
findByP_K_N_SV
(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static List<PortalPreferenceValue>
findByP_K_N_SV
(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static PortalPreferenceValue
findByP_K_N_SV_First
(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static PortalPreferenceValue
findByP_K_N_SV_Last
(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static PortalPreferenceValue[]
findByP_K_N_SV_PrevAndNext
(long portalPreferenceValueId, long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.static List<PortalPreferenceValue>
Returns all the portal preference values where portalPreferencesId = ? and namespace = ?.static List<PortalPreferenceValue>
Returns a range of all the portal preference values where portalPreferencesId = ? and namespace = ?.static List<PortalPreferenceValue>
findByP_N
(long portalPreferencesId, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and namespace = ?.static List<PortalPreferenceValue>
findByP_N
(long portalPreferencesId, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and namespace = ?.static PortalPreferenceValue
findByP_N_First
(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.static PortalPreferenceValue
findByP_N_Last
(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.static PortalPreferenceValue[]
findByP_N_PrevAndNext
(long portalPreferenceValueId, long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.static List<PortalPreferenceValue>
findByPortalPreferencesId
(long portalPreferencesId) Returns all the portal preference values where portalPreferencesId = ?.static List<PortalPreferenceValue>
findByPortalPreferencesId
(long portalPreferencesId, int start, int end) Returns a range of all the portal preference values where portalPreferencesId = ?.static List<PortalPreferenceValue>
findByPortalPreferencesId
(long portalPreferencesId, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values where portalPreferencesId = ?.static List<PortalPreferenceValue>
findByPortalPreferencesId
(long portalPreferencesId, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values where portalPreferencesId = ?.static PortalPreferenceValue
findByPortalPreferencesId_First
(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ?.static PortalPreferenceValue
findByPortalPreferencesId_Last
(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ?.static PortalPreferenceValue[]
findByPortalPreferencesId_PrevAndNext
(long portalPreferenceValueId, long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ?.static PortalPreferenceValue
findByPrimaryKey
(long portalPreferenceValueId) Returns the portal preference value with the primary key or throws aNoSuchPreferenceValueException
if it could not be found.static List<PortalPreferenceValue>
findWithDynamicQuery
(DynamicQuery dynamicQuery) static List<PortalPreferenceValue>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end) static List<PortalPreferenceValue>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) static PortalPreferenceValue
remove
(long portalPreferenceValueId) Removes the portal preference value with the primary key from the database.static void
Removes all the portal preference values from the database.static PortalPreferenceValue
removeByP_I_K_N
(long portalPreferencesId, int index, String key, String namespace) Removes the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? from the database.static void
removeByP_K_N
(long portalPreferencesId, String key, String namespace) Removes all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? from the database.static void
removeByP_K_N_SV
(long portalPreferencesId, String key, String namespace, String smallValue) Removes all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ? from the database.static void
removeByP_N
(long portalPreferencesId, String namespace) Removes all the portal preference values where portalPreferencesId = ? and namespace = ? from the database.static void
removeByPortalPreferencesId
(long portalPreferencesId) Removes all the portal preference values where portalPreferencesId = ? from the database.static void
setPersistence
(PortalPreferenceValuePersistence persistence) static PortalPreferenceValue
update
(PortalPreferenceValue portalPreferenceValue) static PortalPreferenceValue
update
(PortalPreferenceValue portalPreferenceValue, ServiceContext serviceContext) static PortalPreferenceValue
updateImpl
(PortalPreferenceValue portalPreferenceValue)
-
Constructor Details
-
PortalPreferenceValueUtil
public PortalPreferenceValueUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
public static Map<Serializable,PortalPreferenceValue> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<PortalPreferenceValue> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<PortalPreferenceValue> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) -
update
-
update
public static PortalPreferenceValue update(PortalPreferenceValue portalPreferenceValue, ServiceContext serviceContext) -
findByPortalPreferencesId
Returns all the portal preference values where portalPreferencesId = ?.- Parameters:
portalPreferencesId
- the portal preferences ID- Returns:
- the matching portal preference values
-
findByPortalPreferencesId
public static List<PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId, int start, int end) Returns a range of all the portal preference values where portalPreferencesId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDstart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)- Returns:
- the range of matching portal preference values
-
findByPortalPreferencesId
public static List<PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values where portalPreferencesId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDstart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching portal preference values
-
findByPortalPreferencesId
public static List<PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values where portalPreferencesId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDstart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching portal preference values
-
findByPortalPreferencesId_First
public static PortalPreferenceValue findByPortalPreferencesId_First(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the first portal preference value in the ordered set where portalPreferencesId = ?.- Parameters:
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching portal preference value
- Throws:
NoSuchPreferenceValueException
- if a matching portal preference value could not be foundNoSuchPreferenceValueException
-
fetchByPortalPreferencesId_First
public static PortalPreferenceValue fetchByPortalPreferencesId_First(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ?.- Parameters:
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching portal preference value, or
null
if a matching portal preference value could not be found
-
findByPortalPreferencesId_Last
public static PortalPreferenceValue findByPortalPreferencesId_Last(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the last portal preference value in the ordered set where portalPreferencesId = ?.- Parameters:
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portal preference value
- Throws:
NoSuchPreferenceValueException
- if a matching portal preference value could not be foundNoSuchPreferenceValueException
-
fetchByPortalPreferencesId_Last
public static PortalPreferenceValue fetchByPortalPreferencesId_Last(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ?.- Parameters:
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portal preference value, or
null
if a matching portal preference value could not be found
-
findByPortalPreferencesId_PrevAndNext
public static PortalPreferenceValue[] findByPortalPreferencesId_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ?.- Parameters:
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next portal preference value
- Throws:
NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundNoSuchPreferenceValueException
-
removeByPortalPreferencesId
public static void removeByPortalPreferencesId(long portalPreferencesId) Removes all the portal preference values where portalPreferencesId = ? from the database.- Parameters:
portalPreferencesId
- the portal preferences ID
-
countByPortalPreferencesId
public static int countByPortalPreferencesId(long portalPreferencesId) Returns the number of portal preference values where portalPreferencesId = ?.- Parameters:
portalPreferencesId
- the portal preferences ID- Returns:
- the number of matching portal preference values
-
findByP_N
Returns all the portal preference values where portalPreferencesId = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespace- Returns:
- the matching portal preference values
-
findByP_N
public static List<PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace, int start, int end) Returns a range of all the portal preference values where portalPreferencesId = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)- Returns:
- the range of matching portal preference values
-
findByP_N
public static List<PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching portal preference values
-
findByP_N
public static List<PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching portal preference values
-
findByP_N_First
public static PortalPreferenceValue findByP_N_First(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the first portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching portal preference value
- Throws:
NoSuchPreferenceValueException
- if a matching portal preference value could not be foundNoSuchPreferenceValueException
-
fetchByP_N_First
public static PortalPreferenceValue fetchByP_N_First(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching portal preference value, or
null
if a matching portal preference value could not be found
-
findByP_N_Last
public static PortalPreferenceValue findByP_N_Last(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the last portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portal preference value
- Throws:
NoSuchPreferenceValueException
- if a matching portal preference value could not be foundNoSuchPreferenceValueException
-
fetchByP_N_Last
public static PortalPreferenceValue fetchByP_N_Last(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portal preference value, or
null
if a matching portal preference value could not be found
-
findByP_N_PrevAndNext
public static PortalPreferenceValue[] findByP_N_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.- Parameters:
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next portal preference value
- Throws:
NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundNoSuchPreferenceValueException
-
removeByP_N
Removes all the portal preference values where portalPreferencesId = ? and namespace = ? from the database.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespace
-
countByP_N
Returns the number of portal preference values where portalPreferencesId = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDnamespace
- the namespace- Returns:
- the number of matching portal preference values
-
findByP_K_N
public static List<PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace) Returns all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespace- Returns:
- the matching portal preference values
-
findByP_K_N
public static List<PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace, int start, int end) Returns a range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)- Returns:
- the range of matching portal preference values
-
findByP_K_N
public static List<PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching portal preference values
-
findByP_K_N
public static List<PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching portal preference values
-
findByP_K_N_First
public static PortalPreferenceValue findByP_K_N_First(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching portal preference value
- Throws:
NoSuchPreferenceValueException
- if a matching portal preference value could not be foundNoSuchPreferenceValueException
-
fetchByP_K_N_First
public static PortalPreferenceValue fetchByP_K_N_First(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching portal preference value, or
null
if a matching portal preference value could not be found
-
findByP_K_N_Last
public static PortalPreferenceValue findByP_K_N_Last(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portal preference value
- Throws:
NoSuchPreferenceValueException
- if a matching portal preference value could not be foundNoSuchPreferenceValueException
-
fetchByP_K_N_Last
public static PortalPreferenceValue fetchByP_K_N_Last(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portal preference value, or
null
if a matching portal preference value could not be found
-
findByP_K_N_PrevAndNext
public static PortalPreferenceValue[] findByP_K_N_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ?.- Parameters:
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next portal preference value
- Throws:
NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundNoSuchPreferenceValueException
-
removeByP_K_N
Removes all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? from the database.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespace
-
countByP_K_N
Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespace- Returns:
- the number of matching portal preference values
-
findByP_I_K_N
public static PortalPreferenceValue findByP_I_K_N(long portalPreferencesId, int index, String key, String namespace) throws NoSuchPreferenceValueException Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or throws aNoSuchPreferenceValueException
if it could not be found.- Parameters:
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespace- Returns:
- the matching portal preference value
- Throws:
NoSuchPreferenceValueException
- if a matching portal preference value could not be foundNoSuchPreferenceValueException
-
fetchByP_I_K_N
public static PortalPreferenceValue fetchByP_I_K_N(long portalPreferencesId, int index, String key, String namespace) Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespace- Returns:
- the matching portal preference value, or
null
if a matching portal preference value could not be found
-
fetchByP_I_K_N
public static PortalPreferenceValue fetchByP_I_K_N(long portalPreferencesId, int index, String key, String namespace, boolean useFinderCache) Returns the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespaceuseFinderCache
- whether to use the finder cache- Returns:
- the matching portal preference value, or
null
if a matching portal preference value could not be found
-
removeByP_I_K_N
public static PortalPreferenceValue removeByP_I_K_N(long portalPreferencesId, int index, String key, String namespace) throws NoSuchPreferenceValueException Removes the portal preference value where portalPreferencesId = ? and index = ? and key = ? and namespace = ? from the database.- Parameters:
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespace- Returns:
- the portal preference value that was removed
- Throws:
NoSuchPreferenceValueException
-
countByP_I_K_N
Returns the number of portal preference values where portalPreferencesId = ? and index = ? and key = ? and namespace = ?.- Parameters:
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespace- Returns:
- the number of matching portal preference values
-
findByP_K_N_SV
public static List<PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue) Returns all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small value- Returns:
- the matching portal preference values
-
findByP_K_N_SV
public static List<PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end) Returns a range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)- Returns:
- the range of matching portal preference values
-
findByP_K_N_SV
public static List<PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching portal preference values
-
findByP_K_N_SV
public static List<PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuestart
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching portal preference values
-
findByP_K_N_SV_First
public static PortalPreferenceValue findByP_K_N_SV_First(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching portal preference value
- Throws:
NoSuchPreferenceValueException
- if a matching portal preference value could not be foundNoSuchPreferenceValueException
-
fetchByP_K_N_SV_First
public static PortalPreferenceValue fetchByP_K_N_SV_First(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching portal preference value, or
null
if a matching portal preference value could not be found
-
findByP_K_N_SV_Last
public static PortalPreferenceValue findByP_K_N_SV_Last(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portal preference value
- Throws:
NoSuchPreferenceValueException
- if a matching portal preference value could not be foundNoSuchPreferenceValueException
-
fetchByP_K_N_SV_Last
public static PortalPreferenceValue fetchByP_K_N_SV_Last(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portal preference value, or
null
if a matching portal preference value could not be found
-
findByP_K_N_SV_PrevAndNext
public static PortalPreferenceValue[] findByP_K_N_SV_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException Returns the portal preference values before and after the current portal preference value in the ordered set where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.- Parameters:
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next portal preference value
- Throws:
NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundNoSuchPreferenceValueException
-
removeByP_K_N_SV
public static void removeByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue) Removes all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ? from the database.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small value
-
countByP_K_N_SV
public static int countByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue) Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ? and smallValue = ?.- Parameters:
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small value- Returns:
- the number of matching portal preference values
-
cacheResult
Caches the portal preference value in the entity cache if it is enabled.- Parameters:
portalPreferenceValue
- the portal preference value
-
cacheResult
Caches the portal preference values in the entity cache if it is enabled.- Parameters:
portalPreferenceValues
- the portal preference values
-
create
Creates a new portal preference value with the primary key. Does not add the portal preference value to the database.- Parameters:
portalPreferenceValueId
- the primary key for the new portal preference value- Returns:
- the new portal preference value
-
remove
public static PortalPreferenceValue remove(long portalPreferenceValueId) throws NoSuchPreferenceValueException Removes the portal preference value with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
portalPreferenceValueId
- the primary key of the portal preference value- Returns:
- the portal preference value that was removed
- Throws:
NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundNoSuchPreferenceValueException
-
updateImpl
-
findByPrimaryKey
public static PortalPreferenceValue findByPrimaryKey(long portalPreferenceValueId) throws NoSuchPreferenceValueException Returns the portal preference value with the primary key or throws aNoSuchPreferenceValueException
if it could not be found.- Parameters:
portalPreferenceValueId
- the primary key of the portal preference value- Returns:
- the portal preference value
- Throws:
NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundNoSuchPreferenceValueException
-
fetchByPrimaryKey
Returns the portal preference value with the primary key or returnsnull
if it could not be found.- Parameters:
portalPreferenceValueId
- the primary key of the portal preference value- Returns:
- the portal preference value, or
null
if a portal preference value with the primary key could not be found
-
findAll
Returns all the portal preference values.- Returns:
- the portal preference values
-
findAll
Returns a range of all the portal preference values.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
start
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)- Returns:
- the range of portal preference values
-
findAll
public static List<PortalPreferenceValue> findAll(int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
start
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of portal preference values
-
findAll
public static List<PortalPreferenceValue> findAll(int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortalPreferenceValueModelImpl
.- Parameters:
start
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of portal preference values
-
removeAll
public static void removeAll()Removes all the portal preference values from the database. -
countAll
public static int countAll()Returns the number of portal preference values.- Returns:
- the number of portal preference values
-
getPersistence
-
setPersistence
-