Interface DepotEntryPinPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DepotEntryPin>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DepotEntryPin>

@ProviderType public interface DepotEntryPinPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DepotEntryPin>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DepotEntryPin>
The persistence interface for the depot entry pin service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(DepotEntryPin depotEntryPin)
    Caches the depot entry pin in the entity cache if it is enabled.
    void
    cacheResult(List<DepotEntryPin> depotEntryPins)
    Caches the depot entry pins in the entity cache if it is enabled.
    int
    Returns the number of depot entry pins.
    int
    countByDepotEntryId(long depotEntryId)
    Returns the number of depot entry pins where depotEntryId = ?.
    int
    countByU_D(long userId, long depotEntryId)
    Returns the number of depot entry pins where userId = ? and depotEntryId = ?.
    int
    countByUserId(long userId)
    Returns the number of depot entry pins where userId = ?.
    int
    Returns the number of depot entry pins where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of depot entry pins where uuid = ? and companyId = ?.
    int
    countByUUID_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 returns null if it could not be found.
    fetchByU_D(long userId, long depotEntryId)
    Returns the depot entry pin where userId = ? and depotEntryId = ? or returns null if it could not be found.
    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.
    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 returns null if it could not be found.
    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.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryPin> orderByComparator)
    Returns the last depot entry pin in the ordered set where uuid = ?.
    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 a NoSuchEntryPinException if it could not be found.
    findByU_D(long userId, long depotEntryId)
    Returns the depot entry pin where userId = ? and depotEntryId = ? or throws a NoSuchEntryPinException if 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 = ?.
    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 a NoSuchEntryPinException if 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.
    void
    Removes all the depot entry pins from the database.
    void
    removeByDepotEntryId(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.
    void
    removeByUserId(long userId)
    Removes all the depot entry pins where userId = ? from the database.
    void
    Removes all the depot entry pins where uuid = ? from the database.
    void
    removeByUuid_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, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByUuid

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

      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

      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

      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

      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
      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 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

      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
      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 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

      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
      Throws:
      NoSuchEntryPinException - if a depot entry pin with the primary key could not be found
    • removeByUuid

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

      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

      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
      Throws:
      NoSuchEntryPinException - if a matching depot entry pin could not be found
    • fetchByUUID_G

      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

      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

      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

      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

      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

      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

      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

      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

      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
      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 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

      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
      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 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

      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
      Throws:
      NoSuchEntryPinException - if a depot entry pin with the primary key could not be found
    • removeByUuid_C

      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

      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

      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

      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

      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

      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

      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
      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 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

      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
      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 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

      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
      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

      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

      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

      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

      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

      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
      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 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

      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
      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 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

      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
      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

      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
      Throws:
      NoSuchEntryPinException - if a matching depot entry pin could not be found
    • fetchByU_D

      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

      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

      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

      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

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

      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

      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

      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
      Throws:
      NoSuchEntryPinException - if a depot entry pin with the primary key could not be found
    • updateImpl

      DepotEntryPin updateImpl(DepotEntryPin depotEntryPin)
    • findByPrimaryKey

      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
      Throws:
      NoSuchEntryPinException - if a depot entry pin with the primary key could not be found
    • fetchByPrimaryKey

      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

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

      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

      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

      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

      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