public class ObjectRelationshipUtil
extends java.lang.Object
com.liferay.object.service.persistence.impl.ObjectRelationshipPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
ObjectRelationshipPersistence
Constructor and Description |
---|
ObjectRelationshipUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ObjectRelationship> objectRelationships)
Caches the object relationships in the entity cache if it is enabled.
|
static void |
cacheResult(ObjectRelationship objectRelationship)
Caches the object relationship in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ObjectRelationship objectRelationship) |
static int |
countAll()
Returns the number of object relationships.
|
static int |
countByDTN_R(java.lang.String dbTableName,
boolean reverse)
Returns the number of object relationships where dbTableName = ? and reverse = ?.
|
static int |
countByERC_C_ODI1(java.lang.String externalReferenceCode,
long companyId,
long objectDefinitionId1)
Returns the number of object relationships where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ?.
|
static int |
countByObjectDefinitionId1(long objectDefinitionId1)
Returns the number of object relationships where objectDefinitionId1 = ?.
|
static int |
countByObjectDefinitionId2(long objectDefinitionId2)
Returns the number of object relationships where objectDefinitionId2 = ?.
|
static int |
countByObjectFieldId2(long objectFieldId2)
Returns the number of object relationships where objectFieldId2 = ?.
|
static int |
countByODI1_DT_R(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse)
Returns the number of object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static int |
countByODI1_E(long objectDefinitionId1,
boolean edge)
Returns the number of object relationships where objectDefinitionId1 = ? and edge = ?.
|
static int |
countByODI1_N(long objectDefinitionId1,
java.lang.String name)
Returns the number of object relationships where objectDefinitionId1 = ? and name = ?.
|
static int |
countByODI1_ODI2_N_R_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
boolean reverse,
java.lang.String type)
Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ?.
|
static int |
countByODI1_ODI2_N_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type)
Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static int |
countByODI1_ODI2_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type)
Returns the number of object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static int |
countByODI1_R_T(long objectDefinitionId1,
boolean reverse,
java.lang.String type)
Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static int |
countByODI1_R(long objectDefinitionId1,
boolean reverse)
Returns the number of object relationships where objectDefinitionId1 = ? and reverse = ?.
|
static int |
countByODI2_R_T(long objectDefinitionId2,
boolean reverse,
java.lang.String type)
Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static int |
countByODI2_R(long objectDefinitionId2,
boolean reverse)
Returns the number of object relationships where objectDefinitionId2 = ? and reverse = ?.
|
static int |
countByParameterObjectFieldId(long parameterObjectFieldId)
Returns the number of object relationships where parameterObjectFieldId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object relationships where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of object relationships where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ObjectRelationship |
create(long objectRelationshipId)
Creates a new object relationship with the primary key.
|
static ObjectRelationship |
fetchByDTN_R(java.lang.String dbTableName,
boolean reverse)
Returns the object relationship where dbTableName = ? and reverse = ? or returns
null if it could not be found. |
static ObjectRelationship |
fetchByDTN_R(java.lang.String dbTableName,
boolean reverse,
boolean useFinderCache)
Returns the object relationship where dbTableName = ? and reverse = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectRelationship |
fetchByERC_C_ODI1(java.lang.String externalReferenceCode,
long companyId,
long objectDefinitionId1)
Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returns
null if it could not be found. |
static ObjectRelationship |
fetchByERC_C_ODI1(java.lang.String externalReferenceCode,
long companyId,
long objectDefinitionId1,
boolean useFinderCache)
Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectRelationship |
fetchByObjectDefinitionId1_First(long objectDefinitionId1,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.
|
static ObjectRelationship |
fetchByObjectDefinitionId1_Last(long objectDefinitionId1,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.
|
static ObjectRelationship |
fetchByObjectDefinitionId2_First(long objectDefinitionId2,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.
|
static ObjectRelationship |
fetchByObjectDefinitionId2_Last(long objectDefinitionId2,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.
|
static ObjectRelationship |
fetchByObjectFieldId2(long objectFieldId2)
Returns the object relationship where objectFieldId2 = ? or returns
null if it could not be found. |
static ObjectRelationship |
fetchByObjectFieldId2(long objectFieldId2,
boolean useFinderCache)
Returns the object relationship where objectFieldId2 = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectRelationship |
fetchByODI1_DT_R_First(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static ObjectRelationship |
fetchByODI1_DT_R_Last(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static ObjectRelationship |
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 = ?.
|
static ObjectRelationship |
fetchByODI1_E_Last(long objectDefinitionId1,
boolean edge,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.
|
static ObjectRelationship |
fetchByODI1_N_First(long objectDefinitionId1,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.
|
static ObjectRelationship |
fetchByODI1_N_Last(long objectDefinitionId1,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.
|
static ObjectRelationship |
fetchByODI1_ODI2_N_R_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
boolean reverse,
java.lang.String type)
Returns the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? or returns
null if it could not be found. |
static ObjectRelationship |
fetchByODI1_ODI2_N_R_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
boolean reverse,
java.lang.String type,
boolean useFinderCache)
Returns the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectRelationship |
fetchByODI1_ODI2_N_T_First(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static ObjectRelationship |
fetchByODI1_ODI2_N_T_Last(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static ObjectRelationship |
fetchByODI1_ODI2_T_First(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static ObjectRelationship |
fetchByODI1_ODI2_T_Last(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static ObjectRelationship |
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 = ?.
|
static ObjectRelationship |
fetchByODI1_R_Last(long objectDefinitionId1,
boolean reverse,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.
|
static ObjectRelationship |
fetchByODI1_R_T_First(long objectDefinitionId1,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static ObjectRelationship |
fetchByODI1_R_T_Last(long objectDefinitionId1,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static ObjectRelationship |
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 = ?.
|
static ObjectRelationship |
fetchByODI2_R_Last(long objectDefinitionId2,
boolean reverse,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.
|
static ObjectRelationship |
fetchByODI2_R_T_First(long objectDefinitionId2,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static ObjectRelationship |
fetchByODI2_R_T_Last(long objectDefinitionId2,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static ObjectRelationship |
fetchByParameterObjectFieldId_First(long parameterObjectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.
|
static ObjectRelationship |
fetchByParameterObjectFieldId_Last(long parameterObjectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.
|
static ObjectRelationship |
fetchByPrimaryKey(long objectRelationshipId)
Returns the object relationship with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ObjectRelationship> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ObjectRelationship |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where uuid = ? and companyId = ?.
|
static ObjectRelationship |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where uuid = ? and companyId = ?.
|
static ObjectRelationship |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where uuid = ?.
|
static ObjectRelationship |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where uuid = ?.
|
static java.util.List<ObjectRelationship> |
findAll()
Returns all the object relationships.
|
static java.util.List<ObjectRelationship> |
findAll(int start,
int end)
Returns a range of all the object relationships.
|
static java.util.List<ObjectRelationship> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships.
|
static java.util.List<ObjectRelationship> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships.
|
static ObjectRelationship |
findByDTN_R(java.lang.String dbTableName,
boolean reverse)
Returns the object relationship where dbTableName = ? and reverse = ? or throws a
NoSuchObjectRelationshipException if it could not be found. |
static ObjectRelationship |
findByERC_C_ODI1(java.lang.String externalReferenceCode,
long companyId,
long objectDefinitionId1)
Returns the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? or throws a
NoSuchObjectRelationshipException if it could not be found. |
static ObjectRelationship |
findByObjectDefinitionId1_First(long objectDefinitionId1,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.
|
static ObjectRelationship |
findByObjectDefinitionId1_Last(long objectDefinitionId1,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.
|
static ObjectRelationship[] |
findByObjectDefinitionId1_PrevAndNext(long objectRelationshipId,
long objectDefinitionId1,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ?.
|
static java.util.List<ObjectRelationship> |
findByObjectDefinitionId1(long objectDefinitionId1)
Returns all the object relationships where objectDefinitionId1 = ?.
|
static java.util.List<ObjectRelationship> |
findByObjectDefinitionId1(long objectDefinitionId1,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId1 = ?.
|
static java.util.List<ObjectRelationship> |
findByObjectDefinitionId1(long objectDefinitionId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ?.
|
static java.util.List<ObjectRelationship> |
findByObjectDefinitionId1(long objectDefinitionId1,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ?.
|
static ObjectRelationship |
findByObjectDefinitionId2_First(long objectDefinitionId2,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.
|
static ObjectRelationship |
findByObjectDefinitionId2_Last(long objectDefinitionId2,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.
|
static ObjectRelationship[] |
findByObjectDefinitionId2_PrevAndNext(long objectRelationshipId,
long objectDefinitionId2,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ?.
|
static java.util.List<ObjectRelationship> |
findByObjectDefinitionId2(long objectDefinitionId2)
Returns all the object relationships where objectDefinitionId2 = ?.
|
static java.util.List<ObjectRelationship> |
findByObjectDefinitionId2(long objectDefinitionId2,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId2 = ?.
|
static java.util.List<ObjectRelationship> |
findByObjectDefinitionId2(long objectDefinitionId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId2 = ?.
|
static java.util.List<ObjectRelationship> |
findByObjectDefinitionId2(long objectDefinitionId2,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId2 = ?.
|
static ObjectRelationship |
findByObjectFieldId2(long objectFieldId2)
Returns the object relationship where objectFieldId2 = ? or throws a
NoSuchObjectRelationshipException if it could not be found. |
static ObjectRelationship |
findByODI1_DT_R_First(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static ObjectRelationship |
findByODI1_DT_R_Last(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static ObjectRelationship[] |
findByODI1_DT_R_PrevAndNext(long objectRelationshipId,
long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_DT_R(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse)
Returns all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_DT_R(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_DT_R(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_DT_R(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ?.
|
static ObjectRelationship |
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 = ?.
|
static ObjectRelationship |
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 = ?.
|
static ObjectRelationship[] |
findByODI1_E_PrevAndNext(long objectRelationshipId,
long objectDefinitionId1,
boolean edge,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and edge = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_E(long objectDefinitionId1,
boolean edge)
Returns all the object relationships where objectDefinitionId1 = ? and edge = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_E(long objectDefinitionId1,
boolean edge,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId1 = ? and edge = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_E(long objectDefinitionId1,
boolean edge,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and edge = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_E(long objectDefinitionId1,
boolean edge,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and edge = ?.
|
static ObjectRelationship |
findByODI1_N_First(long objectDefinitionId1,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.
|
static ObjectRelationship |
findByODI1_N_Last(long objectDefinitionId1,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.
|
static ObjectRelationship[] |
findByODI1_N_PrevAndNext(long objectRelationshipId,
long objectDefinitionId1,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and name = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_N(long objectDefinitionId1,
java.lang.String name)
Returns all the object relationships where objectDefinitionId1 = ? and name = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_N(long objectDefinitionId1,
java.lang.String name,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId1 = ? and name = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_N(long objectDefinitionId1,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and name = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_N(long objectDefinitionId1,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and name = ?.
|
static ObjectRelationship |
findByODI1_ODI2_N_R_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
boolean reverse,
java.lang.String type)
Returns the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? or throws a
NoSuchObjectRelationshipException if it could not be found. |
static ObjectRelationship |
findByODI1_ODI2_N_T_First(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static ObjectRelationship |
findByODI1_ODI2_N_T_Last(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static ObjectRelationship[] |
findByODI1_ODI2_N_T_PrevAndNext(long objectRelationshipId,
long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_ODI2_N_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type)
Returns all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_ODI2_N_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_ODI2_N_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_ODI2_N_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ?.
|
static ObjectRelationship |
findByODI1_ODI2_T_First(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static ObjectRelationship |
findByODI1_ODI2_T_Last(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static ObjectRelationship[] |
findByODI1_ODI2_T_PrevAndNext(long objectRelationshipId,
long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_ODI2_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type)
Returns all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_ODI2_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_ODI2_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_ODI2_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ?.
|
static ObjectRelationship |
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 = ?.
|
static ObjectRelationship |
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 = ?.
|
static ObjectRelationship[] |
findByODI1_R_PrevAndNext(long objectRelationshipId,
long objectDefinitionId1,
boolean reverse,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ?.
|
static ObjectRelationship |
findByODI1_R_T_First(long objectDefinitionId1,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static ObjectRelationship |
findByODI1_R_T_Last(long objectDefinitionId1,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static ObjectRelationship[] |
findByODI1_R_T_PrevAndNext(long objectRelationshipId,
long objectDefinitionId1,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_R_T(long objectDefinitionId1,
boolean reverse,
java.lang.String type)
Returns all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_R_T(long objectDefinitionId1,
boolean reverse,
java.lang.String type,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_R_T(long objectDefinitionId1,
boolean reverse,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_R_T(long objectDefinitionId1,
boolean reverse,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_R(long objectDefinitionId1,
boolean reverse)
Returns all the object relationships where objectDefinitionId1 = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_R(long objectDefinitionId1,
boolean reverse,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_R(long objectDefinitionId1,
boolean reverse,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI1_R(long objectDefinitionId1,
boolean reverse,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId1 = ? and reverse = ?.
|
static ObjectRelationship |
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 = ?.
|
static ObjectRelationship |
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 = ?.
|
static ObjectRelationship[] |
findByODI2_R_PrevAndNext(long objectRelationshipId,
long objectDefinitionId2,
boolean reverse,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ?.
|
static ObjectRelationship |
findByODI2_R_T_First(long objectDefinitionId2,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static ObjectRelationship |
findByODI2_R_T_Last(long objectDefinitionId2,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static ObjectRelationship[] |
findByODI2_R_T_PrevAndNext(long objectRelationshipId,
long objectDefinitionId2,
boolean reverse,
java.lang.String type,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI2_R_T(long objectDefinitionId2,
boolean reverse,
java.lang.String type)
Returns all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI2_R_T(long objectDefinitionId2,
boolean reverse,
java.lang.String type,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI2_R_T(long objectDefinitionId2,
boolean reverse,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI2_R_T(long objectDefinitionId2,
boolean reverse,
java.lang.String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ?.
|
static java.util.List<ObjectRelationship> |
findByODI2_R(long objectDefinitionId2,
boolean reverse)
Returns all the object relationships where objectDefinitionId2 = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI2_R(long objectDefinitionId2,
boolean reverse,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI2_R(long objectDefinitionId2,
boolean reverse,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.
|
static java.util.List<ObjectRelationship> |
findByODI2_R(long objectDefinitionId2,
boolean reverse,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where objectDefinitionId2 = ? and reverse = ?.
|
static ObjectRelationship |
findByParameterObjectFieldId_First(long parameterObjectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where parameterObjectFieldId = ?.
|
static ObjectRelationship |
findByParameterObjectFieldId_Last(long parameterObjectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where parameterObjectFieldId = ?.
|
static ObjectRelationship[] |
findByParameterObjectFieldId_PrevAndNext(long objectRelationshipId,
long parameterObjectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where parameterObjectFieldId = ?.
|
static java.util.List<ObjectRelationship> |
findByParameterObjectFieldId(long parameterObjectFieldId)
Returns all the object relationships where parameterObjectFieldId = ?.
|
static java.util.List<ObjectRelationship> |
findByParameterObjectFieldId(long parameterObjectFieldId,
int start,
int end)
Returns a range of all the object relationships where parameterObjectFieldId = ?.
|
static java.util.List<ObjectRelationship> |
findByParameterObjectFieldId(long parameterObjectFieldId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where parameterObjectFieldId = ?.
|
static java.util.List<ObjectRelationship> |
findByParameterObjectFieldId(long parameterObjectFieldId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where parameterObjectFieldId = ?.
|
static ObjectRelationship |
findByPrimaryKey(long objectRelationshipId)
Returns the object relationship with the primary key or throws a
NoSuchObjectRelationshipException if it could not be found. |
static ObjectRelationship |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where uuid = ? and companyId = ?.
|
static ObjectRelationship |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where uuid = ? and companyId = ?.
|
static ObjectRelationship[] |
findByUuid_C_PrevAndNext(long objectRelationshipId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ObjectRelationship> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object relationships where uuid = ? and companyId = ?.
|
static java.util.List<ObjectRelationship> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object relationships where uuid = ? and companyId = ?.
|
static java.util.List<ObjectRelationship> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where uuid = ? and companyId = ?.
|
static java.util.List<ObjectRelationship> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where uuid = ? and companyId = ?.
|
static ObjectRelationship |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where uuid = ?.
|
static ObjectRelationship |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where uuid = ?.
|
static ObjectRelationship[] |
findByUuid_PrevAndNext(long objectRelationshipId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the object relationships before and after the current object relationship in the ordered set where uuid = ?.
|
static java.util.List<ObjectRelationship> |
findByUuid(java.lang.String uuid)
Returns all the object relationships where uuid = ?.
|
static java.util.List<ObjectRelationship> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object relationships where uuid = ?.
|
static java.util.List<ObjectRelationship> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns an ordered range of all the object relationships where uuid = ?.
|
static java.util.List<ObjectRelationship> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object relationships where uuid = ?.
|
static java.util.List<ObjectRelationship> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ObjectRelationship> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ObjectRelationship> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) |
static ObjectRelationshipPersistence |
getPersistence() |
static ObjectRelationship |
remove(long objectRelationshipId)
Removes the object relationship with the primary key from the database.
|
static void |
removeAll()
Removes all the object relationships from the database.
|
static ObjectRelationship |
removeByDTN_R(java.lang.String dbTableName,
boolean reverse)
Removes the object relationship where dbTableName = ? and reverse = ? from the database.
|
static ObjectRelationship |
removeByERC_C_ODI1(java.lang.String externalReferenceCode,
long companyId,
long objectDefinitionId1)
Removes the object relationship where externalReferenceCode = ? and companyId = ? and objectDefinitionId1 = ? from the database.
|
static void |
removeByObjectDefinitionId1(long objectDefinitionId1)
Removes all the object relationships where objectDefinitionId1 = ? from the database.
|
static void |
removeByObjectDefinitionId2(long objectDefinitionId2)
Removes all the object relationships where objectDefinitionId2 = ? from the database.
|
static ObjectRelationship |
removeByObjectFieldId2(long objectFieldId2)
Removes the object relationship where objectFieldId2 = ? from the database.
|
static void |
removeByODI1_DT_R(long objectDefinitionId1,
java.lang.String deletionType,
boolean reverse)
Removes all the object relationships where objectDefinitionId1 = ? and deletionType = ? and reverse = ? from the database.
|
static void |
removeByODI1_E(long objectDefinitionId1,
boolean edge)
Removes all the object relationships where objectDefinitionId1 = ? and edge = ? from the database.
|
static void |
removeByODI1_N(long objectDefinitionId1,
java.lang.String name)
Removes all the object relationships where objectDefinitionId1 = ? and name = ? from the database.
|
static ObjectRelationship |
removeByODI1_ODI2_N_R_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
boolean reverse,
java.lang.String type)
Removes the object relationship where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and reverse = ? and type = ? from the database.
|
static void |
removeByODI1_ODI2_N_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String name,
java.lang.String type)
Removes all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and name = ? and type = ? from the database.
|
static void |
removeByODI1_ODI2_T(long objectDefinitionId1,
long objectDefinitionId2,
java.lang.String type)
Removes all the object relationships where objectDefinitionId1 = ? and objectDefinitionId2 = ? and type = ? from the database.
|
static void |
removeByODI1_R_T(long objectDefinitionId1,
boolean reverse,
java.lang.String type)
Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? and type = ? from the database.
|
static void |
removeByODI1_R(long objectDefinitionId1,
boolean reverse)
Removes all the object relationships where objectDefinitionId1 = ? and reverse = ? from the database.
|
static void |
removeByODI2_R_T(long objectDefinitionId2,
boolean reverse,
java.lang.String type)
Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? and type = ? from the database.
|
static void |
removeByODI2_R(long objectDefinitionId2,
boolean reverse)
Removes all the object relationships where objectDefinitionId2 = ? and reverse = ? from the database.
|
static void |
removeByParameterObjectFieldId(long parameterObjectFieldId)
Removes all the object relationships where parameterObjectFieldId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object relationships where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the object relationships where uuid = ? from the database.
|
static void |
setPersistence(ObjectRelationshipPersistence persistence) |
static ObjectRelationship |
update(ObjectRelationship objectRelationship) |
static ObjectRelationship |
update(ObjectRelationship objectRelationship,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectRelationship |
updateImpl(ObjectRelationship objectRelationship) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ObjectRelationship objectRelationship)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,ObjectRelationship> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ObjectRelationship> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ObjectRelationship> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ObjectRelationship> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ObjectRelationship update(ObjectRelationship objectRelationship)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ObjectRelationship update(ObjectRelationship objectRelationship, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ObjectRelationship> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectRelationship> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)public static java.util.List<ObjectRelationship> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByUuid_PrevAndNext(long objectRelationshipId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectRelationship> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectRelationship> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByUuid_C_PrevAndNext(long objectRelationshipId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectRelationship> findByObjectDefinitionId1(long objectDefinitionId1)
objectDefinitionId1
- the object definition id1public static java.util.List<ObjectRelationship> findByObjectDefinitionId1(long objectDefinitionId1, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByObjectDefinitionId1(long objectDefinitionId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByObjectDefinitionId1(long objectDefinitionId1, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByObjectDefinitionId1_First(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByObjectDefinitionId1_Last(long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByObjectDefinitionId1_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1orderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByObjectDefinitionId1(long objectDefinitionId1)
objectDefinitionId1
- the object definition id1public static int countByObjectDefinitionId1(long objectDefinitionId1)
objectDefinitionId1
- the object definition id1public static java.util.List<ObjectRelationship> findByObjectDefinitionId2(long objectDefinitionId2)
objectDefinitionId2
- the object definition id2public static java.util.List<ObjectRelationship> findByObjectDefinitionId2(long objectDefinitionId2, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByObjectDefinitionId2(long objectDefinitionId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByObjectDefinitionId2(long objectDefinitionId2, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByObjectDefinitionId2_First(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByObjectDefinitionId2_Last(long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByObjectDefinitionId2_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId2
- the object definition id2orderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByObjectDefinitionId2(long objectDefinitionId2)
objectDefinitionId2
- the object definition id2public static int countByObjectDefinitionId2(long objectDefinitionId2)
objectDefinitionId2
- the object definition id2public static ObjectRelationship findByObjectFieldId2(long objectFieldId2) throws NoSuchObjectRelationshipException
NoSuchObjectRelationshipException
if it could not be found.objectFieldId2
- the object field id2NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByObjectFieldId2(long objectFieldId2)
null
if it could not be found. Uses the finder cache.objectFieldId2
- the object field id2null
if a matching object relationship could not be foundpublic static ObjectRelationship fetchByObjectFieldId2(long objectFieldId2, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.objectFieldId2
- the object field id2useFinderCache
- whether to use the finder cachenull
if a matching object relationship could not be foundpublic static ObjectRelationship removeByObjectFieldId2(long objectFieldId2) throws NoSuchObjectRelationshipException
objectFieldId2
- the object field id2NoSuchObjectRelationshipException
public static int countByObjectFieldId2(long objectFieldId2)
objectFieldId2
- the object field id2public static java.util.List<ObjectRelationship> findByParameterObjectFieldId(long parameterObjectFieldId)
parameterObjectFieldId
- the parameter object field IDpublic static java.util.List<ObjectRelationship> findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByParameterObjectFieldId(long parameterObjectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
parameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByParameterObjectFieldId_First(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
parameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
parameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByParameterObjectFieldId_Last(long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
parameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByParameterObjectFieldId_PrevAndNext(long objectRelationshipId, long parameterObjectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipparameterObjectFieldId
- the parameter object field IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByParameterObjectFieldId(long parameterObjectFieldId)
parameterObjectFieldId
- the parameter object field IDpublic static int countByParameterObjectFieldId(long parameterObjectFieldId)
parameterObjectFieldId
- the parameter object field IDpublic static java.util.List<ObjectRelationship> findByODI1_E(long objectDefinitionId1, boolean edge)
objectDefinitionId1
- the object definition id1edge
- the edgepublic static java.util.List<ObjectRelationship> findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByODI1_E(long objectDefinitionId1, boolean edge, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByODI1_E_First(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_E_First(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByODI1_E_Last(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_E_Last(long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByODI1_E_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean edge, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1edge
- the edgeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByODI1_E(long objectDefinitionId1, boolean edge)
objectDefinitionId1
- the object definition id1edge
- the edgepublic static int countByODI1_E(long objectDefinitionId1, boolean edge)
objectDefinitionId1
- the object definition id1edge
- the edgepublic static java.util.List<ObjectRelationship> findByODI1_N(long objectDefinitionId1, java.lang.String name)
objectDefinitionId1
- the object definition id1name
- the namepublic static java.util.List<ObjectRelationship> findByODI1_N(long objectDefinitionId1, java.lang.String name, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByODI1_N(long objectDefinitionId1, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByODI1_N(long objectDefinitionId1, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByODI1_N_First(long objectDefinitionId1, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_N_First(long objectDefinitionId1, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByODI1_N_Last(long objectDefinitionId1, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_N_Last(long objectDefinitionId1, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByODI1_N_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1name
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByODI1_N(long objectDefinitionId1, java.lang.String name)
objectDefinitionId1
- the object definition id1name
- the namepublic static int countByODI1_N(long objectDefinitionId1, java.lang.String name)
objectDefinitionId1
- the object definition id1name
- the namepublic static java.util.List<ObjectRelationship> findByODI1_R(long objectDefinitionId1, boolean reverse)
objectDefinitionId1
- the object definition id1reverse
- the reversepublic static java.util.List<ObjectRelationship> findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByODI1_R(long objectDefinitionId1, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByODI1_R_First(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_R_First(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByODI1_R_Last(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_R_Last(long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByODI1_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByODI1_R(long objectDefinitionId1, boolean reverse)
objectDefinitionId1
- the object definition id1reverse
- the reversepublic static int countByODI1_R(long objectDefinitionId1, boolean reverse)
objectDefinitionId1
- the object definition id1reverse
- the reversepublic static java.util.List<ObjectRelationship> findByODI2_R(long objectDefinitionId2, boolean reverse)
objectDefinitionId2
- the object definition id2reverse
- the reversepublic static java.util.List<ObjectRelationship> findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByODI2_R(long objectDefinitionId2, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByODI2_R_First(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI2_R_First(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByODI2_R_Last(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI2_R_Last(long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByODI2_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId2
- the object definition id2reverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByODI2_R(long objectDefinitionId2, boolean reverse)
objectDefinitionId2
- the object definition id2reverse
- the reversepublic static int countByODI2_R(long objectDefinitionId2, boolean reverse)
objectDefinitionId2
- the object definition id2reverse
- the reversepublic static ObjectRelationship findByDTN_R(java.lang.String dbTableName, boolean reverse) throws NoSuchObjectRelationshipException
NoSuchObjectRelationshipException
if it could not be found.dbTableName
- the db table namereverse
- the reverseNoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByDTN_R(java.lang.String dbTableName, boolean reverse)
null
if it could not be found. Uses the finder cache.dbTableName
- the db table namereverse
- the reversenull
if a matching object relationship could not be foundpublic static ObjectRelationship fetchByDTN_R(java.lang.String dbTableName, boolean reverse, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.dbTableName
- the db table namereverse
- the reverseuseFinderCache
- whether to use the finder cachenull
if a matching object relationship could not be foundpublic static ObjectRelationship removeByDTN_R(java.lang.String dbTableName, boolean reverse) throws NoSuchObjectRelationshipException
dbTableName
- the db table namereverse
- the reverseNoSuchObjectRelationshipException
public static int countByDTN_R(java.lang.String dbTableName, boolean reverse)
dbTableName
- the db table namereverse
- the reversepublic static ObjectRelationship findByERC_C_ODI1(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId1) throws NoSuchObjectRelationshipException
NoSuchObjectRelationshipException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByERC_C_ODI1(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId1)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1null
if a matching object relationship could not be foundpublic static ObjectRelationship fetchByERC_C_ODI1(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId1, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1useFinderCache
- whether to use the finder cachenull
if a matching object relationship could not be foundpublic static ObjectRelationship removeByERC_C_ODI1(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId1) throws NoSuchObjectRelationshipException
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1NoSuchObjectRelationshipException
public static int countByERC_C_ODI1(java.lang.String externalReferenceCode, long companyId, long objectDefinitionId1)
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId1
- the object definition id1public static java.util.List<ObjectRelationship> findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typepublic static java.util.List<ObjectRelationship> findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByODI1_ODI2_T_First(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_ODI2_T_First(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByODI1_ODI2_T_Last(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_ODI2_T_Last(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByODI1_ODI2_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, long objectDefinitionId2, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
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 (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typepublic static int countByODI1_ODI2_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String type)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2type
- the typepublic static java.util.List<ObjectRelationship> findByODI1_DT_R(long objectDefinitionId1, java.lang.String deletionType, boolean reverse)
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reversepublic static java.util.List<ObjectRelationship> findByODI1_DT_R(long objectDefinitionId1, java.lang.String deletionType, boolean reverse, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByODI1_DT_R(long objectDefinitionId1, java.lang.String deletionType, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByODI1_DT_R(long objectDefinitionId1, java.lang.String deletionType, boolean reverse, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByODI1_DT_R_First(long objectDefinitionId1, java.lang.String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_DT_R_First(long objectDefinitionId1, java.lang.String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByODI1_DT_R_Last(long objectDefinitionId1, java.lang.String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_DT_R_Last(long objectDefinitionId1, java.lang.String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reverseorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByODI1_DT_R_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, java.lang.String deletionType, boolean reverse, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
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 (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByODI1_DT_R(long objectDefinitionId1, java.lang.String deletionType, boolean reverse)
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reversepublic static int countByODI1_DT_R(long objectDefinitionId1, java.lang.String deletionType, boolean reverse)
objectDefinitionId1
- the object definition id1deletionType
- the deletion typereverse
- the reversepublic static java.util.List<ObjectRelationship> findByODI1_R_T(long objectDefinitionId1, boolean reverse, java.lang.String type)
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typepublic static java.util.List<ObjectRelationship> findByODI1_R_T(long objectDefinitionId1, boolean reverse, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByODI1_R_T(long objectDefinitionId1, boolean reverse, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByODI1_R_T(long objectDefinitionId1, boolean reverse, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByODI1_R_T_First(long objectDefinitionId1, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_R_T_First(long objectDefinitionId1, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByODI1_R_T_Last(long objectDefinitionId1, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_R_T_Last(long objectDefinitionId1, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByODI1_R_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByODI1_R_T(long objectDefinitionId1, boolean reverse, java.lang.String type)
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typepublic static int countByODI1_R_T(long objectDefinitionId1, boolean reverse, java.lang.String type)
objectDefinitionId1
- the object definition id1reverse
- the reversetype
- the typepublic static java.util.List<ObjectRelationship> findByODI2_R_T(long objectDefinitionId2, boolean reverse, java.lang.String type)
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typepublic static java.util.List<ObjectRelationship> findByODI2_R_T(long objectDefinitionId2, boolean reverse, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByODI2_R_T(long objectDefinitionId2, boolean reverse, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByODI2_R_T(long objectDefinitionId2, boolean reverse, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByODI2_R_T_First(long objectDefinitionId2, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI2_R_T_First(long objectDefinitionId2, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByODI2_R_T_Last(long objectDefinitionId2, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI2_R_T_Last(long objectDefinitionId2, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByODI2_R_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId2, boolean reverse, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the current object relationshipobjectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByODI2_R_T(long objectDefinitionId2, boolean reverse, java.lang.String type)
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typepublic static int countByODI2_R_T(long objectDefinitionId2, boolean reverse, java.lang.String type)
objectDefinitionId2
- the object definition id2reverse
- the reversetype
- the typepublic static java.util.List<ObjectRelationship> findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typepublic static java.util.List<ObjectRelationship> findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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)public static java.util.List<ObjectRelationship> findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectRelationship findByODI1_ODI2_N_T_First(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_ODI2_N_T_First(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship findByODI1_ODI2_N_T_Last(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_ODI2_N_T_Last(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object relationship could not be foundpublic static ObjectRelationship[] findByODI1_ODI2_N_T_PrevAndNext(long objectRelationshipId, long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator) throws NoSuchObjectRelationshipException
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 (optionally null
)NoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static void removeByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typepublic static int countByODI1_ODI2_N_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, java.lang.String type)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the nametype
- the typepublic static ObjectRelationship findByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, boolean reverse, java.lang.String type) throws NoSuchObjectRelationshipException
NoSuchObjectRelationshipException
if it could not be found.objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the typeNoSuchObjectRelationshipException
- if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, boolean reverse, java.lang.String type)
null
if it could not be found. Uses the finder cache.objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the typenull
if a matching object relationship could not be foundpublic static ObjectRelationship fetchByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, boolean reverse, java.lang.String type, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the typeuseFinderCache
- whether to use the finder cachenull
if a matching object relationship could not be foundpublic static ObjectRelationship removeByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, boolean reverse, java.lang.String type) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the typeNoSuchObjectRelationshipException
public static int countByODI1_ODI2_N_R_T(long objectDefinitionId1, long objectDefinitionId2, java.lang.String name, boolean reverse, java.lang.String type)
objectDefinitionId1
- the object definition id1objectDefinitionId2
- the object definition id2name
- the namereverse
- the reversetype
- the typepublic static void cacheResult(ObjectRelationship objectRelationship)
objectRelationship
- the object relationshippublic static void cacheResult(java.util.List<ObjectRelationship> objectRelationships)
objectRelationships
- the object relationshipspublic static ObjectRelationship create(long objectRelationshipId)
objectRelationshipId
- the primary key for the new object relationshippublic static ObjectRelationship remove(long objectRelationshipId) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the object relationshipNoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static ObjectRelationship updateImpl(ObjectRelationship objectRelationship)
public static ObjectRelationship findByPrimaryKey(long objectRelationshipId) throws NoSuchObjectRelationshipException
NoSuchObjectRelationshipException
if it could not be found.objectRelationshipId
- the primary key of the object relationshipNoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundpublic static ObjectRelationship fetchByPrimaryKey(long objectRelationshipId)
null
if it could not be found.objectRelationshipId
- the primary key of the object relationshipnull
if a object relationship with the primary key could not be foundpublic static java.util.List<ObjectRelationship> findAll()
public static java.util.List<ObjectRelationship> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
start
- the lower bound of the range of object relationshipsend
- the upper bound of the range of object relationships (not inclusive)public static java.util.List<ObjectRelationship> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)public static java.util.List<ObjectRelationship> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectRelationshipModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static ObjectRelationshipPersistence getPersistence()
public static void setPersistence(ObjectRelationshipPersistence persistence)