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 TypeMethodDescriptionvoid
Initializes the portlet preference value persistence.void
cacheResult
(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) Caches the portlet preference value in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues) Caches the portlet preference values in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(PortletPreferenceValueModelImpl portletPreferenceValueModelImpl) void
Clears the cache for all portlet preference values.void
clearCache
(com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue) Clears the cache for the portlet preference value.void
clearCache
(List<com.liferay.portal.kernel.model.PortletPreferenceValue> portletPreferenceValues) void
clearCache
(Set<Serializable> primaryKeys) int
countAll()
Returns the number of portlet preference values.int
countByC_N_SV
(long companyId, String name, String smallValue) Returns the number of portlet preference values where companyId = ? and name = ? and smallValue = ?.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
(long portletPreferencesId, String name) Returns the number of portlet preference values where portletPreferencesId = ? 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
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
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 = ?.com.liferay.portal.kernel.model.PortletPreferenceValue
fetchByC_N_SV_Last
(long companyId, 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 companyId = ? and name = ? and smallValue = ?.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 returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
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.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.PortletPreferenceValue
findByC_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.PortletPreferenceValue
findByC_N_SV_Last
(long companyId, 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 companyId = ? and name = ? and smallValue = ?.com.liferay.portal.kernel.model.PortletPreferenceValue[]
findByC_N_SV_PrevAndNext
(long portletPreferenceValueId, long companyId, 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 companyId = ? and name = ? and smallValue = ?.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 aNoSuchPortletPreferenceValueException
if 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.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 = ?.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.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>
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
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 = ?.com.liferay.portal.kernel.model.PortletPreferenceValue
findByPrimaryKey
(long portletPreferenceValueId) Returns the portlet preference value with the primary key or throws aNoSuchPortletPreferenceValueException
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 acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.protected com.liferay.portal.kernel.model.PortletPreferenceValue
getByC_N_SV_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long companyId, 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
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) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
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
Removes all the portlet preference values from the database.void
removeByC_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.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
(long portletPreferencesId, String name) Removes all the portlet preference values where portletPreferencesId = ? 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
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) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, 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:
findByPortletPreferencesId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByPortletPreferencesId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByPortletPreferencesId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByPortletPreferencesId
in 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_First
in 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_First
in 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
null
if a matching portlet preference value could not be found
-
findByPortletPreferencesId_Last
public 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 Returns the last portlet preference value in the ordered set where portletPreferencesId = ?.- Specified by:
findByPortletPreferencesId_Last
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Parameters:
portletPreferencesId
- the portlet preferences IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
- if a matching portlet preference value could not be found
-
fetchByPortletPreferencesId_Last
public 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 = ?.- Specified by:
fetchByPortletPreferencesId_Last
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Parameters:
portletPreferencesId
- the portlet preferences IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching portlet preference value, or
null
if a matching portlet preference value could not be found
-
findByPortletPreferencesId_PrevAndNext
public 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 Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ?.- Specified by:
findByPortletPreferencesId_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Parameters:
portletPreferenceValueId
- the primary key of the current portlet preference valueportletPreferencesId
- the portlet preferences IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
- if a portlet preference value with the primary key could not be found
-
getByPortletPreferencesId_PrevAndNext
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) -
removeByPortletPreferencesId
public void removeByPortletPreferencesId(long portletPreferencesId) Removes all the portlet preference values where portletPreferencesId = ? from the database.- Specified by:
removeByPortletPreferencesId
in 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:
countByPortletPreferencesId
in 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_N
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByP_N
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByP_N
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByP_N
in 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_First
in 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_First
in 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
null
if a matching portlet preference value could not be found
-
findByP_N_Last
public 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 Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.- Specified by:
findByP_N_Last
in 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 last matching portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
- if a matching portlet preference value could not be found
-
fetchByP_N_Last
public 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 = ?.- Specified by:
fetchByP_N_Last
in 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 last matching portlet preference value, or
null
if a matching portlet preference value could not be found
-
findByP_N_PrevAndNext
public 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 Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ?.- Specified by:
findByP_N_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Parameters:
portletPreferenceValueId
- the primary key of the current portlet preference valueportletPreferencesId
- the portlet preferences IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
- if a portlet preference value with the primary key could not be found
-
getByP_N_PrevAndNext
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) -
removeByP_N
Removes all the portlet preference values where portletPreferencesId = ? and name = ? from the database.- Specified by:
removeByP_N
in 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_N
in 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_SV
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByC_N_SV
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByC_N_SV
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByC_N_SV
in 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_First
in 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_First
in 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
null
if a matching portlet preference value could not be found
-
findByC_N_SV_Last
public com.liferay.portal.kernel.model.PortletPreferenceValue findByC_N_SV_Last(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 last portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.- Specified by:
findByC_N_SV_Last
in 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 last matching portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
- if a matching portlet preference value could not be found
-
fetchByC_N_SV_Last
public com.liferay.portal.kernel.model.PortletPreferenceValue fetchByC_N_SV_Last(long companyId, 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 companyId = ? and name = ? and smallValue = ?.- Specified by:
fetchByC_N_SV_Last
in 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 last matching portlet preference value, or
null
if a matching portlet preference value could not be found
-
findByC_N_SV_PrevAndNext
public com.liferay.portal.kernel.model.PortletPreferenceValue[] findByC_N_SV_PrevAndNext(long portletPreferenceValueId, 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 portlet preference values before and after the current portlet preference value in the ordered set where companyId = ? and name = ? and smallValue = ?.- Specified by:
findByC_N_SV_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Parameters:
portletPreferenceValueId
- the primary key of the current portlet preference valuecompanyId
- the company IDname
- the namesmallValue
- the small valueorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
- if a portlet preference value with the primary key could not be found
-
getByC_N_SV_PrevAndNext
protected com.liferay.portal.kernel.model.PortletPreferenceValue getByC_N_SV_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.PortletPreferenceValue portletPreferenceValue, long companyId, String name, String smallValue, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.PortletPreferenceValue> orderByComparator, boolean previous) -
removeByC_N_SV
Removes all the portlet preference values where companyId = ? and name = ? and smallValue = ? from the database.- Specified by:
removeByC_N_SV
in 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_SV
in 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 aNoSuchPortletPreferenceValueException
if it could not be found.- Specified by:
findByP_I_N
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByP_I_N
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Parameters:
portletPreferencesId
- the portlet preferences IDindex
- the indexname
- the name- Returns:
- the matching portlet preference value, or
null
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, boolean useFinderCache) Returns the portlet preference value where portletPreferencesId = ? and index = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByP_I_N
in 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
null
if 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_N
in 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_N
in 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_SV
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByP_N_SV
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByP_N_SV
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findByP_N_SV
in 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_First
in 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_First
in 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
null
if a matching portlet preference value could not be found
-
findByP_N_SV_Last
public 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 Returns the last portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.- Specified by:
findByP_N_SV_Last
in 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 last matching portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
- if a matching portlet preference value could not be found
-
fetchByP_N_SV_Last
public 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 = ?.- Specified by:
fetchByP_N_SV_Last
in 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 last matching portlet preference value, or
null
if a matching portlet preference value could not be found
-
findByP_N_SV_PrevAndNext
public 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 Returns the portlet preference values before and after the current portlet preference value in the ordered set where portletPreferencesId = ? and name = ? and smallValue = ?.- Specified by:
findByP_N_SV_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Parameters:
portletPreferenceValueId
- 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 (optionallynull
)- Returns:
- the previous, current, and next portlet preference value
- Throws:
com.liferay.portal.kernel.exception.NoSuchPortletPreferenceValueException
- if a portlet preference value with the primary key could not be found
-
getByP_N_SV_PrevAndNext
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) -
removeByP_N_SV
Removes all the portlet preference values where portletPreferencesId = ? and name = ? and smallValue = ? from the database.- Specified by:
removeByP_N_SV
in 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_SV
in 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:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Overrides:
cacheResult
in 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:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Parameters:
portletPreferenceValues
- the portlet preference values
-
clearCache
public void clearCache()Clears the cache for all portlet preference values.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
- Overrides:
clearCache
in 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
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
- Overrides:
clearCache
in 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:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
clearCache
- Specified by:
clearCache
in 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:
create
in 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:
remove
in 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:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
- Overrides:
remove
in 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:
removeImpl
in 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:
updateImpl
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Overrides:
updateImpl
in 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.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
- Overrides:
findByPrimaryKey
in 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 aNoSuchPortletPreferenceValueException
if it could not be found.- Specified by:
findByPrimaryKey
in 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
- Overrides:
fetchByPrimaryKey
in 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
null
if 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Parameters:
portletPreferenceValueId
- the primary key of the portlet preference value- Returns:
- the portlet preference value, or
null
if 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:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
findAll
Returns all the portlet preference values.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromPortletPreferenceValueModelImpl
.- Specified by:
findAll
in 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:
removeAll
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
-
countAll
public int countAll()Returns the number of portlet preference values.- Specified by:
countAll
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferenceValuePersistence
- Returns:
- the number of portlet preference values
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
- Overrides:
getBadColumnNames
in 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:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getSelectSQL
- Overrides:
getSelectSQL
in 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:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.PortletPreferenceValue>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in 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:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferenceValue>
-