Class ObjectFieldUtil
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
countAll()
Returns the number of object fields.static int
countByC_U
(long companyId, long userId) Returns the number of object fields where companyId = ? and userId = ?.static int
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
countByUuid
(String uuid) 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) static ObjectField
create
(long objectFieldId) Creates a new object field with the primary key.static ObjectField
fetchByC_U_First
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where companyId = ? and userId = ?.static ObjectField
fetchByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where companyId = ? and userId = ?.static ObjectField
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where companyId = ?.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 = ?.static ObjectField
fetchByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found.static ObjectField
fetchByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.static ObjectField
fetchByListTypeDefinitionId_First
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where listTypeDefinitionId = ?.static ObjectField
fetchByListTypeDefinitionId_Last
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where listTypeDefinitionId = ?.static ObjectField
fetchByLTDI_S_First
(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where listTypeDefinitionId = ? and state = ?.static ObjectField
fetchByLTDI_S_Last
(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where listTypeDefinitionId = ? and state = ?.static ObjectField
fetchByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where objectDefinitionId = ?.static ObjectField
fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where objectDefinitionId = ?.static ObjectField
fetchByODI_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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static ObjectField
fetchByODI_I_First
(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where objectDefinitionId = ? and indexed = ?.static ObjectField
fetchByODI_I_Last
(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where objectDefinitionId = ? and indexed = ?.static ObjectField
fetchByODI_L_First
(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where objectDefinitionId = ? and localized = ?.static ObjectField
fetchByODI_L_Last
(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where objectDefinitionId = ? and localized = ?.static ObjectField
fetchByODI_N
(long objectDefinitionId, String name) Returns the object field where objectDefinitionId = ? and name = ? or returnsnull
if it could not be found.static ObjectField
fetchByODI_N
(long objectDefinitionId, String name, boolean useFinderCache) Returns the object field where objectDefinitionId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.static ObjectField
fetchByODI_S_First
(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where objectDefinitionId = ? and system = ?.static ObjectField
fetchByODI_S_Last
(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where objectDefinitionId = ? and system = ?.static ObjectField
fetchByPrimaryKey
(long objectFieldId) Returns the object field with the primary key or returnsnull
if it could not be found.static Map<Serializable,
ObjectField> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.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 = ?.static List<ObjectField>
findAll()
Returns all the object fields.static List<ObjectField>
findAll
(int start, int end) Returns a range of all the object fields.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.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.static List<ObjectField>
findByC_U
(long companyId, long userId) Returns all the object fields where companyId = ? and userId = ?.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 = ?.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 = ?.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 = ?.static ObjectField
findByC_U_First
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where companyId = ? and userId = ?.static ObjectField
findByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where companyId = ? and userId = ?.static ObjectField[]
findByC_U_PrevAndNext
(long objectFieldId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the object fields before and after the current object field in the ordered set where companyId = ? and userId = ?.static List<ObjectField>
findByCompanyId
(long companyId) Returns all the object fields where companyId = ?.static List<ObjectField>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the object fields where companyId = ?.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 = ?.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 = ?.static ObjectField
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where companyId = ?.static ObjectField
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 = ?.static ObjectField
findByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object field where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectFieldException
if it could not be found.static List<ObjectField>
findByListTypeDefinitionId
(long listTypeDefinitionId) Returns all the object fields where listTypeDefinitionId = ?.static List<ObjectField>
findByListTypeDefinitionId
(long listTypeDefinitionId, int start, int end) Returns a range of all the object fields where listTypeDefinitionId = ?.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 = ?.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 = ?.static ObjectField
findByListTypeDefinitionId_First
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where listTypeDefinitionId = ?.static ObjectField
findByListTypeDefinitionId_Last
(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where listTypeDefinitionId = ?.static ObjectField[]
findByListTypeDefinitionId_PrevAndNext
(long objectFieldId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the object fields before and after the current object field in the ordered set where listTypeDefinitionId = ?.static List<ObjectField>
findByLTDI_S
(long listTypeDefinitionId, boolean state) Returns all the object fields where listTypeDefinitionId = ? and state = ?.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 = ?.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 = ?.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 = ?.static ObjectField
findByLTDI_S_First
(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where listTypeDefinitionId = ? and state = ?.static ObjectField
findByLTDI_S_Last
(long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where listTypeDefinitionId = ? and state = ?.static ObjectField[]
findByLTDI_S_PrevAndNext
(long objectFieldId, long listTypeDefinitionId, boolean state, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the object fields before and after the current object field in the ordered set where listTypeDefinitionId = ? and state = ?.static List<ObjectField>
findByObjectDefinitionId
(long objectDefinitionId) Returns all the object fields where objectDefinitionId = ?.static List<ObjectField>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end) Returns a range of all the object fields where objectDefinitionId = ?.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 = ?.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 = ?.static ObjectField
findByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where objectDefinitionId = ?.static ObjectField
findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where objectDefinitionId = ?.static ObjectField[]
findByObjectDefinitionId_PrevAndNext
(long objectFieldId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ?.static List<ObjectField>
findByODI_BT
(long objectDefinitionId, String businessType) Returns all the object fields where objectDefinitionId = ? and businessType = ?.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 = ?.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 = ?.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 = ?.static ObjectField
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 = ?.static ObjectField
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 = ?.static List<ObjectField>
findByODI_DBT_I
(long objectDefinitionId, String dbType, boolean indexed) Returns all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.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 = ?.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 = ?.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 = ?.static ObjectField
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 = ?.static ObjectField
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 = ?.static List<ObjectField>
findByODI_DTN
(long objectDefinitionId, String dbTableName) Returns all the object fields where objectDefinitionId = ? and dbTableName = ?.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 = ?.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 = ?.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 = ?.static ObjectField
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 = ?.static ObjectField
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 = ?.static List<ObjectField>
findByODI_I
(long objectDefinitionId, boolean indexed) Returns all the object fields where objectDefinitionId = ? and indexed = ?.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 = ?.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 = ?.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 = ?.static ObjectField
findByODI_I_First
(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where objectDefinitionId = ? and indexed = ?.static ObjectField
findByODI_I_Last
(long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where objectDefinitionId = ? and indexed = ?.static ObjectField[]
findByODI_I_PrevAndNext
(long objectFieldId, long objectDefinitionId, boolean indexed, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and indexed = ?.static List<ObjectField>
findByODI_L
(long objectDefinitionId, boolean localized) Returns all the object fields where objectDefinitionId = ? and localized = ?.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 = ?.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 = ?.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 = ?.static ObjectField
findByODI_L_First
(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where objectDefinitionId = ? and localized = ?.static ObjectField
findByODI_L_Last
(long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where objectDefinitionId = ? and localized = ?.static ObjectField[]
findByODI_L_PrevAndNext
(long objectFieldId, long objectDefinitionId, boolean localized, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and localized = ?.static ObjectField
findByODI_N
(long objectDefinitionId, String name) Returns the object field where objectDefinitionId = ? and name = ? or throws aNoSuchObjectFieldException
if it could not be found.static List<ObjectField>
findByODI_S
(long objectDefinitionId, boolean system) Returns all the object fields where objectDefinitionId = ? and system = ?.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 = ?.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 = ?.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 = ?.static ObjectField
findByODI_S_First
(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where objectDefinitionId = ? and system = ?.static ObjectField
findByODI_S_Last
(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the last object field in the ordered set where objectDefinitionId = ? and system = ?.static ObjectField[]
findByODI_S_PrevAndNext
(long objectFieldId, long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the object fields before and after the current object field in the ordered set where objectDefinitionId = ? and system = ?.static ObjectField
findByPrimaryKey
(long objectFieldId) Returns the object field with the primary key or throws aNoSuchObjectFieldException
if it could not be found.static List<ObjectField>
findByUuid
(String uuid) Returns all the object fields where uuid = ?.static List<ObjectField>
findByUuid
(String uuid, int start, int end) Returns a range of all the object fields where uuid = ?.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 = ?.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 = ?.static List<ObjectField>
findByUuid_C
(String uuid, long companyId) Returns all the object fields where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static ObjectField
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 = ?.static ObjectField
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 = ?.static ObjectField
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) Returns the first object field in the ordered set where uuid = ?.static ObjectField
findByUuid_Last
(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 = ?.static List<ObjectField>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectField>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectField>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectField> orderByComparator) static ObjectFieldPersistence
static ObjectField
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.static ObjectField
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.static ObjectField
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
removeByUuid
(String uuid) 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
setPersistence
(ObjectFieldPersistence persistence) static ObjectField
update
(ObjectField objectField) static ObjectField
update
(ObjectField objectField, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectField
updateImpl
(ObjectField objectField)
-
Constructor Details
-
ObjectFieldUtil
public ObjectFieldUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
- 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
Returns all the object fields where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object fields
-
findByUuid
Returns a range of all the object fields where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object fieldsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fielduuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
removeByUuid
Removes all the object fields where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object fields where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object fields
-
findByUuid_C
Returns all the object fields where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object fields
-
findByUuid_C
Returns a range of all the object fields where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fielduuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
removeByUuid_C
Removes all the object fields where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object fields where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object fields
-
findByCompanyId
Returns all the object fields where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching object fields
-
findByCompanyId
Returns a range of all the object fields where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object fieldsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
listTypeDefinitionId
- the list type definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldlistTypeDefinitionId
- the list type definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
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
Returns all the object fields where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the matching object fields
-
findByC_U
Returns a range of all the object fields where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldcompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
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 IDuserId
- 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 IDuserId
- the user ID- Returns:
- the number of matching object fields
-
findByLTDI_S
Returns all the object fields where listTypeDefinitionId = ? and state = ?.- Parameters:
listTypeDefinitionId
- the list type definition IDstate
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
listTypeDefinitionId
- the list type definition IDstate
- the statestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
listTypeDefinitionId
- the list type definition IDstate
- the statestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
listTypeDefinitionId
- the list type definition IDstate
- the statestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDstate
- the stateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDstate
- the stateorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDstate
- the stateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDstate
- the stateorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldlistTypeDefinitionId
- the list type definition IDstate
- the stateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
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 IDstate
- 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 IDstate
- the state- Returns:
- the number of matching object fields
-
findByODI_BT
Returns all the object fields where objectDefinitionId = ? and businessType = ?.- Parameters:
objectDefinitionId
- the object definition IDbusinessType
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDbusinessType
- the business typestart
- the lower bound of the range of object fieldsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDbusinessType
- the business typestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDbusinessType
- the business typestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDbusinessType
- the business typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDbusinessType
- the business typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDbusinessType
- the business typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDbusinessType
- the business typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldobjectDefinitionId
- the object definition IDbusinessType
- the business typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
removeByODI_BT
Removes all the object fields where objectDefinitionId = ? and businessType = ? from the database.- Parameters:
objectDefinitionId
- the object definition IDbusinessType
- the business type
-
countByODI_BT
Returns the number of object fields where objectDefinitionId = ? and businessType = ?.- Parameters:
objectDefinitionId
- the object definition IDbusinessType
- the business type- Returns:
- the number of matching object fields
-
findByODI_DTN
Returns all the object fields where objectDefinitionId = ? and dbTableName = ?.- Parameters:
objectDefinitionId
- the object definition IDdbTableName
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdbTableName
- the db table namestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdbTableName
- the db table namestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdbTableName
- the db table namestart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldobjectDefinitionId
- the object definition IDdbTableName
- the db table nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
removeByODI_DTN
Removes all the object fields where objectDefinitionId = ? and dbTableName = ? from the database.- Parameters:
objectDefinitionId
- the object definition IDdbTableName
- the db table name
-
countByODI_DTN
Returns the number of object fields where objectDefinitionId = ? and dbTableName = ?.- Parameters:
objectDefinitionId
- the object definition IDdbTableName
- the db table name- Returns:
- the number of matching object fields
-
findByODI_I
Returns all the object fields where objectDefinitionId = ? and indexed = ?.- Parameters:
objectDefinitionId
- the object definition IDindexed
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldobjectDefinitionId
- the object definition IDindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
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 IDindexed
- 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 IDindexed
- the indexed- Returns:
- the number of matching object fields
-
findByODI_L
Returns all the object fields where objectDefinitionId = ? and localized = ?.- Parameters:
objectDefinitionId
- the object definition IDlocalized
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDlocalized
- the localizedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDlocalized
- the localizedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDlocalized
- the localizedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldobjectDefinitionId
- the object definition IDlocalized
- the localizedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
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 IDlocalized
- 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 IDlocalized
- 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 aNoSuchObjectFieldException
if it could not be found.- Parameters:
objectDefinitionId
- the object definition IDname
- the name- Returns:
- the matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
fetchByODI_N
Returns the object field where objectDefinitionId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId
- the object definition IDname
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
objectDefinitionId
- the object definition IDname
- the nameuseFinderCache
- 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 IDname
- the name- Returns:
- the object field that was removed
- Throws:
NoSuchObjectFieldException
-
countByODI_N
Returns the number of object fields where objectDefinitionId = ? and name = ?.- Parameters:
objectDefinitionId
- the object definition IDname
- the name- Returns:
- the number of matching object fields
-
findByODI_S
Returns all the object fields where objectDefinitionId = ? and system = ?.- Parameters:
objectDefinitionId
- the object definition IDsystem
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDsystem
- the systemstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDsystem
- the systemstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDsystem
- the systemstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldobjectDefinitionId
- the object definition IDsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
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 IDsystem
- 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 IDsystem
- 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 aNoSuchObjectFieldException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition IDuseFinderCache
- 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 codecompanyId
- the company IDobjectDefinitionId
- 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 codecompanyId
- the company IDobjectDefinitionId
- 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 IDdbType
- the db typeindexed
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedstart
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field
- Throws:
NoSuchObjectFieldException
- if a matching object field could not be foundNoSuchObjectFieldException
-
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 IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- 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 fieldobjectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field
- Throws:
NoSuchObjectFieldException
- if a object field with the primary key could not be foundNoSuchObjectFieldException
-
removeByODI_DBT_I
Removes all the object fields where objectDefinitionId = ? and dbType = ? and indexed = ? from the database.- Parameters:
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexed
-
countByODI_DBT_I
Returns the number of object fields where objectDefinitionId = ? and dbType = ? and indexed = ?.- Parameters:
objectDefinitionId
- the object definition IDdbType
- the db typeindexed
- the indexed- Returns:
- the number of matching object fields
-
cacheResult
Caches the object field in the entity cache if it is enabled.- Parameters:
objectField
- the object field
-
cacheResult
Caches the object fields in the entity cache if it is enabled.- Parameters:
objectFields
- the object fields
-
create
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
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 foundNoSuchObjectFieldException
-
updateImpl
-
findByPrimaryKey
Returns the object field with the primary key or throws aNoSuchObjectFieldException
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 foundNoSuchObjectFieldException
-
fetchByPrimaryKey
Returns the object field with the primary key or returnsnull
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
Returns all the object fields.- Returns:
- the object fields
-
findAll
Returns a range of all the object fields.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
start
- the lower bound of the range of object fieldsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
start
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldModelImpl
.- Parameters:
start
- the lower bound of the range of object fieldsend
- the upper bound of the range of object fields (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-
setPersistence
-