public class PortletPreferenceValuePersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
implements com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
PortletPreferenceValuePersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the portlet preference value persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues)
Caches the portlet preference values in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
Caches the portlet preference value in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(PortletPreferenceValueModelImpl portletPreferenceValueModelImpl) |
void |
clearCache()
Clears the cache for all portlet preference values.
|
void |
clearCache(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues) |
void |
clearCache(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
Clears the cache for the portlet preference value.
|
void |
clearCache(Set<Serializable> primaryKeys) |
int |
countAll()
Returns the number of portlet preference values.
|
int |
countByP_I_N(long portletPreferencesId,
int index,
String name)
Returns the number of portlet preference values where portletPreferencesId = ? and index = ? and name = ?.
|
int |
countByP_N_SV(long portletPreferencesId,
String name,
String smallValue)
Returns the number of portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
|
int |
countByP_N(long portletPreferencesId,
String name)
Returns the number of portlet preference values where portletPreferencesId = ? and name = ?.
|
int |
countByPortletPreferencesId(long portletPreferencesId)
Returns the number of portlet preference values where portletPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
create(long portletPreferenceValueId)
Creates a new portlet preference value with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByP_I_N(long portletPreferencesId,
int index,
String name)
Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByP_I_N(long portletPreferencesId,
int index,
String name,
boolean useFinderCache)
Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByP_N_First(long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByP_N_Last(long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByP_N_SV_First(long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByP_N_SV_Last(long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByPortletPreferencesId_First(long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the first portlet preference value in the ordered set where portletPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByPortletPreferencesId_Last(long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the last portlet preference value in the ordered set where portletPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByPrimaryKey(long portletPreferenceValueId)
Returns the portlet preference value with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.PortletPreferenceValue |
fetchByPrimaryKey(Serializable primaryKey)
Returns the portlet preference value with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.portal.kernel.model.PortletPreferenceValue> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findAll()
Returns all the portlet preference values.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findAll(int start,
int end)
Returns a range of all the portlet preference values.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns an ordered range of all the portlet preference values.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portlet preference values.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
findByP_I_N(long portletPreferencesId,
int index,
String name)
Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or throws a
NoSuchPortletPreferenceValueException if it could not be found. |
com.liferay.portal.kernel.model.PortletPreferenceValue |
findByP_N_First(long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
findByP_N_Last(long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue[] |
findByP_N_PrevAndNext(long portletPreferenceValueId,
long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
findByP_N_SV_First(long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
findByP_N_SV_Last(long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue[] |
findByP_N_SV_PrevAndNext(long portletPreferenceValueId,
long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByP_N_SV(long portletPreferencesId,
String name,
String smallValue)
Returns all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByP_N_SV(long portletPreferencesId,
String name,
String smallValue,
int start,
int end)
Returns a range of all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByP_N_SV(long portletPreferencesId,
String name,
String smallValue,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByP_N_SV(long portletPreferencesId,
String name,
String smallValue,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByP_N(long portletPreferencesId,
String name)
Returns all the portlet preference values where portletPreferencesId = ? and name = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByP_N(long portletPreferencesId,
String name,
int start,
int end)
Returns a range of all the portlet preference values where portletPreferencesId = ? and name = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByP_N(long portletPreferencesId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByP_N(long portletPreferencesId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
findByPortletPreferencesId_First(long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the first portlet preference value in the ordered set where portletPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
findByPortletPreferencesId_Last(long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the last portlet preference value in the ordered set where portletPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue[] |
findByPortletPreferencesId_PrevAndNext(long portletPreferenceValueId,
long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByPortletPreferencesId(long portletPreferencesId)
Returns all the portlet preference values where portletPreferencesId = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByPortletPreferencesId(long portletPreferencesId,
int start,
int end)
Returns a range of all the portlet preference values where portletPreferencesId = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByPortletPreferencesId(long portletPreferencesId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
Returns an ordered range of all the portlet preference values where portletPreferencesId = ?.
|
List<com.liferay.portal.kernel.model.PortletPreferenceValue> |
findByPortletPreferencesId(long portletPreferencesId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portlet preference values where portletPreferencesId = ?.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
findByPrimaryKey(long portletPreferenceValueId)
Returns the portlet preference value with the primary key or throws a
NoSuchPortletPreferenceValueException if it could not be found. |
com.liferay.portal.kernel.model.PortletPreferenceValue |
findByPrimaryKey(Serializable primaryKey)
Returns the portlet preference value with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.PortletPreferenceValue |
getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue,
long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.PortletPreferenceValue |
getByP_N_SV_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue,
long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.PortletPreferenceValue |
getByPortletPreferencesId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue,
long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean previous) |
Set<String> |
getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
List<String> |
getMappingTableNames() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
Map<String,Integer> |
getTableColumnsMap() |
String |
getTableName() |
List<String[]> |
getUniqueIndexColumnNames() |
com.liferay.portal.kernel.model.PortletPreferenceValue |
remove(long portletPreferenceValueId)
Removes the portlet preference value with the primary key from the database.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
remove(Serializable primaryKey)
Removes the portlet preference value with the primary key from the database.
|
void |
removeAll()
Removes all the portlet preference values from the database.
|
com.liferay.portal.kernel.model.PortletPreferenceValue |
removeByP_I_N(long portletPreferencesId,
int index,
String name)
Removes the portlet preference value where portletPreferencesId = ? and index = ? and name = ? from the database.
|
void |
removeByP_N_SV(long portletPreferencesId,
String name,
String smallValue)
Removes all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ? from the database.
|
void |
removeByP_N(long portletPreferencesId,
String name)
Removes all the portlet preference values where portletPreferencesId = ? and name = ? from the database.
|
void |
removeByPortletPreferencesId(long portletPreferencesId)
Removes all the portlet preference values where portletPreferencesId = ? from the database.
|
protected com.liferay.portal.kernel.model.PortletPreferenceValue |
removeImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) |
com.liferay.portal.kernel.model.PortletPreferenceValue |
updateImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public PortletPreferenceValuePersistenceImpl()
public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId)
findByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDpublic List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId,
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 PortletPreferenceValueModelImpl.
findByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDstart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> 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 PortletPreferenceValueModelImpl.
findByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDstart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> 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 PortletPreferenceValueModelImpl.
findByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDstart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.PortletPreferenceValue findByPortletPreferencesId_First(long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
findByPortletPreferencesId_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPortletPreferencesId_First(long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
fetchByPortletPreferencesId_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDorderByComparator - the comparator to order the set by (optionally null)null if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue findByPortletPreferencesId_Last(long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
findByPortletPreferencesId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPortletPreferencesId_Last(long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
fetchByPortletPreferencesId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDorderByComparator - the comparator to order the set by (optionally null)null if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue[] findByPortletPreferencesId_PrevAndNext(long portletPreferenceValueId,
long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
findByPortletPreferencesId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferenceValueId - the primary key of the current portlet preference valueportletPreferencesId - the portlet preferences IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be foundprotected com.liferay.portal.kernel.model.PortletPreferenceValue getByPortletPreferencesId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue,
long portletPreferencesId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean previous)
public void removeByPortletPreferencesId(long portletPreferencesId)
removeByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDpublic int countByPortletPreferencesId(long portletPreferencesId)
countByPortletPreferencesId in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDpublic List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N(long portletPreferencesId,
String name)
findByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namepublic List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N(long portletPreferencesId,
String name,
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 PortletPreferenceValueModelImpl.
findByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namestart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N(long portletPreferencesId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> 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 PortletPreferenceValueModelImpl.
findByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namestart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N(long portletPreferencesId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> 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 PortletPreferenceValueModelImpl.
findByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namestart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.PortletPreferenceValue findByP_N_First(long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
findByP_N_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_N_First(long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
fetchByP_N_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue findByP_N_Last(long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
findByP_N_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_N_Last(long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
fetchByP_N_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue[] findByP_N_PrevAndNext(long portletPreferenceValueId,
long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
findByP_N_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferenceValueId - the primary key of the current portlet preference valueportletPreferencesId - the portlet preferences IDname - the nameorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be foundprotected com.liferay.portal.kernel.model.PortletPreferenceValue getByP_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue,
long portletPreferencesId,
String name,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean previous)
public void removeByP_N(long portletPreferencesId,
String name)
removeByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namepublic int countByP_N(long portletPreferencesId,
String name)
countByP_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namepublic com.liferay.portal.kernel.model.PortletPreferenceValue findByP_I_N(long portletPreferencesId,
int index,
String name)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
NoSuchPortletPreferenceValueException if it could not be found.findByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDindex - the indexname - the namecom.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_I_N(long portletPreferencesId,
int index,
String name)
null if it could not be found. Uses the finder cache.fetchByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDindex - the indexname - the namenull if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_I_N(long portletPreferencesId,
int index,
String name,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDindex - the indexname - the nameuseFinderCache - whether to use the finder cachenull if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue removeByP_I_N(long portletPreferencesId,
int index,
String name)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
removeByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDindex - the indexname - the namecom.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueExceptionpublic int countByP_I_N(long portletPreferencesId,
int index,
String name)
countByP_I_N in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDindex - the indexname - the namepublic List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N_SV(long portletPreferencesId,
String name,
String smallValue)
findByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valuepublic List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N_SV(long portletPreferencesId,
String name,
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 PortletPreferenceValueModelImpl.
findByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valuestart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N_SV(long portletPreferencesId,
String name,
String smallValue,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> 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 PortletPreferenceValueModelImpl.
findByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valuestart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N_SV(long portletPreferencesId,
String name,
String smallValue,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> 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 PortletPreferenceValueModelImpl.
findByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valuestart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.PortletPreferenceValue findByP_N_SV_First(long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
findByP_N_SV_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valueorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_N_SV_First(long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
fetchByP_N_SV_First in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valueorderByComparator - the comparator to order the set by (optionally null)null if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue findByP_N_SV_Last(long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
findByP_N_SV_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valueorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByP_N_SV_Last(long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
fetchByP_N_SV_Last in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valueorderByComparator - the comparator to order the set by (optionally null)null if a matching portlet preference value could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue[] findByP_N_SV_PrevAndNext(long portletPreferenceValueId,
long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
findByP_N_SV_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferenceValueId - the primary key of the current portlet preference valueportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valueorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be foundprotected com.liferay.portal.kernel.model.PortletPreferenceValue getByP_N_SV_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue,
long portletPreferencesId,
String name,
String smallValue,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator,
boolean previous)
public void removeByP_N_SV(long portletPreferencesId,
String name,
String smallValue)
removeByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valuepublic int countByP_N_SV(long portletPreferencesId,
String name,
String smallValue)
countByP_N_SV in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferencesId - the portlet preferences IDname - the namesmallValue - the small valuepublic void cacheResult(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
cacheResult in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>portletPreferenceValue - the portlet preference valuepublic void cacheResult(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues)
cacheResult in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferenceValues - the portlet preference valuespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>public void clearCache(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>public void clearCache(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>public void clearCache(Set<Serializable> primaryKeys)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>protected void cacheUniqueFindersCache(PortletPreferenceValueModelImpl portletPreferenceValueModelImpl)
public com.liferay.portal.kernel.model.PortletPreferenceValue create(long portletPreferenceValueId)
create in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferenceValueId - the primary key for the new portlet preference valuepublic com.liferay.portal.kernel.model.PortletPreferenceValue remove(long portletPreferenceValueId)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
remove in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferenceValueId - the primary key of the portlet preference valuecom.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>primaryKey - the primary key of the portlet preference valuecom.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be foundprotected com.liferay.portal.kernel.model.PortletPreferenceValue removeImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>public com.liferay.portal.kernel.model.PortletPreferenceValue updateImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue)
updateImpl in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>public com.liferay.portal.kernel.model.PortletPreferenceValue findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>primaryKey - the primary key of the portlet preference valuecom.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue findByPrimaryKey(long portletPreferenceValueId)
throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
NoSuchPortletPreferenceValueException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferenceValueId - the primary key of the portlet preference valuecom.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException - if a portlet preference value with the primary key could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>primaryKey - the primary key of the portlet preference valuenull if a portlet preference value with the primary key could not be foundpublic com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPrimaryKey(long portletPreferenceValueId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistenceportletPreferenceValueId - the primary key of the portlet preference valuenull if a portlet preference value with the primary key could not be foundpublic Map<Serializable,com.liferay.portal.kernel.model.PortletPreferenceValue> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistencepublic List<com.liferay.portal.kernel.model.PortletPreferenceValue> 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 PortletPreferenceValueModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistencestart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> 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 PortletPreferenceValueModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistencestart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> 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 PortletPreferenceValueModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistencestart - the lower bound of the range of portlet preference valuesend - the upper bound of the range of portlet preference values (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>public List<String> getMappingTableNames()
getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>public Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>public String getTableName()
getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>public List<String[]> getUniqueIndexColumnNames()
getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>