com.liferay.object.service.persistence.ObjectViewColumnPersistence Maven / Gradle / Ivy
/**
* 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.exception.NoSuchObjectViewColumnException;
import com.liferay.object.model.ObjectViewColumn;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import org.osgi.annotation.versioning.ProviderType;
/**
* The persistence interface for the object view column service.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Marco Leo
* @see ObjectViewColumnUtil
* @generated
*/
@ProviderType
public interface ObjectViewColumnPersistence
extends BasePersistence {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link ObjectViewColumnUtil} to access the object view column persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the object view columns where uuid = ?.
*
* @param uuid the uuid
* @return the matching object view columns
*/
public java.util.List findByUuid(String 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 java.util.List findByUuid(
String uuid, int start, int 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 java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
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 java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean 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 ObjectViewColumn findByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* 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 ObjectViewColumn fetchByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
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 ObjectViewColumn findByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* 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 ObjectViewColumn fetchByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
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 ObjectViewColumn[] findByUuid_PrevAndNext(
long objectViewColumnId, String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* Removes all the object view columns where uuid = ? from the database.
*
* @param uuid the uuid
*/
public void removeByUuid(String uuid);
/**
* Returns the number of object view columns where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching object view columns
*/
public int countByUuid(String 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 java.util.List findByUuid_C(
String uuid, long 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 java.util.List findByUuid_C(
String uuid, long companyId, int start, int 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 java.util.List findByUuid_C(
String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
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 java.util.List findByUuid_C(
String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean 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 ObjectViewColumn findByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* 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 ObjectViewColumn fetchByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
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 ObjectViewColumn findByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* 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 ObjectViewColumn fetchByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
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 ObjectViewColumn[] findByUuid_C_PrevAndNext(
long objectViewColumnId, String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* Removes all the object view columns where uuid = ? and companyId = ? from the database.
*
* @param uuid the uuid
* @param companyId the company ID
*/
public void removeByUuid_C(String uuid, long 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 int countByUuid_C(String uuid, long companyId);
/**
* Returns all the object view columns where objectViewId = ?.
*
* @param objectViewId the object view ID
* @return the matching object view columns
*/
public java.util.List findByObjectViewId(
long 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 java.util.List findByObjectViewId(
long objectViewId, int start, int 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 java.util.List findByObjectViewId(
long objectViewId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
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 java.util.List findByObjectViewId(
long objectViewId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean 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 ObjectViewColumn findByObjectViewId_First(
long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* 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 ObjectViewColumn fetchByObjectViewId_First(
long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator
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 ObjectViewColumn findByObjectViewId_Last(
long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* 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 ObjectViewColumn fetchByObjectViewId_Last(
long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator
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 ObjectViewColumn[] findByObjectViewId_PrevAndNext(
long objectViewColumnId, long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* Removes all the object view columns where objectViewId = ? from the database.
*
* @param objectViewId the object view ID
*/
public void removeByObjectViewId(long 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 int countByObjectViewId(long 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 java.util.List findByOVI_OFN(
long objectViewId, String 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 java.util.List findByOVI_OFN(
long objectViewId, String objectFieldName, int start, int 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 java.util.List findByOVI_OFN(
long objectViewId, String objectFieldName, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
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 java.util.List findByOVI_OFN(
long objectViewId, String objectFieldName, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean 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 ObjectViewColumn findByOVI_OFN_First(
long objectViewId, String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* 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 ObjectViewColumn fetchByOVI_OFN_First(
long objectViewId, String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator
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 ObjectViewColumn findByOVI_OFN_Last(
long objectViewId, String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* 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 ObjectViewColumn fetchByOVI_OFN_Last(
long objectViewId, String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator
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 ObjectViewColumn[] findByOVI_OFN_PrevAndNext(
long objectViewColumnId, long objectViewId, String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectViewColumnException;
/**
* 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 void removeByOVI_OFN(long objectViewId, String 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 int countByOVI_OFN(long objectViewId, String objectFieldName);
/**
* Caches the object view column in the entity cache if it is enabled.
*
* @param objectViewColumn the object view column
*/
public void cacheResult(ObjectViewColumn objectViewColumn);
/**
* Caches the object view columns in the entity cache if it is enabled.
*
* @param objectViewColumns the object view columns
*/
public void cacheResult(java.util.List 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 ObjectViewColumn create(long 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 ObjectViewColumn remove(long objectViewColumnId)
throws NoSuchObjectViewColumnException;
public ObjectViewColumn updateImpl(ObjectViewColumn 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 ObjectViewColumn findByPrimaryKey(long objectViewColumnId)
throws NoSuchObjectViewColumnException;
/**
* 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 ObjectViewColumn fetchByPrimaryKey(long objectViewColumnId);
/**
* Returns all the object view columns.
*
* @return the object view columns
*/
public java.util.List 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 java.util.List findAll(int start, int 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 java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
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 java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Removes all the object view columns from the database.
*/
public void removeAll();
/**
* Returns the number of object view columns.
*
* @return the number of object view columns
*/
public int countAll();
}