@ProviderType public interface PortalPreferenceValuePersistence extends BasePersistence<PortalPreferenceValue>
Caching information and settings can be found in portal.properties
PortalPreferenceValueUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<PortalPreferenceValue> portalPreferenceValues)
Caches the portal preference values in the entity cache if it is enabled.
|
void |
cacheResult(PortalPreferenceValue portalPreferenceValue)
Caches the portal preference value 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_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_K_N(long portalPreferencesId,
String key,
String namespace)
Returns the number of portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.
|
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 = ?.
|
PortalPreferenceValue |
create(long portalPreferenceValueId)
Creates a new portal preference value with the primary key.
|
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 returns
null if it could not be found. |
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 returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
PortalPreferenceValue |
fetchByPortalPreferencesId_First(long portalPreferencesId,
OrderByComparator<PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ?.
|
PortalPreferenceValue |
fetchByPortalPreferencesId_Last(long portalPreferencesId,
OrderByComparator<PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ?.
|
PortalPreferenceValue |
fetchByPrimaryKey(long portalPreferenceValueId)
Returns the portal preference value with the primary key or returns
null if it could not be found. |
List<PortalPreferenceValue> |
findAll()
Returns all the portal preference values.
|
List<PortalPreferenceValue> |
findAll(int start,
int end)
Returns a range of all the portal preference values.
|
List<PortalPreferenceValue> |
findAll(int start,
int end,
OrderByComparator<PortalPreferenceValue> orderByComparator)
Returns an ordered range of all the portal preference values.
|
List<PortalPreferenceValue> |
findAll(int start,
int end,
OrderByComparator<PortalPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portal preference values.
|
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 a
NoSuchPreferenceValueException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
List<PortalPreferenceValue> |
findByP_K_N(long portalPreferencesId,
String key,
String namespace)
Returns all the portal preference values where portalPreferencesId = ? and key = ? and namespace = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
List<PortalPreferenceValue> |
findByP_N(long portalPreferencesId,
String namespace)
Returns all the portal preference values where portalPreferencesId = ? and namespace = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
PortalPreferenceValue |
findByPortalPreferencesId_First(long portalPreferencesId,
OrderByComparator<PortalPreferenceValue> orderByComparator)
Returns the first portal preference value in the ordered set where portalPreferencesId = ?.
|
PortalPreferenceValue |
findByPortalPreferencesId_Last(long portalPreferencesId,
OrderByComparator<PortalPreferenceValue> orderByComparator)
Returns the last portal preference value in the ordered set where portalPreferencesId = ?.
|
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 = ?.
|
List<PortalPreferenceValue> |
findByPortalPreferencesId(long portalPreferencesId)
Returns all the portal preference values where portalPreferencesId = ?.
|
List<PortalPreferenceValue> |
findByPortalPreferencesId(long portalPreferencesId,
int start,
int end)
Returns a range of all the portal preference values where portalPreferencesId = ?.
|
List<PortalPreferenceValue> |
findByPortalPreferencesId(long portalPreferencesId,
int start,
int end,
OrderByComparator<PortalPreferenceValue> orderByComparator)
Returns an ordered range of all the portal preference values where portalPreferencesId = ?.
|
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 = ?.
|
PortalPreferenceValue |
findByPrimaryKey(long portalPreferenceValueId)
Returns the portal preference value with the primary key or throws a
NoSuchPreferenceValueException if it could not be found. |
PortalPreferenceValue |
remove(long portalPreferenceValueId)
Removes the portal preference value with the primary key from the database.
|
void |
removeAll()
Removes all the portal preference values from the database.
|
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.
|
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_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_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.
|
PortalPreferenceValue |
updateImpl(PortalPreferenceValue portalPreferenceValue) |
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, setDataSource, unregisterListener, update, update
List<PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId)
portalPreferencesId
- the portal preferences IDList<PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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)List<PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)List<PortalPreferenceValue> findByPortalPreferencesId(long portalPreferencesId, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachePortalPreferenceValue findByPortalPreferencesId_First(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a matching portal preference value could not be foundPortalPreferenceValue fetchByPortalPreferencesId_First(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator)
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundPortalPreferenceValue findByPortalPreferencesId_Last(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a matching portal preference value could not be foundPortalPreferenceValue fetchByPortalPreferencesId_Last(long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator)
portalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundPortalPreferenceValue[] findByPortalPreferencesId_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundvoid removeByPortalPreferencesId(long portalPreferencesId)
portalPreferencesId
- the portal preferences IDint countByPortalPreferencesId(long portalPreferencesId)
portalPreferencesId
- the portal preferences IDList<PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace)
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceList<PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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)List<PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)List<PortalPreferenceValue> findByP_N(long portalPreferencesId, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachePortalPreferenceValue findByP_N_First(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a matching portal preference value could not be foundPortalPreferenceValue fetchByP_N_First(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator)
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundPortalPreferenceValue findByP_N_Last(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a matching portal preference value could not be foundPortalPreferenceValue fetchByP_N_Last(long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator)
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundPortalPreferenceValue[] findByP_N_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferenceValueId
- the primary key of the current portal preference valueportalPreferencesId
- the portal preferences IDnamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundvoid removeByP_N(long portalPreferencesId, String namespace)
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceint countByP_N(long portalPreferencesId, String namespace)
portalPreferencesId
- the portal preferences IDnamespace
- the namespaceList<PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceList<PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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)List<PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)List<PortalPreferenceValue> findByP_K_N(long portalPreferencesId, String key, String namespace, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachePortalPreferenceValue findByP_K_N_First(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a matching portal preference value could not be foundPortalPreferenceValue fetchByP_K_N_First(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundPortalPreferenceValue findByP_K_N_Last(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a matching portal preference value could not be foundPortalPreferenceValue fetchByP_K_N_Last(long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundPortalPreferenceValue[] findByP_K_N_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, String key, String namespace, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
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 (optionally null
)NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundvoid removeByP_K_N(long portalPreferencesId, String key, String namespace)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespaceint countByP_K_N(long portalPreferencesId, String key, String namespace)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacePortalPreferenceValue findByP_I_K_N(long portalPreferencesId, int index, String key, String namespace) throws NoSuchPreferenceValueException
NoSuchPreferenceValueException
if it could not be found.portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespaceNoSuchPreferenceValueException
- if a matching portal preference value could not be foundPortalPreferenceValue fetchByP_I_K_N(long portalPreferencesId, int index, String key, String namespace)
null
if it could not be found. Uses the finder cache.portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespacenull
if a matching portal preference value could not be foundPortalPreferenceValue fetchByP_I_K_N(long portalPreferencesId, int index, String key, String namespace, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespaceuseFinderCache
- whether to use the finder cachenull
if a matching portal preference value could not be foundPortalPreferenceValue removeByP_I_K_N(long portalPreferencesId, int index, String key, String namespace) throws NoSuchPreferenceValueException
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespaceNoSuchPreferenceValueException
int countByP_I_K_N(long portalPreferencesId, int index, String key, String namespace)
portalPreferencesId
- the portal preferences IDindex
- the indexkey
- the keynamespace
- the namespaceList<PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueList<PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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)List<PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)List<PortalPreferenceValue> findByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue, int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachePortalPreferenceValue findByP_K_N_SV_First(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a matching portal preference value could not be foundPortalPreferenceValue fetchByP_K_N_SV_First(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundPortalPreferenceValue findByP_K_N_SV_Last(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPreferenceValueException
- if a matching portal preference value could not be foundPortalPreferenceValue fetchByP_K_N_SV_Last(long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching portal preference value could not be foundPortalPreferenceValue[] findByP_K_N_SV_PrevAndNext(long portalPreferenceValueId, long portalPreferencesId, String key, String namespace, String smallValue, OrderByComparator<PortalPreferenceValue> orderByComparator) throws NoSuchPreferenceValueException
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 (optionally null
)NoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundvoid removeByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valueint countByP_K_N_SV(long portalPreferencesId, String key, String namespace, String smallValue)
portalPreferencesId
- the portal preferences IDkey
- the keynamespace
- the namespacesmallValue
- the small valuevoid cacheResult(PortalPreferenceValue portalPreferenceValue)
portalPreferenceValue
- the portal preference valuevoid cacheResult(List<PortalPreferenceValue> portalPreferenceValues)
portalPreferenceValues
- the portal preference valuesPortalPreferenceValue create(long portalPreferenceValueId)
portalPreferenceValueId
- the primary key for the new portal preference valuePortalPreferenceValue remove(long portalPreferenceValueId) throws NoSuchPreferenceValueException
portalPreferenceValueId
- the primary key of the portal preference valueNoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundPortalPreferenceValue updateImpl(PortalPreferenceValue portalPreferenceValue)
PortalPreferenceValue findByPrimaryKey(long portalPreferenceValueId) throws NoSuchPreferenceValueException
NoSuchPreferenceValueException
if it could not be found.portalPreferenceValueId
- the primary key of the portal preference valueNoSuchPreferenceValueException
- if a portal preference value with the primary key could not be foundPortalPreferenceValue fetchByPrimaryKey(long portalPreferenceValueId)
null
if it could not be found.portalPreferenceValueId
- the primary key of the portal preference valuenull
if a portal preference value with the primary key could not be foundList<PortalPreferenceValue> findAll()
List<PortalPreferenceValue> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
start
- the lower bound of the range of portal preference valuesend
- the upper bound of the range of portal preference values (not inclusive)List<PortalPreferenceValue> findAll(int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)List<PortalPreferenceValue> findAll(int start, int end, OrderByComparator<PortalPreferenceValue> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from PortalPreferenceValueModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()