Class ObjectFieldUtil

java.lang.Object
com.liferay.object.service.persistence.ObjectFieldUtil

public class ObjectFieldUtil extends Object
The persistence utility for the object field service. This utility wraps 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

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(ObjectField objectField)
    Caches the object field in the entity cache if it is enabled.
    static void
    cacheResult(List<ObjectField> objectFields)
    Caches the object fields in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(ObjectField objectField)
     
    static int
    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
    countByCompanyId(long companyId)
    Returns the number of object fields where companyId = ?.
    static int
    countByERC_C_ODI(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_BT(long objectDefinitionId, String businessType)
    Returns the number of object fields where objectDefinitionId = ? and businessType = ?.
    static int
    countByODI_DBT_I(long objectDefinitionId, String dbType, boolean indexed)
    Returns the number of object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
    static int
    countByODI_DTN(long objectDefinitionId, 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, 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
    Returns the number of object fields where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object fields where uuid = ? and companyId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long objectFieldId)
    Creates a new object field with the primary key.
    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 = ?.
    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 = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the last object field in the ordered set where companyId = ?.
    fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId)
    Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found.
    fetchByERC_C_ODI(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.
    fetchByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where listTypeDefinitionId = ?.
    fetchByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the last object field in the ordered set where listTypeDefinitionId = ?.
    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 = ?.
    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 = ?.
    fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where objectDefinitionId = ?.
    fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the last object field in the ordered set where objectDefinitionId = ?.
    fetchByODI_BT_First(long objectDefinitionId, String businessType, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where objectDefinitionId = ? and businessType = ?.
    fetchByODI_BT_Last(long objectDefinitionId, String businessType, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the last object field in the ordered set where objectDefinitionId = ? and businessType = ?.
    fetchByODI_DBT_I_First(long objectDefinitionId, 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 = ?.
    fetchByODI_DBT_I_Last(long objectDefinitionId, 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 = ?.
    fetchByODI_DTN_First(long objectDefinitionId, String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
    fetchByODI_DTN_Last(long objectDefinitionId, String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the last object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByODI_N(long objectDefinitionId, String name)
    Returns the object field where objectDefinitionId = ? and name = ? or returns null if it could not be found.
    fetchByODI_N(long objectDefinitionId, 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.
    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 = ?.
    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 = ?.
    fetchByPrimaryKey(long objectFieldId)
    Returns the object field with the primary key or returns null if it could not be found.
     
    fetchByUuid_C_First(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 = ?.
    fetchByUuid_C_Last(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 = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the last object field in the ordered set where uuid = ?.
    Returns all the object fields.
    findAll(int start, int end)
    Returns a range of all the object fields.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns an ordered range of all the object fields.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object fields.
    findByC_U(long companyId, long userId)
    Returns all the object fields where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end)
    Returns a range of all the object fields where companyId = ? and userId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByCompanyId(long companyId)
    Returns all the object fields where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the object fields where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns an ordered range of all the object fields where companyId = ?.
    findByCompanyId(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 companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the last object field in the ordered set where companyId = ?.
    static ObjectField[]
    findByCompanyId_PrevAndNext(long objectFieldId, 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 companyId = ?.
    findByERC_C_ODI(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.
    findByListTypeDefinitionId(long listTypeDefinitionId)
    Returns all the object fields where listTypeDefinitionId = ?.
    findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end)
    Returns a range of all the object fields where listTypeDefinitionId = ?.
    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 = ?.
    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 = ?.
    findByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where listTypeDefinitionId = ?.
    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 = ?.
    findByLTDI_S(long listTypeDefinitionId, boolean state)
    Returns all the object fields where listTypeDefinitionId = ? and state = ?.
    findByLTDI_S(long listTypeDefinitionId, boolean state, int start, int end)
    Returns a range of all the object fields where listTypeDefinitionId = ? and state = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByObjectDefinitionId(long objectDefinitionId)
    Returns all the object fields where objectDefinitionId = ?.
    findByObjectDefinitionId(long objectDefinitionId, int start, int end)
    Returns a range of all the object fields where objectDefinitionId = ?.
    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 = ?.
    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 = ?.
    findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where objectDefinitionId = ?.
    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 = ?.
    findByODI_BT(long objectDefinitionId, String businessType)
    Returns all the object fields where objectDefinitionId = ? and businessType = ?.
    findByODI_BT(long objectDefinitionId, String businessType, int start, int end)
    Returns a range of all the object fields where objectDefinitionId = ? and businessType = ?.
    findByODI_BT(long objectDefinitionId, String businessType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns an ordered range of all the object fields where objectDefinitionId = ? and businessType = ?.
    findByODI_BT(long objectDefinitionId, String businessType, 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 businessType = ?.
    findByODI_BT_First(long objectDefinitionId, String businessType, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where objectDefinitionId = ? and businessType = ?.
    findByODI_BT_Last(long objectDefinitionId, String businessType, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the last object field in the ordered set where objectDefinitionId = ? and businessType = ?.
    static ObjectField[]
    findByODI_BT_PrevAndNext(long objectFieldId, long objectDefinitionId, String businessType, 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 businessType = ?.
    findByODI_DBT_I(long objectDefinitionId, String dbType, boolean indexed)
    Returns all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
    findByODI_DBT_I(long objectDefinitionId, String dbType, boolean indexed, int start, int end)
    Returns a range of all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
    findByODI_DBT_I(long objectDefinitionId, 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 = ?.
    findByODI_DBT_I(long objectDefinitionId, 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 = ?.
    findByODI_DBT_I_First(long objectDefinitionId, 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 = ?.
    findByODI_DBT_I_Last(long objectDefinitionId, 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, 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 = ?.
    findByODI_DTN(long objectDefinitionId, String dbTableName)
    Returns all the object fields where objectDefinitionId = ? and dbTableName = ?.
    findByODI_DTN(long objectDefinitionId, String dbTableName, int start, int end)
    Returns a range of all the object fields where objectDefinitionId = ? and dbTableName = ?.
    findByODI_DTN(long objectDefinitionId, 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 = ?.
    findByODI_DTN(long objectDefinitionId, 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 = ?.
    findByODI_DTN_First(long objectDefinitionId, String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
    findByODI_DTN_Last(long objectDefinitionId, 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, 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 = ?.
    findByODI_I(long objectDefinitionId, boolean indexed)
    Returns all the object fields where objectDefinitionId = ? and indexed = ?.
    findByODI_I(long objectDefinitionId, boolean indexed, int start, int end)
    Returns a range of all the object fields where objectDefinitionId = ? and indexed = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByODI_L(long objectDefinitionId, boolean localized)
    Returns all the object fields where objectDefinitionId = ? and localized = ?.
    findByODI_L(long objectDefinitionId, boolean localized, int start, int end)
    Returns a range of all the object fields where objectDefinitionId = ? and localized = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByODI_N(long objectDefinitionId, String name)
    Returns the object field where objectDefinitionId = ? and name = ? or throws a NoSuchObjectFieldException if it could not be found.
    findByODI_S(long objectDefinitionId, boolean system)
    Returns all the object fields where objectDefinitionId = ? and system = ?.
    findByODI_S(long objectDefinitionId, boolean system, int start, int end)
    Returns a range of all the object fields where objectDefinitionId = ? and system = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByPrimaryKey(long objectFieldId)
    Returns the object field with the primary key or throws a NoSuchObjectFieldException if it could not be found.
    Returns all the object fields where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object fields where uuid = ?.
    findByUuid(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 = ?.
    findByUuid(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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object fields where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object fields where uuid = ? and companyId = ?.
    findByUuid_C(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 = ?.
    findByUuid_C(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 = ?.
    findByUuid_C_First(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 = ?.
    findByUuid_C_Last(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, 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 = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
    Returns the first object field in the ordered set where uuid = ?.
    findByUuid_Last(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, 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 = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
     
     
    remove(long objectFieldId)
    Removes the object field with the primary key from the database.
    static void
    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 void
    removeByCompanyId(long companyId)
    Removes all the object fields where companyId = ? from the database.
    removeByERC_C_ODI(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_BT(long objectDefinitionId, String businessType)
    Removes all the object fields where objectDefinitionId = ? and businessType = ? from the database.
    static void
    removeByODI_DBT_I(long objectDefinitionId, String dbType, boolean indexed)
    Removes all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ? from the database.
    static void
    removeByODI_DTN(long objectDefinitionId, 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.
    removeByODI_N(long objectDefinitionId, 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
    Removes all the object fields where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object fields where uuid = ? and companyId = ? from the database.
    static void
     
    update(ObjectField objectField)
     
    update(ObjectField objectField, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(ObjectField objectField)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObjectFieldUtil

      public ObjectFieldUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(ObjectField objectField)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,ObjectField> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<ObjectField> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<ObjectField> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<ObjectField> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static ObjectField update(ObjectField objectField)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static ObjectField update(ObjectField objectField, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<ObjectField> findByUuid(String uuid)
      Returns all the object fields where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object fields
    • findByUuid

      public static List<ObjectField> findByUuid(String uuid, int start, int end)
      Returns a range of all the object fields where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByUuid

      public static List<ObjectField> findByUuid(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 = ?.

      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.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByUuid

      public static List<ObjectField> findByUuid(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 = ?.

      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.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByUuid_First

      public static ObjectField findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByUuid_First

      public static ObjectField fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns the first object field in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByUuid_Last

      public static ObjectField findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByUuid_Last

      public static ObjectField fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns the last object field in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByUuid_PrevAndNext

      public static ObjectField[] findByUuid_PrevAndNext(long objectFieldId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where uuid = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the object fields where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of object fields where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching object fields
    • findByUuid_C

      public static List<ObjectField> findByUuid_C(String uuid, long companyId)
      Returns all the object fields where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching object fields
    • findByUuid_C

      public static List<ObjectField> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object fields where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByUuid_C

      public static List<ObjectField> findByUuid_C(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 = ?.

      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.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByUuid_C

      public static List<ObjectField> findByUuid_C(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 = ?.

      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.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByUuid_C_First

      public static ObjectField findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByUuid_C_First

      public static ObjectField fetchByUuid_C_First(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 = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByUuid_C_Last

      public static ObjectField findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByUuid_C_Last

      public static ObjectField fetchByUuid_C_Last(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 = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByUuid_C_PrevAndNext

      public static ObjectField[] findByUuid_C_PrevAndNext(long objectFieldId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the object fields where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of object fields where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object fields
    • findByCompanyId

      public static List<ObjectField> findByCompanyId(long companyId)
      Returns all the object fields where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching object fields
    • findByCompanyId

      public static List<ObjectField> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the object fields where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByCompanyId

      public static List<ObjectField> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns an ordered range of all the object fields where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByCompanyId

      public static List<ObjectField> findByCompanyId(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 companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByCompanyId_First

      public static ObjectField findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByCompanyId_First

      public static ObjectField fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns the first object field in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByCompanyId_Last

      public static ObjectField findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByCompanyId_Last

      public static ObjectField fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns the last object field in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByCompanyId_PrevAndNext

      public static ObjectField[] findByCompanyId_PrevAndNext(long objectFieldId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where companyId = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the object fields where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of object fields where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching object fields
    • findByListTypeDefinitionId

      public static List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId)
      Returns all the object fields where listTypeDefinitionId = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      Returns:
      the matching object fields
    • findByListTypeDefinitionId

      public static List<ObjectField> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end)
      Returns a range of all the object fields where listTypeDefinitionId = ?.

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

      Parameters:
      listTypeDefinitionId - the list type definition ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByListTypeDefinitionId

      public static 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 = ?.

      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.

      Parameters:
      listTypeDefinitionId - the list type definition ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByListTypeDefinitionId

      public static 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 = ?.

      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.

      Parameters:
      listTypeDefinitionId - the list type definition ID
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByListTypeDefinitionId_First

      public static ObjectField findByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where listTypeDefinitionId = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByListTypeDefinitionId_First

      public 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 = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByListTypeDefinitionId_Last

      public static ObjectField findByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where listTypeDefinitionId = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByListTypeDefinitionId_Last

      public 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 = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByListTypeDefinitionId_PrevAndNext

      public static ObjectField[] findByListTypeDefinitionId_PrevAndNext(long objectFieldId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where listTypeDefinitionId = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      listTypeDefinitionId - the list type definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByListTypeDefinitionId

      public static void removeByListTypeDefinitionId(long listTypeDefinitionId)
      Removes all the object fields where listTypeDefinitionId = ? from the database.
      Parameters:
      listTypeDefinitionId - the list type definition ID
    • countByListTypeDefinitionId

      public static int countByListTypeDefinitionId(long listTypeDefinitionId)
      Returns the number of object fields where listTypeDefinitionId = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      Returns:
      the number of matching object fields
    • findByObjectDefinitionId

      public static List<ObjectField> findByObjectDefinitionId(long objectDefinitionId)
      Returns all the object fields where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the matching object fields
    • findByObjectDefinitionId

      public static List<ObjectField> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
      Returns a range of all the object fields where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByObjectDefinitionId

      public static 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByObjectDefinitionId

      public static 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByObjectDefinitionId_First

      public static ObjectField findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByObjectDefinitionId_First

      public 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByObjectDefinitionId_Last

      public static ObjectField findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByObjectDefinitionId_Last

      public 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByObjectDefinitionId_PrevAndNext

      public static ObjectField[] findByObjectDefinitionId_PrevAndNext(long objectFieldId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByObjectDefinitionId

      public static void removeByObjectDefinitionId(long objectDefinitionId)
      Removes all the object fields where objectDefinitionId = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
    • countByObjectDefinitionId

      public static int countByObjectDefinitionId(long objectDefinitionId)
      Returns the number of object fields where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object fields
    • findByC_U

      public static List<ObjectField> findByC_U(long companyId, long userId)
      Returns all the object fields where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching object fields
    • findByC_U

      public static List<ObjectField> findByC_U(long companyId, long userId, int start, int end)
      Returns a range of all the object fields where companyId = ? and userId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByC_U

      public static 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 = ?.

      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.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByC_U

      public static 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 = ?.

      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.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByC_U_First

      public static ObjectField findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByC_U_First

      public 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 = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByC_U_Last

      public static ObjectField findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByC_U_Last

      public 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 = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByC_U_PrevAndNext

      public static ObjectField[] findByC_U_PrevAndNext(long objectFieldId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where companyId = ? and userId = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByC_U

      public static void removeByC_U(long companyId, long userId)
      Removes all the object fields where companyId = ? and userId = ? from the database.
      Parameters:
      companyId - the company ID
      userId - the user ID
    • countByC_U

      public static int countByC_U(long companyId, long userId)
      Returns the number of object fields where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the number of matching object fields
    • findByLTDI_S

      public static List<ObjectField> findByLTDI_S(long listTypeDefinitionId, boolean state)
      Returns all the object fields where listTypeDefinitionId = ? and state = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
      Returns:
      the matching object fields
    • findByLTDI_S

      public static List<ObjectField> findByLTDI_S(long listTypeDefinitionId, boolean state, int start, int end)
      Returns a range of all the object fields where listTypeDefinitionId = ? and state = ?.

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

      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByLTDI_S

      public static 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 = ?.

      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.

      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByLTDI_S

      public static 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 = ?.

      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.

      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByLTDI_S_First

      public static ObjectField findByLTDI_S_First(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where listTypeDefinitionId = ? and state = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByLTDI_S_First

      public 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 = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByLTDI_S_Last

      public static ObjectField findByLTDI_S_Last(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where listTypeDefinitionId = ? and state = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByLTDI_S_Last

      public 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 = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByLTDI_S_PrevAndNext

      public static ObjectField[] findByLTDI_S_PrevAndNext(long objectFieldId, long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where listTypeDefinitionId = ? and state = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      listTypeDefinitionId - the list type definition ID
      state - the state
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByLTDI_S

      public static void removeByLTDI_S(long listTypeDefinitionId, boolean state)
      Removes all the object fields where listTypeDefinitionId = ? and state = ? from the database.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
    • countByLTDI_S

      public static int countByLTDI_S(long listTypeDefinitionId, boolean state)
      Returns the number of object fields where listTypeDefinitionId = ? and state = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      state - the state
      Returns:
      the number of matching object fields
    • findByODI_BT

      public static List<ObjectField> findByODI_BT(long objectDefinitionId, String businessType)
      Returns all the object fields where objectDefinitionId = ? and businessType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
      Returns:
      the matching object fields
    • findByODI_BT

      public static List<ObjectField> findByODI_BT(long objectDefinitionId, String businessType, int start, int end)
      Returns a range of all the object fields where objectDefinitionId = ? and businessType = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByODI_BT

      public static List<ObjectField> findByODI_BT(long objectDefinitionId, String businessType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns an ordered range of all the object fields where objectDefinitionId = ? and businessType = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByODI_BT

      public static List<ObjectField> findByODI_BT(long objectDefinitionId, String businessType, 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 businessType = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByODI_BT_First

      public static ObjectField findByODI_BT_First(long objectDefinitionId, String businessType, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where objectDefinitionId = ? and businessType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_BT_First

      public static ObjectField fetchByODI_BT_First(long objectDefinitionId, String businessType, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns the first object field in the ordered set where objectDefinitionId = ? and businessType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByODI_BT_Last

      public static ObjectField findByODI_BT_Last(long objectDefinitionId, String businessType, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where objectDefinitionId = ? and businessType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_BT_Last

      public static ObjectField fetchByODI_BT_Last(long objectDefinitionId, String businessType, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns the last object field in the ordered set where objectDefinitionId = ? and businessType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByODI_BT_PrevAndNext

      public static ObjectField[] findByODI_BT_PrevAndNext(long objectFieldId, long objectDefinitionId, String businessType, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and businessType = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      objectDefinitionId - the object definition ID
      businessType - the business type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByODI_BT

      public static void removeByODI_BT(long objectDefinitionId, String businessType)
      Removes all the object fields where objectDefinitionId = ? and businessType = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
    • countByODI_BT

      public static int countByODI_BT(long objectDefinitionId, String businessType)
      Returns the number of object fields where objectDefinitionId = ? and businessType = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      businessType - the business type
      Returns:
      the number of matching object fields
    • findByODI_DTN

      public static List<ObjectField> findByODI_DTN(long objectDefinitionId, String dbTableName)
      Returns all the object fields where objectDefinitionId = ? and dbTableName = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      Returns:
      the matching object fields
    • findByODI_DTN

      public static List<ObjectField> findByODI_DTN(long objectDefinitionId, String dbTableName, int start, int end)
      Returns a range of all the object fields where objectDefinitionId = ? and dbTableName = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByODI_DTN

      public static List<ObjectField> findByODI_DTN(long objectDefinitionId, 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByODI_DTN

      public static List<ObjectField> findByODI_DTN(long objectDefinitionId, 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByODI_DTN_First

      public static ObjectField findByODI_DTN_First(long objectDefinitionId, String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_DTN_First

      public static ObjectField fetchByODI_DTN_First(long objectDefinitionId, String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns the first object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByODI_DTN_Last

      public static ObjectField findByODI_DTN_Last(long objectDefinitionId, String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_DTN_Last

      public static ObjectField fetchByODI_DTN_Last(long objectDefinitionId, String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns the last object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByODI_DTN_PrevAndNext

      public static ObjectField[] findByODI_DTN_PrevAndNext(long objectFieldId, long objectDefinitionId, String dbTableName, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and dbTableName = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByODI_DTN

      public static void removeByODI_DTN(long objectDefinitionId, String dbTableName)
      Removes all the object fields where objectDefinitionId = ? and dbTableName = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
    • countByODI_DTN

      public static int countByODI_DTN(long objectDefinitionId, String dbTableName)
      Returns the number of object fields where objectDefinitionId = ? and dbTableName = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbTableName - the db table name
      Returns:
      the number of matching object fields
    • findByODI_I

      public static List<ObjectField> findByODI_I(long objectDefinitionId, boolean indexed)
      Returns all the object fields where objectDefinitionId = ? and indexed = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
      Returns:
      the matching object fields
    • findByODI_I

      public static List<ObjectField> findByODI_I(long objectDefinitionId, boolean indexed, int start, int end)
      Returns a range of all the object fields where objectDefinitionId = ? and indexed = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByODI_I

      public static 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByODI_I

      public static 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByODI_I_First

      public static ObjectField findByODI_I_First(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where objectDefinitionId = ? and indexed = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_I_First

      public 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByODI_I_Last

      public static ObjectField findByODI_I_Last(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where objectDefinitionId = ? and indexed = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_I_Last

      public 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByODI_I_PrevAndNext

      public static ObjectField[] findByODI_I_PrevAndNext(long objectFieldId, long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and indexed = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      objectDefinitionId - the object definition ID
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByODI_I

      public static void removeByODI_I(long objectDefinitionId, boolean indexed)
      Removes all the object fields where objectDefinitionId = ? and indexed = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
    • countByODI_I

      public static int countByODI_I(long objectDefinitionId, boolean indexed)
      Returns the number of object fields where objectDefinitionId = ? and indexed = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      indexed - the indexed
      Returns:
      the number of matching object fields
    • findByODI_L

      public static List<ObjectField> findByODI_L(long objectDefinitionId, boolean localized)
      Returns all the object fields where objectDefinitionId = ? and localized = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
      Returns:
      the matching object fields
    • findByODI_L

      public static List<ObjectField> findByODI_L(long objectDefinitionId, boolean localized, int start, int end)
      Returns a range of all the object fields where objectDefinitionId = ? and localized = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByODI_L

      public static 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByODI_L

      public static 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByODI_L_First

      public static ObjectField findByODI_L_First(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where objectDefinitionId = ? and localized = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_L_First

      public 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByODI_L_Last

      public static ObjectField findByODI_L_Last(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where objectDefinitionId = ? and localized = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_L_Last

      public 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByODI_L_PrevAndNext

      public static ObjectField[] findByODI_L_PrevAndNext(long objectFieldId, long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and localized = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      objectDefinitionId - the object definition ID
      localized - the localized
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByODI_L

      public static void removeByODI_L(long objectDefinitionId, boolean localized)
      Removes all the object fields where objectDefinitionId = ? and localized = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
    • countByODI_L

      public static int countByODI_L(long objectDefinitionId, boolean localized)
      Returns the number of object fields where objectDefinitionId = ? and localized = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      localized - the localized
      Returns:
      the number of matching object fields
    • findByODI_N

      public static ObjectField findByODI_N(long objectDefinitionId, String name) throws NoSuchObjectFieldException
      Returns the object field where objectDefinitionId = ? and name = ? or throws a NoSuchObjectFieldException if it could not be found.
      Parameters:
      objectDefinitionId - the object definition ID
      name - the name
      Returns:
      the matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_N

      public static ObjectField fetchByODI_N(long objectDefinitionId, String name)
      Returns the object field where objectDefinitionId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      objectDefinitionId - the object definition ID
      name - the name
      Returns:
      the matching object field, or null if a matching object field could not be found
    • fetchByODI_N

      public static ObjectField fetchByODI_N(long objectDefinitionId, 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.
      Parameters:
      objectDefinitionId - the object definition ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object field, or null if a matching object field could not be found
    • removeByODI_N

      public static ObjectField removeByODI_N(long objectDefinitionId, String name) throws NoSuchObjectFieldException
      Removes the object field where objectDefinitionId = ? and name = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      name - the name
      Returns:
      the object field that was removed
      Throws:
      NoSuchObjectFieldException
    • countByODI_N

      public static int countByODI_N(long objectDefinitionId, String name)
      Returns the number of object fields where objectDefinitionId = ? and name = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      name - the name
      Returns:
      the number of matching object fields
    • findByODI_S

      public static List<ObjectField> findByODI_S(long objectDefinitionId, boolean system)
      Returns all the object fields where objectDefinitionId = ? and system = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
      Returns:
      the matching object fields
    • findByODI_S

      public static List<ObjectField> findByODI_S(long objectDefinitionId, boolean system, int start, int end)
      Returns a range of all the object fields where objectDefinitionId = ? and system = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByODI_S

      public static 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByODI_S

      public static 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByODI_S_First

      public static ObjectField findByODI_S_First(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where objectDefinitionId = ? and system = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_S_First

      public 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByODI_S_Last

      public static ObjectField findByODI_S_Last(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where objectDefinitionId = ? and system = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_S_Last

      public 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByODI_S_PrevAndNext

      public static ObjectField[] findByODI_S_PrevAndNext(long objectFieldId, long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and system = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      objectDefinitionId - the object definition ID
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByODI_S

      public static void removeByODI_S(long objectDefinitionId, boolean system)
      Removes all the object fields where objectDefinitionId = ? and system = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
    • countByODI_S

      public static int countByODI_S(long objectDefinitionId, boolean system)
      Returns the number of object fields where objectDefinitionId = ? and system = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      system - the system
      Returns:
      the number of matching object fields
    • findByERC_C_ODI

      public static ObjectField findByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectFieldException
      Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws a NoSuchObjectFieldException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByERC_C_ODI

      public static ObjectField fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId)
      Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the matching object field, or null if a matching object field could not be found
    • fetchByERC_C_ODI

      public static ObjectField fetchByERC_C_ODI(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.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object field, or null if a matching object field could not be found
    • removeByERC_C_ODI

      public static ObjectField removeByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectFieldException
      Removes the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the object field that was removed
      Throws:
      NoSuchObjectFieldException
    • countByERC_C_ODI

      public static int countByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId)
      Returns the number of object fields where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object fields
    • findByODI_DBT_I

      public static List<ObjectField> findByODI_DBT_I(long objectDefinitionId, String dbType, boolean indexed)
      Returns all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      Returns:
      the matching object fields
    • findByODI_DBT_I

      public static List<ObjectField> findByODI_DBT_I(long objectDefinitionId, String dbType, boolean indexed, int start, int end)
      Returns a range of all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of matching object fields
    • findByODI_DBT_I

      public static List<ObjectField> findByODI_DBT_I(long objectDefinitionId, 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object fields
    • findByODI_DBT_I

      public static List<ObjectField> findByODI_DBT_I(long objectDefinitionId, 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 = ?.

      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.

      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of matching object fields
    • findByODI_DBT_I_First

      public static ObjectField findByODI_DBT_I_First(long objectDefinitionId, String dbType, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the first object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_DBT_I_First

      public static ObjectField fetchByODI_DBT_I_First(long objectDefinitionId, 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object field, or null if a matching object field could not be found
    • findByODI_DBT_I_Last

      public static ObjectField findByODI_DBT_I_Last(long objectDefinitionId, String dbType, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the last object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field
      Throws:
      NoSuchObjectFieldException - if a matching object field could not be found
      NoSuchObjectFieldException
    • fetchByODI_DBT_I_Last

      public static ObjectField fetchByODI_DBT_I_Last(long objectDefinitionId, 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 = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object field, or null if a matching object field could not be found
    • findByODI_DBT_I_PrevAndNext

      public static ObjectField[] findByODI_DBT_I_PrevAndNext(long objectFieldId, long objectDefinitionId, String dbType, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) throws NoSuchObjectFieldException
      Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and dbType = ? and indexed = ?.
      Parameters:
      objectFieldId - the primary key of the current object field
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • removeByODI_DBT_I

      public static void removeByODI_DBT_I(long objectDefinitionId, String dbType, boolean indexed)
      Removes all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
    • countByODI_DBT_I

      public static int countByODI_DBT_I(long objectDefinitionId, String dbType, boolean indexed)
      Returns the number of object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      dbType - the db type
      indexed - the indexed
      Returns:
      the number of matching object fields
    • cacheResult

      public static void cacheResult(ObjectField objectField)
      Caches the object field in the entity cache if it is enabled.
      Parameters:
      objectField - the object field
    • cacheResult

      public static void cacheResult(List<ObjectField> objectFields)
      Caches the object fields in the entity cache if it is enabled.
      Parameters:
      objectFields - the object fields
    • create

      public static ObjectField create(long objectFieldId)
      Creates a new object field with the primary key. Does not add the object field to the database.
      Parameters:
      objectFieldId - the primary key for the new object field
      Returns:
      the new object field
    • remove

      public static ObjectField remove(long objectFieldId) throws NoSuchObjectFieldException
      Removes the object field with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      objectFieldId - the primary key of the object field
      Returns:
      the object field that was removed
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • updateImpl

      public static ObjectField updateImpl(ObjectField objectField)
    • findByPrimaryKey

      public static ObjectField findByPrimaryKey(long objectFieldId) throws NoSuchObjectFieldException
      Returns the object field with the primary key or throws a NoSuchObjectFieldException if it could not be found.
      Parameters:
      objectFieldId - the primary key of the object field
      Returns:
      the object field
      Throws:
      NoSuchObjectFieldException - if a object field with the primary key could not be found
      NoSuchObjectFieldException
    • fetchByPrimaryKey

      public static ObjectField fetchByPrimaryKey(long objectFieldId)
      Returns the object field with the primary key or returns null if it could not be found.
      Parameters:
      objectFieldId - the primary key of the object field
      Returns:
      the object field, or null if a object field with the primary key could not be found
    • findAll

      public static List<ObjectField> findAll()
      Returns all the object fields.
      Returns:
      the object fields
    • findAll

      public static List<ObjectField> findAll(int start, int end)
      Returns a range of all the object fields.

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

      Parameters:
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      Returns:
      the range of object fields
    • findAll

      public static List<ObjectField> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator)
      Returns an ordered range of all the object fields.

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

      Parameters:
      start - the lower bound of the range of object fields
      end - the upper bound of the range of object fields (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of object fields
    • findAll

      public static 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.

      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.

      Parameters:
      start - the lower bound of the range of object fields
      end - 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 cache
      Returns:
      the ordered range of object fields
    • removeAll

      public static void removeAll()
      Removes all the object fields from the database.
    • countAll

      public static int countAll()
      Returns the number of object fields.
      Returns:
      the number of object fields
    • getPersistence

      public static ObjectFieldPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ObjectFieldPersistence persistence)