Class ObjectViewSortColumnUtil
com.liferay.object.service.persistence.impl.ObjectViewSortColumnPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(ObjectViewSortColumn objectViewSortColumn) Caches the object view sort column in the entity cache if it is enabled.static voidcacheResult(List<ObjectViewSortColumn> objectViewSortColumns) Caches the object view sort columns in the entity cache if it is enabled.static voidstatic voidclearCache(ObjectViewSortColumn objectViewSortColumn) static intcountAll()Returns the number of object view sort columns.static intcountByObjectViewId(long objectViewId) Returns the number of object view sort columns where objectViewId = ?.static intcountByOVI_OFN(long objectViewId, String objectFieldName) Returns the number of object view sort columns where objectViewId = ? and objectFieldName = ?.static intcountByUuid(String uuid) Returns the number of object view sort columns where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object view sort columns where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectViewSortColumncreate(long objectViewSortColumnId) Creates a new object view sort column with the primary key.static ObjectViewSortColumnfetchByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where objectViewId = ?.static ObjectViewSortColumnfetchByObjectViewId_Last(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last object view sort column in the ordered set where objectViewId = ?.static ObjectViewSortColumnfetchByOVI_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 = ?.static ObjectViewSortColumnfetchByOVI_OFN_Last(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.static ObjectViewSortColumnfetchByPrimaryKey(long objectViewSortColumnId) Returns the object view sort column with the primary key or returnsnullif it could not be found.static Map<Serializable,ObjectViewSortColumn> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectViewSortColumnfetchByUuid_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 = ?.static ObjectViewSortColumnfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last object view sort column in the ordered set where uuid = ? and companyId = ?.static ObjectViewSortColumnfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where uuid = ?.static ObjectViewSortColumnfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last object view sort column in the ordered set where uuid = ?.static List<ObjectViewSortColumn>findAll()Returns all the object view sort columns.static List<ObjectViewSortColumn>findAll(int start, int end) Returns a range of all the object view sort columns.static List<ObjectViewSortColumn>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns.static List<ObjectViewSortColumn>findAll(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.static List<ObjectViewSortColumn>findByObjectViewId(long objectViewId) Returns all the object view sort columns where objectViewId = ?.static List<ObjectViewSortColumn>findByObjectViewId(long objectViewId, int start, int end) Returns a range of all the object view sort columns where objectViewId = ?.static 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 = ?.static 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 = ?.static ObjectViewSortColumnfindByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where objectViewId = ?.static ObjectViewSortColumnfindByObjectViewId_Last(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last object view sort column in the ordered set where objectViewId = ?.static ObjectViewSortColumn[]findByObjectViewId_PrevAndNext(long objectViewSortColumnId, long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the object view sort columns before and after the current object view sort column in the ordered set where objectViewId = ?.static List<ObjectViewSortColumn>findByOVI_OFN(long objectViewId, String objectFieldName) Returns all the object view sort columns where objectViewId = ? and objectFieldName = ?.static 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 = ?.static 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 = ?.static 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 = ?.static ObjectViewSortColumnfindByOVI_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 = ?.static ObjectViewSortColumnfindByOVI_OFN_Last(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.static ObjectViewSortColumn[]findByOVI_OFN_PrevAndNext(long objectViewSortColumnId, long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the object view sort columns before and after the current object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.static ObjectViewSortColumnfindByPrimaryKey(long objectViewSortColumnId) Returns the object view sort column with the primary key or throws aNoSuchObjectViewSortColumnExceptionif it could not be found.static List<ObjectViewSortColumn>findByUuid(String uuid) Returns all the object view sort columns where uuid = ?.static List<ObjectViewSortColumn>findByUuid(String uuid, int start, int end) Returns a range of all the object view sort columns where uuid = ?.static 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 = ?.static 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 = ?.static List<ObjectViewSortColumn>findByUuid_C(String uuid, long companyId) Returns all the object view sort columns where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static ObjectViewSortColumnfindByUuid_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 = ?.static ObjectViewSortColumnfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last object view sort column in the ordered set where uuid = ? and companyId = ?.static ObjectViewSortColumn[]findByUuid_C_PrevAndNext(long objectViewSortColumnId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the object view sort columns before and after the current object view sort column in the ordered set where uuid = ? and companyId = ?.static ObjectViewSortColumnfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the first object view sort column in the ordered set where uuid = ?.static ObjectViewSortColumnfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last object view sort column in the ordered set where uuid = ?.static ObjectViewSortColumn[]findByUuid_PrevAndNext(long objectViewSortColumnId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the object view sort columns before and after the current object view sort column in the ordered set where uuid = ?.static List<ObjectViewSortColumn>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectViewSortColumn>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectViewSortColumn>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) static ObjectViewSortColumnremove(long objectViewSortColumnId) Removes the object view sort column with the primary key from the database.static voidRemoves all the object view sort columns from the database.static voidremoveByObjectViewId(long objectViewId) Removes all the object view sort columns where objectViewId = ? from the database.static voidremoveByOVI_OFN(long objectViewId, String objectFieldName) Removes all the object view sort columns where objectViewId = ? and objectFieldName = ? from the database.static voidremoveByUuid(String uuid) Removes all the object view sort columns where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object view sort columns where uuid = ? and companyId = ? from the database.static voidsetPersistence(ObjectViewSortColumnPersistence persistence) static ObjectViewSortColumnupdate(ObjectViewSortColumn objectViewSortColumn) static ObjectViewSortColumnupdate(ObjectViewSortColumn objectViewSortColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectViewSortColumnupdateImpl(ObjectViewSortColumn objectViewSortColumn)
-
Constructor Details
-
ObjectViewSortColumnUtil
public ObjectViewSortColumnUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,ObjectViewSortColumn> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectViewSortColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectViewSortColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectViewSortColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectViewSortColumn update(ObjectViewSortColumn objectViewSortColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
public static 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 foundNoSuchObjectViewSortColumnException
-
fetchByUuid_First
public static 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
-
findByUuid_Last
public static ObjectViewSortColumn findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the last object view sort column in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a matching object view sort column could not be foundNoSuchObjectViewSortColumnException
-
fetchByUuid_Last
public static ObjectViewSortColumn fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last object view sort column in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object view sort column, or
nullif a matching object view sort column could not be found
-
findByUuid_PrevAndNext
public static ObjectViewSortColumn[] findByUuid_PrevAndNext(long objectViewSortColumnId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the object view sort columns before and after the current object view sort column in the ordered set where uuid = ?.- Parameters:
objectViewSortColumnId- the primary key of the current object view sort columnuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a object view sort column with the primary key could not be foundNoSuchObjectViewSortColumnException
-
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
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
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
-
findByUuid_C
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
public static 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 foundNoSuchObjectViewSortColumnException
-
fetchByUuid_C_First
public static 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
-
findByUuid_C_Last
public static ObjectViewSortColumn findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the last 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 last matching object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a matching object view sort column could not be foundNoSuchObjectViewSortColumnException
-
fetchByUuid_C_Last
public static ObjectViewSortColumn fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last 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 last matching object view sort column, or
nullif a matching object view sort column could not be found
-
findByUuid_C_PrevAndNext
public static ObjectViewSortColumn[] findByUuid_C_PrevAndNext(long objectViewSortColumnId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the object view sort columns before and after the current object view sort column in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectViewSortColumnId- the primary key of the current object view sort columnuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a object view sort column with the primary key could not be foundNoSuchObjectViewSortColumnException
-
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
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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
-
findByObjectViewId
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
public static 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 foundNoSuchObjectViewSortColumnException
-
fetchByObjectViewId_First
public static 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
-
findByObjectViewId_Last
public static ObjectViewSortColumn findByObjectViewId_Last(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the last 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 last matching object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a matching object view sort column could not be foundNoSuchObjectViewSortColumnException
-
fetchByObjectViewId_Last
public static ObjectViewSortColumn fetchByObjectViewId_Last(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last 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 last matching object view sort column, or
nullif a matching object view sort column could not be found
-
findByObjectViewId_PrevAndNext
public static ObjectViewSortColumn[] findByObjectViewId_PrevAndNext(long objectViewSortColumnId, long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the object view sort columns before and after the current object view sort column in the ordered set where objectViewId = ?.- Parameters:
objectViewSortColumnId- the primary key of the current object view sort columnobjectViewId- the object view IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a object view sort column with the primary key could not be foundNoSuchObjectViewSortColumnException
-
removeByObjectViewId
public static void removeByObjectViewId(long objectViewId) Removes all the object view sort columns where objectViewId = ? from the database.- Parameters:
objectViewId- the object view ID
-
countByObjectViewId
public static 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
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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
-
findByOVI_OFN
public static 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 bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- 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
public static 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 foundNoSuchObjectViewSortColumnException
-
fetchByOVI_OFN_First
public static 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
-
findByOVI_OFN_Last
public static ObjectViewSortColumn findByOVI_OFN_Last(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the last 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 last matching object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a matching object view sort column could not be foundNoSuchObjectViewSortColumnException
-
fetchByOVI_OFN_Last
public static ObjectViewSortColumn fetchByOVI_OFN_Last(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns the last 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 last matching object view sort column, or
nullif a matching object view sort column could not be found
-
findByOVI_OFN_PrevAndNext
public static ObjectViewSortColumn[] findByOVI_OFN_PrevAndNext(long objectViewSortColumnId, long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException Returns the object view sort columns before and after the current object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewSortColumnId- the primary key of the current object view sort columnobjectViewId- the object view IDobjectFieldName- the object field nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object view sort column
- Throws:
NoSuchObjectViewSortColumnException- if a object view sort column with the primary key could not be foundNoSuchObjectViewSortColumnException
-
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
-
cacheResult
Caches the object view sort column in the entity cache if it is enabled.- Parameters:
objectViewSortColumn- the object view sort column
-
cacheResult
Caches the object view sort columns in the entity cache if it is enabled.- Parameters:
objectViewSortColumns- the 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
public static ObjectViewSortColumn remove(long objectViewSortColumnId) throws NoSuchObjectViewSortColumnException 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 foundNoSuchObjectViewSortColumnException
-
updateImpl
-
findByPrimaryKey
public static 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 foundNoSuchObjectViewSortColumnException
-
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
-
findAll
Returns all the object view sort columns.- Returns:
- the object view sort columns
-
findAll
Returns a range of all the object view sort columns.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- Parameters:
start- 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 object view sort columns
-
findAll
public static List<ObjectViewSortColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) Returns an ordered range of all the object view sort columns.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- Parameters:
start- 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 object view sort columns
-
findAll
public static List<ObjectViewSortColumn> findAll(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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectViewSortColumnModelImpl.- Parameters:
start- 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 object view sort columns
-
removeAll
public static void removeAll()Removes all the object view sort columns from the database. -
countAll
public static int countAll()Returns the number of object view sort columns.- Returns:
- the number of object view sort columns
-
getPersistence
-
setPersistence
-