Interface ObjectFilterPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFilter>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByObjectFieldId(long objectFieldId) Returns the number of object filters where objectFieldId = ?.intcountByUuid(String uuid) Returns the number of object filters where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of object filters where uuid = ? and companyId = ?.create(long objectFilterId) Creates a new object filter with the primary key.fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the first object filter in the ordered set where objectFieldId = ?.fetchByPrimaryKey(long objectFilterId) Returns the object filter with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the first object filter in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the first object filter in the ordered set where uuid = ?.default List<ObjectFilter> findByObjectFieldId(long objectFieldId) Returns all the object filters where objectFieldId = ?.default List<ObjectFilter> findByObjectFieldId(long objectFieldId, int start, int end) Returns a range of all the object filters where objectFieldId = ?.default List<ObjectFilter> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns an ordered range of all the object filters where objectFieldId = ?.findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object filters where objectFieldId = ?.findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the first object filter in the ordered set where objectFieldId = ?.findByPrimaryKey(long objectFilterId) Returns the object filter with the primary key or throws aNoSuchObjectFilterExceptionif it could not be found.default List<ObjectFilter> findByUuid(String uuid) Returns all the object filters where uuid = ?.default List<ObjectFilter> findByUuid(String uuid, int start, int end) Returns a range of all the object filters where uuid = ?.default List<ObjectFilter> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns an ordered range of all the object filters where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object filters where uuid = ?.default List<ObjectFilter> findByUuid_C(String uuid, long companyId) Returns all the object filters where uuid = ? and companyId = ?.default List<ObjectFilter> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object filters where uuid = ? and companyId = ?.default List<ObjectFilter> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns an ordered range of all the object filters where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object filters where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the first object filter in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the first object filter in the ordered set where uuid = ?.remove(long objectFilterId) Removes the object filter with the primary key from the database.voidremoveByObjectFieldId(long objectFieldId) Removes all the object filters where objectFieldId = ? from the database.voidremoveByUuid(String uuid) Removes all the object filters where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the object filters where uuid = ? and companyId = ? from the database.updateImpl(ObjectFilter objectFilter) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
List<ObjectFilter> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object filters where uuid = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectFilterModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object filtersend- the upper bound of the range of object filters (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object filters
-
findByUuid_First
ObjectFilter findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException Returns the first object filter in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object filter
- Throws:
NoSuchObjectFilterException- if a matching object filter could not be found
-
fetchByUuid_First
ObjectFilter fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the first object filter in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object filter, or
nullif a matching object filter could not be found
-
removeByUuid
Removes all the object filters where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object filters where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object filters
-
findByUuid_C
List<ObjectFilter> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object filters where uuid = ? and companyId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectFilterModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object filtersend- the upper bound of the range of object filters (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object filters
-
findByUuid_C_First
ObjectFilter findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException Returns the first object filter in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object filter
- Throws:
NoSuchObjectFilterException- if a matching object filter could not be found
-
fetchByUuid_C_First
ObjectFilter fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the first object filter in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object filter, or
nullif a matching object filter could not be found
-
removeByUuid_C
Removes all the object filters where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object filters where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object filters
-
findByObjectFieldId
List<ObjectFilter> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object filters where objectFieldId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectFilterModelImpl.- Parameters:
objectFieldId- the object field IDstart- the lower bound of the range of object filtersend- the upper bound of the range of object filters (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object filters
-
findByObjectFieldId_First
ObjectFilter findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException Returns the first object filter in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId- the object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object filter
- Throws:
NoSuchObjectFilterException- if a matching object filter could not be found
-
fetchByObjectFieldId_First
ObjectFilter fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the first object filter in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId- the object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object filter, or
nullif a matching object filter could not be found
-
removeByObjectFieldId
void removeByObjectFieldId(long objectFieldId) Removes all the object filters where objectFieldId = ? from the database.- Parameters:
objectFieldId- the object field ID
-
countByObjectFieldId
int countByObjectFieldId(long objectFieldId) Returns the number of object filters where objectFieldId = ?.- Parameters:
objectFieldId- the object field ID- Returns:
- the number of matching object filters
-
create
Creates a new object filter with the primary key. Does not add the object filter to the database.- Parameters:
objectFilterId- the primary key for the new object filter- Returns:
- the new object filter
-
remove
Removes the object filter with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectFilterId- the primary key of the object filter- Returns:
- the object filter that was removed
- Throws:
NoSuchObjectFilterException- if a object filter with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object filter with the primary key or throws aNoSuchObjectFilterExceptionif it could not be found.- Parameters:
objectFilterId- the primary key of the object filter- Returns:
- the object filter
- Throws:
NoSuchObjectFilterException- if a object filter with the primary key could not be found
-
fetchByPrimaryKey
Returns the object filter with the primary key or returnsnullif it could not be found.- Parameters:
objectFilterId- the primary key of the object filter- Returns:
- the object filter, or
nullif a object filter with the primary key could not be found
-
findByUuid
Returns all the object filters where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object filters
-
findByUuid
Returns a range of all the object filters where uuid = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectFilterModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object filtersend- the upper bound of the range of object filters (not inclusive)- Returns:
- the range of matching object filters
-
findByUuid
default List<ObjectFilter> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns an ordered range of all the object filters where uuid = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectFilterModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object filtersend- the upper bound of the range of object filters (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object filters
-
findByUuid_C
Returns all the object filters where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object filters
-
findByUuid_C
Returns a range of all the object filters where uuid = ? and companyId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectFilterModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object filtersend- the upper bound of the range of object filters (not inclusive)- Returns:
- the range of matching object filters
-
findByUuid_C
default List<ObjectFilter> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns an ordered range of all the object filters where uuid = ? and companyId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectFilterModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object filtersend- the upper bound of the range of object filters (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object filters
-
findByObjectFieldId
Returns all the object filters where objectFieldId = ?.- Parameters:
objectFieldId- the object field ID- Returns:
- the matching object filters
-
findByObjectFieldId
Returns a range of all the object filters where objectFieldId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectFilterModelImpl.- Parameters:
objectFieldId- the object field IDstart- the lower bound of the range of object filtersend- the upper bound of the range of object filters (not inclusive)- Returns:
- the range of matching object filters
-
findByObjectFieldId
default List<ObjectFilter> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns an ordered range of all the object filters where objectFieldId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.object.model.impl.ObjectFilterModelImpl.- Parameters:
objectFieldId- the object field IDstart- the lower bound of the range of object filtersend- the upper bound of the range of object filters (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object filters
-