@ProviderType public interface ObjectRelationshipPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectRelationship>
Caching information and settings can be found in portal.properties
ObjectRelationshipUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectRelationship> objectRelationships)
Caches the object relationships in the entity cache if it is enabled.
|
void |
cacheResult(ObjectRelationship objectRelationship)
Caches the object relationship in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object relationships.
|
int |
countByObjectDefinitionId1(long objectDefinitionId1)
Returns the number of object relationships where objectDefinitionId1 = ?.
|
int |
countByObjectDefinitionId2(long objectDefinitionId2)
Returns the number of object relationships where objectDefinitionId2 = ?.
|
int |
countByObjectFieldId2(long objectFieldId2)
Returns the number of object relationships where objectFieldId2 = ?.
|
int |
countByODI1_N(long objectDefinitionId1,
java.lang.String name)
Returns the number of object relationships where objectDefinitionId1 = ? and name = ?.
|
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 = ?.
|
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 = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object relationships where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object relationships where uuid = ?.
|
ObjectRelationship |
create(long objectRelationshipId)
Creates a new object relationship with the primary key.
|
ObjectRelationship |
fetchByObjectDefinitionId1_First(long objectDefinitionId1,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.
|
ObjectRelationship |
fetchByObjectDefinitionId1_Last(long objectDefinitionId1,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.
|
ObjectRelationship |
fetchByObjectDefinitionId2_First(long objectDefinitionId2,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.
|
ObjectRelationship |
fetchByObjectDefinitionId2_Last(long objectDefinitionId2,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.
|
ObjectRelationship |
fetchByObjectFieldId2(long objectFieldId2)
Returns the object relationship where objectFieldId2 = ? or returns
null if it could not be found. |
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. |
ObjectRelationship |
fetchByODI1_N(long objectDefinitionId1,
java.lang.String name)
Returns the object relationship where objectDefinitionId1 = ? and name = ? or returns
null if it could not be found. |
ObjectRelationship |
fetchByODI1_N(long objectDefinitionId1,
java.lang.String name,
boolean useFinderCache)
Returns the object relationship where objectDefinitionId1 = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
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. |
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. |
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 = ?.
|
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 = ?.
|
ObjectRelationship |
fetchByPrimaryKey(long objectRelationshipId)
Returns the object relationship with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ObjectRelationship> |
findAll()
Returns all the object relationships.
|
java.util.List<ObjectRelationship> |
findAll(int start,
int end)
Returns a range of all the object relationships.
|
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.
|
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.
|
ObjectRelationship |
findByObjectDefinitionId1_First(long objectDefinitionId1,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId1 = ?.
|
ObjectRelationship |
findByObjectDefinitionId1_Last(long objectDefinitionId1,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId1 = ?.
|
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 = ?.
|
java.util.List<ObjectRelationship> |
findByObjectDefinitionId1(long objectDefinitionId1)
Returns all the object relationships where objectDefinitionId1 = ?.
|
java.util.List<ObjectRelationship> |
findByObjectDefinitionId1(long objectDefinitionId1,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId1 = ?.
|
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 = ?.
|
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 = ?.
|
ObjectRelationship |
findByObjectDefinitionId2_First(long objectDefinitionId2,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the first object relationship in the ordered set where objectDefinitionId2 = ?.
|
ObjectRelationship |
findByObjectDefinitionId2_Last(long objectDefinitionId2,
com.liferay.portal.kernel.util.OrderByComparator<ObjectRelationship> orderByComparator)
Returns the last object relationship in the ordered set where objectDefinitionId2 = ?.
|
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 = ?.
|
java.util.List<ObjectRelationship> |
findByObjectDefinitionId2(long objectDefinitionId2)
Returns all the object relationships where objectDefinitionId2 = ?.
|
java.util.List<ObjectRelationship> |
findByObjectDefinitionId2(long objectDefinitionId2,
int start,
int end)
Returns a range of all the object relationships where objectDefinitionId2 = ?.
|
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 = ?.
|
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 = ?.
|
ObjectRelationship |
findByObjectFieldId2(long objectFieldId2)
Returns the object relationship where objectFieldId2 = ? or throws a
NoSuchObjectRelationshipException if it could not be found. |
ObjectRelationship |
findByODI1_N(long objectDefinitionId1,
java.lang.String name)
Returns the object relationship where objectDefinitionId1 = ? and name = ? or throws a
NoSuchObjectRelationshipException if it could not be found. |
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
ObjectRelationship |
findByPrimaryKey(long objectRelationshipId)
Returns the object relationship with the primary key or throws a
NoSuchObjectRelationshipException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ObjectRelationship> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object relationships where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ObjectRelationship> |
findByUuid(java.lang.String uuid)
Returns all the object relationships where uuid = ?.
|
java.util.List<ObjectRelationship> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object relationships where uuid = ?.
|
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 = ?.
|
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 = ?.
|
ObjectRelationship |
remove(long objectRelationshipId)
Removes the object relationship with the primary key from the database.
|
void |
removeAll()
Removes all the object relationships from the database.
|
void |
removeByObjectDefinitionId1(long objectDefinitionId1)
Removes all the object relationships where objectDefinitionId1 = ? from the database.
|
void |
removeByObjectDefinitionId2(long objectDefinitionId2)
Removes all the object relationships where objectDefinitionId2 = ? from the database.
|
ObjectRelationship |
removeByObjectFieldId2(long objectFieldId2)
Removes the object relationship where objectFieldId2 = ? from the database.
|
ObjectRelationship |
removeByODI1_N(long objectDefinitionId1,
java.lang.String name)
Removes the object relationship where objectDefinitionId1 = ? and name = ? from the database.
|
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.
|
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.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object relationships where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object relationships where uuid = ? from the database.
|
ObjectRelationship |
updateImpl(ObjectRelationship objectRelationship) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ObjectRelationship> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectRelationship> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectRelationship> findByObjectDefinitionId1(long objectDefinitionId1)
objectDefinitionId1
- the object definition id1java.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)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
)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 cacheObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship[] 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 foundvoid removeByObjectDefinitionId1(long objectDefinitionId1)
objectDefinitionId1
- the object definition id1int countByObjectDefinitionId1(long objectDefinitionId1)
objectDefinitionId1
- the object definition id1java.util.List<ObjectRelationship> findByObjectDefinitionId2(long objectDefinitionId2)
objectDefinitionId2
- the object definition id2java.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)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
)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 cacheObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship[] 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 foundvoid removeByObjectDefinitionId2(long objectDefinitionId2)
objectDefinitionId2
- the object definition id2int countByObjectDefinitionId2(long objectDefinitionId2)
objectDefinitionId2
- the object definition id2ObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship removeByObjectFieldId2(long objectFieldId2) throws NoSuchObjectRelationshipException
objectFieldId2
- the object field id2NoSuchObjectRelationshipException
int countByObjectFieldId2(long objectFieldId2)
objectFieldId2
- the object field id2ObjectRelationship findByODI1_N(long objectDefinitionId1, java.lang.String name) throws NoSuchObjectRelationshipException
NoSuchObjectRelationshipException
if it could not be found.objectDefinitionId1
- the object definition id1name
- the nameNoSuchObjectRelationshipException
- if a matching object relationship could not be foundObjectRelationship fetchByODI1_N(long objectDefinitionId1, java.lang.String name)
null
if it could not be found. Uses the finder cache.objectDefinitionId1
- the object definition id1name
- the namenull
if a matching object relationship could not be foundObjectRelationship fetchByODI1_N(long objectDefinitionId1, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.objectDefinitionId1
- the object definition id1name
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching object relationship could not be foundObjectRelationship removeByODI1_N(long objectDefinitionId1, java.lang.String name) throws NoSuchObjectRelationshipException
objectDefinitionId1
- the object definition id1name
- the nameNoSuchObjectRelationshipException
int countByODI1_N(long objectDefinitionId1, java.lang.String name)
objectDefinitionId1
- the object definition id1name
- the namejava.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 typejava.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)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
)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 cacheObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship[] 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 foundvoid 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 typeint 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 typeObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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 foundObjectRelationship 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
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 typevoid cacheResult(ObjectRelationship objectRelationship)
objectRelationship
- the object relationshipvoid cacheResult(java.util.List<ObjectRelationship> objectRelationships)
objectRelationships
- the object relationshipsObjectRelationship create(long objectRelationshipId)
objectRelationshipId
- the primary key for the new object relationshipObjectRelationship remove(long objectRelationshipId) throws NoSuchObjectRelationshipException
objectRelationshipId
- the primary key of the object relationshipNoSuchObjectRelationshipException
- if a object relationship with the primary key could not be foundObjectRelationship updateImpl(ObjectRelationship objectRelationship)
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 foundObjectRelationship 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 foundjava.util.List<ObjectRelationship> findAll()
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)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
)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 cachevoid removeAll()
int countAll()