Interface PortalPreferenceValuePersistence
- All Superinterfaces:
BasePersistence<PortalPreferenceValue>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(PortalPreferenceValue portalPreferenceValue) Caches the portal preference value in the entity cache if it is enabled.void
cacheResult
(List<PortalPreferenceValue> portalPreferenceValues) Caches the portal preference values in the entity cache if it is enabled.int
countAll()
Returns the number of portal preference values.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 = ?.int
countByP_K_N
(long portalPreferencesId, String key, String namespace) Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.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 = ?.int
countByP_N
(long portalPreferencesId, String namespace) Returns the number of portal preference values where portalPreferencesId = ? and namespace = ?.int
countByPortalPreferencesId
(long portalPreferencesId) Returns the number of portal preference values where portalPreferencesId = ?.create
(long portalPreferenceValueId) Creates a new portal preference value with the primary key.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.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.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 = ?.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 = ?.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 = ?.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 = ?.fetchByP_N_First
(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.fetchByP_N_Last
(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.fetchByPortalPreferencesId_First
(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ?.fetchByPortalPreferencesId_Last
(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ?.fetchByPrimaryKey
(long portalPreferenceValueId) Returns the portal preference value with the primary key or returnsnull
if it could not be found.findAll()
Returns all the portal preference values.findAll
(int start, int end) Returns a range of all the portal preference values.findAll
(int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values.findAll
(int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values.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.findByP_K_N
(long portalPreferencesId, String key, String namespace) Returns all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.Returns all the portal preference values where portalPreferencesId = ? and namespace = ?.Returns a range of all the portal preference values where portalPreferencesId = ? and namespace = ?.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 = ?.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 = ?.findByP_N_First
(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.findByP_N_Last
(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ? and namespace = ?.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 = ?.findByPortalPreferencesId
(long portalPreferencesId) Returns all the portal preference values where portalPreferencesId = ?.findByPortalPreferencesId
(long portalPreferencesId, int start, int end) Returns a range of all the portal preference values where portalPreferencesId = ?.findByPortalPreferencesId
(long portalPreferencesId, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns an ordered range of all the portal preference values where portalPreferencesId = ?.findByPortalPreferencesId
(long portalPreferencesId, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache) Returns an ordered range of all the portal preference values where portalPreferencesId = ?.findByPortalPreferencesId_First
(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the first portal preference value in the ordered set where portalPreferencesId = ?.findByPortalPreferencesId_Last
(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) Returns the last portal preference value in the ordered set where portalPreferencesId = ?.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 = ?.findByPrimaryKey
(long portalPreferenceValueId) Returns the portal preference value with the primary key or throws aNoSuchPreferenceValueException
if it could not be found.remove
(long portalPreferenceValueId) Removes the portal preference value with the primary key from the database.void
Removes all the portal preference values from the database.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.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.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.void
removeByP_N
(long portalPreferencesId, String namespace) Removes all the portal preference values where portalPreferencesId = ? and namespace = ? from the database.void
removeByPortalPreferencesId
(long portalPreferencesId) Removes all the portal preference values where portalPreferencesId = ? from the database.updateImpl
(PortalPreferenceValue portalPreferenceValue) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByPortalPreferencesId
Returns all the portal preference values where portalPreferencesId = ?.- Parameters:
portalPreferencesId
- the portal preferences ID- Returns:
- the matching portal preference values
-
findByPortalPreferencesId
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
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
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
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 found
-
fetchByPortalPreferencesId_First
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
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 found
-
fetchByPortalPreferencesId_Last
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
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 found
-
removeByPortalPreferencesId
void removeByPortalPreferencesId(long portalPreferencesId) Removes all the portal preference values where portalPreferencesId = ? from the database.- Parameters:
portalPreferencesId
- the portal preferences ID
-
countByPortalPreferencesId
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
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
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
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
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 found
-
fetchByP_N_First
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
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 found
-
fetchByP_N_Last
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
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 found
-
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
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
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
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
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
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 found
-
fetchByP_K_N_First
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
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 found
-
fetchByP_K_N_Last
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
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 found
-
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
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 found
-
fetchByP_I_K_N
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
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
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
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
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
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
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
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 found
-
fetchByP_K_N_SV_First
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
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 found
-
fetchByP_K_N_SV_Last
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
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 found
-
removeByP_K_N_SV
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
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<PortalPreferenceValue> 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
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
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
void removeAll()Removes all the portal preference values from the database. -
countAll
int countAll()Returns the number of portal preference values.- Returns:
- the number of portal preference values
-