com.liferay.object.service.persistence.ObjectFieldPersistence 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.NoSuchObjectFieldException;
import com.liferay.object.model.ObjectField;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import org.osgi.annotation.versioning.ProviderType;
/**
* The persistence interface for the object field service.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Marco Leo
* @see ObjectFieldUtil
* @generated
*/
@ProviderType
public interface ObjectFieldPersistence extends BasePersistence {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link ObjectFieldUtil} to access the object field persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the object fields where uuid = ?.
*
* @param uuid the uuid
* @return the matching object fields
*/
public java.util.List findByUuid(String uuid);
/**
* Returns a range of all the object fields 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 ObjectFieldModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByUuid(
String uuid, int start, int end);
/**
* Returns an ordered range of all the object fields 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 ObjectFieldModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
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 fields 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 ObjectFieldModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field 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 field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field 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 field, or null
if a matching object field could not be found
*/
public ObjectField fetchByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field 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 field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field 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 field, or null
if a matching object field could not be found
*/
public ObjectField fetchByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where uuid = ?.
*
* @param objectFieldId the primary key of the current object field
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByUuid_PrevAndNext(
long objectFieldId, String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where uuid = ? from the database.
*
* @param uuid the uuid
*/
public void removeByUuid(String uuid);
/**
* Returns the number of object fields where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching object fields
*/
public int countByUuid(String uuid);
/**
* Returns all the object fields where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching object fields
*/
public java.util.List findByUuid_C(
String uuid, long companyId);
/**
* Returns a range of all the object fields 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 ObjectFieldModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end);
/**
* Returns an ordered range of all the object fields 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 ObjectFieldModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
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 fields 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 ObjectFieldModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
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 field 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 field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field 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 field, or null
if a matching object field could not be found
*/
public ObjectField fetchByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field 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 field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field 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 field, or null
if a matching object field could not be found
*/
public ObjectField fetchByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where uuid = ? and companyId = ?.
*
* @param objectFieldId the primary key of the current object field
* @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 field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByUuid_C_PrevAndNext(
long objectFieldId, String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields 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 fields where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching object fields
*/
public int countByUuid_C(String uuid, long companyId);
/**
* Returns all the object fields where listTypeDefinitionId = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @return the matching object fields
*/
public java.util.List findByListTypeDefinitionId(
long listTypeDefinitionId);
/**
* Returns a range of all the object fields where listTypeDefinitionId = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param listTypeDefinitionId the list type definition ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByListTypeDefinitionId(
long listTypeDefinitionId, int start, int end);
/**
* Returns an ordered range of all the object fields where listTypeDefinitionId = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param listTypeDefinitionId the list type definition ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByListTypeDefinitionId(
long listTypeDefinitionId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where listTypeDefinitionId = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param listTypeDefinitionId the list type definition ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByListTypeDefinitionId(
long listTypeDefinitionId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where listTypeDefinitionId = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByListTypeDefinitionId_First(
long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where listTypeDefinitionId = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByListTypeDefinitionId_First(
long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where listTypeDefinitionId = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByListTypeDefinitionId_Last(
long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where listTypeDefinitionId = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByListTypeDefinitionId_Last(
long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where listTypeDefinitionId = ?.
*
* @param objectFieldId the primary key of the current object field
* @param listTypeDefinitionId the list type definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByListTypeDefinitionId_PrevAndNext(
long objectFieldId, long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where listTypeDefinitionId = ? from the database.
*
* @param listTypeDefinitionId the list type definition ID
*/
public void removeByListTypeDefinitionId(long listTypeDefinitionId);
/**
* Returns the number of object fields where listTypeDefinitionId = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @return the number of matching object fields
*/
public int countByListTypeDefinitionId(long listTypeDefinitionId);
/**
* Returns all the object fields where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @return the matching object fields
*/
public java.util.List findByObjectDefinitionId(
long objectDefinitionId);
/**
* Returns a range of all the object fields where objectDefinitionId = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByObjectDefinitionId(
long objectDefinitionId, int start, int end);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByObjectDefinitionId(
long objectDefinitionId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByObjectDefinitionId(
long objectDefinitionId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByObjectDefinitionId_First(
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByObjectDefinitionId_First(
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByObjectDefinitionId_Last(
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByObjectDefinitionId_Last(
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ?.
*
* @param objectFieldId the primary key of the current object field
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByObjectDefinitionId_PrevAndNext(
long objectFieldId, long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where objectDefinitionId = ? from the database.
*
* @param objectDefinitionId the object definition ID
*/
public void removeByObjectDefinitionId(long objectDefinitionId);
/**
* Returns the number of object fields where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @return the number of matching object fields
*/
public int countByObjectDefinitionId(long objectDefinitionId);
/**
* Returns all the object fields where companyId = ? and userId = ?.
*
* @param companyId the company ID
* @param userId the user ID
* @return the matching object fields
*/
public java.util.List findByC_U(long companyId, long userId);
/**
* Returns a range of all the object fields where companyId = ? and userId = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param companyId the company ID
* @param userId the user ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByC_U(
long companyId, long userId, int start, int end);
/**
* Returns an ordered range of all the object fields where companyId = ? and userId = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param companyId the company ID
* @param userId the user ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByC_U(
long companyId, long userId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where companyId = ? and userId = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param companyId the company ID
* @param userId the user ID
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByC_U(
long companyId, long userId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where companyId = ? and userId = ?.
*
* @param companyId the company ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByC_U_First(
long companyId, long userId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where companyId = ? and userId = ?.
*
* @param companyId the company ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByC_U_First(
long companyId, long userId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where companyId = ? and userId = ?.
*
* @param companyId the company ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByC_U_Last(
long companyId, long userId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where companyId = ? and userId = ?.
*
* @param companyId the company ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByC_U_Last(
long companyId, long userId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where companyId = ? and userId = ?.
*
* @param objectFieldId the primary key of the current object field
* @param companyId the company ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByC_U_PrevAndNext(
long objectFieldId, long companyId, long userId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where companyId = ? and userId = ? from the database.
*
* @param companyId the company ID
* @param userId the user ID
*/
public void removeByC_U(long companyId, long userId);
/**
* Returns the number of object fields where companyId = ? and userId = ?.
*
* @param companyId the company ID
* @param userId the user ID
* @return the number of matching object fields
*/
public int countByC_U(long companyId, long userId);
/**
* Returns all the object fields where listTypeDefinitionId = ? and state = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @return the matching object fields
*/
public java.util.List findByLTDI_S(
long listTypeDefinitionId, boolean state);
/**
* Returns a range of all the object fields where listTypeDefinitionId = ? and state = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByLTDI_S(
long listTypeDefinitionId, boolean state, int start, int end);
/**
* Returns an ordered range of all the object fields where listTypeDefinitionId = ? and state = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByLTDI_S(
long listTypeDefinitionId, boolean state, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where listTypeDefinitionId = ? and state = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByLTDI_S(
long listTypeDefinitionId, boolean state, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where listTypeDefinitionId = ? and state = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByLTDI_S_First(
long listTypeDefinitionId, boolean state,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where listTypeDefinitionId = ? and state = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByLTDI_S_First(
long listTypeDefinitionId, boolean state,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where listTypeDefinitionId = ? and state = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByLTDI_S_Last(
long listTypeDefinitionId, boolean state,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where listTypeDefinitionId = ? and state = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByLTDI_S_Last(
long listTypeDefinitionId, boolean state,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where listTypeDefinitionId = ? and state = ?.
*
* @param objectFieldId the primary key of the current object field
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByLTDI_S_PrevAndNext(
long objectFieldId, long listTypeDefinitionId, boolean state,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where listTypeDefinitionId = ? and state = ? from the database.
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
*/
public void removeByLTDI_S(long listTypeDefinitionId, boolean state);
/**
* Returns the number of object fields where listTypeDefinitionId = ? and state = ?.
*
* @param listTypeDefinitionId the list type definition ID
* @param state the state
* @return the number of matching object fields
*/
public int countByLTDI_S(long listTypeDefinitionId, boolean state);
/**
* Returns all the object fields where objectDefinitionId = ? and businessType = ?.
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @return the matching object fields
*/
public java.util.List findByODI_BT(
long objectDefinitionId, String businessType);
/**
* Returns a range of all the object fields where objectDefinitionId = ? and businessType = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByODI_BT(
long objectDefinitionId, String businessType, int start, int end);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and businessType = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByODI_BT(
long objectDefinitionId, String businessType, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and businessType = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByODI_BT(
long objectDefinitionId, String businessType, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and businessType = ?.
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_BT_First(
long objectDefinitionId, String businessType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and businessType = ?.
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_BT_First(
long objectDefinitionId, String businessType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and businessType = ?.
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_BT_Last(
long objectDefinitionId, String businessType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and businessType = ?.
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_BT_Last(
long objectDefinitionId, String businessType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and businessType = ?.
*
* @param objectFieldId the primary key of the current object field
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByODI_BT_PrevAndNext(
long objectFieldId, long objectDefinitionId, String businessType,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where objectDefinitionId = ? and businessType = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
*/
public void removeByODI_BT(long objectDefinitionId, String businessType);
/**
* Returns the number of object fields where objectDefinitionId = ? and businessType = ?.
*
* @param objectDefinitionId the object definition ID
* @param businessType the business type
* @return the number of matching object fields
*/
public int countByODI_BT(long objectDefinitionId, String businessType);
/**
* Returns all the object fields where objectDefinitionId = ? and dbTableName = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @return the matching object fields
*/
public java.util.List findByODI_DTN(
long objectDefinitionId, String dbTableName);
/**
* Returns a range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByODI_DTN(
long objectDefinitionId, String dbTableName, int start, int end);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByODI_DTN(
long objectDefinitionId, String dbTableName, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByODI_DTN(
long objectDefinitionId, String dbTableName, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_DTN_First(
long objectDefinitionId, String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_DTN_First(
long objectDefinitionId, String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_DTN_Last(
long objectDefinitionId, String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_DTN_Last(
long objectDefinitionId, String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
*
* @param objectFieldId the primary key of the current object field
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByODI_DTN_PrevAndNext(
long objectFieldId, long objectDefinitionId, String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where objectDefinitionId = ? and dbTableName = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
*/
public void removeByODI_DTN(long objectDefinitionId, String dbTableName);
/**
* Returns the number of object fields where objectDefinitionId = ? and dbTableName = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbTableName the db table name
* @return the number of matching object fields
*/
public int countByODI_DTN(long objectDefinitionId, String dbTableName);
/**
* Returns all the object fields where objectDefinitionId = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @return the matching object fields
*/
public java.util.List findByODI_I(
long objectDefinitionId, boolean indexed);
/**
* Returns a range of all the object fields where objectDefinitionId = ? and indexed = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByODI_I(
long objectDefinitionId, boolean indexed, int start, int end);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and indexed = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByODI_I(
long objectDefinitionId, boolean indexed, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and indexed = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByODI_I(
long objectDefinitionId, boolean indexed, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_I_First(
long objectDefinitionId, boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_I_First(
long objectDefinitionId, boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_I_Last(
long objectDefinitionId, boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_I_Last(
long objectDefinitionId, boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and indexed = ?.
*
* @param objectFieldId the primary key of the current object field
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByODI_I_PrevAndNext(
long objectFieldId, long objectDefinitionId, boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where objectDefinitionId = ? and indexed = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
*/
public void removeByODI_I(long objectDefinitionId, boolean indexed);
/**
* Returns the number of object fields where objectDefinitionId = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param indexed the indexed
* @return the number of matching object fields
*/
public int countByODI_I(long objectDefinitionId, boolean indexed);
/**
* Returns all the object fields where objectDefinitionId = ? and localized = ?.
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @return the matching object fields
*/
public java.util.List findByODI_L(
long objectDefinitionId, boolean localized);
/**
* Returns a range of all the object fields where objectDefinitionId = ? and localized = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByODI_L(
long objectDefinitionId, boolean localized, int start, int end);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and localized = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByODI_L(
long objectDefinitionId, boolean localized, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and localized = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByODI_L(
long objectDefinitionId, boolean localized, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and localized = ?.
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_L_First(
long objectDefinitionId, boolean localized,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and localized = ?.
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_L_First(
long objectDefinitionId, boolean localized,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and localized = ?.
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_L_Last(
long objectDefinitionId, boolean localized,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and localized = ?.
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_L_Last(
long objectDefinitionId, boolean localized,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and localized = ?.
*
* @param objectFieldId the primary key of the current object field
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByODI_L_PrevAndNext(
long objectFieldId, long objectDefinitionId, boolean localized,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where objectDefinitionId = ? and localized = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
*/
public void removeByODI_L(long objectDefinitionId, boolean localized);
/**
* Returns the number of object fields where objectDefinitionId = ? and localized = ?.
*
* @param objectDefinitionId the object definition ID
* @param localized the localized
* @return the number of matching object fields
*/
public int countByODI_L(long objectDefinitionId, boolean localized);
/**
* Returns the object field where objectDefinitionId = ? and name = ? or throws a NoSuchObjectFieldException
if it could not be found.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @return the matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_N(long objectDefinitionId, String name)
throws NoSuchObjectFieldException;
/**
* Returns the object field where objectDefinitionId = ? and name = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @return the matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_N(long objectDefinitionId, String name);
/**
* Returns the object field where objectDefinitionId = ? and name = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @param useFinderCache whether to use the finder cache
* @return the matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_N(
long objectDefinitionId, String name, boolean useFinderCache);
/**
* Removes the object field where objectDefinitionId = ? and name = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @return the object field that was removed
*/
public ObjectField removeByODI_N(long objectDefinitionId, String name)
throws NoSuchObjectFieldException;
/**
* Returns the number of object fields where objectDefinitionId = ? and name = ?.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @return the number of matching object fields
*/
public int countByODI_N(long objectDefinitionId, String name);
/**
* Returns all the object fields where objectDefinitionId = ? and system = ?.
*
* @param objectDefinitionId the object definition ID
* @param system the system
* @return the matching object fields
*/
public java.util.List findByODI_S(
long objectDefinitionId, boolean system);
/**
* Returns a range of all the object fields where objectDefinitionId = ? and system = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param system the system
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByODI_S(
long objectDefinitionId, boolean system, int start, int end);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and system = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param system the system
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByODI_S(
long objectDefinitionId, boolean system, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and system = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param system the system
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByODI_S(
long objectDefinitionId, boolean system, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and system = ?.
*
* @param objectDefinitionId the object definition ID
* @param system the system
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_S_First(
long objectDefinitionId, boolean system,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and system = ?.
*
* @param objectDefinitionId the object definition ID
* @param system the system
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_S_First(
long objectDefinitionId, boolean system,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and system = ?.
*
* @param objectDefinitionId the object definition ID
* @param system the system
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_S_Last(
long objectDefinitionId, boolean system,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and system = ?.
*
* @param objectDefinitionId the object definition ID
* @param system the system
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_S_Last(
long objectDefinitionId, boolean system,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and system = ?.
*
* @param objectFieldId the primary key of the current object field
* @param objectDefinitionId the object definition ID
* @param system the system
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByODI_S_PrevAndNext(
long objectFieldId, long objectDefinitionId, boolean system,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where objectDefinitionId = ? and system = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param system the system
*/
public void removeByODI_S(long objectDefinitionId, boolean system);
/**
* Returns the number of object fields where objectDefinitionId = ? and system = ?.
*
* @param objectDefinitionId the object definition ID
* @param system the system
* @return the number of matching object fields
*/
public int countByODI_S(long objectDefinitionId, boolean system);
/**
* Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws a NoSuchObjectFieldException
if it could not be found.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @return the matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByERC_C_ODI(
String externalReferenceCode, long companyId,
long objectDefinitionId)
throws NoSuchObjectFieldException;
/**
* Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @return the matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByERC_C_ODI(
String externalReferenceCode, long companyId, long objectDefinitionId);
/**
* Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @param useFinderCache whether to use the finder cache
* @return the matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByERC_C_ODI(
String externalReferenceCode, long companyId, long objectDefinitionId,
boolean useFinderCache);
/**
* Removes the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @return the object field that was removed
*/
public ObjectField removeByERC_C_ODI(
String externalReferenceCode, long companyId,
long objectDefinitionId)
throws NoSuchObjectFieldException;
/**
* Returns the number of object fields where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @return the number of matching object fields
*/
public int countByERC_C_ODI(
String externalReferenceCode, long companyId, long objectDefinitionId);
/**
* Returns all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @return the matching object fields
*/
public java.util.List findByODI_DBT_I(
long objectDefinitionId, String dbType, boolean indexed);
/**
* Returns a range of all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of matching object fields
*/
public java.util.List findByODI_DBT_I(
long objectDefinitionId, String dbType, boolean indexed, int start,
int end);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object fields
*/
public java.util.List findByODI_DBT_I(
long objectDefinitionId, String dbType, boolean indexed, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findByODI_DBT_I(
long objectDefinitionId, String dbType, boolean indexed, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_DBT_I_First(
long objectDefinitionId, String dbType, boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the first object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_DBT_I_First(
long objectDefinitionId, String dbType, boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field
* @throws NoSuchObjectFieldException if a matching object field could not be found
*/
public ObjectField findByODI_DBT_I_Last(
long objectDefinitionId, String dbType, boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Returns the last object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object field, or null
if a matching object field could not be found
*/
public ObjectField fetchByODI_DBT_I_Last(
long objectDefinitionId, String dbType, boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
* @param objectFieldId the primary key of the current object field
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField[] findByODI_DBT_I_PrevAndNext(
long objectFieldId, long objectDefinitionId, String dbType,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectFieldException;
/**
* Removes all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
*/
public void removeByODI_DBT_I(
long objectDefinitionId, String dbType, boolean indexed);
/**
* Returns the number of object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
*
* @param objectDefinitionId the object definition ID
* @param dbType the db type
* @param indexed the indexed
* @return the number of matching object fields
*/
public int countByODI_DBT_I(
long objectDefinitionId, String dbType, boolean indexed);
/**
* Caches the object field in the entity cache if it is enabled.
*
* @param objectField the object field
*/
public void cacheResult(ObjectField objectField);
/**
* Caches the object fields in the entity cache if it is enabled.
*
* @param objectFields the object fields
*/
public void cacheResult(java.util.List objectFields);
/**
* Creates a new object field with the primary key. Does not add the object field to the database.
*
* @param objectFieldId the primary key for the new object field
* @return the new object field
*/
public ObjectField create(long objectFieldId);
/**
* Removes the object field with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param objectFieldId the primary key of the object field
* @return the object field that was removed
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField remove(long objectFieldId)
throws NoSuchObjectFieldException;
public ObjectField updateImpl(ObjectField objectField);
/**
* Returns the object field with the primary key or throws a NoSuchObjectFieldException
if it could not be found.
*
* @param objectFieldId the primary key of the object field
* @return the object field
* @throws NoSuchObjectFieldException if a object field with the primary key could not be found
*/
public ObjectField findByPrimaryKey(long objectFieldId)
throws NoSuchObjectFieldException;
/**
* Returns the object field with the primary key or returns null
if it could not be found.
*
* @param objectFieldId the primary key of the object field
* @return the object field, or null
if a object field with the primary key could not be found
*/
public ObjectField fetchByPrimaryKey(long objectFieldId);
/**
* Returns all the object fields.
*
* @return the object fields
*/
public java.util.List findAll();
/**
* Returns a range of all the object fields.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @return the range of object fields
*/
public java.util.List findAll(int start, int end);
/**
* Returns an ordered range of all the object fields.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of object fields
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object fields.
*
*
* 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 ObjectFieldModelImpl
.
*
*
* @param start the lower bound of the range of object fields
* @param end the upper bound of the range of object fields (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 fields
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Removes all the object fields from the database.
*/
public void removeAll();
/**
* Returns the number of object fields.
*
* @return the number of object fields
*/
public int countAll();
}