Interface DepotEntryPinPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DepotEntryPin>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DepotEntryPin>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(DepotEntryPin depotEntryPin) Caches the depot entry pin in the entity cache if it is enabled.voidcacheResult(List<DepotEntryPin> depotEntryPins) Caches the depot entry pins in the entity cache if it is enabled.intcountAll()Returns the number of depot entry pins.intcountByDepotEntryId(long depotEntryId) Returns the number of depot entry pins where depotEntryId = ?.intcountByU_D(long userId, long depotEntryId) Returns the number of depot entry pins where userId = ? and depotEntryId = ?.intcountByUserId(long userId) Returns the number of depot entry pins where userId = ?.intcountByUuid(String uuid) Returns the number of depot entry pins where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of depot entry pins where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of depot entry pins where uuid = ? and groupId = ?.create(long depotEntryPinId) Creates a new depot entry pin with the primary key.fetchByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where depotEntryId = ?.fetchByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where depotEntryId = ?.fetchByPrimaryKey(long depotEntryPinId) Returns the depot entry pin with the primary key or returnsnullif it could not be found.fetchByU_D(long userId, long depotEntryId) Returns the depot entry pin where userId = ? and depotEntryId = ? or returnsnullif it could not be found.fetchByU_D(long userId, long depotEntryId, boolean useFinderCache) Returns the depot entry pin where userId = ? and depotEntryId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where userId = ?.fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where userId = ?.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where uuid = ?.fetchByUUID_G(String uuid, long groupId) Returns the depot entry pin where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the depot entry pin where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where uuid = ?.findAll()Returns all the depot entry pins.findAll(int start, int end) Returns a range of all the depot entry pins.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins.findByDepotEntryId(long depotEntryId) Returns all the depot entry pins where depotEntryId = ?.findByDepotEntryId(long depotEntryId, int start, int end) Returns a range of all the depot entry pins where depotEntryId = ?.findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins where depotEntryId = ?.findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins where depotEntryId = ?.findByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where depotEntryId = ?.findByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where depotEntryId = ?.findByDepotEntryId_PrevAndNext(long depotEntryPinId, long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the depot entry pins before and after the current depot entry pin in the ordered set where depotEntryId = ?.findByPrimaryKey(long depotEntryPinId) Returns the depot entry pin with the primary key or throws aNoSuchEntryPinExceptionif it could not be found.findByU_D(long userId, long depotEntryId) Returns the depot entry pin where userId = ? and depotEntryId = ? or throws aNoSuchEntryPinExceptionif it could not be found.findByUserId(long userId) Returns all the depot entry pins where userId = ?.findByUserId(long userId, int start, int end) Returns a range of all the depot entry pins where userId = ?.findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins where userId = ?.findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins where userId = ?.findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where userId = ?.findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where userId = ?.findByUserId_PrevAndNext(long depotEntryPinId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the depot entry pins before and after the current depot entry pin in the ordered set where userId = ?.findByUuid(String uuid) Returns all the depot entry pins where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the depot entry pins where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the depot entry pins where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the depot entry pins where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext(long depotEntryPinId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the depot entry pins before and after the current depot entry pin in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the depot entry pin where uuid = ? and groupId = ? or throws aNoSuchEntryPinExceptionif it could not be found.findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where uuid = ?.findByUuid_PrevAndNext(long depotEntryPinId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the depot entry pins before and after the current depot entry pin in the ordered set where uuid = ?.remove(long depotEntryPinId) Removes the depot entry pin with the primary key from the database.voidRemoves all the depot entry pins from the database.voidremoveByDepotEntryId(long depotEntryId) Removes all the depot entry pins where depotEntryId = ? from the database.removeByU_D(long userId, long depotEntryId) Removes the depot entry pin where userId = ? and depotEntryId = ? from the database.voidremoveByUserId(long userId) Removes all the depot entry pins where userId = ? from the database.voidremoveByUuid(String uuid) Removes all the depot entry pins where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the depot entry pins where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the depot entry pin where uuid = ? and groupId = ? from the database.updateImpl(DepotEntryPin depotEntryPin) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the depot entry pins where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching depot entry pins
-
findByUuid
Returns a range of all the depot entry pins 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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)- Returns:
- the range of matching depot entry pins
-
findByUuid
List<DepotEntryPin> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins 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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching depot entry pins
-
findByUuid
List<DepotEntryPin> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins 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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching depot entry pins
-
findByUuid_First
DepotEntryPin findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the first depot entry pin in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByUuid_First
DepotEntryPin fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching depot entry pin, or
nullif a matching depot entry pin could not be found
-
findByUuid_Last
DepotEntryPin findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the last depot entry pin in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByUuid_Last
DepotEntryPin fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching depot entry pin, or
nullif a matching depot entry pin could not be found
-
findByUuid_PrevAndNext
DepotEntryPin[] findByUuid_PrevAndNext(long depotEntryPinId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the depot entry pins before and after the current depot entry pin in the ordered set where uuid = ?.- Parameters:
depotEntryPinId- the primary key of the current depot entry pinuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next depot entry pin
- Throws:
NoSuchEntryPinException- if a depot entry pin with the primary key could not be found
-
removeByUuid
Removes all the depot entry pins where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of depot entry pins where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching depot entry pins
-
findByUUID_G
Returns the depot entry pin where uuid = ? and groupId = ? or throws aNoSuchEntryPinExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByUUID_G
Returns the depot entry pin 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 depot entry pin, or
nullif a matching depot entry pin could not be found
-
fetchByUUID_G
Returns the depot entry pin 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 depot entry pin, or
nullif a matching depot entry pin could not be found
-
removeByUUID_G
Removes the depot entry pin where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the depot entry pin that was removed
- Throws:
NoSuchEntryPinException
-
countByUUID_G
Returns the number of depot entry pins where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching depot entry pins
-
findByUuid_C
Returns all the depot entry pins where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching depot entry pins
-
findByUuid_C
Returns a range of all the depot entry pins 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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)- Returns:
- the range of matching depot entry pins
-
findByUuid_C
List<DepotEntryPin> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins 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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching depot entry pins
-
findByUuid_C
List<DepotEntryPin> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins 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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching depot entry pins
-
findByUuid_C_First
DepotEntryPin findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the first depot entry pin 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 depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByUuid_C_First
DepotEntryPin fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin 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 depot entry pin, or
nullif a matching depot entry pin could not be found
-
findByUuid_C_Last
DepotEntryPin findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the last depot entry pin in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByUuid_C_Last
DepotEntryPin fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching depot entry pin, or
nullif a matching depot entry pin could not be found
-
findByUuid_C_PrevAndNext
DepotEntryPin[] findByUuid_C_PrevAndNext(long depotEntryPinId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the depot entry pins before and after the current depot entry pin in the ordered set where uuid = ? and companyId = ?.- Parameters:
depotEntryPinId- the primary key of the current depot entry pinuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next depot entry pin
- Throws:
NoSuchEntryPinException- if a depot entry pin with the primary key could not be found
-
removeByUuid_C
Removes all the depot entry pins where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of depot entry pins where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching depot entry pins
-
findByUserId
Returns all the depot entry pins where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching depot entry pins
-
findByUserId
Returns a range of all the depot entry pins where userId = ?.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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)- Returns:
- the range of matching depot entry pins
-
findByUserId
List<DepotEntryPin> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins where userId = ?.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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching depot entry pins
-
findByUserId
List<DepotEntryPin> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins where userId = ?.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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching depot entry pins
-
findByUserId_First
DepotEntryPin findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the first depot entry pin in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByUserId_First
DepotEntryPin fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching depot entry pin, or
nullif a matching depot entry pin could not be found
-
findByUserId_Last
DepotEntryPin findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the last depot entry pin in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByUserId_Last
DepotEntryPin fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching depot entry pin, or
nullif a matching depot entry pin could not be found
-
findByUserId_PrevAndNext
DepotEntryPin[] findByUserId_PrevAndNext(long depotEntryPinId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the depot entry pins before and after the current depot entry pin in the ordered set where userId = ?.- Parameters:
depotEntryPinId- the primary key of the current depot entry pinuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next depot entry pin
- Throws:
NoSuchEntryPinException- if a depot entry pin with the primary key could not be found
-
removeByUserId
void removeByUserId(long userId) Removes all the depot entry pins where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
int countByUserId(long userId) Returns the number of depot entry pins where userId = ?.- Parameters:
userId- the user ID- Returns:
- the number of matching depot entry pins
-
findByDepotEntryId
Returns all the depot entry pins where depotEntryId = ?.- Parameters:
depotEntryId- the depot entry ID- Returns:
- the matching depot entry pins
-
findByDepotEntryId
Returns a range of all the depot entry pins where depotEntryId = ?.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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
depotEntryId- the depot entry IDstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)- Returns:
- the range of matching depot entry pins
-
findByDepotEntryId
List<DepotEntryPin> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins where depotEntryId = ?.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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
depotEntryId- the depot entry IDstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching depot entry pins
-
findByDepotEntryId
List<DepotEntryPin> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins where depotEntryId = ?.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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
depotEntryId- the depot entry IDstart- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching depot entry pins
-
findByDepotEntryId_First
DepotEntryPin findByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the first depot entry pin in the ordered set where depotEntryId = ?.- Parameters:
depotEntryId- the depot entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByDepotEntryId_First
DepotEntryPin fetchByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where depotEntryId = ?.- Parameters:
depotEntryId- the depot entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching depot entry pin, or
nullif a matching depot entry pin could not be found
-
findByDepotEntryId_Last
DepotEntryPin findByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the last depot entry pin in the ordered set where depotEntryId = ?.- Parameters:
depotEntryId- the depot entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByDepotEntryId_Last
DepotEntryPin fetchByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where depotEntryId = ?.- Parameters:
depotEntryId- the depot entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching depot entry pin, or
nullif a matching depot entry pin could not be found
-
findByDepotEntryId_PrevAndNext
DepotEntryPin[] findByDepotEntryId_PrevAndNext(long depotEntryPinId, long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) throws NoSuchEntryPinException Returns the depot entry pins before and after the current depot entry pin in the ordered set where depotEntryId = ?.- Parameters:
depotEntryPinId- the primary key of the current depot entry pindepotEntryId- the depot entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next depot entry pin
- Throws:
NoSuchEntryPinException- if a depot entry pin with the primary key could not be found
-
removeByDepotEntryId
void removeByDepotEntryId(long depotEntryId) Removes all the depot entry pins where depotEntryId = ? from the database.- Parameters:
depotEntryId- the depot entry ID
-
countByDepotEntryId
int countByDepotEntryId(long depotEntryId) Returns the number of depot entry pins where depotEntryId = ?.- Parameters:
depotEntryId- the depot entry ID- Returns:
- the number of matching depot entry pins
-
findByU_D
Returns the depot entry pin where userId = ? and depotEntryId = ? or throws aNoSuchEntryPinExceptionif it could not be found.- Parameters:
userId- the user IDdepotEntryId- the depot entry ID- Returns:
- the matching depot entry pin
- Throws:
NoSuchEntryPinException- if a matching depot entry pin could not be found
-
fetchByU_D
Returns the depot entry pin where userId = ? and depotEntryId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
userId- the user IDdepotEntryId- the depot entry ID- Returns:
- the matching depot entry pin, or
nullif a matching depot entry pin could not be found
-
fetchByU_D
Returns the depot entry pin where userId = ? and depotEntryId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
userId- the user IDdepotEntryId- the depot entry IDuseFinderCache- whether to use the finder cache- Returns:
- the matching depot entry pin, or
nullif a matching depot entry pin could not be found
-
removeByU_D
Removes the depot entry pin where userId = ? and depotEntryId = ? from the database.- Parameters:
userId- the user IDdepotEntryId- the depot entry ID- Returns:
- the depot entry pin that was removed
- Throws:
NoSuchEntryPinException
-
countByU_D
int countByU_D(long userId, long depotEntryId) Returns the number of depot entry pins where userId = ? and depotEntryId = ?.- Parameters:
userId- the user IDdepotEntryId- the depot entry ID- Returns:
- the number of matching depot entry pins
-
cacheResult
Caches the depot entry pin in the entity cache if it is enabled.- Parameters:
depotEntryPin- the depot entry pin
-
cacheResult
Caches the depot entry pins in the entity cache if it is enabled.- Parameters:
depotEntryPins- the depot entry pins
-
create
Creates a new depot entry pin with the primary key. Does not add the depot entry pin to the database.- Parameters:
depotEntryPinId- the primary key for the new depot entry pin- Returns:
- the new depot entry pin
-
remove
Removes the depot entry pin with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
depotEntryPinId- the primary key of the depot entry pin- Returns:
- the depot entry pin that was removed
- Throws:
NoSuchEntryPinException- if a depot entry pin with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the depot entry pin with the primary key or throws aNoSuchEntryPinExceptionif it could not be found.- Parameters:
depotEntryPinId- the primary key of the depot entry pin- Returns:
- the depot entry pin
- Throws:
NoSuchEntryPinException- if a depot entry pin with the primary key could not be found
-
fetchByPrimaryKey
Returns the depot entry pin with the primary key or returnsnullif it could not be found.- Parameters:
depotEntryPinId- the primary key of the depot entry pin- Returns:
- the depot entry pin, or
nullif a depot entry pin with the primary key could not be found
-
findAll
List<DepotEntryPin> findAll()Returns all the depot entry pins.- Returns:
- the depot entry pins
-
findAll
Returns a range of all the depot entry pins.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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
start- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)- Returns:
- the range of depot entry pins
-
findAll
List<DepotEntryPin> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns an ordered range of all the depot entry pins.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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
start- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of depot entry pins
-
findAll
List<DepotEntryPin> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the depot entry pins.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 bothstartandendtoQueryUtil#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 fromDepotEntryPinModelImpl.- Parameters:
start- the lower bound of the range of depot entry pinsend- the upper bound of the range of depot entry pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of depot entry pins
-
removeAll
void removeAll()Removes all the depot entry pins from the database. -
countAll
int countAll()Returns the number of depot entry pins.- Returns:
- the number of depot entry pins
-