Class ObjectRelationshipUtil

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

public class ObjectRelationshipUtil extends Object
The persistence utility for the object relationship service. This utility wraps 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(ObjectRelationship objectRelationship)
    Caches the object relationship in the entity cache if it is enabled.
    static void
    cacheResult(List<ObjectRelationship> objectRelationships)
    Caches the object relationships in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(ObjectRelationship objectRelationship)
     
    static int
    Returns the number of object relationships.
    static int
    countByC_U(long companyId, long userId)
    Returns the number of object relationships where companyId = ? and userId = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of object relationships where companyId = ?.
    static int
    countByDTN_R(String dbTableName, boolean reverse)
    Returns the number of object relationships where dbTableName = ? and reverse = ?.
    static int
    countByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1)
    Returns the number of object relationships where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ?.
    static int
    countByObjectDefinitionId1(long objectDefinitionId1)
    Returns the number of object relationships where objectDefinitionId1 = ?.
    static int
    countByObjectDefinitionId2(long objectDefinitionId2)
    Returns the number of object relationships where objectDefinitionId2 = ?.
    static int
    countByObjectFieldId2(long objectFieldId2)
    Returns the number of object relationships where objectFieldId2 = ?.
    static int
    countByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse)
    Returns the number of object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
    static int
    countByODI1_E(long objectDefinitionId1, boolean edge)
    Returns the number of object relationships where objectDefinitionId1 = ? and edge = ?.
    static int
    countByODI1_N(long objectDefinitionId1, String name)
    Returns the number of object relationships where objectDefinitionId1 = ? and name = ?.
    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 = ?.
    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 = ?.
    static int
    countByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type)
    Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
    static int
    countByODI1_R(long objectDefinitionId1, boolean reverse)
    Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ?.
    static int
    countByODI1_R_T(long objectDefinitionId1, boolean reverse, String type)
    Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.
    static int
    countByODI2_E(long objectDefinitionId2, boolean edge)
    Returns the number of object relationships where objectDefinitionId2 = ? and edge = ?.
    static int
    countByODI2_R(long objectDefinitionId2, boolean reverse)
    Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ?.
    static int
    countByODI2_R_T(long objectDefinitionId2, boolean reverse, String type)
    Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.
    static int
    countByParameterObjectFieldId(long parameterObjectFieldId)
    Returns the number of object relationships where parameterObjectFieldId = ?.
    static int
    Returns the number of object relationships where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object relationships where uuid = ? and companyId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long objectRelationshipId)
    Creates a new object relationship with the primary key.
    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 = ?.
    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 = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where companyId = ?.
    fetchByDTN_R(String dbTableName, boolean reverse)
    Returns the object relationship where dbTableName = ? and reverse = ? or returns null if it could not be found.
    fetchByDTN_R(String dbTableName, boolean reverse, boolean useFinderCache)
    Returns the object relationship where dbTableName = ? and reverse = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1)
    Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returns null if it could not be found.
    fetchByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1, boolean useFinderCache)
    Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.
    fetchByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.
    fetchByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.
    fetchByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.
    fetchByObjectFieldId2(long objectFieldId2)
    Returns the object relationship where objectFieldId2 = ? or returns null if it could not be found.
    fetchByObjectFieldId2(long objectFieldId2, boolean useFinderCache)
    Returns the object relationship where objectFieldId2 = ? or returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 returns null if it could not be found.
    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 returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByODI2_E(long objectDefinitionId2, boolean edge)
    Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returns null if it could not be found.
    fetchByODI2_E(long objectDefinitionId2, boolean edge, boolean useFinderCache)
    Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.
    fetchByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.
    fetchByPrimaryKey(long objectRelationshipId)
    Returns the object relationship with the primary key or returns null if it could not be found.
     
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where uuid = ? and companyId = ?.
    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 = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where uuid = ?.
    Returns all the object relationships.
    findAll(int start, int end)
    Returns a range of all the object relationships.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns an ordered range of all the object relationships.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object relationships.
    findByC_U(long companyId, long userId)
    Returns all the object relationships where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end)
    Returns a range of all the object relationships where companyId = ? and userId = ?.
    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 = ?.
    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 = ?.
    findByC_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 = ?.
    findByC_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 = ?.
    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 = ?.
    findByCompanyId(long companyId)
    Returns all the object relationships where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the object relationships where companyId = ?.
    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 = ?.
    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 = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where companyId = ?.
    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 = ?.
    findByDTN_R(String dbTableName, boolean reverse)
    Returns the object relationship where dbTableName = ? and reverse = ? or throws a NoSuchObjectRelationshipException if it could not be found.
    findByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1)
    Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or throws a NoSuchObjectRelationshipException if it could not be found.
    findByObjectDefinitionId1(long objectDefinitionId1)
    Returns all the object relationships where objectDefinitionId1 = ?.
    findByObjectDefinitionId1(long objectDefinitionId1, int start, int end)
    Returns a range of all the object relationships where objectDefinitionId1 = ?.
    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 = ?.
    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 = ?.
    findByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.
    findByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.
    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 = ?.
    findByObjectDefinitionId2(long objectDefinitionId2)
    Returns all the object relationships where objectDefinitionId2 = ?.
    findByObjectDefinitionId2(long objectDefinitionId2, int start, int end)
    Returns a range of all the object relationships where objectDefinitionId2 = ?.
    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 = ?.
    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 = ?.
    findByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.
    findByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.
    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 = ?.
    findByObjectFieldId2(long objectFieldId2)
    Returns the object relationship where objectFieldId2 = ? or throws a NoSuchObjectRelationshipException if it could not be found.
    findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse)
    Returns all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByODI1_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 = ?.
    findByODI1_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 = ?.
    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 = ?.
    findByODI1_E(long objectDefinitionId1, boolean edge)
    Returns all the object relationships where objectDefinitionId1 = ? and edge = ?.
    findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end)
    Returns a range of all the object relationships where objectDefinitionId1 = ? and edge = ?.
    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 = ?.
    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 = ?.
    findByODI1_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 = ?.
    findByODI1_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 = ?.
    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 = ?.
    findByODI1_N(long objectDefinitionId1, String name)
    Returns all the object relationships where objectDefinitionId1 = ? and name = ?.
    findByODI1_N(long objectDefinitionId1, String name, int start, int end)
    Returns a range of all the object relationships where objectDefinitionId1 = ? and name = ?.
    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 = ?.
    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 = ?.
    findByODI1_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 = ?.
    findByODI1_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 = ?.
    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 = ?.
    findByODI1_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 a NoSuchObjectRelationshipException if it could not be found.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByODI1_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 = ?.
    findByODI1_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 = ?.
    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 = ?.
    findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type)
    Returns all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByODI1_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 = ?.
    findByODI1_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 = ?.
    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 = ?.
    findByODI1_R(long objectDefinitionId1, boolean reverse)
    Returns all the object relationships where objectDefinitionId1 = ? and reverse = ?.
    findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end)
    Returns a range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.
    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 = ?.
    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 = ?.
    findByODI1_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 = ?.
    findByODI1_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 = ?.
    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 = ?.
    findByODI1_R_T(long objectDefinitionId1, boolean reverse, String type)
    Returns all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByODI1_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 = ?.
    findByODI1_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 = ?.
    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 = ?.
    findByODI2_E(long objectDefinitionId2, boolean edge)
    Returns the object relationship where objectDefinitionId2 = ? and edge = ? or throws a NoSuchObjectRelationshipException if it could not be found.
    findByODI2_R(long objectDefinitionId2, boolean reverse)
    Returns all the object relationships where objectDefinitionId2 = ? and reverse = ?.
    findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end)
    Returns a range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.
    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 = ?.
    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 = ?.
    findByODI2_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 = ?.
    findByODI2_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 = ?.
    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 = ?.
    findByODI2_R_T(long objectDefinitionId2, boolean reverse, String type)
    Returns all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByODI2_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 = ?.
    findByODI2_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 = ?.
    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 = ?.
    findByParameterObjectFieldId(long parameterObjectFieldId)
    Returns all the object relationships where parameterObjectFieldId = ?.
    findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end)
    Returns a range of all the object relationships where parameterObjectFieldId = ?.
    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 = ?.
    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 = ?.
    findByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.
    findByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.
    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 = ?.
    findByPrimaryKey(long objectRelationshipId)
    Returns the object relationship with the primary key or throws a NoSuchObjectRelationshipException if it could not be found.
    Returns all the object relationships where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object relationships where uuid = ?.
    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 = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object relationships where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object relationships where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    findByUuid_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 = ?.
    findByUuid_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 = ?.
    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 = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the first object relationship in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
    Returns the last object relationship in the ordered set where uuid = ?.
    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 = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
     
     
    remove(long objectRelationshipId)
    Removes the object relationship with the primary key from the database.
    static void
    Removes all the object relationships from the database.
    static void
    removeByC_U(long companyId, long userId)
    Removes all the object relationships where companyId = ? and userId = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the object relationships where companyId = ? from the database.
    removeByDTN_R(String dbTableName, boolean reverse)
    Removes the object relationship where dbTableName = ? and reverse = ? from the database.
    removeByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1)
    Removes the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? from the database.
    static void
    removeByObjectDefinitionId1(long objectDefinitionId1)
    Removes all the object relationships where objectDefinitionId1 = ? from the database.
    static void
    removeByObjectDefinitionId2(long objectDefinitionId2)
    Removes all the object relationships where objectDefinitionId2 = ? from the database.
    removeByObjectFieldId2(long objectFieldId2)
    Removes the object relationship where objectFieldId2 = ? from the database.
    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.
    static void
    removeByODI1_E(long objectDefinitionId1, boolean edge)
    Removes all the object relationships where objectDefinitionId1 = ? and edge = ? from the database.
    static void
    removeByODI1_N(long objectDefinitionId1, String name)
    Removes all the object relationships where objectDefinitionId1 = ? and name = ? from the database.
    removeByODI1_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 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.
    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.
    static void
    removeByODI1_R(long objectDefinitionId1, boolean reverse)
    Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? from the database.
    static void
    removeByODI1_R_T(long objectDefinitionId1, boolean reverse, String type)
    Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ? from the database.
    removeByODI2_E(long objectDefinitionId2, boolean edge)
    Removes the object relationship where objectDefinitionId2 = ? and edge = ? from the database.
    static void
    removeByODI2_R(long objectDefinitionId2, boolean reverse)
    Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? from the database.
    static void
    removeByODI2_R_T(long objectDefinitionId2, boolean reverse, String type)
    Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ? from the database.
    static void
    removeByParameterObjectFieldId(long parameterObjectFieldId)
    Removes all the object relationships where parameterObjectFieldId = ? from the database.
    static void
    Removes all the object relationships where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object relationships where uuid = ? and companyId = ? from the database.
    static void
     
    update(ObjectRelationship objectRelationship)
     
    update(ObjectRelationship objectRelationship, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(ObjectRelationship objectRelationship)
     

    Methods inherited from class java.lang.Object

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

    • ObjectRelationshipUtil

      public ObjectRelationshipUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(ObjectRelationship objectRelationship)
      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

      public static ObjectRelationship update(ObjectRelationship objectRelationship)
      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

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

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

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • removeByUuid

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

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

      public static List<ObjectRelationship> findByUuid_C(String uuid, long companyId)
      Returns all the object relationships where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • removeByUuid_C

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

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

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

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

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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

      public static List<ObjectRelationship> findByObjectDefinitionId1(long objectDefinitionId1)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId1 - the object definition id1
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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

      public static List<ObjectRelationship> findByObjectDefinitionId2(long objectDefinitionId2)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId2 - the object definition id2
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId2 - the object definition id2
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId2 - the object definition id2
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId2 - the object definition id2
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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 a NoSuchObjectRelationshipException if 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 found
      NoSuchObjectRelationshipException
    • fetchByObjectFieldId2

      public static ObjectRelationship fetchByObjectFieldId2(long objectFieldId2)
      Returns the object relationship where objectFieldId2 = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      objectFieldId2 - the object field id2
      Returns:
      the matching object relationship, or null if a matching object relationship could not be found
    • fetchByObjectFieldId2

      public static ObjectRelationship fetchByObjectFieldId2(long objectFieldId2, boolean useFinderCache)
      Returns the object relationship where objectFieldId2 = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      objectFieldId2 - the object field id2
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object relationship, or null if 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

      public static List<ObjectRelationship> findByParameterObjectFieldId(long parameterObjectFieldId)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      parameterObjectFieldId - the parameter object field ID
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      parameterObjectFieldId - the parameter object field ID
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      parameterObjectFieldId - the parameter object field ID
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      parameterObjectFieldId - the parameter object field ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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

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

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

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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 ID
      userId - 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 ID
      userId - the user ID
      Returns:
      the number of matching object relationships
    • findByODI1_E

      public static List<ObjectRelationship> findByODI1_E(long objectDefinitionId1, boolean edge)
      Returns all the object relationships where objectDefinitionId1 = ? and edge = ?.
      Parameters:
      objectDefinitionId1 - the object definition id1
      edge - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      edge - the edge
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      edge - the edge
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      edge - the edge
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id1
      edge - the edge
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      edge - the edge
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id1
      edge - the edge
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      edge - the edge
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId1 - the object definition id1
      edge - the edge
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      edge - 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 id1
      edge - the edge
      Returns:
      the number of matching object relationships
    • findByODI1_N

      public static List<ObjectRelationship> findByODI1_N(long objectDefinitionId1, String name)
      Returns all the object relationships where objectDefinitionId1 = ? and name = ?.
      Parameters:
      objectDefinitionId1 - the object definition id1
      name - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      name - the name
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      name - the name
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      name - the name
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id1
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id1
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId1 - the object definition id1
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • removeByODI1_N

      public static void removeByODI1_N(long objectDefinitionId1, String name)
      Removes all the object relationships where objectDefinitionId1 = ? and name = ? from the database.
      Parameters:
      objectDefinitionId1 - the object definition id1
      name - the name
    • countByODI1_N

      public static int countByODI1_N(long objectDefinitionId1, String name)
      Returns the number of object relationships where objectDefinitionId1 = ? and name = ?.
      Parameters:
      objectDefinitionId1 - the object definition id1
      name - the name
      Returns:
      the number of matching object relationships
    • findByODI1_R

      public static List<ObjectRelationship> findByODI1_R(long objectDefinitionId1, boolean reverse)
      Returns all the object relationships where objectDefinitionId1 = ? and reverse = ?.
      Parameters:
      objectDefinitionId1 - the object definition id1
      reverse - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id1
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id1
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      reverse - 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 id1
      reverse - 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 a NoSuchObjectRelationshipException if it could not be found.
      Parameters:
      objectDefinitionId2 - the object definition id2
      edge - the edge
      Returns:
      the matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • fetchByODI2_E

      public static ObjectRelationship fetchByODI2_E(long objectDefinitionId2, boolean edge)
      Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      objectDefinitionId2 - the object definition id2
      edge - the edge
      Returns:
      the matching object relationship, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      objectDefinitionId2 - the object definition id2
      edge - the edge
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object relationship, or null if 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 id2
      edge - 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 id2
      edge - the edge
      Returns:
      the number of matching object relationships
    • findByODI2_R

      public static List<ObjectRelationship> findByODI2_R(long objectDefinitionId2, boolean reverse)
      Returns all the object relationships where objectDefinitionId2 = ? and reverse = ?.
      Parameters:
      objectDefinitionId2 - the object definition id2
      reverse - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id2
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id2
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id2
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id2
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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 id2
      reverse - 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 id2
      reverse - 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 a NoSuchObjectRelationshipException if it could not be found.
      Parameters:
      dbTableName - the db table name
      reverse - the reverse
      Returns:
      the matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • fetchByDTN_R

      public static ObjectRelationship fetchByDTN_R(String dbTableName, boolean reverse)
      Returns the object relationship where dbTableName = ? and reverse = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      dbTableName - the db table name
      reverse - the reverse
      Returns:
      the matching object relationship, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      dbTableName - the db table name
      reverse - the reverse
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object relationship, or null if 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 name
      reverse - the reverse
      Returns:
      the object relationship that was removed
      Throws:
      NoSuchObjectRelationshipException
    • countByDTN_R

      public static int countByDTN_R(String dbTableName, boolean reverse)
      Returns the number of object relationships where dbTableName = ? and reverse = ?.
      Parameters:
      dbTableName - the db table name
      reverse - 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 a NoSuchObjectRelationshipException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId1 - the object definition id1
      Returns:
      the matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId1 - the object definition id1
      Returns:
      the matching object relationship, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId1 - the object definition id1
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object relationship, or null if 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 code
      companyId - the company ID
      objectDefinitionId1 - 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 code
      companyId - the company ID
      objectDefinitionId1 - 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 id1
      objectDefinitionId2 - the object definition id2
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      type - the type
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      type - the type
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      type - the type
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id1
      objectDefinitionId2 - the object definition id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      objectDefinitionId2 - the object definition id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id1
      objectDefinitionId2 - the object definition id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      objectDefinitionId2 - the object definition id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      objectDefinitionId2 - the object definition id2
      type - 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 id1
      objectDefinitionId2 - the object definition id2
      type - 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 id1
      deletionType - the deletion type
      reverse - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      deletionType - the deletion type
      reverse - the reverse
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      deletionType - the deletion type
      reverse - the reverse
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      deletionType - the deletion type
      reverse - the reverse
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id1
      deletionType - the deletion type
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      deletionType - the deletion type
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id1
      deletionType - the deletion type
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      deletionType - the deletion type
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId1 - the object definition id1
      deletionType - the deletion type
      reverse - the reverse
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      deletionType - the deletion type
      reverse - the reverse
    • countByODI1_DT_R

      public static int countByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse)
      Returns the number of object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
      Parameters:
      objectDefinitionId1 - the object definition id1
      deletionType - the deletion type
      reverse - 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 id1
      reverse - the reverse
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      type - the type
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      type - the type
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      type - the type
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id1
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id1
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • removeByODI1_R_T

      public static void removeByODI1_R_T(long objectDefinitionId1, boolean reverse, String type)
      Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ? from the database.
      Parameters:
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      type - the type
    • countByODI1_R_T

      public static int countByODI1_R_T(long objectDefinitionId1, boolean reverse, String type)
      Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.
      Parameters:
      objectDefinitionId1 - the object definition id1
      reverse - the reverse
      type - 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 id2
      reverse - the reverse
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      type - the type
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      type - the type
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      type - the type
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id2
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id2
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id2
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id2
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • removeByODI2_R_T

      public static void removeByODI2_R_T(long objectDefinitionId2, boolean reverse, String type)
      Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ? from the database.
      Parameters:
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      type - the type
    • countByODI2_R_T

      public static int countByODI2_R_T(long objectDefinitionId2, boolean reverse, String type)
      Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.
      Parameters:
      objectDefinitionId2 - the object definition id2
      reverse - the reverse
      type - 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 id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - the type
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - the type
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - the type
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching object 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 id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object relationship, or null if 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 id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object relationship, or null if 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 relationship
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object relationship
      Throws:
      NoSuchObjectRelationshipException - if a object relationship with the primary key could not be found
      NoSuchObjectRelationshipException
    • 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 id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - 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 id1
      objectDefinitionId2 - the object definition id2
      name - the name
      type - 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 a NoSuchObjectRelationshipException if it could not be found.
      Parameters:
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      name - the name
      reverse - the reverse
      type - the type
      Returns:
      the matching object relationship
      Throws:
      NoSuchObjectRelationshipException - if a matching object relationship could not be found
      NoSuchObjectRelationshipException
    • 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      name - the name
      reverse - the reverse
      type - the type
      Returns:
      the matching object relationship, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      objectDefinitionId1 - the object definition id1
      objectDefinitionId2 - the object definition id2
      name - the name
      reverse - the reverse
      type - the type
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object relationship, or null if 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 id1
      objectDefinitionId2 - the object definition id2
      name - the name
      reverse - the reverse
      type - 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 id1
      objectDefinitionId2 - the object definition id2
      name - the name
      reverse - the reverse
      type - the type
      Returns:
      the number of matching object relationships
    • cacheResult

      public static void cacheResult(ObjectRelationship objectRelationship)
      Caches the object relationship in the entity cache if it is enabled.
      Parameters:
      objectRelationship - the object relationship
    • cacheResult

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

      public static ObjectRelationship create(long objectRelationshipId)
      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 found
      NoSuchObjectRelationshipException
    • updateImpl

      public static ObjectRelationship updateImpl(ObjectRelationship objectRelationship)
    • findByPrimaryKey

      public static ObjectRelationship findByPrimaryKey(long objectRelationshipId) throws NoSuchObjectRelationshipException
      Returns the object relationship with the primary key or throws a NoSuchObjectRelationshipException if 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 found
      NoSuchObjectRelationshipException
    • fetchByPrimaryKey

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

      public static List<ObjectRelationship> findAll()
      Returns all the object relationships.
      Returns:
      the object relationships
    • findAll

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

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

      Parameters:
      start - the lower bound of the range of object relationships
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl.

      Parameters:
      start - the lower bound of the range of object relationships
      end - the upper bound of the range of object relationships (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of object 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

      public static ObjectRelationshipPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ObjectRelationshipPersistence persistence)