Class ObjectRelationshipUtil
com.liferay.object.service.persistence.impl.ObjectRelationshipPersistenceImpl 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 voidcacheResult(ObjectRelationship objectRelationship) Caches the object relationship in the entity cache if it is enabled.static voidcacheResult(List<ObjectRelationship> objectRelationships) Caches the object relationships in the entity cache if it is enabled.static voidstatic voidclearCache(ObjectRelationship objectRelationship) static intcountAll()Returns the number of object relationships.static intcountByC_U(long companyId, long userId) Returns the number of object relationships where companyId = ? and userId = ?.static intcountByCompanyId(long companyId) Returns the number of object relationships where companyId = ?.static intcountByDTN_R(String dbTableName, boolean reverse) Returns the number of object relationships where dbTableName = ? and reverse = ?.static intcountByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) Returns the number of object relationships where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ?.static intcountByObjectDefinitionId1(long objectDefinitionId1) Returns the number of object relationships where objectDefinitionId1 = ?.static intcountByObjectDefinitionId2(long objectDefinitionId2) Returns the number of object relationships where objectDefinitionId2 = ?.static intcountByObjectFieldId2(long objectFieldId2) Returns the number of object relationships where objectFieldId2 = ?.static intcountByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse) Returns the number of object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static intcountByODI1_E(long objectDefinitionId1, boolean edge) Returns the number of object relationships where objectDefinitionId1 = ? and edge = ?.static intcountByODI1_N(long objectDefinitionId1, String name) Returns the number of object relationships where objectDefinitionId1 = ? and name = ?.static intcountByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ?.static intcountByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type) Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static intcountByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type) Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static intcountByODI1_R(long objectDefinitionId1, boolean reverse) Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ?.static intcountByODI1_R_T(long objectDefinitionId1, boolean reverse, String type) Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.static intcountByODI2_E(long objectDefinitionId2, boolean edge) Returns the number of object relationships where objectDefinitionId2 = ? and edge = ?.static intcountByODI2_R(long objectDefinitionId2, boolean reverse) Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ?.static intcountByODI2_R_T(long objectDefinitionId2, boolean reverse, String type) Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.static intcountByParameterObjectFieldId(long parameterObjectFieldId) Returns the number of object relationships where parameterObjectFieldId = ?.static intcountByUuid(String uuid) Returns the number of object relationships where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object relationships where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectRelationshipcreate(long objectRelationshipId) Creates a new object relationship with the primary key.static ObjectRelationshipfetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where companyId = ? and userId = ?.static ObjectRelationshipfetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where companyId = ? and userId = ?.static ObjectRelationshipfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where companyId = ?.static ObjectRelationshipfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where companyId = ?.static ObjectRelationshipfetchByDTN_R(String dbTableName, boolean reverse) Returns the object relationship where dbTableName = ? and reverse = ? or returnsnullif it could not be found.static ObjectRelationshipfetchByDTN_R(String dbTableName, boolean reverse, boolean useFinderCache) Returns the object relationship where dbTableName = ? and reverse = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectRelationshipfetchByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returnsnullif it could not be found.static ObjectRelationshipfetchByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1, boolean useFinderCache) Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectRelationshipfetchByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.static ObjectRelationshipfetchByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.static ObjectRelationshipfetchByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.static ObjectRelationshipfetchByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.static ObjectRelationshipfetchByObjectFieldId2(long objectFieldId2) Returns the object relationship where objectFieldId2 = ? or returnsnullif it could not be found.static ObjectRelationshipfetchByObjectFieldId2(long objectFieldId2, boolean useFinderCache) Returns the object relationship where objectFieldId2 = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectRelationshipfetchByODI1_DT_R_First(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static ObjectRelationshipfetchByODI1_DT_R_Last(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static ObjectRelationshipfetchByODI1_E_First(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.static ObjectRelationshipfetchByODI1_E_Last(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.static ObjectRelationshipfetchByODI1_N_First(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.static ObjectRelationshipfetchByODI1_N_Last(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.static ObjectRelationshipfetchByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) Returns the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? or returnsnullif it could not be found.static ObjectRelationshipfetchByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type, boolean useFinderCache) Returns the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectRelationshipfetchByODI1_ODI2_N_T_First(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static ObjectRelationshipfetchByODI1_ODI2_N_T_Last(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static ObjectRelationshipfetchByODI1_ODI2_T_First(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static ObjectRelationshipfetchByODI1_ODI2_T_Last(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static ObjectRelationshipfetchByODI1_R_First(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.static ObjectRelationshipfetchByODI1_R_Last(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.static ObjectRelationshipfetchByODI1_R_T_First(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.static ObjectRelationshipfetchByODI1_R_T_Last(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.static ObjectRelationshipfetchByODI2_E(long objectDefinitionId2, boolean edge) Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returnsnullif it could not be found.static ObjectRelationshipfetchByODI2_E(long objectDefinitionId2, boolean edge, boolean useFinderCache) Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectRelationshipfetchByODI2_R_First(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.static ObjectRelationshipfetchByODI2_R_Last(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.static ObjectRelationshipfetchByODI2_R_T_First(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.static ObjectRelationshipfetchByODI2_R_T_Last(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.static ObjectRelationshipfetchByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.static ObjectRelationshipfetchByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.static ObjectRelationshipfetchByPrimaryKey(long objectRelationshipId) Returns the object relationship with the primary key or returnsnullif it could not be found.static Map<Serializable,ObjectRelationship> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectRelationshipfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where uuid = ? and companyId = ?.static ObjectRelationshipfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where uuid = ? and companyId = ?.static ObjectRelationshipfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where uuid = ?.static ObjectRelationshipfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where uuid = ?.static List<ObjectRelationship>findAll()Returns all the object relationships.static List<ObjectRelationship>findAll(int start, int end) Returns a range of all the object relationships.static List<ObjectRelationship>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships.static List<ObjectRelationship>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships.static List<ObjectRelationship>findByC_U(long companyId, long userId) Returns all the object relationships where companyId = ? and userId = ?.static List<ObjectRelationship>findByC_U(long companyId, long userId, int start, int end) Returns a range of all the object relationships where companyId = ? and userId = ?.static List<ObjectRelationship>findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where companyId = ? and userId = ?.static List<ObjectRelationship>findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where companyId = ? and userId = ?.static ObjectRelationshipfindByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where companyId = ? and userId = ?.static ObjectRelationshipfindByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where companyId = ? and userId = ?.static ObjectRelationship[]findByC_U_PrevAndNext(long objectRelationshipId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where companyId = ? and userId = ?.static List<ObjectRelationship>findByCompanyId(long companyId) Returns all the object relationships where companyId = ?.static List<ObjectRelationship>findByCompanyId(long companyId, int start, int end) Returns a range of all the object relationships where companyId = ?.static List<ObjectRelationship>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where companyId = ?.static List<ObjectRelationship>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where companyId = ?.static ObjectRelationshipfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where companyId = ?.static ObjectRelationshipfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where companyId = ?.static ObjectRelationship[]findByCompanyId_PrevAndNext(long objectRelationshipId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where companyId = ?.static ObjectRelationshipfindByDTN_R(String dbTableName, boolean reverse) Returns the object relationship where dbTableName = ? and reverse = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.static ObjectRelationshipfindByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.static List<ObjectRelationship>findByObjectDefinitionId1(long objectDefinitionId1) Returns all the object relationships where objectDefinitionId1 = ?.static List<ObjectRelationship>findByObjectDefinitionId1(long objectDefinitionId1, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ?.static List<ObjectRelationship>findByObjectDefinitionId1(long objectDefinitionId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ?.static List<ObjectRelationship>findByObjectDefinitionId1(long objectDefinitionId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ?.static ObjectRelationshipfindByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.static ObjectRelationshipfindByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.static ObjectRelationship[]findByObjectDefinitionId1_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ?.static List<ObjectRelationship>findByObjectDefinitionId2(long objectDefinitionId2) Returns all the object relationships where objectDefinitionId2 = ?.static List<ObjectRelationship>findByObjectDefinitionId2(long objectDefinitionId2, int start, int end) Returns a range of all the object relationships where objectDefinitionId2 = ?.static List<ObjectRelationship>findByObjectDefinitionId2(long objectDefinitionId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId2 = ?.static List<ObjectRelationship>findByObjectDefinitionId2(long objectDefinitionId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId2 = ?.static ObjectRelationshipfindByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.static ObjectRelationshipfindByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.static ObjectRelationship[]findByObjectDefinitionId2_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ?.static ObjectRelationshipfindByObjectFieldId2(long objectFieldId2) Returns the object relationship where objectFieldId2 = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.static List<ObjectRelationship>findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse) Returns all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static List<ObjectRelationship>findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static List<ObjectRelationship>findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static List<ObjectRelationship>findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static ObjectRelationshipfindByODI1_DT_R_First(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static ObjectRelationshipfindByODI1_DT_R_Last(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static ObjectRelationship[]findByODI1_DT_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.static List<ObjectRelationship>findByODI1_E(long objectDefinitionId1, boolean edge) Returns all the object relationships where objectDefinitionId1 = ? and edge = ?.static List<ObjectRelationship>findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and edge = ?.static List<ObjectRelationship>findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and edge = ?.static List<ObjectRelationship>findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and edge = ?.static ObjectRelationshipfindByODI1_E_First(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.static ObjectRelationshipfindByODI1_E_Last(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.static ObjectRelationship[]findByODI1_E_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.static List<ObjectRelationship>findByODI1_N(long objectDefinitionId1, String name) Returns all the object relationships where objectDefinitionId1 = ? and name = ?.static List<ObjectRelationship>findByODI1_N(long objectDefinitionId1, String name, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and name = ?.static List<ObjectRelationship>findByODI1_N(long objectDefinitionId1, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and name = ?.static List<ObjectRelationship>findByODI1_N(long objectDefinitionId1, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and name = ?.static ObjectRelationshipfindByODI1_N_First(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.static ObjectRelationshipfindByODI1_N_Last(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.static ObjectRelationship[]findByODI1_N_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.static ObjectRelationshipfindByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) Returns the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.static List<ObjectRelationship>findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type) Returns all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static List<ObjectRelationship>findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static List<ObjectRelationship>findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static List<ObjectRelationship>findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static ObjectRelationshipfindByODI1_ODI2_N_T_First(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static ObjectRelationshipfindByODI1_ODI2_N_T_Last(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static ObjectRelationship[]findByODI1_ODI2_N_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.static List<ObjectRelationship>findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type) Returns all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static List<ObjectRelationship>findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static List<ObjectRelationship>findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static List<ObjectRelationship>findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static ObjectRelationshipfindByODI1_ODI2_T_First(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static ObjectRelationshipfindByODI1_ODI2_T_Last(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static ObjectRelationship[]findByODI1_ODI2_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.static List<ObjectRelationship>findByODI1_R(long objectDefinitionId1, boolean reverse) Returns all the object relationships where objectDefinitionId1 = ? and reverse = ?.static List<ObjectRelationship>findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.static List<ObjectRelationship>findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.static List<ObjectRelationship>findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.static ObjectRelationshipfindByODI1_R_First(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.static ObjectRelationshipfindByODI1_R_Last(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.static ObjectRelationship[]findByODI1_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.static List<ObjectRelationship>findByODI1_R_T(long objectDefinitionId1, boolean reverse, String type) Returns all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.static List<ObjectRelationship>findByODI1_R_T(long objectDefinitionId1, boolean reverse, String type, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.static List<ObjectRelationship>findByODI1_R_T(long objectDefinitionId1, boolean reverse, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.static List<ObjectRelationship>findByODI1_R_T(long objectDefinitionId1, boolean reverse, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.static ObjectRelationshipfindByODI1_R_T_First(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.static ObjectRelationshipfindByODI1_R_T_Last(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.static ObjectRelationship[]findByODI1_R_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.static ObjectRelationshipfindByODI2_E(long objectDefinitionId2, boolean edge) Returns the object relationship where objectDefinitionId2 = ? and edge = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.static List<ObjectRelationship>findByODI2_R(long objectDefinitionId2, boolean reverse) Returns all the object relationships where objectDefinitionId2 = ? and reverse = ?.static List<ObjectRelationship>findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end) Returns a range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.static List<ObjectRelationship>findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.static List<ObjectRelationship>findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.static ObjectRelationshipfindByODI2_R_First(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.static ObjectRelationshipfindByODI2_R_Last(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.static ObjectRelationship[]findByODI2_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.static List<ObjectRelationship>findByODI2_R_T(long objectDefinitionId2, boolean reverse, String type) Returns all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.static List<ObjectRelationship>findByODI2_R_T(long objectDefinitionId2, boolean reverse, String type, int start, int end) Returns a range of all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.static List<ObjectRelationship>findByODI2_R_T(long objectDefinitionId2, boolean reverse, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.static List<ObjectRelationship>findByODI2_R_T(long objectDefinitionId2, boolean reverse, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.static ObjectRelationshipfindByODI2_R_T_First(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.static ObjectRelationshipfindByODI2_R_T_Last(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.static ObjectRelationship[]findByODI2_R_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.static List<ObjectRelationship>findByParameterObjectFieldId(long parameterObjectFieldId) Returns all the object relationships where parameterObjectFieldId = ?.static List<ObjectRelationship>findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end) Returns a range of all the object relationships where parameterObjectFieldId = ?.static List<ObjectRelationship>findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where parameterObjectFieldId = ?.static List<ObjectRelationship>findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where parameterObjectFieldId = ?.static ObjectRelationshipfindByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.static ObjectRelationshipfindByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.static ObjectRelationship[]findByParameterObjectFieldId_PrevAndNext(long objectRelationshipId, long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where parameterObjectFieldId = ?.static ObjectRelationshipfindByPrimaryKey(long objectRelationshipId) Returns the object relationship with the primary key or throws aNoSuchObjectRelationshipExceptionif it could not be found.static List<ObjectRelationship>findByUuid(String uuid) Returns all the object relationships where uuid = ?.static List<ObjectRelationship>findByUuid(String uuid, int start, int end) Returns a range of all the object relationships where uuid = ?.static List<ObjectRelationship>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where uuid = ?.static List<ObjectRelationship>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where uuid = ?.static List<ObjectRelationship>findByUuid_C(String uuid, long companyId) Returns all the object relationships where uuid = ? and companyId = ?.static List<ObjectRelationship>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object relationships where uuid = ? and companyId = ?.static List<ObjectRelationship>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where uuid = ? and companyId = ?.static List<ObjectRelationship>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where uuid = ? and companyId = ?.static ObjectRelationshipfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where uuid = ? and companyId = ?.static ObjectRelationshipfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where uuid = ? and companyId = ?.static ObjectRelationship[]findByUuid_C_PrevAndNext(long objectRelationshipId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where uuid = ? and companyId = ?.static ObjectRelationshipfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where uuid = ?.static ObjectRelationshipfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where uuid = ?.static ObjectRelationship[]findByUuid_PrevAndNext(long objectRelationshipId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the object relationships before and after the current object relationship in the ordered set where uuid = ?.static List<ObjectRelationship>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectRelationship>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectRelationship>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) static ObjectRelationshipremove(long objectRelationshipId) Removes the object relationship with the primary key from the database.static voidRemoves all the object relationships from the database.static voidremoveByC_U(long companyId, long userId) Removes all the object relationships where companyId = ? and userId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the object relationships where companyId = ? from the database.static ObjectRelationshipremoveByDTN_R(String dbTableName, boolean reverse) Removes the object relationship where dbTableName = ? and reverse = ? from the database.static ObjectRelationshipremoveByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) Removes the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? from the database.static voidremoveByObjectDefinitionId1(long objectDefinitionId1) Removes all the object relationships where objectDefinitionId1 = ? from the database.static voidremoveByObjectDefinitionId2(long objectDefinitionId2) Removes all the object relationships where objectDefinitionId2 = ? from the database.static ObjectRelationshipremoveByObjectFieldId2(long objectFieldId2) Removes the object relationship where objectFieldId2 = ? from the database.static voidremoveByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse) Removes all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ? from the database.static voidremoveByODI1_E(long objectDefinitionId1, boolean edge) Removes all the object relationships where objectDefinitionId1 = ? and edge = ? from the database.static voidremoveByODI1_N(long objectDefinitionId1, String name) Removes all the object relationships where objectDefinitionId1 = ? and name = ? from the database.static ObjectRelationshipremoveByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) Removes the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? from the database.static voidremoveByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type) Removes all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ? from the database.static voidremoveByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type) Removes all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ? from the database.static voidremoveByODI1_R(long objectDefinitionId1, boolean reverse) Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? from the database.static voidremoveByODI1_R_T(long objectDefinitionId1, boolean reverse, String type) Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ? from the database.static ObjectRelationshipremoveByODI2_E(long objectDefinitionId2, boolean edge) Removes the object relationship where objectDefinitionId2 = ? and edge = ? from the database.static voidremoveByODI2_R(long objectDefinitionId2, boolean reverse) Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? from the database.static voidremoveByODI2_R_T(long objectDefinitionId2, boolean reverse, String type) Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ? from the database.static voidremoveByParameterObjectFieldId(long parameterObjectFieldId) Removes all the object relationships where parameterObjectFieldId = ? from the database.static voidremoveByUuid(String uuid) Removes all the object relationships where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object relationships where uuid = ? and companyId = ? from the database.static voidsetPersistence(ObjectRelationshipPersistence persistence) static ObjectRelationshipupdate(ObjectRelationship objectRelationship) static ObjectRelationshipupdate(ObjectRelationship objectRelationship, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectRelationshipupdateImpl(ObjectRelationship objectRelationship)
-
Constructor Details
-
ObjectRelationshipUtil
public ObjectRelationshipUtil()
-
-
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
public static Map<Serializable,ObjectRelationship> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectRelationship> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectRelationship> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectRelationship> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectRelationship update(ObjectRelationship objectRelationship, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object relationships where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object relationships
-
findByUuid
Returns a range of all the object relationships where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByUuid
public static List<ObjectRelationship> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByUuid
public static List<ObjectRelationship> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByUuid_First
public static ObjectRelationship findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByUuid_First
public static ObjectRelationship fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByUuid_Last
public static ObjectRelationship findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByUuid_Last
public static ObjectRelationship fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByUuid_PrevAndNext
public static ObjectRelationship[] findByUuid_PrevAndNext(long objectRelationshipId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where uuid = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByUuid
Removes all the object relationships where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object relationships where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object relationships
-
findByUuid_C
Returns all the object relationships where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object relationships
-
findByUuid_C
public static List<ObjectRelationship> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object relationships where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByUuid_C
public static List<ObjectRelationship> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByUuid_C
public static List<ObjectRelationship> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByUuid_C_First
public static ObjectRelationship findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship 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 relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByUuid_C_First
public static ObjectRelationship fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship 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 relationship, or
nullif a matching object relationship could not be found
-
findByUuid_C_Last
public static ObjectRelationship findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship 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 relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByUuid_C_Last
public static ObjectRelationship fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship 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 relationship, or
nullif a matching object relationship could not be found
-
findByUuid_C_PrevAndNext
public static ObjectRelationship[] findByUuid_C_PrevAndNext(long objectRelationshipId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByUuid_C
Removes all the object relationships where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object relationships where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object relationships
-
findByCompanyId
Returns all the object relationships where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching object relationships
-
findByCompanyId
Returns a range of all the object relationships where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByCompanyId
public static List<ObjectRelationship> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByCompanyId
public static List<ObjectRelationship> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByCompanyId_First
public static ObjectRelationship findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByCompanyId_First
public static ObjectRelationship fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByCompanyId_Last
public static ObjectRelationship findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByCompanyId_Last
public static ObjectRelationship fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByCompanyId_PrevAndNext
public static ObjectRelationship[] findByCompanyId_PrevAndNext(long objectRelationshipId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where companyId = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the object relationships where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of object relationships where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching object relationships
-
findByObjectDefinitionId1
Returns all the object relationships where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1- the object definition id1- Returns:
- the matching object relationships
-
findByObjectDefinitionId1
public static List<ObjectRelationship> findByObjectDefinitionId1(long objectDefinitionId1, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1start- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByObjectDefinitionId1
public static List<ObjectRelationship> findByObjectDefinitionId1(long objectDefinitionId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1start- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByObjectDefinitionId1
public static List<ObjectRelationship> findByObjectDefinitionId1(long objectDefinitionId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1start- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByObjectDefinitionId1_First
public static ObjectRelationship findByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1- the object definition id1orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByObjectDefinitionId1_First
public static ObjectRelationship fetchByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1- the object definition id1orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByObjectDefinitionId1_Last
public static ObjectRelationship findByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1- the object definition id1orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByObjectDefinitionId1_Last
public static ObjectRelationship fetchByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1- the object definition id1orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByObjectDefinitionId1_PrevAndNext
public static ObjectRelationship[] findByObjectDefinitionId1_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId1- the object definition id1orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByObjectDefinitionId1
public static void removeByObjectDefinitionId1(long objectDefinitionId1) Removes all the object relationships where objectDefinitionId1 = ? from the database.- Parameters:
objectDefinitionId1- the object definition id1
-
countByObjectDefinitionId1
public static int countByObjectDefinitionId1(long objectDefinitionId1) Returns the number of object relationships where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1- the object definition id1- Returns:
- the number of matching object relationships
-
findByObjectDefinitionId2
Returns all the object relationships where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2- the object definition id2- Returns:
- the matching object relationships
-
findByObjectDefinitionId2
public static List<ObjectRelationship> findByObjectDefinitionId2(long objectDefinitionId2, int start, int end) Returns a range of all the object relationships where objectDefinitionId2 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId2- the object definition id2start- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByObjectDefinitionId2
public static List<ObjectRelationship> findByObjectDefinitionId2(long objectDefinitionId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId2 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId2- the object definition id2start- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByObjectDefinitionId2
public static List<ObjectRelationship> findByObjectDefinitionId2(long objectDefinitionId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId2 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId2- the object definition id2start- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByObjectDefinitionId2_First
public static ObjectRelationship findByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2- the object definition id2orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByObjectDefinitionId2_First
public static ObjectRelationship fetchByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2- the object definition id2orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByObjectDefinitionId2_Last
public static ObjectRelationship findByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2- the object definition id2orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByObjectDefinitionId2_Last
public static ObjectRelationship fetchByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2- the object definition id2orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByObjectDefinitionId2_PrevAndNext
public static ObjectRelationship[] findByObjectDefinitionId2_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId2- the object definition id2orderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByObjectDefinitionId2
public static void removeByObjectDefinitionId2(long objectDefinitionId2) Removes all the object relationships where objectDefinitionId2 = ? from the database.- Parameters:
objectDefinitionId2- the object definition id2
-
countByObjectDefinitionId2
public static int countByObjectDefinitionId2(long objectDefinitionId2) Returns the number of object relationships where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2- the object definition id2- Returns:
- the number of matching object relationships
-
findByObjectFieldId2
public static ObjectRelationship findByObjectFieldId2(long objectFieldId2) throws NoSuchObjectRelationshipException Returns the object relationship where objectFieldId2 = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.- Parameters:
objectFieldId2- the object field id2- Returns:
- the matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByObjectFieldId2
Returns the object relationship where objectFieldId2 = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
objectFieldId2- the object field id2- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
fetchByObjectFieldId2
Returns the object relationship where objectFieldId2 = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
objectFieldId2- the object field id2useFinderCache- whether to use the finder cache- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
removeByObjectFieldId2
public static ObjectRelationship removeByObjectFieldId2(long objectFieldId2) throws NoSuchObjectRelationshipException Removes the object relationship where objectFieldId2 = ? from the database.- Parameters:
objectFieldId2- the object field id2- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException
-
countByObjectFieldId2
public static int countByObjectFieldId2(long objectFieldId2) Returns the number of object relationships where objectFieldId2 = ?.- Parameters:
objectFieldId2- the object field id2- Returns:
- the number of matching object relationships
-
findByParameterObjectFieldId
Returns all the object relationships where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId- the parameter object field ID- Returns:
- the matching object relationships
-
findByParameterObjectFieldId
public static List<ObjectRelationship> findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end) Returns a range of all the object relationships where parameterObjectFieldId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
parameterObjectFieldId- the parameter object field IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByParameterObjectFieldId
public static List<ObjectRelationship> findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where parameterObjectFieldId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
parameterObjectFieldId- the parameter object field IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByParameterObjectFieldId
public static List<ObjectRelationship> findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where parameterObjectFieldId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
parameterObjectFieldId- the parameter object field IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByParameterObjectFieldId_First
public static ObjectRelationship findByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId- the parameter object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByParameterObjectFieldId_First
public static ObjectRelationship fetchByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId- the parameter object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByParameterObjectFieldId_Last
public static ObjectRelationship findByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId- the parameter object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByParameterObjectFieldId_Last
public static ObjectRelationship fetchByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId- the parameter object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByParameterObjectFieldId_PrevAndNext
public static ObjectRelationship[] findByParameterObjectFieldId_PrevAndNext(long objectRelationshipId, long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipparameterObjectFieldId- the parameter object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByParameterObjectFieldId
public static void removeByParameterObjectFieldId(long parameterObjectFieldId) Removes all the object relationships where parameterObjectFieldId = ? from the database.- Parameters:
parameterObjectFieldId- the parameter object field ID
-
countByParameterObjectFieldId
public static int countByParameterObjectFieldId(long parameterObjectFieldId) Returns the number of object relationships where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId- the parameter object field ID- Returns:
- the number of matching object relationships
-
findByC_U
Returns all the object relationships where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the matching object relationships
-
findByC_U
Returns a range of all the object relationships where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
companyId- the company IDuserId- the user IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByC_U
public static List<ObjectRelationship> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
companyId- the company IDuserId- the user IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByC_U
public static List<ObjectRelationship> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
companyId- the company IDuserId- the user IDstart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByC_U_First
public static ObjectRelationship findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship 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 relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByC_U_First
public static ObjectRelationship fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship 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 relationship, or
nullif a matching object relationship could not be found
-
findByC_U_Last
public static ObjectRelationship findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship 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 relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByC_U_Last
public static ObjectRelationship fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship 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 relationship, or
nullif a matching object relationship could not be found
-
findByC_U_PrevAndNext
public static ObjectRelationship[] findByC_U_PrevAndNext(long objectRelationshipId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where companyId = ? and userId = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipcompanyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByC_U
public static void removeByC_U(long companyId, long userId) Removes all the object relationships 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 relationships where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the number of matching object relationships
-
findByODI1_E
Returns all the object relationships where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1- the object definition id1edge- the edge- Returns:
- the matching object relationships
-
findByODI1_E
public static List<ObjectRelationship> findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and edge = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1edge- the edgestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_E
public static List<ObjectRelationship> findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and edge = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1edge- the edgestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByODI1_E
public static List<ObjectRelationship> findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and edge = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1edge- the edgestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByODI1_E_First
public static ObjectRelationship findByODI1_E_First(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1- the object definition id1edge- the edgeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_E_First
public static ObjectRelationship fetchByODI1_E_First(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1- the object definition id1edge- the edgeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_E_Last
public static ObjectRelationship findByODI1_E_Last(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1- the object definition id1edge- the edgeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_E_Last
public static ObjectRelationship fetchByODI1_E_Last(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1- the object definition id1edge- the edgeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_E_PrevAndNext
public static ObjectRelationship[] findByODI1_E_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId1- the object definition id1edge- the edgeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByODI1_E
public static void removeByODI1_E(long objectDefinitionId1, boolean edge) Removes all the object relationships where objectDefinitionId1 = ? and edge = ? from the database.- Parameters:
objectDefinitionId1- the object definition id1edge- the edge
-
countByODI1_E
public static int countByODI1_E(long objectDefinitionId1, boolean edge) Returns the number of object relationships where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1- the object definition id1edge- the edge- Returns:
- the number of matching object relationships
-
findByODI1_N
Returns all the object relationships where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1- the object definition id1name- the name- Returns:
- the matching object relationships
-
findByODI1_N
public static List<ObjectRelationship> findByODI1_N(long objectDefinitionId1, String name, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1name- the namestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_N
public static List<ObjectRelationship> findByODI1_N(long objectDefinitionId1, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1name- the namestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByODI1_N
public static List<ObjectRelationship> findByODI1_N(long objectDefinitionId1, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and name = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1name- the namestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByODI1_N_First
public static ObjectRelationship findByODI1_N_First(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1- the object definition id1name- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_N_First
public static ObjectRelationship fetchByODI1_N_First(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1- the object definition id1name- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_N_Last
public static ObjectRelationship findByODI1_N_Last(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1- the object definition id1name- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_N_Last
public static ObjectRelationship fetchByODI1_N_Last(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1- the object definition id1name- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_N_PrevAndNext
public static ObjectRelationship[] findByODI1_N_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId1- the object definition id1name- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByODI1_N
Removes all the object relationships where objectDefinitionId1 = ? and name = ? from the database.- Parameters:
objectDefinitionId1- the object definition id1name- the name
-
countByODI1_N
Returns the number of object relationships where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1- the object definition id1name- the name- Returns:
- the number of matching object relationships
-
findByODI1_R
Returns all the object relationships where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reverse- Returns:
- the matching object relationships
-
findByODI1_R
public static List<ObjectRelationship> findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_R
public static List<ObjectRelationship> findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByODI1_R
public static List<ObjectRelationship> findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByODI1_R_First
public static ObjectRelationship findByODI1_R_First(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_R_First
public static ObjectRelationship fetchByODI1_R_First(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_R_Last
public static ObjectRelationship findByODI1_R_Last(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_R_Last
public static ObjectRelationship fetchByODI1_R_Last(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_R_PrevAndNext
public static ObjectRelationship[] findByODI1_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId1- the object definition id1reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByODI1_R
public static void removeByODI1_R(long objectDefinitionId1, boolean reverse) Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? from the database.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reverse
-
countByODI1_R
public static int countByODI1_R(long objectDefinitionId1, boolean reverse) Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reverse- Returns:
- the number of matching object relationships
-
findByODI2_E
public static ObjectRelationship findByODI2_E(long objectDefinitionId2, boolean edge) throws NoSuchObjectRelationshipException Returns the object relationship where objectDefinitionId2 = ? and edge = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.- Parameters:
objectDefinitionId2- the object definition id2edge- the edge- Returns:
- the matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI2_E
Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId2- the object definition id2edge- the edge- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
fetchByODI2_E
public static ObjectRelationship fetchByODI2_E(long objectDefinitionId2, boolean edge, boolean useFinderCache) Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
objectDefinitionId2- the object definition id2edge- the edgeuseFinderCache- whether to use the finder cache- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
removeByODI2_E
public static ObjectRelationship removeByODI2_E(long objectDefinitionId2, boolean edge) throws NoSuchObjectRelationshipException Removes the object relationship where objectDefinitionId2 = ? and edge = ? from the database.- Parameters:
objectDefinitionId2- the object definition id2edge- the edge- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException
-
countByODI2_E
public static int countByODI2_E(long objectDefinitionId2, boolean edge) Returns the number of object relationships where objectDefinitionId2 = ? and edge = ?.- Parameters:
objectDefinitionId2- the object definition id2edge- the edge- Returns:
- the number of matching object relationships
-
findByODI2_R
Returns all the object relationships where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reverse- Returns:
- the matching object relationships
-
findByODI2_R
public static List<ObjectRelationship> findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end) Returns a range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI2_R
public static List<ObjectRelationship> findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByODI2_R
public static List<ObjectRelationship> findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByODI2_R_First
public static ObjectRelationship findByODI2_R_First(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI2_R_First
public static ObjectRelationship fetchByODI2_R_First(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI2_R_Last
public static ObjectRelationship findByODI2_R_Last(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI2_R_Last
public static ObjectRelationship fetchByODI2_R_Last(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI2_R_PrevAndNext
public static ObjectRelationship[] findByODI2_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId2- the object definition id2reverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByODI2_R
public static void removeByODI2_R(long objectDefinitionId2, boolean reverse) Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? from the database.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reverse
-
countByODI2_R
public static int countByODI2_R(long objectDefinitionId2, boolean reverse) Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reverse- Returns:
- the number of matching object relationships
-
findByDTN_R
public static ObjectRelationship findByDTN_R(String dbTableName, boolean reverse) throws NoSuchObjectRelationshipException Returns the object relationship where dbTableName = ? and reverse = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.- Parameters:
dbTableName- the db table namereverse- the reverse- Returns:
- the matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByDTN_R
Returns the object relationship where dbTableName = ? and reverse = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
dbTableName- the db table namereverse- the reverse- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
fetchByDTN_R
public static ObjectRelationship fetchByDTN_R(String dbTableName, boolean reverse, boolean useFinderCache) Returns the object relationship where dbTableName = ? and reverse = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
dbTableName- the db table namereverse- the reverseuseFinderCache- whether to use the finder cache- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
removeByDTN_R
public static ObjectRelationship removeByDTN_R(String dbTableName, boolean reverse) throws NoSuchObjectRelationshipException Removes the object relationship where dbTableName = ? and reverse = ? from the database.- Parameters:
dbTableName- the db table namereverse- the reverse- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException
-
countByDTN_R
Returns the number of object relationships where dbTableName = ? and reverse = ?.- Parameters:
dbTableName- the db table namereverse- the reverse- Returns:
- the number of matching object relationships
-
findByERC_C_ODI1
public static ObjectRelationship findByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) throws NoSuchObjectRelationshipException Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId1- the object definition id1- Returns:
- the matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByERC_C_ODI1
public static ObjectRelationship fetchByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId1- the object definition id1- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
fetchByERC_C_ODI1
public static ObjectRelationship fetchByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1, boolean useFinderCache) Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId1- the object definition id1useFinderCache- whether to use the finder cache- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
removeByERC_C_ODI1
public static ObjectRelationship removeByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) throws NoSuchObjectRelationshipException Removes the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId1- the object definition id1- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException
-
countByERC_C_ODI1
public static int countByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) Returns the number of object relationships where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId1- the object definition id1- Returns:
- the number of matching object relationships
-
findByODI1_ODI2_T
public static List<ObjectRelationship> findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type) Returns all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the type- Returns:
- the matching object relationships
-
findByODI1_ODI2_T
public static List<ObjectRelationship> findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_ODI2_T
public static List<ObjectRelationship> findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByODI1_ODI2_T
public static List<ObjectRelationship> findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByODI1_ODI2_T_First
public static ObjectRelationship findByODI1_ODI2_T_First(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_ODI2_T_First
public static ObjectRelationship fetchByODI1_ODI2_T_First(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_ODI2_T_Last
public static ObjectRelationship findByODI1_ODI2_T_Last(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_ODI2_T_Last
public static ObjectRelationship fetchByODI1_ODI2_T_Last(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_ODI2_T_PrevAndNext
public static ObjectRelationship[] findByODI1_ODI2_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByODI1_ODI2_T
public static void removeByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type) Removes all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ? from the database.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the type
-
countByODI1_ODI2_T
public static int countByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type) Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2type- the type- Returns:
- the number of matching object relationships
-
findByODI1_DT_R
public static List<ObjectRelationship> findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse) Returns all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reverse- Returns:
- the matching object relationships
-
findByODI1_DT_R
public static List<ObjectRelationship> findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reversestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_DT_R
public static List<ObjectRelationship> findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reversestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByODI1_DT_R
public static List<ObjectRelationship> findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reversestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByODI1_DT_R_First
public static ObjectRelationship findByODI1_DT_R_First(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_DT_R_First
public static ObjectRelationship fetchByODI1_DT_R_First(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_DT_R_Last
public static ObjectRelationship findByODI1_DT_R_Last(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_DT_R_Last
public static ObjectRelationship fetchByODI1_DT_R_Last(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_DT_R_PrevAndNext
public static ObjectRelationship[] findByODI1_DT_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reverseorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByODI1_DT_R
public static void removeByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse) Removes all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ? from the database.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reverse
-
countByODI1_DT_R
Returns the number of object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1- the object definition id1deletionType- the deletion typereverse- the reverse- Returns:
- the number of matching object relationships
-
findByODI1_R_T
public static List<ObjectRelationship> findByODI1_R_T(long objectDefinitionId1, boolean reverse, String type) Returns all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the type- Returns:
- the matching object relationships
-
findByODI1_R_T
public static List<ObjectRelationship> findByODI1_R_T(long objectDefinitionId1, boolean reverse, String type, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_R_T
public static List<ObjectRelationship> findByODI1_R_T(long objectDefinitionId1, boolean reverse, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByODI1_R_T
public static List<ObjectRelationship> findByODI1_R_T(long objectDefinitionId1, boolean reverse, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByODI1_R_T_First
public static ObjectRelationship findByODI1_R_T_First(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_R_T_First
public static ObjectRelationship fetchByODI1_R_T_First(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_R_T_Last
public static ObjectRelationship findByODI1_R_T_Last(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_R_T_Last
public static ObjectRelationship fetchByODI1_R_T_Last(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_R_T_PrevAndNext
public static ObjectRelationship[] findByODI1_R_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId1- the object definition id1reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByODI1_R_T
Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ? from the database.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the type
-
countByODI1_R_T
Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1reverse- the reversetype- the type- Returns:
- the number of matching object relationships
-
findByODI2_R_T
public static List<ObjectRelationship> findByODI2_R_T(long objectDefinitionId2, boolean reverse, String type) Returns all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the type- Returns:
- the matching object relationships
-
findByODI2_R_T
public static List<ObjectRelationship> findByODI2_R_T(long objectDefinitionId2, boolean reverse, String type, int start, int end) Returns a range of all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI2_R_T
public static List<ObjectRelationship> findByODI2_R_T(long objectDefinitionId2, boolean reverse, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByODI2_R_T
public static List<ObjectRelationship> findByODI2_R_T(long objectDefinitionId2, boolean reverse, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByODI2_R_T_First
public static ObjectRelationship findByODI2_R_T_First(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI2_R_T_First
public static ObjectRelationship fetchByODI2_R_T_First(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI2_R_T_Last
public static ObjectRelationship findByODI2_R_T_Last(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI2_R_T_Last
public static ObjectRelationship fetchByODI2_R_T_Last(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI2_R_T_PrevAndNext
public static ObjectRelationship[] findByODI2_R_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId2- the object definition id2reverse- the reversetype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByODI2_R_T
Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ? from the database.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the type
-
countByODI2_R_T
Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2- the object definition id2reverse- the reversetype- the type- Returns:
- the number of matching object relationships
-
findByODI1_ODI2_N_T
public static List<ObjectRelationship> findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type) Returns all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the type- Returns:
- the matching object relationships
-
findByODI1_ODI2_N_T
public static List<ObjectRelationship> findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type, int start, int end) Returns a range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_ODI2_N_T
public static List<ObjectRelationship> findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object relationships
-
findByODI1_ODI2_N_T
public static List<ObjectRelationship> findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the typestart- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (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 relationships
-
findByODI1_ODI2_N_T_First
public static ObjectRelationship findByODI1_ODI2_N_T_First(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_ODI2_N_T_First
public static ObjectRelationship fetchByODI1_ODI2_N_T_First(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_ODI2_N_T_Last
public static ObjectRelationship findByODI1_ODI2_N_T_Last(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_ODI2_N_T_Last
public static ObjectRelationship fetchByODI1_ODI2_N_T_Last(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object relationship, or
nullif a matching object relationship could not be found
-
findByODI1_ODI2_N_T_PrevAndNext
public static ObjectRelationship[] findByODI1_ODI2_N_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectRelationshipId- the primary key of the current object relationshipobjectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
removeByODI1_ODI2_N_T
public static void removeByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type) Removes all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ? from the database.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the type
-
countByODI1_ODI2_N_T
public static int countByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type) Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the nametype- the type- Returns:
- the number of matching object relationships
-
findByODI1_ODI2_N_R_T
public static ObjectRelationship findByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) throws NoSuchObjectRelationshipException Returns the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? or throws aNoSuchObjectRelationshipExceptionif it could not be found.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the namereverse- the reversetype- the type- Returns:
- the matching object relationship
- Throws:
NoSuchObjectRelationshipException- if a matching object relationship could not be foundNoSuchObjectRelationshipException
-
fetchByODI1_ODI2_N_R_T
public static ObjectRelationship fetchByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) Returns the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the namereverse- the reversetype- the type- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
fetchByODI1_ODI2_N_R_T
public static ObjectRelationship fetchByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type, boolean useFinderCache) Returns the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the namereverse- the reversetype- the typeuseFinderCache- whether to use the finder cache- Returns:
- the matching object relationship, or
nullif a matching object relationship could not be found
-
removeByODI1_ODI2_N_R_T
public static ObjectRelationship removeByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) throws NoSuchObjectRelationshipException Removes the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? from the database.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the namereverse- the reversetype- the type- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException
-
countByODI1_ODI2_N_R_T
public static int countByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1- the object definition id1objectDefinitionId2- the object definition id2name- the namereverse- the reversetype- the type- Returns:
- the number of matching object relationships
-
cacheResult
Caches the object relationship in the entity cache if it is enabled.- Parameters:
objectRelationship- the object relationship
-
cacheResult
Caches the object relationships in the entity cache if it is enabled.- Parameters:
objectRelationships- the object relationships
-
create
Creates a new object relationship with the primary key. Does not add the object relationship to the database.- Parameters:
objectRelationshipId- the primary key for the new object relationship- Returns:
- the new object relationship
-
remove
public static ObjectRelationship remove(long objectRelationshipId) throws NoSuchObjectRelationshipException Removes the object relationship with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectRelationshipId- the primary key of the object relationship- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
updateImpl
-
findByPrimaryKey
public static ObjectRelationship findByPrimaryKey(long objectRelationshipId) throws NoSuchObjectRelationshipException Returns the object relationship with the primary key or throws aNoSuchObjectRelationshipExceptionif it could not be found.- Parameters:
objectRelationshipId- the primary key of the object relationship- Returns:
- the object relationship
- Throws:
NoSuchObjectRelationshipException- if a object relationship with the primary key could not be foundNoSuchObjectRelationshipException
-
fetchByPrimaryKey
Returns the object relationship with the primary key or returnsnullif it could not be found.- Parameters:
objectRelationshipId- the primary key of the object relationship- Returns:
- the object relationship, or
nullif a object relationship with the primary key could not be found
-
findAll
Returns all the object relationships.- Returns:
- the object relationships
-
findAll
Returns a range of all the object relationships.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
start- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of object relationships
-
findAll
public static List<ObjectRelationship> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns an ordered range of all the object relationships.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
start- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of object relationships
-
findAll
public static List<ObjectRelationship> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object relationships.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl.- Parameters:
start- the lower bound of the range of object relationshipsend- the upper bound of the range of object relationships (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of object relationships
-
removeAll
public static void removeAll()Removes all the object relationships from the database. -
countAll
public static int countAll()Returns the number of object relationships.- Returns:
- the number of object relationships
-
getPersistence
-
setPersistence
-