Class DepotEntryPinUtil

java.lang.Object
com.liferay.depot.service.persistence.DepotEntryPinUtil

public class DepotEntryPinUtil extends Object
The persistence utility for the depot entry pin service. This utility wraps 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 Details

    • DepotEntryPinUtil

      public DepotEntryPinUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(DepotEntryPin depotEntryPin)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,DepotEntryPin> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<DepotEntryPin> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<DepotEntryPin> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • 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:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static DepotEntryPin update(DepotEntryPin depotEntryPin)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static DepotEntryPin update(DepotEntryPin depotEntryPin, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<DepotEntryPin> findByUuid(String uuid)
      Returns all the depot entry pins where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching depot entry pins
    • findByUuid

      public static List<DepotEntryPin> findByUuid(String uuid, int start, int end)
      Returns a range of all the depot entry pins where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of depot entry pins
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry pin, or null if 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry pin, or null if 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 pin
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next depot entry pin
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the depot entry pins where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of depot entry pins where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching depot entry pins
    • findByUUID_G

      public static DepotEntryPin findByUUID_G(String uuid, long groupId) throws NoSuchEntryPinException
      Returns the depot entry pin where uuid = ? and groupId = ? or throws a NoSuchEntryPinException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching depot entry pin
    • fetchByUUID_G

      public static DepotEntryPin fetchByUUID_G(String uuid, long groupId)
      Returns the depot entry pin where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching depot entry pin, or null if a matching depot entry pin could not be found
    • fetchByUUID_G

      public static DepotEntryPin fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the depot entry pin where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching depot entry pin, or null if 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 uuid
      groupId - the group ID
      Returns:
      the depot entry pin that was removed
      Throws:
      NoSuchEntryPinException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of depot entry pins where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching depot entry pins
    • findByUuid_C

      public static List<DepotEntryPin> findByUuid_C(String uuid, long companyId)
      Returns all the depot entry pins where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching depot entry pins
    • findByUuid_C

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of depot entry pins
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry pin, or null if 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry pin, or null if 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 pin
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next depot entry pin
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the depot entry pins where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of depot entry pins where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching depot entry pins
    • findByUserId

      public static List<DepotEntryPin> findByUserId(long userId)
      Returns all the depot entry pins where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching depot entry pins
    • findByUserId

      public static List<DepotEntryPin> findByUserId(long userId, int start, int end)
      Returns a range of all the depot entry pins where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of depot entry pins
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry pin, or null if 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry pin, or null if 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 pin
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public static List<DepotEntryPin> findByDepotEntryId(long depotEntryId)
      Returns all the depot entry pins where depotEntryId = ?.
      Parameters:
      depotEntryId - the depot entry ID
      Returns:
      the matching depot entry pins
    • findByDepotEntryId

      public static List<DepotEntryPin> findByDepotEntryId(long depotEntryId, int start, int end)
      Returns a range of all the depot entry pins where depotEntryId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      depotEntryId - the depot entry ID
      start - the lower bound of the range of depot entry pins
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      depotEntryId - the depot entry ID
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      depotEntryId - the depot entry ID
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching depot entry pin, or null if 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching depot entry pin, or null if 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 pin
      depotEntryId - the depot entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 a NoSuchEntryPinException if it could not be found.
      Parameters:
      userId - the user ID
      depotEntryId - the depot entry ID
      Returns:
      the matching depot entry pin
    • fetchByU_D

      public static DepotEntryPin fetchByU_D(long userId, long depotEntryId)
      Returns the depot entry pin where userId = ? and depotEntryId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      userId - the user ID
      depotEntryId - the depot entry ID
      Returns:
      the matching depot entry pin, or null if a matching depot entry pin could not be found
    • fetchByU_D

      public static DepotEntryPin fetchByU_D(long userId, long depotEntryId, boolean useFinderCache)
      Returns the depot entry pin where userId = ? and depotEntryId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      userId - the user ID
      depotEntryId - the depot entry ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching depot entry pin, or null if 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 ID
      depotEntryId - 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 ID
      depotEntryId - the depot entry ID
      Returns:
      the number of matching depot entry pins
    • cacheResult

      public static void cacheResult(DepotEntryPin depotEntryPin)
      Caches the depot entry pin in the entity cache if it is enabled.
      Parameters:
      depotEntryPin - the depot entry pin
    • cacheResult

      public static void cacheResult(List<DepotEntryPin> depotEntryPins)
      Caches the depot entry pins in the entity cache if it is enabled.
      Parameters:
      depotEntryPins - the depot entry pins
    • create

      public static DepotEntryPin create(long depotEntryPinId)
      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

      public static DepotEntryPin remove(long depotEntryPinId) throws NoSuchEntryPinException
      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

      public static DepotEntryPin updateImpl(DepotEntryPin depotEntryPin)
    • findByPrimaryKey

      public static DepotEntryPin findByPrimaryKey(long depotEntryPinId) throws NoSuchEntryPinException
      Returns the depot entry pin with the primary key or throws a NoSuchEntryPinException if it could not be found.
      Parameters:
      depotEntryPinId - the primary key of the depot entry pin
      Returns:
      the depot entry pin
    • fetchByPrimaryKey

      public static DepotEntryPin fetchByPrimaryKey(long depotEntryPinId)
      Returns the depot entry pin with the primary key or returns null if it could not be found.
      Parameters:
      depotEntryPinId - the primary key of the depot entry pin
      Returns:
      the depot entry pin, or null if a depot entry pin with the primary key could not be found
    • findAll

      public static List<DepotEntryPin> findAll()
      Returns all the depot entry pins.
      Returns:
      the depot entry pins
    • findAll

      public static List<DepotEntryPin> findAll(int start, int end)
      Returns a range of all the depot entry pins.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      start - the lower bound of the range of depot entry pins
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DepotEntryPinModelImpl.

      Parameters:
      start - the lower bound of the range of depot entry pins
      end - the upper bound of the range of depot entry pins (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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

      public static DepotEntryPinPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DepotEntryPinPersistence persistence)