Interface ObjectEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(ObjectEntry objectEntry) Caches the object entry in the entity cache if it is enabled.voidcacheResult(List<ObjectEntry> objectEntries) Caches the object entries in the entity cache if it is enabled.intcountAll()Returns the number of object entries.intcountByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) Returns the number of object entries where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ?.intcountByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId) Returns the number of object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.intcountByG_ODI(long groupId, long objectDefinitionId) Returns the number of object entries where groupId = ? and objectDefinitionId = ?.intcountByG_ODI_S(long groupId, long objectDefinitionId, int status) Returns the number of object entries where groupId = ? and objectDefinitionId = ? and status = ?.intcountByG_OEFI(long groupId, long objectEntryFolderId) Returns the number of object entries where groupId = ? and objectEntryFolderId = ?.intcountByHeadObjectEntryId(long headObjectEntryId) Returns the number of object entries where headObjectEntryId = ?.intcountByObjectDefinitionId(long objectDefinitionId) Returns the number of object entries where objectDefinitionId = ?.intcountByODI_NotS(long objectDefinitionId, int status) Returns the number of object entries where objectDefinitionId = ? and status ≠ ?.intcountByROEI_NotS(long rootObjectEntryId, int status) Returns the number of object entries where rootObjectEntryId = ? and status ≠ ?.intcountByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId) Returns the number of object entries where userId = ? and createDate > ? and objectDefinitionId = ?.intcountByU_ODI(long userId, long objectDefinitionId) Returns the number of object entries where userId = ? and objectDefinitionId = ?.intcountByUuid(String uuid) Returns the number of object entries where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of object entries where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of object entries where uuid = ? and groupId = ?.create(long objectEntryId) Creates a new object entry with the primary key.fetchByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or returnsnullif it could not be found.fetchByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByG_C_OEFI_First(long groupId, long companyId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and companyId = ? and objectEntryFolderId = ?.fetchByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.fetchByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.fetchByG_OEFI_First(long groupId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectEntryFolderId = ?.fetchByHeadObjectEntryId(long headObjectEntryId) Returns the object entry where headObjectEntryId = ? or returnsnullif it could not be found.fetchByHeadObjectEntryId(long headObjectEntryId, boolean useFinderCache) Returns the object entry where headObjectEntryId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ?.fetchByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.fetchByPrimaryKey(long objectEntryId) Returns the object entry with the primary key or returnsnullif it could not be found.fetchByROEI_NotS_First(long rootObjectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where rootObjectEntryId = ? and status ≠ ?.fetchByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.fetchByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ?.fetchByUUID_G(String uuid, long groupId) Returns the object entry where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the object entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.findAll()Returns all the object entries.findAll(int start, int end) Returns a range of all the object entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries.findByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectEntryExceptionif it could not be found.findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId) Returns all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end) Returns a range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.findByG_C_OEFI_First(long groupId, long companyId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and companyId = ? and objectEntryFolderId = ?.findByG_ODI(long groupId, long objectDefinitionId) Returns all the object entries where groupId = ? and objectDefinitionId = ?.findByG_ODI(long groupId, long objectDefinitionId, int start, int end) Returns a range of all the object entries where groupId = ? and objectDefinitionId = ?.findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.findByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.findByG_ODI_S(long groupId, long objectDefinitionId, int status) Returns all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end) Returns a range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.findByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.findByG_OEFI(long groupId, long objectEntryFolderId) Returns all the object entries where groupId = ? and objectEntryFolderId = ?.findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end) Returns a range of all the object entries where groupId = ? and objectEntryFolderId = ?.findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectEntryFolderId = ?.findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectEntryFolderId = ?.findByG_OEFI_First(long groupId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectEntryFolderId = ?.findByHeadObjectEntryId(long headObjectEntryId) Returns the object entry where headObjectEntryId = ? or throws aNoSuchObjectEntryExceptionif it could not be found.findByObjectDefinitionId(long objectDefinitionId) Returns all the object entries where objectDefinitionId = ?.findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object entries where objectDefinitionId = ?.findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where objectDefinitionId = ?.findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where objectDefinitionId = ?.findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ?.findByODI_NotS(long objectDefinitionId, int status) Returns all the object entries where objectDefinitionId = ? and status ≠ ?.findByODI_NotS(long objectDefinitionId, int status, int start, int end) Returns a range of all the object entries where objectDefinitionId = ? and status ≠ ?.findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.findByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.findByPrimaryKey(long objectEntryId) Returns the object entry with the primary key or throws aNoSuchObjectEntryExceptionif it could not be found.findByROEI_NotS(long rootObjectEntryId, int status) Returns all the object entries where rootObjectEntryId = ? and status ≠ ?.findByROEI_NotS(long rootObjectEntryId, int status, int start, int end) Returns a range of all the object entries where rootObjectEntryId = ? and status ≠ ?.findByROEI_NotS(long rootObjectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where rootObjectEntryId = ? and status ≠ ?.findByROEI_NotS(long rootObjectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where rootObjectEntryId = ? and status ≠ ?.findByROEI_NotS_First(long rootObjectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where rootObjectEntryId = ? and status ≠ ?.findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId) Returns all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end) Returns a range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.findByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.findByU_ODI(long userId, long objectDefinitionId) Returns all the object entries where userId = ? and objectDefinitionId = ?.findByU_ODI(long userId, long objectDefinitionId, int start, int end) Returns a range of all the object entries where userId = ? and objectDefinitionId = ?.findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.findByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.findByUuid(String uuid) Returns all the object entries where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the object entries where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the object entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the object entry where uuid = ? and groupId = ? or throws aNoSuchObjectEntryExceptionif it could not be found.remove(long objectEntryId) Removes the object entry with the primary key from the database.voidRemoves all the object entries from the database.removeByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) Removes the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? from the database.voidremoveByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId) Removes all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ? from the database.voidremoveByG_ODI(long groupId, long objectDefinitionId) Removes all the object entries where groupId = ? and objectDefinitionId = ? from the database.voidremoveByG_ODI_S(long groupId, long objectDefinitionId, int status) Removes all the object entries where groupId = ? and objectDefinitionId = ? and status = ? from the database.voidremoveByG_OEFI(long groupId, long objectEntryFolderId) Removes all the object entries where groupId = ? and objectEntryFolderId = ? from the database.removeByHeadObjectEntryId(long headObjectEntryId) Removes the object entry where headObjectEntryId = ? from the database.voidremoveByObjectDefinitionId(long objectDefinitionId) Removes all the object entries where objectDefinitionId = ? from the database.voidremoveByODI_NotS(long objectDefinitionId, int status) Removes all the object entries where objectDefinitionId = ? and status ≠ ? from the database.voidremoveByROEI_NotS(long rootObjectEntryId, int status) Removes all the object entries where rootObjectEntryId = ? and status ≠ ? from the database.voidremoveByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId) Removes all the object entries where userId = ? and createDate > ? and objectDefinitionId = ? from the database.voidremoveByU_ODI(long userId, long objectDefinitionId) Removes all the object entries where userId = ? and objectDefinitionId = ? from the database.voidremoveByUuid(String uuid) Removes all the object entries where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the object entries where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the object entry where uuid = ? and groupId = ? from the database.updateImpl(ObjectEntry objectEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the object entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object entries
-
findByUuid
Returns a range of all the object entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByUuid
List<ObjectEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByUuid
List<ObjectEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByUuid_First
ObjectEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByUuid_First
ObjectEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByUuid
Removes all the object entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object entries
-
findByUUID_G
Returns the object entry where uuid = ? and groupId = ? or throws aNoSuchObjectEntryExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByUUID_G
Returns the object entry where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching object entry, or
nullif a matching object entry could not be found
-
fetchByUUID_G
Returns the object entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching object entry, or
nullif a matching object entry could not be found
-
removeByUUID_G
Removes the object entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the object entry that was removed
- Throws:
NoSuchObjectEntryException
-
countByUUID_G
Returns the number of object entries where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching object entries
-
findByUuid_C
Returns all the object entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object entries
-
findByUuid_C
Returns a range of all the object entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByUuid_C
List<ObjectEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByUuid_C
List<ObjectEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByUuid_C_First
ObjectEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByUuid_C_First
ObjectEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByUuid_C
Removes all the object entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object entries
-
findByHeadObjectEntryId
Returns the object entry where headObjectEntryId = ? or throws aNoSuchObjectEntryExceptionif it could not be found.- Parameters:
headObjectEntryId- the head object entry ID- Returns:
- the matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByHeadObjectEntryId
Returns the object entry where headObjectEntryId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
headObjectEntryId- the head object entry ID- Returns:
- the matching object entry, or
nullif a matching object entry could not be found
-
fetchByHeadObjectEntryId
Returns the object entry where headObjectEntryId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
headObjectEntryId- the head object entry IDuseFinderCache- whether to use the finder cache- Returns:
- the matching object entry, or
nullif a matching object entry could not be found
-
removeByHeadObjectEntryId
Removes the object entry where headObjectEntryId = ? from the database.- Parameters:
headObjectEntryId- the head object entry ID- Returns:
- the object entry that was removed
- Throws:
NoSuchObjectEntryException
-
countByHeadObjectEntryId
int countByHeadObjectEntryId(long headObjectEntryId) Returns the number of object entries where headObjectEntryId = ?.- Parameters:
headObjectEntryId- the head object entry ID- Returns:
- the number of matching object entries
-
findByObjectDefinitionId
Returns all the object entries where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the matching object entries
-
findByObjectDefinitionId
Returns a range of all the object entries where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByObjectDefinitionId
List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByObjectDefinitionId
List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByObjectDefinitionId_First
ObjectEntry findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByObjectDefinitionId_First
ObjectEntry fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByObjectDefinitionId
void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object entries where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId- the object definition ID
-
countByObjectDefinitionId
int countByObjectDefinitionId(long objectDefinitionId) Returns the number of object entries where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the number of matching object entries
-
findByG_ODI
Returns all the object entries where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition ID- Returns:
- the matching object entries
-
findByG_ODI
Returns a range of all the object entries where groupId = ? and objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByG_ODI
List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByG_ODI
List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByG_ODI_First
ObjectEntry findByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByG_ODI_First
ObjectEntry fetchByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByG_ODI
void removeByG_ODI(long groupId, long objectDefinitionId) Removes all the object entries where groupId = ? and objectDefinitionId = ? from the database.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition ID
-
countByG_ODI
int countByG_ODI(long groupId, long objectDefinitionId) Returns the number of object entries where groupId = ? and objectDefinitionId = ?.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition ID- Returns:
- the number of matching object entries
-
findByG_OEFI
Returns all the object entries where groupId = ? and objectEntryFolderId = ?.- Parameters:
groupId- the group IDobjectEntryFolderId- the object entry folder ID- Returns:
- the matching object entries
-
findByG_OEFI
Returns a range of all the object entries where groupId = ? and objectEntryFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDobjectEntryFolderId- the object entry folder IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByG_OEFI
List<ObjectEntry> findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectEntryFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDobjectEntryFolderId- the object entry folder IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByG_OEFI
List<ObjectEntry> findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectEntryFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDobjectEntryFolderId- the object entry folder IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByG_OEFI_First
ObjectEntry findByG_OEFI_First(long groupId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where groupId = ? and objectEntryFolderId = ?.- Parameters:
groupId- the group IDobjectEntryFolderId- the object entry folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByG_OEFI_First
ObjectEntry fetchByG_OEFI_First(long groupId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectEntryFolderId = ?.- Parameters:
groupId- the group IDobjectEntryFolderId- the object entry folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByG_OEFI
void removeByG_OEFI(long groupId, long objectEntryFolderId) Removes all the object entries where groupId = ? and objectEntryFolderId = ? from the database.- Parameters:
groupId- the group IDobjectEntryFolderId- the object entry folder ID
-
countByG_OEFI
int countByG_OEFI(long groupId, long objectEntryFolderId) Returns the number of object entries where groupId = ? and objectEntryFolderId = ?.- Parameters:
groupId- the group IDobjectEntryFolderId- the object entry folder ID- Returns:
- the number of matching object entries
-
findByU_ODI
Returns all the object entries where userId = ? and objectDefinitionId = ?.- Parameters:
userId- the user IDobjectDefinitionId- the object definition ID- Returns:
- the matching object entries
-
findByU_ODI
Returns a range of all the object entries where userId = ? and objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
userId- the user IDobjectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByU_ODI
List<ObjectEntry> findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
userId- the user IDobjectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByU_ODI
List<ObjectEntry> findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
userId- the user IDobjectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByU_ODI_First
ObjectEntry findByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.- Parameters:
userId- the user IDobjectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByU_ODI_First
ObjectEntry fetchByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.- Parameters:
userId- the user IDobjectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByU_ODI
void removeByU_ODI(long userId, long objectDefinitionId) Removes all the object entries where userId = ? and objectDefinitionId = ? from the database.- Parameters:
userId- the user IDobjectDefinitionId- the object definition ID
-
countByU_ODI
int countByU_ODI(long userId, long objectDefinitionId) Returns the number of object entries where userId = ? and objectDefinitionId = ?.- Parameters:
userId- the user IDobjectDefinitionId- the object definition ID- Returns:
- the number of matching object entries
-
findByODI_NotS
Returns all the object entries where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId- the object definition IDstatus- the status- Returns:
- the matching object entries
-
findByODI_NotS
Returns a range of all the object entries where objectDefinitionId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
objectDefinitionId- the object definition IDstatus- the statusstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByODI_NotS
List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
objectDefinitionId- the object definition IDstatus- the statusstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByODI_NotS
List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
objectDefinitionId- the object definition IDstatus- the statusstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByODI_NotS_First
ObjectEntry findByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId- the object definition IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByODI_NotS_First
ObjectEntry fetchByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId- the object definition IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByODI_NotS
void removeByODI_NotS(long objectDefinitionId, int status) Removes all the object entries where objectDefinitionId = ? and status ≠ ? from the database.- Parameters:
objectDefinitionId- the object definition IDstatus- the status
-
countByODI_NotS
int countByODI_NotS(long objectDefinitionId, int status) Returns the number of object entries where objectDefinitionId = ? and status ≠ ?.- Parameters:
objectDefinitionId- the object definition IDstatus- the status- Returns:
- the number of matching object entries
-
findByROEI_NotS
Returns all the object entries where rootObjectEntryId = ? and status ≠ ?.- Parameters:
rootObjectEntryId- the root object entry IDstatus- the status- Returns:
- the matching object entries
-
findByROEI_NotS
Returns a range of all the object entries where rootObjectEntryId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
rootObjectEntryId- the root object entry IDstatus- the statusstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByROEI_NotS
List<ObjectEntry> findByROEI_NotS(long rootObjectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where rootObjectEntryId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
rootObjectEntryId- the root object entry IDstatus- the statusstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByROEI_NotS
List<ObjectEntry> findByROEI_NotS(long rootObjectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where rootObjectEntryId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
rootObjectEntryId- the root object entry IDstatus- the statusstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByROEI_NotS_First
ObjectEntry findByROEI_NotS_First(long rootObjectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where rootObjectEntryId = ? and status ≠ ?.- Parameters:
rootObjectEntryId- the root object entry IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByROEI_NotS_First
ObjectEntry fetchByROEI_NotS_First(long rootObjectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where rootObjectEntryId = ? and status ≠ ?.- Parameters:
rootObjectEntryId- the root object entry IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByROEI_NotS
void removeByROEI_NotS(long rootObjectEntryId, int status) Removes all the object entries where rootObjectEntryId = ? and status ≠ ? from the database.- Parameters:
rootObjectEntryId- the root object entry IDstatus- the status
-
countByROEI_NotS
int countByROEI_NotS(long rootObjectEntryId, int status) Returns the number of object entries where rootObjectEntryId = ? and status ≠ ?.- Parameters:
rootObjectEntryId- the root object entry IDstatus- the status- Returns:
- the number of matching object entries
-
findByG_C_OEFI
Returns all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDobjectEntryFolderId- the object entry folder ID- Returns:
- the matching object entries
-
findByG_C_OEFI
List<ObjectEntry> findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end) Returns a range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDobjectEntryFolderId- the object entry folder IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByG_C_OEFI
List<ObjectEntry> findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDobjectEntryFolderId- the object entry folder IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByG_C_OEFI
List<ObjectEntry> findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDcompanyId- the company IDobjectEntryFolderId- the object entry folder IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByG_C_OEFI_First
ObjectEntry findByG_C_OEFI_First(long groupId, long companyId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where groupId = ? and companyId = ? and objectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDobjectEntryFolderId- the object entry folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByG_C_OEFI_First
ObjectEntry fetchByG_C_OEFI_First(long groupId, long companyId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and companyId = ? and objectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDobjectEntryFolderId- the object entry folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByG_C_OEFI
void removeByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId) Removes all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ? from the database.- Parameters:
groupId- the group IDcompanyId- the company IDobjectEntryFolderId- the object entry folder ID
-
countByG_C_OEFI
int countByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId) Returns the number of object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.- Parameters:
groupId- the group IDcompanyId- the company IDobjectEntryFolderId- the object entry folder ID- Returns:
- the number of matching object entries
-
findByG_ODI_S
Returns all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstatus- the status- Returns:
- the matching object entries
-
findByG_ODI_S
List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end) Returns a range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstatus- the statusstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByG_ODI_S
List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstatus- the statusstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByG_ODI_S
List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstatus- the statusstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByG_ODI_S_First
ObjectEntry findByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByG_ODI_S_First
ObjectEntry fetchByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByG_ODI_S
void removeByG_ODI_S(long groupId, long objectDefinitionId, int status) Removes all the object entries where groupId = ? and objectDefinitionId = ? and status = ? from the database.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstatus- the status
-
countByG_ODI_S
int countByG_ODI_S(long groupId, long objectDefinitionId, int status) Returns the number of object entries where groupId = ? and objectDefinitionId = ? and status = ?.- Parameters:
groupId- the group IDobjectDefinitionId- the object definition IDstatus- the status- Returns:
- the number of matching object entries
-
findByU_GtCD_ODI
Returns all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId- the user IDcreateDate- the create dateobjectDefinitionId- the object definition ID- Returns:
- the matching object entries
-
findByU_GtCD_ODI
List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end) Returns a range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
userId- the user IDcreateDate- the create dateobjectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of matching object entries
-
findByU_GtCD_ODI
List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
userId- the user IDcreateDate- the create dateobjectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object entries
-
findByU_GtCD_ODI
List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
userId- the user IDcreateDate- the create dateobjectDefinitionId- the object definition IDstart- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object entries
-
findByU_GtCD_ODI_First
ObjectEntry findByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId- the user IDcreateDate- the create dateobjectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByU_GtCD_ODI_First
ObjectEntry fetchByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId- the user IDcreateDate- the create dateobjectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object entry, or
nullif a matching object entry could not be found
-
removeByU_GtCD_ODI
Removes all the object entries where userId = ? and createDate > ? and objectDefinitionId = ? from the database.- Parameters:
userId- the user IDcreateDate- the create dateobjectDefinitionId- the object definition ID
-
countByU_GtCD_ODI
Returns the number of object entries where userId = ? and createDate > ? and objectDefinitionId = ?.- Parameters:
userId- the user IDcreateDate- the create dateobjectDefinitionId- the object definition ID- Returns:
- the number of matching object entries
-
findByERC_G_C_ODI
ObjectEntry findByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) throws NoSuchObjectEntryException Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectEntryExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company IDobjectDefinitionId- the object definition ID- Returns:
- the matching object entry
- Throws:
NoSuchObjectEntryException- if a matching object entry could not be found
-
fetchByERC_G_C_ODI
ObjectEntry fetchByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company IDobjectDefinitionId- the object definition ID- Returns:
- the matching object entry, or
nullif a matching object entry could not be found
-
fetchByERC_G_C_ODI
ObjectEntry fetchByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company IDobjectDefinitionId- the object definition IDuseFinderCache- whether to use the finder cache- Returns:
- the matching object entry, or
nullif a matching object entry could not be found
-
removeByERC_G_C_ODI
ObjectEntry removeByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) throws NoSuchObjectEntryException Removes the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? from the database.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company IDobjectDefinitionId- the object definition ID- Returns:
- the object entry that was removed
- Throws:
NoSuchObjectEntryException
-
countByERC_G_C_ODI
int countByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) Returns the number of object entries where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDcompanyId- the company IDobjectDefinitionId- the object definition ID- Returns:
- the number of matching object entries
-
cacheResult
Caches the object entry in the entity cache if it is enabled.- Parameters:
objectEntry- the object entry
-
cacheResult
Caches the object entries in the entity cache if it is enabled.- Parameters:
objectEntries- the object entries
-
create
Creates a new object entry with the primary key. Does not add the object entry to the database.- Parameters:
objectEntryId- the primary key for the new object entry- Returns:
- the new object entry
-
remove
Removes the object entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectEntryId- the primary key of the object entry- Returns:
- the object entry that was removed
- Throws:
NoSuchObjectEntryException- if a object entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object entry with the primary key or throws aNoSuchObjectEntryExceptionif it could not be found.- Parameters:
objectEntryId- the primary key of the object entry- Returns:
- the object entry
- Throws:
NoSuchObjectEntryException- if a object entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the object entry with the primary key or returnsnullif it could not be found.- Parameters:
objectEntryId- the primary key of the object entry- Returns:
- the object entry, or
nullif a object entry with the primary key could not be found
-
findAll
List<ObjectEntry> findAll()Returns all the object entries.- Returns:
- the object entries
-
findAll
Returns a range of all the object entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
start- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)- Returns:
- the range of object entries
-
findAll
List<ObjectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) Returns an ordered range of all the object entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
start- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of object entries
-
findAll
List<ObjectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectEntryModelImpl.- Parameters:
start- the lower bound of the range of object entriesend- the upper bound of the range of object entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of object entries
-
removeAll
void removeAll()Removes all the object entries from the database. -
countAll
int countAll()Returns the number of object entries.- Returns:
- the number of object entries
-