Class DepotEntryPinUtil
com.liferay.depot.service.persistence.impl.DepotEntryPinPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(DepotEntryPin depotEntryPin) Caches the depot entry pin in the entity cache if it is enabled.static voidcacheResult(List<DepotEntryPin> depotEntryPins) Caches the depot entry pins in the entity cache if it is enabled.static voidstatic voidclearCache(DepotEntryPin depotEntryPin) static intcountAll()Returns the number of depot entry pins.static intcountByDepotEntryId(long depotEntryId) Returns the number of depot entry pins where depotEntryId = ?.static intcountByU_D(long userId, long depotEntryId) Returns the number of depot entry pins where userId = ? and depotEntryId = ?.static intcountByUserId(long userId) Returns the number of depot entry pins where userId = ?.static intcountByUuid(String uuid) Returns the number of depot entry pins where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of depot entry pins where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of depot entry pins where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DepotEntryPincreate(long depotEntryPinId) Creates a new depot entry pin with the primary key.static DepotEntryPinfetchByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where depotEntryId = ?.static DepotEntryPinfetchByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where depotEntryId = ?.static DepotEntryPinfetchByPrimaryKey(long depotEntryPinId) Returns the depot entry pin with the primary key or returnsnullif it could not be found.static Map<Serializable, DepotEntryPin> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static DepotEntryPinfetchByU_D(long userId, long depotEntryId) Returns the depot entry pin where userId = ? and depotEntryId = ? or returnsnullif it could not be found.static DepotEntryPinfetchByU_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.static DepotEntryPinfetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where userId = ?.static DepotEntryPinfetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where userId = ?.static DepotEntryPinfetchByUuid_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 = ?.static DepotEntryPinfetchByUuid_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 = ?.static DepotEntryPinfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where uuid = ?.static DepotEntryPinfetchByUUID_G(String uuid, long groupId) Returns the depot entry pin where uuid = ? and groupId = ? or returnsnullif it could not be found.static DepotEntryPinfetchByUUID_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.static DepotEntryPinfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where uuid = ?.static List<DepotEntryPin> findAll()Returns all the depot entry pins.static List<DepotEntryPin> findAll(int start, int end) Returns a range of all the depot entry pins.static 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.static 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.static List<DepotEntryPin> findByDepotEntryId(long depotEntryId) Returns all the depot entry pins where depotEntryId = ?.static List<DepotEntryPin> findByDepotEntryId(long depotEntryId, int start, int end) Returns a range of all the depot entry pins where depotEntryId = ?.static 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 = ?.static 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 = ?.static DepotEntryPinfindByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where depotEntryId = ?.static DepotEntryPinfindByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where depotEntryId = ?.static DepotEntryPin[]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 = ?.static DepotEntryPinfindByPrimaryKey(long depotEntryPinId) Returns the depot entry pin with the primary key or throws aNoSuchEntryPinExceptionif it could not be found.static DepotEntryPinfindByU_D(long userId, long depotEntryId) Returns the depot entry pin where userId = ? and depotEntryId = ? or throws aNoSuchEntryPinExceptionif it could not be found.static List<DepotEntryPin> findByUserId(long userId) Returns all the depot entry pins where userId = ?.static List<DepotEntryPin> findByUserId(long userId, int start, int end) Returns a range of all the depot entry pins where userId = ?.static 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 = ?.static 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 = ?.static DepotEntryPinfindByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where userId = ?.static DepotEntryPinfindByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where userId = ?.static DepotEntryPin[]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 = ?.static List<DepotEntryPin> findByUuid(String uuid) Returns all the depot entry pins where uuid = ?.static List<DepotEntryPin> findByUuid(String uuid, int start, int end) Returns a range of all the depot entry pins where uuid = ?.static 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 = ?.static 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 = ?.static List<DepotEntryPin> findByUuid_C(String uuid, long companyId) Returns all the depot entry pins where uuid = ? and companyId = ?.static List<DepotEntryPin> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the depot entry pins where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static DepotEntryPinfindByUuid_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 = ?.static DepotEntryPinfindByUuid_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 = ?.static DepotEntryPin[]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 = ?.static DepotEntryPinfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the first depot entry pin in the ordered set where uuid = ?.static DepotEntryPinfindByUUID_G(String uuid, long groupId) Returns the depot entry pin where uuid = ? and groupId = ? or throws aNoSuchEntryPinExceptionif it could not be found.static DepotEntryPinfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) Returns the last depot entry pin in the ordered set where uuid = ?.static DepotEntryPin[]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 = ?.static List<DepotEntryPin> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DepotEntryPin> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DepotEntryPin> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) static DepotEntryPinPersistencestatic DepotEntryPinremove(long depotEntryPinId) Removes the depot entry pin with the primary key from the database.static voidRemoves all the depot entry pins from the database.static voidremoveByDepotEntryId(long depotEntryId) Removes all the depot entry pins where depotEntryId = ? from the database.static DepotEntryPinremoveByU_D(long userId, long depotEntryId) Removes the depot entry pin where userId = ? and depotEntryId = ? from the database.static voidremoveByUserId(long userId) Removes all the depot entry pins where userId = ? from the database.static voidremoveByUuid(String uuid) Removes all the depot entry pins where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the depot entry pins where uuid = ? and companyId = ? from the database.static DepotEntryPinremoveByUUID_G(String uuid, long groupId) Removes the depot entry pin where uuid = ? and groupId = ? from the database.static voidsetPersistence(DepotEntryPinPersistence persistence) static DepotEntryPinupdate(DepotEntryPin depotEntryPin) static DepotEntryPinupdate(DepotEntryPin depotEntryPin, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DepotEntryPinupdateImpl(DepotEntryPin depotEntryPin)
-
Constructor Details
-
DepotEntryPinUtil
public DepotEntryPinUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<DepotEntryPin> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<DepotEntryPin> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<DepotEntryPin> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static DepotEntryPin update(DepotEntryPin depotEntryPin, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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
public static 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
public static 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
public static 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
-
fetchByUuid_First
public static 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
public static 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
-
fetchByUuid_Last
public static 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
public static 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
-
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
-
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
public static DepotEntryPin removeByUUID_G(String uuid, long groupId) throws NoSuchEntryPinException 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
public static 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
public static 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
public static 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
-
fetchByUuid_C_First
public static 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
public static 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
-
fetchByUuid_C_Last
public static 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
public static 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
-
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
public static 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
public static 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
public static 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
-
fetchByUserId_First
public static 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
public static 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
-
fetchByUserId_Last
public static 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
public static 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
-
removeByUserId
public static void removeByUserId(long userId) Removes all the depot entry pins where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
public static 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
public static 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
public static 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
public static 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
-
fetchByDepotEntryId_First
public static 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
public static 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
-
fetchByDepotEntryId_Last
public static 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
public static 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
-
removeByDepotEntryId
public static void removeByDepotEntryId(long depotEntryId) Removes all the depot entry pins where depotEntryId = ? from the database.- Parameters:
depotEntryId- the depot entry ID
-
countByDepotEntryId
public static 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
public static DepotEntryPin findByU_D(long userId, long depotEntryId) throws NoSuchEntryPinException 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
-
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
public static DepotEntryPin removeByU_D(long userId, long depotEntryId) throws NoSuchEntryPinException 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
public static 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
-
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
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the depot entry pins from the database. -
countAll
public static int countAll()Returns the number of depot entry pins.- Returns:
- the number of depot entry pins
-
getPersistence
-
setPersistence
-