Class PortletPreferenceValuePersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>,com.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the portlet preference value persistence.voidcacheResult(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) Caches the portlet preference value in the entity cache if it is enabled.voidcacheResult(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues) Caches the portlet preference values in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(PortletPreferenceValueModelImpl portletPreferenceValueModelImpl) voidClears the cache for all portlet preference values.voidclearCache(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) Clears the cache for the portlet preference value.voidclearCache(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of portlet preference values.intcountByC_N_SV(long companyId, String name, String smallValue) Returns the number of portlet preference values where companyId = ? and name = ? and smallValue = ?.intcountByP_I_N(long portletPreferencesId, int index, String name) Returns the number of portlet preference values where portletPreferencesId = ? and index = ? and name = ?.intcountByP_N(long portletPreferencesId, String name) Returns the number of portlet preference values where portletPreferencesId = ? and name = ?.intcountByP_N_SV(long portletPreferencesId, String name, String smallValue) Returns the number of portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.intcountByPortletPreferencesId(long portletPreferencesId) Returns the number of portlet preference values where portletPreferencesId = ?.com.liferay.portal.kernel.model.PortletPreferenceValuecreate(long portletPreferenceValueId) Creates a new portlet preference value with the primary key.voiddestroy()com.liferay.portal.kernel.model.PortletPreferenceValuefetchByC_N_SV_First(long companyId, 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 companyId = ? and name = ? and smallValue = ?.com.liferay.portal.kernel.model.PortletPreferenceValuefetchByP_I_N(long portletPreferencesId, int index, String name) Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.PortletPreferenceValuefetchByP_I_N(long portletPreferencesId, int index, String name, boolean useFinderCache) Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.PortletPreferenceValuefetchByP_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.PortletPreferenceValuefetchByP_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.PortletPreferenceValuefetchByPortletPreferencesId_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.PortletPreferenceValuefetchByPrimaryKey(long portletPreferenceValueId) Returns the portlet preference value with the primary key or returnsnullif it could not be found.com.liferay.portal.kernel.model.PortletPreferenceValuefetchByPrimaryKey(Serializable primaryKey) Returns the portlet preference value with the primary key or returnsnullif 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.List<com.liferay.portal.kernel.model.PortletPreferenceValue>findByC_N_SV(long companyId, String name, String smallValue) Returns all the portlet preference values where companyId = ? and name = ? and smallValue = ?.List<com.liferay.portal.kernel.model.PortletPreferenceValue>findByC_N_SV(long companyId, String name, String smallValue, int start, int end) Returns a range of all the portlet preference values where companyId = ? and name = ? and smallValue = ?.List<com.liferay.portal.kernel.model.PortletPreferenceValue>findByC_N_SV(long companyId, 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 companyId = ? and name = ? and smallValue = ?.List<com.liferay.portal.kernel.model.PortletPreferenceValue>findByC_N_SV(long companyId, 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 companyId = ? and name = ? and smallValue = ?.com.liferay.portal.kernel.model.PortletPreferenceValuefindByC_N_SV_First(long companyId, 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 companyId = ? and name = ? and smallValue = ?.com.liferay.portal.kernel.model.PortletPreferenceValuefindByP_I_N(long portletPreferencesId, int index, String name) Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or throws aNoSuchPortletPreferenceValueExceptionif it could not be found.List<com.liferay.portal.kernel.model.PortletPreferenceValue>Returns all the portlet preference values where portletPreferencesId = ? and name = ?.List<com.liferay.portal.kernel.model.PortletPreferenceValue>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.PortletPreferenceValuefindByP_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 = ?.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 = ?.com.liferay.portal.kernel.model.PortletPreferenceValuefindByP_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 = ?.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.PortletPreferenceValuefindByPortletPreferencesId_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.PortletPreferenceValuefindByPrimaryKey(long portletPreferenceValueId) Returns the portlet preference value with the primary key or throws aNoSuchPortletPreferenceValueExceptionif it could not be found.com.liferay.portal.kernel.model.PortletPreferenceValuefindByPrimaryKey(Serializable primaryKey) Returns the portlet preference value with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.portal.kernel.model.PortletPreferenceValueremove(long portletPreferenceValueId) Removes the portlet preference value with the primary key from the database.com.liferay.portal.kernel.model.PortletPreferenceValueremove(Serializable primaryKey) Removes the portlet preference value with the primary key from the database.voidRemoves all the portlet preference values from the database.voidremoveByC_N_SV(long companyId, String name, String smallValue) Removes all the portlet preference values where companyId = ? and name = ? and smallValue = ? from the database.com.liferay.portal.kernel.model.PortletPreferenceValueremoveByP_I_N(long portletPreferencesId, int index, String name) Removes the portlet preference value where portletPreferencesId = ? and index = ? and name = ? from the database.voidremoveByP_N(long portletPreferencesId, String name) Removes all the portlet preference values where portletPreferencesId = ? and name = ? from the database.voidremoveByP_N_SV(long portletPreferencesId, String name, String smallValue) Removes all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ? from the database.voidremoveByPortletPreferencesId(long portletPreferencesId) Removes all the portlet preference values where portletPreferencesId = ? from the database.protected com.liferay.portal.kernel.model.PortletPreferenceValueremoveImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) com.liferay.portal.kernel.model.PortletPreferenceValueupdateImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, isPermissionsInMemoryFilterEnabled, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
PortletPreferenceValuePersistenceImpl
public PortletPreferenceValuePersistenceImpl()
-
-
Method Details
-
findByPortletPreferencesId
public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByPortletPreferencesId(long portletPreferencesId) Returns all the portlet preference values where portletPreferencesId = ?.- Specified by:
findByPortletPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences ID- Returns:
- the matching portlet preference values
-
findByPortletPreferencesId
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByPortletPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- 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)- Returns:
- the range of matching portlet preference values
-
findByPortletPreferencesId
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) Returns an ordered range of all the portlet preference values where portletPreferencesId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByPortletPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- 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 (optionallynull)- Returns:
- the ordered range of matching portlet preference values
-
findByPortletPreferencesId
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) Returns an ordered range of all the portlet preference values where portletPreferencesId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByPortletPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching portlet preference values
-
findByPortletPreferencesId_First
public 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 Returns the first portlet preference value in the ordered set where portletPreferencesId = ?.- Specified by:
findByPortletPreferencesId_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException- if a matching portlet preference value could not be found
-
fetchByPortletPreferencesId_First
public 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 = ?.- Specified by:
fetchByPortletPreferencesId_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preference value, or
nullif a matching portlet preference value could not be found
-
removeByPortletPreferencesId
public void removeByPortletPreferencesId(long portletPreferencesId) Removes all the portlet preference values where portletPreferencesId = ? from the database.- Specified by:
removeByPortletPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences ID
-
countByPortletPreferencesId
public int countByPortletPreferencesId(long portletPreferencesId) Returns the number of portlet preference values where portletPreferencesId = ?.- Specified by:
countByPortletPreferencesIdin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences ID- Returns:
- the number of matching portlet preference values
-
findByP_N
public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByP_N(long portletPreferencesId, String name) Returns all the portlet preference values where portletPreferencesId = ? and name = ?.- Specified by:
findByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the name- Returns:
- the matching portlet preference values
-
findByP_N
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- 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)- Returns:
- the range of matching portlet preference values
-
findByP_N
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) Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- 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 (optionallynull)- Returns:
- the ordered range of matching portlet preference values
-
findByP_N
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) Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching portlet preference values
-
findByP_N_First
public 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 Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.- Specified by:
findByP_N_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException- if a matching portlet preference value could not be found
-
fetchByP_N_First
public 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 = ?.- Specified by:
fetchByP_N_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preference value, or
nullif a matching portlet preference value could not be found
-
removeByP_N
Removes all the portlet preference values where portletPreferencesId = ? and name = ? from the database.- Specified by:
removeByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the name
-
countByP_N
Returns the number of portlet preference values where portletPreferencesId = ? and name = ?.- Specified by:
countByP_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the name- Returns:
- the number of matching portlet preference values
-
findByC_N_SV
public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByC_N_SV(long companyId, String name, String smallValue) Returns all the portlet preference values where companyId = ? and name = ? and smallValue = ?.- Specified by:
findByC_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
companyId- the company IDname- the namesmallValue- the small value- Returns:
- the matching portlet preference values
-
findByC_N_SV
public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByC_N_SV(long companyId, String name, String smallValue, int start, int end) Returns a range of all the portlet preference values where companyId = ? and name = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByC_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
companyId- the company 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)- Returns:
- the range of matching portlet preference values
-
findByC_N_SV
public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByC_N_SV(long companyId, 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 companyId = ? and name = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByC_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
companyId- the company 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 (optionallynull)- Returns:
- the ordered range of matching portlet preference values
-
findByC_N_SV
public List<com.liferay.portal.kernel.model.PortletPreferenceValue> findByC_N_SV(long companyId, 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 companyId = ? and name = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByC_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
companyId- the company 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching portlet preference values
-
findByC_N_SV_First
public com.liferay.portal.kernel.model.PortletPreferenceValue findByC_N_SV_First(long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException Returns the first portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.- Specified by:
findByC_N_SV_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
companyId- the company IDname- the namesmallValue- the small valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException- if a matching portlet preference value could not be found
-
fetchByC_N_SV_First
public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByC_N_SV_First(long companyId, 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 companyId = ? and name = ? and smallValue = ?.- Specified by:
fetchByC_N_SV_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
companyId- the company IDname- the namesmallValue- the small valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preference value, or
nullif a matching portlet preference value could not be found
-
removeByC_N_SV
Removes all the portlet preference values where companyId = ? and name = ? and smallValue = ? from the database.- Specified by:
removeByC_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
companyId- the company IDname- the namesmallValue- the small value
-
countByC_N_SV
Returns the number of portlet preference values where companyId = ? and name = ? and smallValue = ?.- Specified by:
countByC_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
companyId- the company IDname- the namesmallValue- the small value- Returns:
- the number of matching portlet preference values
-
findByP_I_N
public com.liferay.portal.kernel.model.PortletPreferenceValue findByP_I_N(long portletPreferencesId, int index, String name) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or throws aNoSuchPortletPreferenceValueExceptionif it could not be found.- Specified by:
findByP_I_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDindex- the indexname- the name- Returns:
- the matching portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException- if a matching portlet preference value could not be found
-
fetchByP_I_N
public 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 returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByP_I_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDindex- the indexname- the name- Returns:
- the matching portlet preference value, or
nullif a matching portlet preference value could not be found
-
fetchByP_I_N
public 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByP_I_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDindex- the indexname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching portlet preference value, or
nullif a matching portlet preference value could not be found
-
removeByP_I_N
public com.liferay.portal.kernel.model.PortletPreferenceValue removeByP_I_N(long portletPreferencesId, int index, String name) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException Removes the portlet preference value where portletPreferencesId = ? and index = ? and name = ? from the database.- Specified by:
removeByP_I_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDindex- the indexname- the name- Returns:
- the portlet preference value that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
-
countByP_I_N
Returns the number of portlet preference values where portletPreferencesId = ? and index = ? and name = ?.- Specified by:
countByP_I_Nin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDindex- the indexname- the name- Returns:
- the number of matching portlet preference values
-
findByP_N_SV
public 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 = ?.- Specified by:
findByP_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the namesmallValue- the small value- Returns:
- the matching portlet preference values
-
findByP_N_SV
public 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByP_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- 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)- Returns:
- the range of matching portlet preference values
-
findByP_N_SV
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) Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByP_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- 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 (optionallynull)- Returns:
- the ordered range of matching portlet preference values
-
findByP_N_SV
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) Returns an ordered range of all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findByP_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching portlet preference values
-
findByP_N_SV_First
public 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 Returns the first portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.- Specified by:
findByP_N_SV_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the namesmallValue- the small valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException- if a matching portlet preference value could not be found
-
fetchByP_N_SV_First
public 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 = ?.- Specified by:
fetchByP_N_SV_Firstin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the namesmallValue- the small valueorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching portlet preference value, or
nullif a matching portlet preference value could not be found
-
removeByP_N_SV
Removes all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ? from the database.- Specified by:
removeByP_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the namesmallValue- the small value
-
countByP_N_SV
Returns the number of portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ?.- Specified by:
countByP_N_SVin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferencesId- the portlet preferences IDname- the namesmallValue- the small value- Returns:
- the number of matching portlet preference values
-
cacheResult
public void cacheResult(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) Caches the portlet preference value in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>- Parameters:
portletPreferenceValue- the portlet preference value
-
cacheResult
public void cacheResult(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues) Caches the portlet preference values in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>- Parameters:
portletPreferenceValues- the portlet preference values
-
clearCache
public void clearCache()Clears the cache for all portlet preference values.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
clearCache
public void clearCache(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) Clears the cache for the portlet preference value.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
clearCache
public void clearCache(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues) - Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
cacheUniqueFindersCache
protected void cacheUniqueFindersCache(PortletPreferenceValueModelImpl portletPreferenceValueModelImpl) -
create
public com.liferay.portal.kernel.model.PortletPreferenceValue create(long portletPreferenceValueId) Creates a new portlet preference value with the primary key. Does not add the portlet preference value to the database.- Specified by:
createin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferenceValueId- the primary key for the new portlet preference value- Returns:
- the new portlet preference value
-
remove
public com.liferay.portal.kernel.model.PortletPreferenceValue remove(long portletPreferenceValueId) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException Removes the portlet preference value with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferenceValueId- the primary key of the portlet preference value- Returns:
- the portlet preference value that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException- if a portlet preference value with the primary key could not be found
-
remove
public com.liferay.portal.kernel.model.PortletPreferenceValue remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException Removes the portlet preference value with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>- Parameters:
primaryKey- the primary key of the portlet preference value- Returns:
- the portlet preference value that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException- if a portlet preference value with the primary key could not be found
-
removeImpl
protected com.liferay.portal.kernel.model.PortletPreferenceValue removeImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
updateImpl
public com.liferay.portal.kernel.model.PortletPreferenceValue updateImpl(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) - Specified by:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
findByPrimaryKey
public com.liferay.portal.kernel.model.PortletPreferenceValue findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException Returns the portlet preference value with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>- Parameters:
primaryKey- the primary key of the portlet preference value- Returns:
- the portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException- if a portlet preference value with the primary key could not be found
-
findByPrimaryKey
public com.liferay.portal.kernel.model.PortletPreferenceValue findByPrimaryKey(long portletPreferenceValueId) throws com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException Returns the portlet preference value with the primary key or throws aNoSuchPortletPreferenceValueExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferenceValueId- the primary key of the portlet preference value- Returns:
- the portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException- if a portlet preference value with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPrimaryKey(Serializable primaryKey) Returns the portlet preference value with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>- Parameters:
primaryKey- the primary key of the portlet preference value- Returns:
- the portlet preference value, or
nullif a portlet preference value with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByPrimaryKey(long portletPreferenceValueId) Returns the portlet preference value with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
portletPreferenceValueId- the primary key of the portlet preference value- Returns:
- the portlet preference value, or
nullif a portlet preference value with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.portal.kernel.model.PortletPreferenceValue> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
findAll
Returns all the portlet preference values.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Returns:
- the portlet preference values
-
findAll
Returns a range of all the portlet preference values.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
start- the lower bound of the range of portlet preference valuesend- the upper bound of the range of portlet preference values (not inclusive)- Returns:
- the range of portlet preference values
-
findAll
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) Returns an ordered range of all the portlet preference values.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
start- 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 (optionallynull)- Returns:
- the ordered range of portlet preference values
-
findAll
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) Returns an ordered range of all the portlet preference values.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Parameters:
start- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of portlet preference values
-
removeAll
public void removeAll()Removes all the portlet preference values from the database.- Specified by:
removeAllin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
-
countAll
public int countAll()Returns the number of portlet preference values.- Specified by:
countAllin interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence- Returns:
- the number of portlet preference values
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the portlet preference value persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-