All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.object.service.persistence.ObjectViewColumnUtil Maven / Gradle / Ivy

There is a newer version: 93.0.0
Show newest version
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.object.service.persistence;

import com.liferay.object.model.ObjectViewColumn;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.util.OrderByComparator;

import java.io.Serializable;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * The persistence utility for the object view column service. This utility wraps com.liferay.object.service.persistence.impl.ObjectViewColumnPersistenceImpl 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 *

* * @author Marco Leo * @see ObjectViewColumnPersistence * @generated */ public class ObjectViewColumnUtil { /* * NOTE FOR DEVELOPERS: * * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. */ /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache() */ public static void clearCache() { getPersistence().clearCache(); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache(com.liferay.portal.kernel.model.BaseModel) */ public static void clearCache(ObjectViewColumn objectViewColumn) { getPersistence().clearCache(objectViewColumn); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) */ public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { return getPersistence().countWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#fetchByPrimaryKeys(Set) */ public static Map fetchByPrimaryKeys( Set primaryKeys) { return getPersistence().fetchByPrimaryKeys(primaryKeys); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery) { return getPersistence().findWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end) { return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findWithDynamicQuery( dynamicQuery, start, end, orderByComparator); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel) */ public static ObjectViewColumn update(ObjectViewColumn objectViewColumn) { return getPersistence().update(objectViewColumn); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext) */ public static ObjectViewColumn update( ObjectViewColumn objectViewColumn, ServiceContext serviceContext) { return getPersistence().update(objectViewColumn, serviceContext); } /** * Returns all the object view columns where uuid = ?. * * @param uuid the uuid * @return the matching object view columns */ public static List findByUuid(String uuid) { return getPersistence().findByUuid(uuid); } /** * Returns a range of all the object view columns where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @return the range of matching object view columns */ public static List findByUuid( String uuid, int start, int end) { return getPersistence().findByUuid(uuid, start, end); } /** * Returns an ordered range of all the object view columns where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object view columns */ public static List findByUuid( String uuid, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByUuid(uuid, start, end, orderByComparator); } /** * Returns an ordered range of all the object view columns where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object view columns */ public static List findByUuid( String uuid, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByUuid( uuid, start, end, orderByComparator, useFinderCache); } /** * Returns the first object view column in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object view column * @throws NoSuchObjectViewColumnException if a matching object view column could not be found */ public static ObjectViewColumn findByUuid_First( String uuid, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByUuid_First(uuid, orderByComparator); } /** * Returns the first object view column in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object view column, or null if a matching object view column could not be found */ public static ObjectViewColumn fetchByUuid_First( String uuid, OrderByComparator orderByComparator) { return getPersistence().fetchByUuid_First(uuid, orderByComparator); } /** * Returns the last object view column in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object view column * @throws NoSuchObjectViewColumnException if a matching object view column could not be found */ public static ObjectViewColumn findByUuid_Last( String uuid, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByUuid_Last(uuid, orderByComparator); } /** * Returns the last object view column in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object view column, or null if a matching object view column could not be found */ public static ObjectViewColumn fetchByUuid_Last( String uuid, OrderByComparator orderByComparator) { return getPersistence().fetchByUuid_Last(uuid, orderByComparator); } /** * Returns the object view columns before and after the current object view column in the ordered set where uuid = ?. * * @param objectViewColumnId the primary key of the current object view column * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object view column * @throws NoSuchObjectViewColumnException if a object view column with the primary key could not be found */ public static ObjectViewColumn[] findByUuid_PrevAndNext( long objectViewColumnId, String uuid, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByUuid_PrevAndNext( objectViewColumnId, uuid, orderByComparator); } /** * Removes all the object view columns where uuid = ? from the database. * * @param uuid the uuid */ public static void removeByUuid(String uuid) { getPersistence().removeByUuid(uuid); } /** * Returns the number of object view columns where uuid = ?. * * @param uuid the uuid * @return the number of matching object view columns */ public static int countByUuid(String uuid) { return getPersistence().countByUuid(uuid); } /** * Returns all the object view columns where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching object view columns */ public static List findByUuid_C( String uuid, long companyId) { return getPersistence().findByUuid_C(uuid, companyId); } /** * Returns a range of all the object view columns where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @return the range of matching object view columns */ public static List findByUuid_C( String uuid, long companyId, int start, int end) { return getPersistence().findByUuid_C(uuid, companyId, start, end); } /** * Returns an ordered range of all the object view columns where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object view columns */ public static List findByUuid_C( String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByUuid_C( uuid, companyId, start, end, orderByComparator); } /** * Returns an ordered range of all the object view columns where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object view columns */ public static List findByUuid_C( String uuid, long companyId, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByUuid_C( uuid, companyId, start, end, orderByComparator, useFinderCache); } /** * Returns the first object view column in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object view column * @throws NoSuchObjectViewColumnException if a matching object view column could not be found */ public static ObjectViewColumn findByUuid_C_First( String uuid, long companyId, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByUuid_C_First( uuid, companyId, orderByComparator); } /** * Returns the first object view column in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object view column, or null if a matching object view column could not be found */ public static ObjectViewColumn fetchByUuid_C_First( String uuid, long companyId, OrderByComparator orderByComparator) { return getPersistence().fetchByUuid_C_First( uuid, companyId, orderByComparator); } /** * Returns the last object view column in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object view column * @throws NoSuchObjectViewColumnException if a matching object view column could not be found */ public static ObjectViewColumn findByUuid_C_Last( String uuid, long companyId, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByUuid_C_Last( uuid, companyId, orderByComparator); } /** * Returns the last object view column in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object view column, or null if a matching object view column could not be found */ public static ObjectViewColumn fetchByUuid_C_Last( String uuid, long companyId, OrderByComparator orderByComparator) { return getPersistence().fetchByUuid_C_Last( uuid, companyId, orderByComparator); } /** * Returns the object view columns before and after the current object view column in the ordered set where uuid = ? and companyId = ?. * * @param objectViewColumnId the primary key of the current object view column * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object view column * @throws NoSuchObjectViewColumnException if a object view column with the primary key could not be found */ public static ObjectViewColumn[] findByUuid_C_PrevAndNext( long objectViewColumnId, String uuid, long companyId, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByUuid_C_PrevAndNext( objectViewColumnId, uuid, companyId, orderByComparator); } /** * Removes all the object view columns where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID */ public static void removeByUuid_C(String uuid, long companyId) { getPersistence().removeByUuid_C(uuid, companyId); } /** * Returns the number of object view columns where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching object view columns */ public static int countByUuid_C(String uuid, long companyId) { return getPersistence().countByUuid_C(uuid, companyId); } /** * Returns all the object view columns where objectViewId = ?. * * @param objectViewId the object view ID * @return the matching object view columns */ public static List findByObjectViewId(long objectViewId) { return getPersistence().findByObjectViewId(objectViewId); } /** * Returns a range of all the object view columns where objectViewId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param objectViewId the object view ID * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @return the range of matching object view columns */ public static List findByObjectViewId( long objectViewId, int start, int end) { return getPersistence().findByObjectViewId(objectViewId, start, end); } /** * Returns an ordered range of all the object view columns where objectViewId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param objectViewId the object view ID * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object view columns */ public static List findByObjectViewId( long objectViewId, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByObjectViewId( objectViewId, start, end, orderByComparator); } /** * Returns an ordered range of all the object view columns where objectViewId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param objectViewId the object view ID * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object view columns */ public static List findByObjectViewId( long objectViewId, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByObjectViewId( objectViewId, start, end, orderByComparator, useFinderCache); } /** * Returns the first object view column in the ordered set where objectViewId = ?. * * @param objectViewId the object view ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object view column * @throws NoSuchObjectViewColumnException if a matching object view column could not be found */ public static ObjectViewColumn findByObjectViewId_First( long objectViewId, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByObjectViewId_First( objectViewId, orderByComparator); } /** * Returns the first object view column in the ordered set where objectViewId = ?. * * @param objectViewId the object view ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object view column, or null if a matching object view column could not be found */ public static ObjectViewColumn fetchByObjectViewId_First( long objectViewId, OrderByComparator orderByComparator) { return getPersistence().fetchByObjectViewId_First( objectViewId, orderByComparator); } /** * Returns the last object view column in the ordered set where objectViewId = ?. * * @param objectViewId the object view ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object view column * @throws NoSuchObjectViewColumnException if a matching object view column could not be found */ public static ObjectViewColumn findByObjectViewId_Last( long objectViewId, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByObjectViewId_Last( objectViewId, orderByComparator); } /** * Returns the last object view column in the ordered set where objectViewId = ?. * * @param objectViewId the object view ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object view column, or null if a matching object view column could not be found */ public static ObjectViewColumn fetchByObjectViewId_Last( long objectViewId, OrderByComparator orderByComparator) { return getPersistence().fetchByObjectViewId_Last( objectViewId, orderByComparator); } /** * Returns the object view columns before and after the current object view column in the ordered set where objectViewId = ?. * * @param objectViewColumnId the primary key of the current object view column * @param objectViewId the object view ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object view column * @throws NoSuchObjectViewColumnException if a object view column with the primary key could not be found */ public static ObjectViewColumn[] findByObjectViewId_PrevAndNext( long objectViewColumnId, long objectViewId, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByObjectViewId_PrevAndNext( objectViewColumnId, objectViewId, orderByComparator); } /** * Removes all the object view columns where objectViewId = ? from the database. * * @param objectViewId the object view ID */ public static void removeByObjectViewId(long objectViewId) { getPersistence().removeByObjectViewId(objectViewId); } /** * Returns the number of object view columns where objectViewId = ?. * * @param objectViewId the object view ID * @return the number of matching object view columns */ public static int countByObjectViewId(long objectViewId) { return getPersistence().countByObjectViewId(objectViewId); } /** * Returns all the object view columns where objectViewId = ? and objectFieldName = ?. * * @param objectViewId the object view ID * @param objectFieldName the object field name * @return the matching object view columns */ public static List findByOVI_OFN( long objectViewId, String objectFieldName) { return getPersistence().findByOVI_OFN(objectViewId, objectFieldName); } /** * Returns a range of all the object view columns where objectViewId = ? and objectFieldName = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param objectViewId the object view ID * @param objectFieldName the object field name * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @return the range of matching object view columns */ public static List findByOVI_OFN( long objectViewId, String objectFieldName, int start, int end) { return getPersistence().findByOVI_OFN( objectViewId, objectFieldName, start, end); } /** * Returns an ordered range of all the object view columns where objectViewId = ? and objectFieldName = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param objectViewId the object view ID * @param objectFieldName the object field name * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object view columns */ public static List findByOVI_OFN( long objectViewId, String objectFieldName, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByOVI_OFN( objectViewId, objectFieldName, start, end, orderByComparator); } /** * Returns an ordered range of all the object view columns where objectViewId = ? and objectFieldName = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param objectViewId the object view ID * @param objectFieldName the object field name * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object view columns */ public static List findByOVI_OFN( long objectViewId, String objectFieldName, int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findByOVI_OFN( objectViewId, objectFieldName, start, end, orderByComparator, useFinderCache); } /** * Returns the first object view column in the ordered set where objectViewId = ? and objectFieldName = ?. * * @param objectViewId the object view ID * @param objectFieldName the object field name * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object view column * @throws NoSuchObjectViewColumnException if a matching object view column could not be found */ public static ObjectViewColumn findByOVI_OFN_First( long objectViewId, String objectFieldName, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByOVI_OFN_First( objectViewId, objectFieldName, orderByComparator); } /** * Returns the first object view column in the ordered set where objectViewId = ? and objectFieldName = ?. * * @param objectViewId the object view ID * @param objectFieldName the object field name * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object view column, or null if a matching object view column could not be found */ public static ObjectViewColumn fetchByOVI_OFN_First( long objectViewId, String objectFieldName, OrderByComparator orderByComparator) { return getPersistence().fetchByOVI_OFN_First( objectViewId, objectFieldName, orderByComparator); } /** * Returns the last object view column in the ordered set where objectViewId = ? and objectFieldName = ?. * * @param objectViewId the object view ID * @param objectFieldName the object field name * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object view column * @throws NoSuchObjectViewColumnException if a matching object view column could not be found */ public static ObjectViewColumn findByOVI_OFN_Last( long objectViewId, String objectFieldName, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByOVI_OFN_Last( objectViewId, objectFieldName, orderByComparator); } /** * Returns the last object view column in the ordered set where objectViewId = ? and objectFieldName = ?. * * @param objectViewId the object view ID * @param objectFieldName the object field name * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object view column, or null if a matching object view column could not be found */ public static ObjectViewColumn fetchByOVI_OFN_Last( long objectViewId, String objectFieldName, OrderByComparator orderByComparator) { return getPersistence().fetchByOVI_OFN_Last( objectViewId, objectFieldName, orderByComparator); } /** * Returns the object view columns before and after the current object view column in the ordered set where objectViewId = ? and objectFieldName = ?. * * @param objectViewColumnId the primary key of the current object view column * @param objectViewId the object view ID * @param objectFieldName the object field name * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object view column * @throws NoSuchObjectViewColumnException if a object view column with the primary key could not be found */ public static ObjectViewColumn[] findByOVI_OFN_PrevAndNext( long objectViewColumnId, long objectViewId, String objectFieldName, OrderByComparator orderByComparator) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByOVI_OFN_PrevAndNext( objectViewColumnId, objectViewId, objectFieldName, orderByComparator); } /** * Removes all the object view columns where objectViewId = ? and objectFieldName = ? from the database. * * @param objectViewId the object view ID * @param objectFieldName the object field name */ public static void removeByOVI_OFN( long objectViewId, String objectFieldName) { getPersistence().removeByOVI_OFN(objectViewId, objectFieldName); } /** * Returns the number of object view columns where objectViewId = ? and objectFieldName = ?. * * @param objectViewId the object view ID * @param objectFieldName the object field name * @return the number of matching object view columns */ public static int countByOVI_OFN( long objectViewId, String objectFieldName) { return getPersistence().countByOVI_OFN(objectViewId, objectFieldName); } /** * Caches the object view column in the entity cache if it is enabled. * * @param objectViewColumn the object view column */ public static void cacheResult(ObjectViewColumn objectViewColumn) { getPersistence().cacheResult(objectViewColumn); } /** * Caches the object view columns in the entity cache if it is enabled. * * @param objectViewColumns the object view columns */ public static void cacheResult(List objectViewColumns) { getPersistence().cacheResult(objectViewColumns); } /** * Creates a new object view column with the primary key. Does not add the object view column to the database. * * @param objectViewColumnId the primary key for the new object view column * @return the new object view column */ public static ObjectViewColumn create(long objectViewColumnId) { return getPersistence().create(objectViewColumnId); } /** * Removes the object view column with the primary key from the database. Also notifies the appropriate model listeners. * * @param objectViewColumnId the primary key of the object view column * @return the object view column that was removed * @throws NoSuchObjectViewColumnException if a object view column with the primary key could not be found */ public static ObjectViewColumn remove(long objectViewColumnId) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().remove(objectViewColumnId); } public static ObjectViewColumn updateImpl( ObjectViewColumn objectViewColumn) { return getPersistence().updateImpl(objectViewColumn); } /** * Returns the object view column with the primary key or throws a NoSuchObjectViewColumnException if it could not be found. * * @param objectViewColumnId the primary key of the object view column * @return the object view column * @throws NoSuchObjectViewColumnException if a object view column with the primary key could not be found */ public static ObjectViewColumn findByPrimaryKey(long objectViewColumnId) throws com.liferay.object.exception.NoSuchObjectViewColumnException { return getPersistence().findByPrimaryKey(objectViewColumnId); } /** * Returns the object view column with the primary key or returns null if it could not be found. * * @param objectViewColumnId the primary key of the object view column * @return the object view column, or null if a object view column with the primary key could not be found */ public static ObjectViewColumn fetchByPrimaryKey(long objectViewColumnId) { return getPersistence().fetchByPrimaryKey(objectViewColumnId); } /** * Returns all the object view columns. * * @return the object view columns */ public static List findAll() { return getPersistence().findAll(); } /** * Returns a range of all the object view columns. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @return the range of object view columns */ public static List findAll(int start, int end) { return getPersistence().findAll(start, end); } /** * Returns an ordered range of all the object view columns. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of object view columns */ public static List findAll( int start, int end, OrderByComparator orderByComparator) { return getPersistence().findAll(start, end, orderByComparator); } /** * Returns an ordered range of all the object view columns. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectViewColumnModelImpl. *

* * @param start the lower bound of the range of object view columns * @param end the upper bound of the range of object view columns (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of object view columns */ public static List findAll( int start, int end, OrderByComparator orderByComparator, boolean useFinderCache) { return getPersistence().findAll( start, end, orderByComparator, useFinderCache); } /** * Removes all the object view columns from the database. */ public static void removeAll() { getPersistence().removeAll(); } /** * Returns the number of object view columns. * * @return the number of object view columns */ public static int countAll() { return getPersistence().countAll(); } public static ObjectViewColumnPersistence getPersistence() { return _persistence; } public static void setPersistence(ObjectViewColumnPersistence persistence) { _persistence = persistence; } private static volatile ObjectViewColumnPersistence _persistence; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy