Interface ObjectRelationshipPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectRelationship>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectRelationship objectRelationship) Caches the object relationship in the entity cache if it is enabled.void
cacheResult
(List<ObjectRelationship> objectRelationships) Caches the object relationships in the entity cache if it is enabled.int
countAll()
Returns the number of object relationships.int
countByC_U
(long companyId, long userId) Returns the number of object relationships where companyId = ? and userId = ?.int
countByCompanyId
(long companyId) Returns the number of object relationships where companyId = ?.int
countByDTN_R
(String dbTableName, boolean reverse) Returns the number of object relationships where dbTableName = ? and reverse = ?.int
countByERC_C_ODI1
(String externalReferenceCode, long companyId, long objectDefinitionId1) Returns the number of object relationships where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ?.int
countByObjectDefinitionId1
(long objectDefinitionId1) Returns the number of object relationships where objectDefinitionId1 = ?.int
countByObjectDefinitionId2
(long objectDefinitionId2) Returns the number of object relationships where objectDefinitionId2 = ?.int
countByObjectFieldId2
(long objectFieldId2) Returns the number of object relationships where objectFieldId2 = ?.int
countByODI1_DT_R
(long objectDefinitionId1, String deletionType, boolean reverse) Returns the number of object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.int
countByODI1_E
(long objectDefinitionId1, boolean edge) Returns the number of object relationships where objectDefinitionId1 = ? and edge = ?.int
countByODI1_N
(long objectDefinitionId1, String name) Returns the number of object relationships where objectDefinitionId1 = ? and name = ?.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 = ?.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 = ?.int
countByODI1_ODI2_T
(long objectDefinitionId1, long objectDefinitionId2, String type) Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.int
countByODI1_R
(long objectDefinitionId1, boolean reverse) Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ?.int
countByODI1_R_T
(long objectDefinitionId1, boolean reverse, String type) Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.int
countByODI2_E
(long objectDefinitionId2, boolean edge) Returns the number of object relationships where objectDefinitionId2 = ? and edge = ?.int
countByODI2_R
(long objectDefinitionId2, boolean reverse) Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ?.int
countByODI2_R_T
(long objectDefinitionId2, boolean reverse, String type) Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.int
countByParameterObjectFieldId
(long parameterObjectFieldId) Returns the number of object relationships where parameterObjectFieldId = ?.int
countByUuid
(String uuid) Returns the number of object relationships where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object relationships where uuid = ? and companyId = ?.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 returnsnull
if it could not be found.fetchByDTN_R
(String dbTableName, boolean reverse, boolean useFinderCache) Returns the object relationship where dbTableName = ? and reverse = ? or returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
if it could not be found.fetchByObjectFieldId2
(long objectFieldId2, boolean useFinderCache) Returns the object relationship where objectFieldId2 = ? or returnsnull
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 returnsnull
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 returnsnull
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 returnsnull
if it could not be found.fetchByODI2_E
(long objectDefinitionId2, boolean edge, boolean useFinderCache) Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returnsnull
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 returnsnull
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 = ?.findAll()
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 aNoSuchObjectRelationshipException
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 aNoSuchObjectRelationshipException
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 aNoSuchObjectRelationshipException
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 aNoSuchObjectRelationshipException
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 aNoSuchObjectRelationshipException
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 aNoSuchObjectRelationshipException
if it could not be found.findByUuid
(String uuid) 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 = ?.remove
(long objectRelationshipId) Removes the object relationship with the primary key from the database.void
Removes all the object relationships from the database.void
removeByC_U
(long companyId, long userId) Removes all the object relationships where companyId = ? and userId = ? from the database.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.void
removeByObjectDefinitionId1
(long objectDefinitionId1) Removes all the object relationships where objectDefinitionId1 = ? from the database.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.void
removeByODI1_DT_R
(long objectDefinitionId1, String deletionType, boolean reverse) Removes all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ? from the database.void
removeByODI1_E
(long objectDefinitionId1, boolean edge) Removes all the object relationships where objectDefinitionId1 = ? and edge = ? from the database.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.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.void
removeByODI1_ODI2_T
(long objectDefinitionId1, long objectDefinitionId2, String type) Removes all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ? from the database.void
removeByODI1_R
(long objectDefinitionId1, boolean reverse) Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? from the database.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.void
removeByODI2_R
(long objectDefinitionId2, boolean reverse) Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? from the database.void
removeByODI2_R_T
(long objectDefinitionId2, boolean reverse, String type) Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ? from the database.void
removeByParameterObjectFieldId
(long parameterObjectFieldId) Removes all the object relationships where parameterObjectFieldId = ? from the database.void
removeByUuid
(String uuid) Removes all the object relationships where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object relationships where uuid = ? and companyId = ? from the database.updateImpl
(ObjectRelationship objectRelationship) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the object relationships where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object relationships
-
findByUuid
Returns a range of all the object relationships where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByUuid
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByUuid
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByUuid_First
ObjectRelationship findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByUuid_First
ObjectRelationship fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByUuid_Last
ObjectRelationship findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByUuid_Last
ObjectRelationship fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByUuid_PrevAndNext
ObjectRelationship[] findByUuid_PrevAndNext(long objectRelationshipId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where uuid = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByUuid
Removes all the object relationships where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object relationships where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object relationships
-
findByUuid_C
Returns all the object relationships where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object relationships
-
findByUuid_C
Returns a range of all the object relationships where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByUuid_C
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByUuid_C
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByUuid_C_First
ObjectRelationship findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByUuid_C_First
ObjectRelationship fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByUuid_C_Last
ObjectRelationship findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByUuid_C_Last
ObjectRelationship fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByUuid_C_PrevAndNext
ObjectRelationship[] findByUuid_C_PrevAndNext(long objectRelationshipId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByUuid_C
Removes all the object relationships where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object relationships where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object relationships
-
findByCompanyId
Returns all the object relationships where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching object relationships
-
findByCompanyId
Returns a range of all the object relationships where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByCompanyId
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByCompanyId
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByCompanyId_First
ObjectRelationship findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByCompanyId_First
ObjectRelationship fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByCompanyId_Last
ObjectRelationship findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByCompanyId_Last
ObjectRelationship fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByCompanyId_PrevAndNext
ObjectRelationship[] findByCompanyId_PrevAndNext(long objectRelationshipId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where companyId = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the object relationships where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of object relationships where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching object relationships
-
findByObjectDefinitionId1
Returns all the object relationships where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1
- the object definition id1- Returns:
- the matching object relationships
-
findByObjectDefinitionId1
Returns a range of all the object relationships where objectDefinitionId1 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByObjectDefinitionId1
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByObjectDefinitionId1
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByObjectDefinitionId1_First
ObjectRelationship findByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByObjectDefinitionId1_First
ObjectRelationship fetchByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByObjectDefinitionId1_Last
ObjectRelationship findByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByObjectDefinitionId1_Last
ObjectRelationship fetchByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByObjectDefinitionId1_PrevAndNext
ObjectRelationship[] findByObjectDefinitionId1_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByObjectDefinitionId1
void removeByObjectDefinitionId1(long objectDefinitionId1) Removes all the object relationships where objectDefinitionId1 = ? from the database.- Parameters:
objectDefinitionId1
- the object definition id1
-
countByObjectDefinitionId1
int countByObjectDefinitionId1(long objectDefinitionId1) Returns the number of object relationships where objectDefinitionId1 = ?.- Parameters:
objectDefinitionId1
- the object definition id1- Returns:
- the number of matching object relationships
-
findByObjectDefinitionId2
Returns all the object relationships where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2
- the object definition id2- Returns:
- the matching object relationships
-
findByObjectDefinitionId2
Returns a range of all the object relationships where objectDefinitionId2 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId2
- the object definition id2start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByObjectDefinitionId2
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId2
- the object definition id2start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByObjectDefinitionId2
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId2
- the object definition id2start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByObjectDefinitionId2_First
ObjectRelationship findByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByObjectDefinitionId2_First
ObjectRelationship fetchByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByObjectDefinitionId2_Last
ObjectRelationship findByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByObjectDefinitionId2_Last
ObjectRelationship fetchByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByObjectDefinitionId2_PrevAndNext
ObjectRelationship[] findByObjectDefinitionId2_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByObjectDefinitionId2
void removeByObjectDefinitionId2(long objectDefinitionId2) Removes all the object relationships where objectDefinitionId2 = ? from the database.- Parameters:
objectDefinitionId2
- the object definition id2
-
countByObjectDefinitionId2
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
ObjectRelationship findByObjectFieldId2(long objectFieldId2) throws NoSuchObjectRelationshipException Returns the object relationship where objectFieldId2 = ? or throws aNoSuchObjectRelationshipException
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
-
fetchByObjectFieldId2
Returns the object relationship where objectFieldId2 = ? or returnsnull
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
Returns the object relationship where objectFieldId2 = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
objectFieldId2
- the object field id2useFinderCache
- whether to use the finder cache- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
removeByObjectFieldId2
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
int countByObjectFieldId2(long objectFieldId2) Returns the number of object relationships where objectFieldId2 = ?.- Parameters:
objectFieldId2
- the object field id2- Returns:
- the number of matching object relationships
-
findByParameterObjectFieldId
Returns all the object relationships where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId
- the parameter object field ID- Returns:
- the matching object relationships
-
findByParameterObjectFieldId
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
parameterObjectFieldId
- the parameter object field IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByParameterObjectFieldId
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
parameterObjectFieldId
- the parameter object field IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByParameterObjectFieldId
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
parameterObjectFieldId
- the parameter object field IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByParameterObjectFieldId_First
ObjectRelationship findByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByParameterObjectFieldId_First
ObjectRelationship fetchByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByParameterObjectFieldId_Last
ObjectRelationship findByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByParameterObjectFieldId_Last
ObjectRelationship fetchByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByParameterObjectFieldId_PrevAndNext
ObjectRelationship[] findByParameterObjectFieldId_PrevAndNext(long objectRelationshipId, long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where parameterObjectFieldId = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipparameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByParameterObjectFieldId
void removeByParameterObjectFieldId(long parameterObjectFieldId) Removes all the object relationships where parameterObjectFieldId = ? from the database.- Parameters:
parameterObjectFieldId
- the parameter object field ID
-
countByParameterObjectFieldId
int countByParameterObjectFieldId(long parameterObjectFieldId) Returns the number of object relationships where parameterObjectFieldId = ?.- Parameters:
parameterObjectFieldId
- the parameter object field ID- Returns:
- the number of matching object relationships
-
findByC_U
Returns all the object relationships where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the matching object relationships
-
findByC_U
Returns a range of all the object relationships where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByC_U
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByC_U
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByC_U_First
ObjectRelationship findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByC_U_First
ObjectRelationship fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByC_U_Last
ObjectRelationship findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByC_U_Last
ObjectRelationship fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByC_U_PrevAndNext
ObjectRelationship[] findByC_U_PrevAndNext(long objectRelationshipId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where companyId = ? and userId = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipcompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByC_U
void removeByC_U(long companyId, long userId) Removes all the object relationships where companyId = ? and userId = ? from the database.- Parameters:
companyId
- the company IDuserId
- the user ID
-
countByC_U
int countByC_U(long companyId, long userId) Returns the number of object relationships where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the number of matching object relationships
-
findByODI1_E
Returns all the object relationships where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edge- Returns:
- the matching object relationships
-
findByODI1_E
Returns a range of all the object relationships where objectDefinitionId1 = ? and edge = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edgestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_E
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edgestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByODI1_E
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edgestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByODI1_E_First
ObjectRelationship findByODI1_E_First(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_E_First
ObjectRelationship fetchByODI1_E_First(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_E_Last
ObjectRelationship findByODI1_E_Last(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_E_Last
ObjectRelationship fetchByODI1_E_Last(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_E_PrevAndNext
ObjectRelationship[] findByODI1_E_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByODI1_E
void removeByODI1_E(long objectDefinitionId1, boolean edge) Removes all the object relationships where objectDefinitionId1 = ? and edge = ? from the database.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edge
-
countByODI1_E
int countByODI1_E(long objectDefinitionId1, boolean edge) Returns the number of object relationships where objectDefinitionId1 = ? and edge = ?.- Parameters:
objectDefinitionId1
- the object definition id1edge
- the edge- Returns:
- the number of matching object relationships
-
findByODI1_N
Returns all the object relationships where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1
- the object definition id1name
- the name- Returns:
- the matching object relationships
-
findByODI1_N
Returns a range of all the object relationships where objectDefinitionId1 = ? and name = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1name
- the namestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_N
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1name
- the namestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByODI1_N
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1name
- the namestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByODI1_N_First
ObjectRelationship findByODI1_N_First(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_N_First
ObjectRelationship fetchByODI1_N_First(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_N_Last
ObjectRelationship findByODI1_N_Last(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_N_Last
ObjectRelationship fetchByODI1_N_Last(long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_N_PrevAndNext
ObjectRelationship[] findByODI1_N_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByODI1_N
Removes all the object relationships where objectDefinitionId1 = ? and name = ? from the database.- Parameters:
objectDefinitionId1
- the object definition id1name
- the name
-
countByODI1_N
Returns the number of object relationships where objectDefinitionId1 = ? and name = ?.- Parameters:
objectDefinitionId1
- the object definition id1name
- the name- Returns:
- the number of matching object relationships
-
findByODI1_R
Returns all the object relationships where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reverse- Returns:
- the matching object relationships
-
findByODI1_R
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_R
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByODI1_R
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByODI1_R_First
ObjectRelationship findByODI1_R_First(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_R_First
ObjectRelationship fetchByODI1_R_First(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_R_Last
ObjectRelationship findByODI1_R_Last(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_R_Last
ObjectRelationship fetchByODI1_R_Last(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_R_PrevAndNext
ObjectRelationship[] findByODI1_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByODI1_R
void removeByODI1_R(long objectDefinitionId1, boolean reverse) Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? from the database.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reverse
-
countByODI1_R
int countByODI1_R(long objectDefinitionId1, boolean reverse) Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reverse- Returns:
- the number of matching object relationships
-
findByODI2_E
ObjectRelationship findByODI2_E(long objectDefinitionId2, boolean edge) throws NoSuchObjectRelationshipException Returns the object relationship where objectDefinitionId2 = ? and edge = ? or throws aNoSuchObjectRelationshipException
if it could not be found.- Parameters:
objectDefinitionId2
- the object definition id2edge
- the edge- Returns:
- the matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI2_E
Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId2
- the object definition id2edge
- the edge- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
fetchByODI2_E
Returns the object relationship where objectDefinitionId2 = ? and edge = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
objectDefinitionId2
- the object definition id2edge
- the edgeuseFinderCache
- whether to use the finder cache- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
removeByODI2_E
ObjectRelationship removeByODI2_E(long objectDefinitionId2, boolean edge) throws NoSuchObjectRelationshipException Removes the object relationship where objectDefinitionId2 = ? and edge = ? from the database.- Parameters:
objectDefinitionId2
- the object definition id2edge
- the edge- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException
-
countByODI2_E
int countByODI2_E(long objectDefinitionId2, boolean edge) Returns the number of object relationships where objectDefinitionId2 = ? and edge = ?.- Parameters:
objectDefinitionId2
- the object definition id2edge
- the edge- Returns:
- the number of matching object relationships
-
findByODI2_R
Returns all the object relationships where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reverse- Returns:
- the matching object relationships
-
findByODI2_R
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI2_R
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByODI2_R
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByODI2_R_First
ObjectRelationship findByODI2_R_First(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI2_R_First
ObjectRelationship fetchByODI2_R_First(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI2_R_Last
ObjectRelationship findByODI2_R_Last(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI2_R_Last
ObjectRelationship fetchByODI2_R_Last(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI2_R_PrevAndNext
ObjectRelationship[] findByODI2_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByODI2_R
void removeByODI2_R(long objectDefinitionId2, boolean reverse) Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? from the database.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reverse
-
countByODI2_R
int countByODI2_R(long objectDefinitionId2, boolean reverse) Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reverse- Returns:
- the number of matching object relationships
-
findByDTN_R
ObjectRelationship findByDTN_R(String dbTableName, boolean reverse) throws NoSuchObjectRelationshipException Returns the object relationship where dbTableName = ? and reverse = ? or throws aNoSuchObjectRelationshipException
if it could not be found.- Parameters:
dbTableName
- the db table namereverse
- the reverse- Returns:
- the matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByDTN_R
Returns the object relationship where dbTableName = ? and reverse = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
dbTableName
- the db table namereverse
- the reverse- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
fetchByDTN_R
Returns the object relationship where dbTableName = ? and reverse = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
dbTableName
- the db table namereverse
- the reverseuseFinderCache
- whether to use the finder cache- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
removeByDTN_R
ObjectRelationship removeByDTN_R(String dbTableName, boolean reverse) throws NoSuchObjectRelationshipException Removes the object relationship where dbTableName = ? and reverse = ? from the database.- Parameters:
dbTableName
- the db table namereverse
- the reverse- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException
-
countByDTN_R
Returns the number of object relationships where dbTableName = ? and reverse = ?.- Parameters:
dbTableName
- the db table namereverse
- the reverse- Returns:
- the number of matching object relationships
-
findByERC_C_ODI1
ObjectRelationship findByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) throws NoSuchObjectRelationshipException Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or throws aNoSuchObjectRelationshipException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1- Returns:
- the matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByERC_C_ODI1
ObjectRelationship fetchByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
fetchByERC_C_ODI1
ObjectRelationship fetchByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1, boolean useFinderCache) Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1useFinderCache
- whether to use the finder cache- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
removeByERC_C_ODI1
ObjectRelationship removeByERC_C_ODI1(String externalReferenceCode, long companyId, long objectDefinitionId1) throws NoSuchObjectRelationshipException Removes the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException
-
countByERC_C_ODI1
Returns the number of object relationships where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1- Returns:
- the number of matching object relationships
-
findByODI1_ODI2_T
List<ObjectRelationship> findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, String type) Returns all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the type- Returns:
- the matching object relationships
-
findByODI1_ODI2_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_ODI2_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByODI1_ODI2_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByODI1_ODI2_T_First
ObjectRelationship findByODI1_ODI2_T_First(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_ODI2_T_First
ObjectRelationship fetchByODI1_ODI2_T_First(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_ODI2_T_Last
ObjectRelationship findByODI1_ODI2_T_Last(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_ODI2_T_Last
ObjectRelationship fetchByODI1_ODI2_T_Last(long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_ODI2_T_PrevAndNext
ObjectRelationship[] findByODI1_ODI2_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, long objectDefinitionId2, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByODI1_ODI2_T
Removes all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ? from the database.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the type
-
countByODI1_ODI2_T
Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the type- Returns:
- the number of matching object relationships
-
findByODI1_DT_R
List<ObjectRelationship> findByODI1_DT_R(long objectDefinitionId1, String deletionType, boolean reverse) Returns all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverse- Returns:
- the matching object relationships
-
findByODI1_DT_R
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reversestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_DT_R
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reversestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByODI1_DT_R
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reversestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByODI1_DT_R_First
ObjectRelationship findByODI1_DT_R_First(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_DT_R_First
ObjectRelationship fetchByODI1_DT_R_First(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_DT_R_Last
ObjectRelationship findByODI1_DT_R_Last(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_DT_R_Last
ObjectRelationship fetchByODI1_DT_R_Last(long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_DT_R_PrevAndNext
ObjectRelationship[] findByODI1_DT_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverseorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByODI1_DT_R
Removes all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ? from the database.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverse
-
countByODI1_DT_R
Returns the number of object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.- Parameters:
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverse- Returns:
- the number of matching object relationships
-
findByODI1_R_T
Returns all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the type- Returns:
- the matching object relationships
-
findByODI1_R_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_R_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByODI1_R_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByODI1_R_T_First
ObjectRelationship findByODI1_R_T_First(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_R_T_First
ObjectRelationship fetchByODI1_R_T_First(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_R_T_Last
ObjectRelationship findByODI1_R_T_Last(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_R_T_Last
ObjectRelationship fetchByODI1_R_T_Last(long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_R_T_PrevAndNext
ObjectRelationship[] findByODI1_R_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByODI1_R_T
Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ? from the database.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the type
-
countByODI1_R_T
Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the type- Returns:
- the number of matching object relationships
-
findByODI2_R_T
Returns all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the type- Returns:
- the matching object relationships
-
findByODI2_R_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI2_R_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByODI2_R_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByODI2_R_T_First
ObjectRelationship findByODI2_R_T_First(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI2_R_T_First
ObjectRelationship fetchByODI2_R_T_First(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI2_R_T_Last
ObjectRelationship findByODI2_R_T_Last(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI2_R_T_Last
ObjectRelationship fetchByODI2_R_T_Last(long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI2_R_T_PrevAndNext
ObjectRelationship[] findByODI2_R_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, boolean reverse, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByODI2_R_T
Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ? from the database.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the type
-
countByODI2_R_T
Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the type- Returns:
- the number of matching object relationships
-
findByODI1_ODI2_N_T
List<ObjectRelationship> findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type) Returns all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the type- Returns:
- the matching object relationships
-
findByODI1_ODI2_N_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of matching object relationships
-
findByODI1_ODI2_N_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object relationships
-
findByODI1_ODI2_N_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typestart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object relationships
-
findByODI1_ODI2_N_T_First
ObjectRelationship findByODI1_ODI2_N_T_First(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_ODI2_N_T_First
ObjectRelationship fetchByODI1_ODI2_N_T_First(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_ODI2_N_T_Last
ObjectRelationship findByODI1_ODI2_N_T_Last(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_ODI2_N_T_Last
ObjectRelationship fetchByODI1_ODI2_N_T_Last(long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object relationship, or
null
if a matching object relationship could not be found
-
findByODI1_ODI2_N_T_PrevAndNext
ObjectRelationship[] findByODI1_ODI2_N_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, long objectDefinitionId2, String name, String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object relationship
- Throws:
NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be found
-
removeByODI1_ODI2_N_T
void removeByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type) Removes all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ? from the database.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the type
-
countByODI1_ODI2_N_T
int countByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, String name, String type) Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the type- Returns:
- the number of matching object relationships
-
findByODI1_ODI2_N_R_T
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 aNoSuchObjectRelationshipException
if it could not be found.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the type- Returns:
- the matching object relationship
- Throws:
NoSuchObjectRelationshipException
- if a matching object relationship could not be found
-
fetchByODI1_ODI2_N_R_T
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 returnsnull
if it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the type- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
fetchByODI1_ODI2_N_R_T
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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the typeuseFinderCache
- whether to use the finder cache- Returns:
- the matching object relationship, or
null
if a matching object relationship could not be found
-
removeByODI1_ODI2_N_R_T
ObjectRelationship removeByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) throws NoSuchObjectRelationshipException Removes the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? from the database.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the type- Returns:
- the object relationship that was removed
- Throws:
NoSuchObjectRelationshipException
-
countByODI1_ODI2_N_R_T
int countByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, String name, boolean reverse, String type) Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ?.- Parameters:
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the type- Returns:
- the number of matching object relationships
-
cacheResult
Caches the object relationship in the entity cache if it is enabled.- Parameters:
objectRelationship
- the object relationship
-
cacheResult
Caches the object relationships in the entity cache if it is enabled.- Parameters:
objectRelationships
- the object relationships
-
create
Creates a new object relationship with the primary key. Does not add the object relationship to the database.- Parameters:
objectRelationshipId
- the primary key for the new object relationship- Returns:
- the new object relationship
-
remove
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
-
updateImpl
-
findByPrimaryKey
ObjectRelationship findByPrimaryKey(long objectRelationshipId) throws NoSuchObjectRelationshipException Returns the object relationship with the primary key or throws aNoSuchObjectRelationshipException
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
-
fetchByPrimaryKey
Returns the object relationship with the primary key or returnsnull
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
List<ObjectRelationship> findAll()Returns all the object relationships.- Returns:
- the object relationships
-
findAll
Returns a range of all the object relationships.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)- Returns:
- the range of object relationships
-
findAll
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object relationships
-
findAll
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectRelationshipModelImpl
.- Parameters:
start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object relationships
-
removeAll
void removeAll()Removes all the object relationships from the database. -
countAll
int countAll()Returns the number of object relationships.- Returns:
- the number of object relationships
-