Interface ObjectViewSortColumnPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectViewSortColumn>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByObjectViewId(long objectViewId) Returns the number of object view sort columns where objectViewId = ?.intcountByOVI_OFN(long objectViewId, String objectFieldName) Returns the number of object view sort columns where objectViewId = ? and objectFieldName = ?.intcountByUuid(String uuid) Returns the number of object view sort columns where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of object view sort columns where uuid = ? and companyId = ?.create(long objectViewSortColumnId) Creates a new object view sort column with the primary key.fetchByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where objectViewId = ?.fetchByOVI_OFN_First(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.fetchByPrimaryKey(long objectViewSortColumnId) Returns the object view sort column with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where uuid = ?.default List<ObjectViewSortColumn> findByObjectViewId(long objectViewId) Returns all the object view sort columns where objectViewId = ?.default List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end) Returns a range of all the object view sort columns where objectViewId = ?.default List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns where objectViewId = ?.findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object view sort columns where objectViewId = ?.findByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where objectViewId = ?.default List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName) Returns all the object view sort columns where objectViewId = ? and objectFieldName = ?.default List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end) Returns a range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.default List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.findByOVI_OFN_First(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.findByPrimaryKey(long objectViewSortColumnId) Returns the object view sort column with the primary key or throws aNoSuchObjectViewSortColumnExceptionif it could not be found.default List<ObjectViewSortColumn> findByUuid(String uuid) Returns all the object view sort columns where uuid = ?.default List<ObjectViewSortColumn> findByUuid(String uuid, int start, int end) Returns a range of all the object view sort columns where uuid = ?.default List<ObjectViewSortColumn> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object view sort columns where uuid = ?.default List<ObjectViewSortColumn> findByUuid_C(String uuid, long companyId) Returns all the object view sort columns where uuid = ? and companyId = ?.default List<ObjectViewSortColumn> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object view sort columns where uuid = ? and companyId = ?.default List<ObjectViewSortColumn> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object view sort columns where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where uuid = ?.remove(long objectViewSortColumnId) Removes the object view sort column with the primary key from the database.voidremoveByObjectViewId(long objectViewId) Removes all the object view sort columns where objectViewId = ? from the database.voidremoveByOVI_OFN(long objectViewId, String objectFieldName) Removes all the object view sort columns where objectViewId = ? and objectFieldName = ? from the database.voidremoveByUuid(String uuid) Removes all the object view sort columns where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the object view sort columns where uuid = ? and companyId = ? from the database.updateImpl(ObjectViewSortColumn objectViewSortColumn) 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<ObjectViewSortColumn> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object view sort columns 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.ObjectViewSortColumnModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (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 view sort columns
-
findByUuid_First
ObjectViewSortColumn findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the first object view sort column in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a matching object view sort column could not be found
-
fetchByUuid_First
ObjectViewSortColumn fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object view sort column, or
nullif a matching object view sort column could not be found
-
removeByUuid
Removes all the object view sort columns where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object view sort columns where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object view sort columns
-
findByUuid_C
List<ObjectViewSortColumn> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object view sort columns 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.ObjectViewSortColumnModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (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 view sort columns
-
findByUuid_C_First
ObjectViewSortColumn findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the first object view sort column 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 view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a matching object view sort column could not be found
-
fetchByUuid_C_First
ObjectViewSortColumn fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column 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 view sort column, or
nullif a matching object view sort column could not be found
-
removeByUuid_C
Removes all the object view sort columns where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object view sort columns where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object view sort columns
-
findByObjectViewId
List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object view sort columns where objectViewId = ?.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.ObjectViewSortColumnModelImpl.- Parameters:
objectViewId- the object view IDstart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (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 view sort columns
-
findByObjectViewId_First
ObjectViewSortColumn findByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the first object view sort column in the ordered set where objectViewId = ?.- Parameters:
objectViewId- the object view IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a matching object view sort column could not be found
-
fetchByObjectViewId_First
ObjectViewSortColumn fetchByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where objectViewId = ?.- Parameters:
objectViewId- the object view IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object view sort column, or
nullif a matching object view sort column could not be found
-
removeByObjectViewId
void removeByObjectViewId(long objectViewId) Removes all the object view sort columns where objectViewId = ? from the database.- Parameters:
objectViewId- the object view ID
-
countByObjectViewId
int countByObjectViewId(long objectViewId) Returns the number of object view sort columns where objectViewId = ?.- Parameters:
objectViewId- the object view ID- Returns:
- the number of matching object view sort columns
-
findByOVI_OFN
List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.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.ObjectViewSortColumnModelImpl.- Parameters:
objectViewId- the object view IDobjectFieldName- the object field namestart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (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 view sort columns
-
findByOVI_OFN_First
ObjectViewSortColumn findByOVI_OFN_First(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the first object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId- the object view IDobjectFieldName- the object field nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a matching object view sort column could not be found
-
fetchByOVI_OFN_First
ObjectViewSortColumn fetchByOVI_OFN_First(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId- the object view IDobjectFieldName- the object field nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object view sort column, or
nullif a matching object view sort column could not be found
-
removeByOVI_OFN
Removes all the object view sort columns where objectViewId = ? and objectFieldName = ? from the database.- Parameters:
objectViewId- the object view IDobjectFieldName- the object field name
-
countByOVI_OFN
Returns the number of object view sort columns where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId- the object view IDobjectFieldName- the object field name- Returns:
- the number of matching object view sort columns
-
create
Creates a new object view sort column with the primary key. Does not add the object view sort column to the database.- Parameters:
objectViewSortColumnId- the primary key for the new object view sort column- Returns:
- the new object view sort column
-
remove
Removes the object view sort column with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectViewSortColumnId- the primary key of the object view sort column- Returns:
- the object view sort column that was removed
- Throws:
NoSuchObjectViewSortColumnException- if a object view sort column with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
ObjectViewSortColumn findByPrimaryKey(long objectViewSortColumnId) throws NoSuchObjectViewSortColumnException Returns the object view sort column with the primary key or throws aNoSuchObjectViewSortColumnExceptionif it could not be found.- Parameters:
objectViewSortColumnId- the primary key of the object view sort column- Returns:
- the object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a object view sort column with the primary key could not be found
-
fetchByPrimaryKey
Returns the object view sort column with the primary key or returnsnullif it could not be found.- Parameters:
objectViewSortColumnId- the primary key of the object view sort column- Returns:
- the object view sort column, or
nullif a object view sort column with the primary key could not be found
-
findByUuid
Returns all the object view sort columns where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object view sort columns
-
findByUuid
Returns a range of all the object view sort columns 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.ObjectViewSortColumnModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (not inclusive)- Returns:
- the range of matching object view sort columns
-
findByUuid
default List<ObjectViewSortColumn> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns 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.ObjectViewSortColumnModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object view sort columns
-
findByUuid_C
Returns all the object view sort columns where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object view sort columns
-
findByUuid_C
Returns a range of all the object view sort columns 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.ObjectViewSortColumnModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (not inclusive)- Returns:
- the range of matching object view sort columns
-
findByUuid_C
default List<ObjectViewSortColumn> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns 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.ObjectViewSortColumnModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object view sort columns
-
findByObjectViewId
Returns all the object view sort columns where objectViewId = ?.- Parameters:
objectViewId- the object view ID- Returns:
- the matching object view sort columns
-
findByObjectViewId
Returns a range of all the object view sort columns where objectViewId = ?.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.ObjectViewSortColumnModelImpl.- Parameters:
objectViewId- the object view IDstart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (not inclusive)- Returns:
- the range of matching object view sort columns
-
findByObjectViewId
default List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns where objectViewId = ?.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.ObjectViewSortColumnModelImpl.- Parameters:
objectViewId- the object view IDstart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object view sort columns
-
findByOVI_OFN
Returns all the object view sort columns where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId- the object view IDobjectFieldName- the object field name- Returns:
- the matching object view sort columns
-
findByOVI_OFN
default List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end) Returns a range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.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.ObjectViewSortColumnModelImpl.- Parameters:
objectViewId- the object view IDobjectFieldName- the object field namestart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (not inclusive)- Returns:
- the range of matching object view sort columns
-
findByOVI_OFN
default List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.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.ObjectViewSortColumnModelImpl.- Parameters:
objectViewId- the object view IDobjectFieldName- the object field namestart- the lower bound of the range of object view sort columnsend- the upper bound of the range of object view sort columns (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object view sort columns
-