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 TypeMethodDescriptionvoid
cacheResult
(ObjectFilter objectFilter) Caches the object filter in the entity cache if it is enabled.void
cacheResult
(List<ObjectFilter> objectFilters) Caches the object filters in the entity cache if it is enabled.int
countAll()
Returns the number of object filters.int
countByObjectFieldId
(long objectFieldId) Returns the number of object filters where objectFieldId = ?.int
countByUuid
(String uuid) Returns the number of object filters where uuid = ?.int
countByUuid_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 = ?.fetchByObjectFieldId_Last
(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the last object filter in the ordered set where objectFieldId = ?.fetchByPrimaryKey
(long objectFilterId) Returns the object filter with the primary key or returnsnull
if 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_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the last 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 = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the last object filter in the ordered set where uuid = ?.findAll()
Returns all the object filters.findAll
(int start, int end) Returns a range of all the object filters.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns an ordered range of all the object filters.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object filters.findByObjectFieldId
(long objectFieldId) Returns all the object filters where objectFieldId = ?.findByObjectFieldId
(long objectFieldId, int start, int end) Returns a range of all the object filters where objectFieldId = ?.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 = ?.findByObjectFieldId_Last
(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the last object filter in the ordered set where objectFieldId = ?.findByObjectFieldId_PrevAndNext
(long objectFilterId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the object filters before and after the current object filter in the ordered set where objectFieldId = ?.findByPrimaryKey
(long objectFilterId) Returns the object filter with the primary key or throws aNoSuchObjectFilterException
if it could not be found.findByUuid
(String uuid) Returns all the object filters where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object filters where uuid = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the object filters where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a 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) 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_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the last object filter in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long objectFilterId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the object filters before and after the current 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 = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the last object filter in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectFilterId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the object filters before and after the current object filter in the ordered set where uuid = ?.remove
(long objectFilterId) Removes the object filter with the primary key from the database.void
Removes all the object filters from the database.void
removeByObjectFieldId
(long objectFieldId) Removes all the object filters where objectFieldId = ? from the database.void
removeByUuid
(String uuid) Removes all the object filters where uuid = ? from the database.void
removeByUuid_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
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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 - 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 fromObjectFilterModelImpl
.- 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
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 - 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 fromObjectFilterModelImpl
.- 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
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 - 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 fromObjectFilterModelImpl
.- 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
null
if a matching object filter could not be found
-
findByUuid_Last
ObjectFilter findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException Returns the last object filter in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object filter
- Throws:
NoSuchObjectFilterException
- if a matching object filter could not be found
-
fetchByUuid_Last
ObjectFilter fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the last object filter in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object filter, or
null
if a matching object filter could not be found
-
findByUuid_PrevAndNext
ObjectFilter[] findByUuid_PrevAndNext(long objectFilterId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException Returns the object filters before and after the current object filter in the ordered set where uuid = ?.- Parameters:
objectFilterId
- the primary key of the current object filteruuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object filter
- Throws:
NoSuchObjectFilterException
- if a object filter with the primary key 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
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 - 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 fromObjectFilterModelImpl
.- 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
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 - 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 fromObjectFilterModelImpl
.- 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
-
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 - 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 fromObjectFilterModelImpl
.- 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
null
if a matching object filter could not be found
-
findByUuid_C_Last
ObjectFilter findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException Returns the last 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 last matching object filter
- Throws:
NoSuchObjectFilterException
- if a matching object filter could not be found
-
fetchByUuid_C_Last
ObjectFilter fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the last 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 last matching object filter, or
null
if a matching object filter could not be found
-
findByUuid_C_PrevAndNext
ObjectFilter[] findByUuid_C_PrevAndNext(long objectFilterId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException Returns the object filters before and after the current object filter in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectFilterId
- the primary key of the current object filteruuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object filter
- Throws:
NoSuchObjectFilterException
- if a object filter with the primary key 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
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 - 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 fromObjectFilterModelImpl
.- 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
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 - 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 fromObjectFilterModelImpl
.- 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
-
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 - 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 fromObjectFilterModelImpl
.- 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
null
if a matching object filter could not be found
-
findByObjectFieldId_Last
ObjectFilter findByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException Returns the last object filter in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object filter
- Throws:
NoSuchObjectFilterException
- if a matching object filter could not be found
-
fetchByObjectFieldId_Last
ObjectFilter fetchByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns the last object filter in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object filter, or
null
if a matching object filter could not be found
-
findByObjectFieldId_PrevAndNext
ObjectFilter[] findByObjectFieldId_PrevAndNext(long objectFilterId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) throws NoSuchObjectFilterException Returns the object filters before and after the current object filter in the ordered set where objectFieldId = ?.- Parameters:
objectFilterId
- the primary key of the current object filterobjectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object filter
- Throws:
NoSuchObjectFilterException
- if a object filter with the primary key 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
-
cacheResult
Caches the object filter in the entity cache if it is enabled.- Parameters:
objectFilter
- the object filter
-
cacheResult
Caches the object filters in the entity cache if it is enabled.- Parameters:
objectFilters
- the 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 aNoSuchObjectFilterException
if 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 returnsnull
if it could not be found.- Parameters:
objectFilterId
- the primary key of the object filter- Returns:
- the object filter, or
null
if a object filter with the primary key could not be found
-
findAll
List<ObjectFilter> findAll()Returns all the object filters.- Returns:
- the object filters
-
findAll
Returns a range of all the object filters.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 fromObjectFilterModelImpl
.- Parameters:
start
- the lower bound of the range of object filtersend
- the upper bound of the range of object filters (not inclusive)- Returns:
- the range of object filters
-
findAll
List<ObjectFilter> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator) Returns an ordered range of all the object filters.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 fromObjectFilterModelImpl
.- Parameters:
start
- 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 object filters
-
findAll
List<ObjectFilter> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFilter> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object filters.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 fromObjectFilterModelImpl
.- Parameters:
start
- 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 object filters
-
removeAll
void removeAll()Removes all the object filters from the database. -
countAll
int countAll()Returns the number of object filters.- Returns:
- the number of object filters
-