public class ObjectFieldUtil
extends java.lang.Object
com.liferay.object.service.persistence.impl.ObjectFieldPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
ObjectFieldPersistence
Constructor and Description |
---|
ObjectFieldUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ObjectField> objectFields)
Caches the object fields in the entity cache if it is enabled.
|
static void |
cacheResult(ObjectField objectField)
Caches the object field in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ObjectField objectField) |
static int |
countAll()
Returns the number of object fields.
|
static int |
countByC_U(long companyId,
long userId)
Returns the number of object fields where companyId = ? and userId = ?.
|
static int |
countByERC_C_ODI(java.lang.String externalReferenceCode,
long companyId,
long objectDefinitionId)
Returns the number of object fields where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.
|
static int |
countByListTypeDefinitionId(long listTypeDefinitionId)
Returns the number of object fields where listTypeDefinitionId = ?.
|
static int |
countByLTDI_S(long listTypeDefinitionId,
boolean state)
Returns the number of object fields where listTypeDefinitionId = ? and state = ?.
|
static int |
countByObjectDefinitionId(long objectDefinitionId)
Returns the number of object fields where objectDefinitionId = ?.
|
static int |
countByODI_DBT_I(long objectDefinitionId,
java.lang.String dbType,
boolean indexed)
Returns the number of object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static int |
countByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName)
Returns the number of object fields where objectDefinitionId = ? and dbTableName = ?.
|
static int |
countByODI_I(long objectDefinitionId,
boolean indexed)
Returns the number of object fields where objectDefinitionId = ? and indexed = ?.
|
static int |
countByODI_L(long objectDefinitionId,
boolean localized)
Returns the number of object fields where objectDefinitionId = ? and localized = ?.
|
static int |
countByODI_N(long objectDefinitionId,
java.lang.String name)
Returns the number of object fields where objectDefinitionId = ? and name = ?.
|
static int |
countByODI_S(long objectDefinitionId,
boolean system)
Returns the number of object fields where objectDefinitionId = ? and system = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object fields where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of object fields where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ObjectField |
create(long objectFieldId)
Creates a new object field with the primary key.
|
static ObjectField |
fetchByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where companyId = ? and userId = ?.
|
static ObjectField |
fetchByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where companyId = ? and userId = ?.
|
static ObjectField |
fetchByERC_C_ODI(java.lang.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. |
static ObjectField |
fetchByERC_C_ODI(java.lang.String externalReferenceCode,
long companyId,
long objectDefinitionId,
boolean useFinderCache)
Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectField |
fetchByListTypeDefinitionId_First(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where listTypeDefinitionId = ?.
|
static ObjectField |
fetchByListTypeDefinitionId_Last(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where listTypeDefinitionId = ?.
|
static ObjectField |
fetchByLTDI_S_First(long listTypeDefinitionId,
boolean state,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where listTypeDefinitionId = ? and state = ?.
|
static ObjectField |
fetchByLTDI_S_Last(long listTypeDefinitionId,
boolean state,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where listTypeDefinitionId = ? and state = ?.
|
static ObjectField |
fetchByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ?.
|
static ObjectField |
fetchByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ?.
|
static ObjectField |
fetchByODI_DBT_I_First(long objectDefinitionId,
java.lang.String dbType,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static ObjectField |
fetchByODI_DBT_I_Last(long objectDefinitionId,
java.lang.String dbType,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static ObjectField |
fetchByODI_DTN_First(long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
static ObjectField |
fetchByODI_DTN_Last(long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
static ObjectField |
fetchByODI_I_First(long objectDefinitionId,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and indexed = ?.
|
static ObjectField |
fetchByODI_I_Last(long objectDefinitionId,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and indexed = ?.
|
static ObjectField |
fetchByODI_L_First(long objectDefinitionId,
boolean localized,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and localized = ?.
|
static ObjectField |
fetchByODI_L_Last(long objectDefinitionId,
boolean localized,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and localized = ?.
|
static ObjectField |
fetchByODI_N(long objectDefinitionId,
java.lang.String name)
Returns the object field where objectDefinitionId = ? and name = ? or returns
null if it could not be found. |
static ObjectField |
fetchByODI_N(long objectDefinitionId,
java.lang.String name,
boolean useFinderCache)
Returns the object field where objectDefinitionId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectField |
fetchByODI_S_First(long objectDefinitionId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and system = ?.
|
static ObjectField |
fetchByODI_S_Last(long objectDefinitionId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and system = ?.
|
static ObjectField |
fetchByPrimaryKey(long objectFieldId)
Returns the object field with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ObjectField> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ObjectField |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where uuid = ? and companyId = ?.
|
static ObjectField |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where uuid = ? and companyId = ?.
|
static ObjectField |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where uuid = ?.
|
static ObjectField |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where uuid = ?.
|
static java.util.List<ObjectField> |
findAll()
Returns all the object fields.
|
static java.util.List<ObjectField> |
findAll(int start,
int end)
Returns a range of all the object fields.
|
static java.util.List<ObjectField> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields.
|
static java.util.List<ObjectField> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields.
|
static ObjectField |
findByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where companyId = ? and userId = ?.
|
static ObjectField |
findByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where companyId = ? and userId = ?.
|
static ObjectField[] |
findByC_U_PrevAndNext(long objectFieldId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where companyId = ? and userId = ?.
|
static java.util.List<ObjectField> |
findByC_U(long companyId,
long userId)
Returns all the object fields where companyId = ? and userId = ?.
|
static java.util.List<ObjectField> |
findByC_U(long companyId,
long userId,
int start,
int end)
Returns a range of all the object fields where companyId = ? and userId = ?.
|
static java.util.List<ObjectField> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where companyId = ? and userId = ?.
|
static java.util.List<ObjectField> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where companyId = ? and userId = ?.
|
static ObjectField |
findByERC_C_ODI(java.lang.String externalReferenceCode,
long companyId,
long objectDefinitionId)
Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws a
NoSuchObjectFieldException if it could not be found. |
static ObjectField |
findByListTypeDefinitionId_First(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where listTypeDefinitionId = ?.
|
static ObjectField |
findByListTypeDefinitionId_Last(long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where listTypeDefinitionId = ?.
|
static ObjectField[] |
findByListTypeDefinitionId_PrevAndNext(long objectFieldId,
long listTypeDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where listTypeDefinitionId = ?.
|
static java.util.List<ObjectField> |
findByListTypeDefinitionId(long listTypeDefinitionId)
Returns all the object fields where listTypeDefinitionId = ?.
|
static java.util.List<ObjectField> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end)
Returns a range of all the object fields where listTypeDefinitionId = ?.
|
static java.util.List<ObjectField> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where listTypeDefinitionId = ?.
|
static java.util.List<ObjectField> |
findByListTypeDefinitionId(long listTypeDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where listTypeDefinitionId = ?.
|
static ObjectField |
findByLTDI_S_First(long listTypeDefinitionId,
boolean state,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where listTypeDefinitionId = ? and state = ?.
|
static ObjectField |
findByLTDI_S_Last(long listTypeDefinitionId,
boolean state,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where listTypeDefinitionId = ? and state = ?.
|
static ObjectField[] |
findByLTDI_S_PrevAndNext(long objectFieldId,
long listTypeDefinitionId,
boolean state,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where listTypeDefinitionId = ? and state = ?.
|
static java.util.List<ObjectField> |
findByLTDI_S(long listTypeDefinitionId,
boolean state)
Returns all the object fields where listTypeDefinitionId = ? and state = ?.
|
static java.util.List<ObjectField> |
findByLTDI_S(long listTypeDefinitionId,
boolean state,
int start,
int end)
Returns a range of all the object fields where listTypeDefinitionId = ? and state = ?.
|
static java.util.List<ObjectField> |
findByLTDI_S(long listTypeDefinitionId,
boolean state,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where listTypeDefinitionId = ? and state = ?.
|
static java.util.List<ObjectField> |
findByLTDI_S(long listTypeDefinitionId,
boolean state,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where listTypeDefinitionId = ? and state = ?.
|
static ObjectField |
findByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ?.
|
static ObjectField |
findByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ?.
|
static ObjectField[] |
findByObjectDefinitionId_PrevAndNext(long objectFieldId,
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ?.
|
static java.util.List<ObjectField> |
findByObjectDefinitionId(long objectDefinitionId)
Returns all the object fields where objectDefinitionId = ?.
|
static java.util.List<ObjectField> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end)
Returns a range of all the object fields where objectDefinitionId = ?.
|
static java.util.List<ObjectField> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where objectDefinitionId = ?.
|
static java.util.List<ObjectField> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where objectDefinitionId = ?.
|
static ObjectField |
findByODI_DBT_I_First(long objectDefinitionId,
java.lang.String dbType,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static ObjectField |
findByODI_DBT_I_Last(long objectDefinitionId,
java.lang.String dbType,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static ObjectField[] |
findByODI_DBT_I_PrevAndNext(long objectFieldId,
long objectDefinitionId,
java.lang.String dbType,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static java.util.List<ObjectField> |
findByODI_DBT_I(long objectDefinitionId,
java.lang.String dbType,
boolean indexed)
Returns all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static java.util.List<ObjectField> |
findByODI_DBT_I(long objectDefinitionId,
java.lang.String dbType,
boolean indexed,
int start,
int end)
Returns a range of all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static java.util.List<ObjectField> |
findByODI_DBT_I(long objectDefinitionId,
java.lang.String dbType,
boolean indexed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static java.util.List<ObjectField> |
findByODI_DBT_I(long objectDefinitionId,
java.lang.String dbType,
boolean indexed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
|
static ObjectField |
findByODI_DTN_First(long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
static ObjectField |
findByODI_DTN_Last(long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
static ObjectField[] |
findByODI_DTN_PrevAndNext(long objectFieldId,
long objectDefinitionId,
java.lang.String dbTableName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
|
static java.util.List<ObjectField> |
findByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName)
Returns all the object fields where objectDefinitionId = ? and dbTableName = ?.
|
static java.util.List<ObjectField> |
findByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName,
int start,
int end)
Returns a range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
|
static java.util.List<ObjectField> |
findByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
|
static java.util.List<ObjectField> |
findByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
|
static ObjectField |
findByODI_I_First(long objectDefinitionId,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and indexed = ?.
|
static ObjectField |
findByODI_I_Last(long objectDefinitionId,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and indexed = ?.
|
static ObjectField[] |
findByODI_I_PrevAndNext(long objectFieldId,
long objectDefinitionId,
boolean indexed,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and indexed = ?.
|
static java.util.List<ObjectField> |
findByODI_I(long objectDefinitionId,
boolean indexed)
Returns all the object fields where objectDefinitionId = ? and indexed = ?.
|
static java.util.List<ObjectField> |
findByODI_I(long objectDefinitionId,
boolean indexed,
int start,
int end)
Returns a range of all the object fields where objectDefinitionId = ? and indexed = ?.
|
static java.util.List<ObjectField> |
findByODI_I(long objectDefinitionId,
boolean indexed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where objectDefinitionId = ? and indexed = ?.
|
static java.util.List<ObjectField> |
findByODI_I(long objectDefinitionId,
boolean indexed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where objectDefinitionId = ? and indexed = ?.
|
static ObjectField |
findByODI_L_First(long objectDefinitionId,
boolean localized,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and localized = ?.
|
static ObjectField |
findByODI_L_Last(long objectDefinitionId,
boolean localized,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and localized = ?.
|
static ObjectField[] |
findByODI_L_PrevAndNext(long objectFieldId,
long objectDefinitionId,
boolean localized,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and localized = ?.
|
static java.util.List<ObjectField> |
findByODI_L(long objectDefinitionId,
boolean localized)
Returns all the object fields where objectDefinitionId = ? and localized = ?.
|
static java.util.List<ObjectField> |
findByODI_L(long objectDefinitionId,
boolean localized,
int start,
int end)
Returns a range of all the object fields where objectDefinitionId = ? and localized = ?.
|
static java.util.List<ObjectField> |
findByODI_L(long objectDefinitionId,
boolean localized,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where objectDefinitionId = ? and localized = ?.
|
static java.util.List<ObjectField> |
findByODI_L(long objectDefinitionId,
boolean localized,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where objectDefinitionId = ? and localized = ?.
|
static ObjectField |
findByODI_N(long objectDefinitionId,
java.lang.String name)
Returns the object field where objectDefinitionId = ? and name = ? or throws a
NoSuchObjectFieldException if it could not be found. |
static ObjectField |
findByODI_S_First(long objectDefinitionId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where objectDefinitionId = ? and system = ?.
|
static ObjectField |
findByODI_S_Last(long objectDefinitionId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where objectDefinitionId = ? and system = ?.
|
static ObjectField[] |
findByODI_S_PrevAndNext(long objectFieldId,
long objectDefinitionId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and system = ?.
|
static java.util.List<ObjectField> |
findByODI_S(long objectDefinitionId,
boolean system)
Returns all the object fields where objectDefinitionId = ? and system = ?.
|
static java.util.List<ObjectField> |
findByODI_S(long objectDefinitionId,
boolean system,
int start,
int end)
Returns a range of all the object fields where objectDefinitionId = ? and system = ?.
|
static java.util.List<ObjectField> |
findByODI_S(long objectDefinitionId,
boolean system,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where objectDefinitionId = ? and system = ?.
|
static java.util.List<ObjectField> |
findByODI_S(long objectDefinitionId,
boolean system,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where objectDefinitionId = ? and system = ?.
|
static ObjectField |
findByPrimaryKey(long objectFieldId)
Returns the object field with the primary key or throws a
NoSuchObjectFieldException if it could not be found. |
static ObjectField |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where uuid = ? and companyId = ?.
|
static ObjectField |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where uuid = ? and companyId = ?.
|
static ObjectField[] |
findByUuid_C_PrevAndNext(long objectFieldId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ObjectField> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object fields where uuid = ? and companyId = ?.
|
static java.util.List<ObjectField> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object fields where uuid = ? and companyId = ?.
|
static java.util.List<ObjectField> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where uuid = ? and companyId = ?.
|
static java.util.List<ObjectField> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where uuid = ? and companyId = ?.
|
static ObjectField |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the first object field in the ordered set where uuid = ?.
|
static ObjectField |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the last object field in the ordered set where uuid = ?.
|
static ObjectField[] |
findByUuid_PrevAndNext(long objectFieldId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns the object fields before and after the current object field in the ordered set where uuid = ?.
|
static java.util.List<ObjectField> |
findByUuid(java.lang.String uuid)
Returns all the object fields where uuid = ?.
|
static java.util.List<ObjectField> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object fields where uuid = ?.
|
static java.util.List<ObjectField> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
Returns an ordered range of all the object fields where uuid = ?.
|
static java.util.List<ObjectField> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object fields where uuid = ?.
|
static java.util.List<ObjectField> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ObjectField> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ObjectField> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) |
static ObjectFieldPersistence |
getPersistence() |
static ObjectField |
remove(long objectFieldId)
Removes the object field with the primary key from the database.
|
static void |
removeAll()
Removes all the object fields from the database.
|
static void |
removeByC_U(long companyId,
long userId)
Removes all the object fields where companyId = ? and userId = ? from the database.
|
static ObjectField |
removeByERC_C_ODI(java.lang.String externalReferenceCode,
long companyId,
long objectDefinitionId)
Removes the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.
|
static void |
removeByListTypeDefinitionId(long listTypeDefinitionId)
Removes all the object fields where listTypeDefinitionId = ? from the database.
|
static void |
removeByLTDI_S(long listTypeDefinitionId,
boolean state)
Removes all the object fields where listTypeDefinitionId = ? and state = ? from the database.
|
static void |
removeByObjectDefinitionId(long objectDefinitionId)
Removes all the object fields where objectDefinitionId = ? from the database.
|
static void |
removeByODI_DBT_I(long objectDefinitionId,
java.lang.String dbType,
boolean indexed)
Removes all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ? from the database.
|
static void |
removeByODI_DTN(long objectDefinitionId,
java.lang.String dbTableName)
Removes all the object fields where objectDefinitionId = ? and dbTableName = ? from the database.
|
static void |
removeByODI_I(long objectDefinitionId,
boolean indexed)
Removes all the object fields where objectDefinitionId = ? and indexed = ? from the database.
|
static void |
removeByODI_L(long objectDefinitionId,
boolean localized)
Removes all the object fields where objectDefinitionId = ? and localized = ? from the database.
|
static ObjectField |
removeByODI_N(long objectDefinitionId,
java.lang.String name)
Removes the object field where objectDefinitionId = ? and name = ? from the database.
|
static void |
removeByODI_S(long objectDefinitionId,
boolean system)
Removes all the object fields where objectDefinitionId = ? and system = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object fields where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the object fields where uuid = ? from the database.
|
static void |
setPersistence(ObjectFieldPersistence persistence) |
static ObjectField |
update(ObjectField objectField) |
static ObjectField |
update(ObjectField objectField,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectField |
updateImpl(ObjectField objectField) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ObjectField objectField)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,ObjectField> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ObjectField> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ObjectField> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ObjectField> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ObjectField update(ObjectField objectField)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ObjectField update(ObjectField objectField, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ObjectField> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectField> findByUuid(java.lang.String uuid, int start, int end)
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
.
uuid
- the uuidstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
uuid
- the uuidstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
uuid
- the uuidstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByUuid_PrevAndNext(long objectFieldId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fielduuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectField> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectField> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
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
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByUuid_C_PrevAndNext(long objectFieldId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fielduuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDpublic static java.util.List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end)
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
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
listTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByListTypeDefinitionId_PrevAndNext(long objectFieldId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldlistTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDpublic static int countByListTypeDefinitionId(long listTypeDefinitionId)
listTypeDefinitionId
- the list type definition IDpublic static java.util.List<ObjectField> findByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDpublic static java.util.List<ObjectField> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
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
.
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByObjectDefinitionId_PrevAndNext(long objectFieldId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDpublic static int countByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDpublic static java.util.List<ObjectField> findByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<ObjectField> findByC_U(long companyId, long userId, int start, int end)
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
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByC_U_PrevAndNext(long objectFieldId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldcompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static int countByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<ObjectField> findByLTDI_S(long listTypeDefinitionId, boolean state)
listTypeDefinitionId
- the list type definition IDstate
- the statepublic static java.util.List<ObjectField> findByLTDI_S(long listTypeDefinitionId, boolean state, int start, int end)
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
.
listTypeDefinitionId
- the list type definition IDstate
- the statestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByLTDI_S(long listTypeDefinitionId, boolean state, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
listTypeDefinitionId
- the list type definition IDstate
- the statestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByLTDI_S(long listTypeDefinitionId, boolean state, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
listTypeDefinitionId
- the list type definition IDstate
- the statestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByLTDI_S_First(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
listTypeDefinitionId
- the list type definition IDstate
- the stateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByLTDI_S_First(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
listTypeDefinitionId
- the list type definition IDstate
- the stateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByLTDI_S_Last(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
listTypeDefinitionId
- the list type definition IDstate
- the stateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByLTDI_S_Last(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
listTypeDefinitionId
- the list type definition IDstate
- the stateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByLTDI_S_PrevAndNext(long objectFieldId, long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldlistTypeDefinitionId
- the list type definition IDstate
- the stateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByLTDI_S(long listTypeDefinitionId, boolean state)
listTypeDefinitionId
- the list type definition IDstate
- the statepublic static int countByLTDI_S(long listTypeDefinitionId, boolean state)
listTypeDefinitionId
- the list type definition IDstate
- the statepublic static java.util.List<ObjectField> findByODI_DTN(long objectDefinitionId, java.lang.String dbTableName)
objectDefinitionId
- the object definition IDdbTableName
- the db table namepublic static java.util.List<ObjectField> findByODI_DTN(long objectDefinitionId, java.lang.String dbTableName, int start, int end)
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
.
objectDefinitionId
- the object definition IDdbTableName
- the db table namestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByODI_DTN(long objectDefinitionId, java.lang.String dbTableName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
objectDefinitionId
- the object definition IDdbTableName
- the db table namestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByODI_DTN(long objectDefinitionId, java.lang.String dbTableName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
objectDefinitionId
- the object definition IDdbTableName
- the db table namestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByODI_DTN_First(long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_DTN_First(long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByODI_DTN_Last(long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_DTN_Last(long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByODI_DTN_PrevAndNext(long objectFieldId, long objectDefinitionId, java.lang.String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldobjectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByODI_DTN(long objectDefinitionId, java.lang.String dbTableName)
objectDefinitionId
- the object definition IDdbTableName
- the db table namepublic static int countByODI_DTN(long objectDefinitionId, java.lang.String dbTableName)
objectDefinitionId
- the object definition IDdbTableName
- the db table namepublic static java.util.List<ObjectField> findByODI_I(long objectDefinitionId, boolean indexed)
objectDefinitionId
- the object definition IDindexed
- the indexedpublic static java.util.List<ObjectField> findByODI_I(long objectDefinitionId, boolean indexed, int start, int end)
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
.
objectDefinitionId
- the object definition IDindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByODI_I(long objectDefinitionId, boolean indexed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
objectDefinitionId
- the object definition IDindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByODI_I(long objectDefinitionId, boolean indexed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
objectDefinitionId
- the object definition IDindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByODI_I_First(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_I_First(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByODI_I_Last(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_I_Last(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByODI_I_PrevAndNext(long objectFieldId, long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldobjectDefinitionId
- the object definition IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByODI_I(long objectDefinitionId, boolean indexed)
objectDefinitionId
- the object definition IDindexed
- the indexedpublic static int countByODI_I(long objectDefinitionId, boolean indexed)
objectDefinitionId
- the object definition IDindexed
- the indexedpublic static java.util.List<ObjectField> findByODI_L(long objectDefinitionId, boolean localized)
objectDefinitionId
- the object definition IDlocalized
- the localizedpublic static java.util.List<ObjectField> findByODI_L(long objectDefinitionId, boolean localized, int start, int end)
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
.
objectDefinitionId
- the object definition IDlocalized
- the localizedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByODI_L(long objectDefinitionId, boolean localized, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
objectDefinitionId
- the object definition IDlocalized
- the localizedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByODI_L(long objectDefinitionId, boolean localized, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
objectDefinitionId
- the object definition IDlocalized
- the localizedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByODI_L_First(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_L_First(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByODI_L_Last(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_L_Last(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByODI_L_PrevAndNext(long objectFieldId, long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldobjectDefinitionId
- the object definition IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByODI_L(long objectDefinitionId, boolean localized)
objectDefinitionId
- the object definition IDlocalized
- the localizedpublic static int countByODI_L(long objectDefinitionId, boolean localized)
objectDefinitionId
- the object definition IDlocalized
- the localizedpublic static ObjectField findByODI_N(long objectDefinitionId, java.lang.String name) throws NoSuchObjectFieldException
NoSuchObjectFieldException
if it could not be found.objectDefinitionId
- the object definition IDname
- the nameNoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_N(long objectDefinitionId, java.lang.String name)
null
if it could not be found. Uses the finder cache.objectDefinitionId
- the object definition IDname
- the namenull
if a matching object field could not be foundpublic static ObjectField fetchByODI_N(long objectDefinitionId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.objectDefinitionId
- the object definition IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching object field could not be foundpublic static ObjectField removeByODI_N(long objectDefinitionId, java.lang.String name) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDname
- the nameNoSuchObjectFieldException
public static int countByODI_N(long objectDefinitionId, java.lang.String name)
objectDefinitionId
- the object definition IDname
- the namepublic static java.util.List<ObjectField> findByODI_S(long objectDefinitionId, boolean system)
objectDefinitionId
- the object definition IDsystem
- the systempublic static java.util.List<ObjectField> findByODI_S(long objectDefinitionId, boolean system, int start, int end)
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
.
objectDefinitionId
- the object definition IDsystem
- the systemstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByODI_S(long objectDefinitionId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
objectDefinitionId
- the object definition IDsystem
- the systemstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByODI_S(long objectDefinitionId, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
objectDefinitionId
- the object definition IDsystem
- the systemstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByODI_S_First(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_S_First(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByODI_S_Last(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_S_Last(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByODI_S_PrevAndNext(long objectFieldId, long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldobjectDefinitionId
- the object definition IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByODI_S(long objectDefinitionId, boolean system)
objectDefinitionId
- the object definition IDsystem
- the systempublic static int countByODI_S(long objectDefinitionId, boolean system)
objectDefinitionId
- the object definition IDsystem
- the systempublic static ObjectField findByERC_C_ODI(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectFieldException
NoSuchObjectFieldException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition IDNoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByERC_C_ODI(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition IDnull
if a matching object field could not be foundpublic static ObjectField fetchByERC_C_ODI(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition IDuseFinderCache
- whether to use the finder cachenull
if a matching object field could not be foundpublic static ObjectField removeByERC_C_ODI(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectFieldException
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition IDNoSuchObjectFieldException
public static int countByERC_C_ODI(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId)
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition IDpublic static java.util.List<ObjectField> findByODI_DBT_I(long objectDefinitionId, java.lang.String dbType, boolean indexed)
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedpublic static java.util.List<ObjectField> findByODI_DBT_I(long objectDefinitionId, java.lang.String dbType, boolean indexed, int start, int end)
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
.
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findByODI_DBT_I(long objectDefinitionId, java.lang.String dbType, boolean indexed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findByODI_DBT_I(long objectDefinitionId, java.lang.String dbType, boolean indexed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectField findByODI_DBT_I_First(long objectDefinitionId, java.lang.String dbType, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_DBT_I_First(long objectDefinitionId, java.lang.String dbType, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField findByODI_DBT_I_Last(long objectDefinitionId, java.lang.String dbType, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a matching object field could not be foundpublic static ObjectField fetchByODI_DBT_I_Last(long objectDefinitionId, java.lang.String dbType, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field could not be foundpublic static ObjectField[] findByODI_DBT_I_PrevAndNext(long objectFieldId, long objectDefinitionId, java.lang.String dbType, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the current object fieldobjectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static void removeByODI_DBT_I(long objectDefinitionId, java.lang.String dbType, boolean indexed)
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedpublic static int countByODI_DBT_I(long objectDefinitionId, java.lang.String dbType, boolean indexed)
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedpublic static void cacheResult(ObjectField objectField)
objectField
- the object fieldpublic static void cacheResult(java.util.List<ObjectField> objectFields)
objectFields
- the object fieldspublic static ObjectField create(long objectFieldId)
objectFieldId
- the primary key for the new object fieldpublic static ObjectField remove(long objectFieldId) throws NoSuchObjectFieldException
objectFieldId
- the primary key of the object fieldNoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static ObjectField updateImpl(ObjectField objectField)
public static ObjectField findByPrimaryKey(long objectFieldId) throws NoSuchObjectFieldException
NoSuchObjectFieldException
if it could not be found.objectFieldId
- the primary key of the object fieldNoSuchObjectFieldException
- if a object field with the primary key could not be foundpublic static ObjectField fetchByPrimaryKey(long objectFieldId)
null
if it could not be found.objectFieldId
- the primary key of the object fieldnull
if a object field with the primary key could not be foundpublic static java.util.List<ObjectField> findAll()
public static java.util.List<ObjectField> findAll(int start, int end)
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
.
start
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)public static java.util.List<ObjectField> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
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
.
start
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectField> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
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
.
start
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static ObjectFieldPersistence getPersistence()
public static void setPersistence(ObjectFieldPersistence persistence)