Interface CommerceNotificationAttachmentPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceNotificationAttachment>

@Deprecated @ProviderType public interface CommerceNotificationAttachmentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceNotificationAttachment>
Deprecated.
The persistence interface for the commerce notification attachment service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Deprecated.
      Returns all the commerce notification attachments where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce notification attachments
    • findByUuid

      List<CommerceNotificationAttachment> findByUuid(String uuid, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification attachments 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 CommerceNotificationAttachmentModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (not inclusive)
      Returns:
      the range of matching commerce notification attachments
    • findByUuid

      List<CommerceNotificationAttachment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification attachments 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 CommerceNotificationAttachmentModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification attachments
    • findByUuid

      List<CommerceNotificationAttachment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification attachments 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 CommerceNotificationAttachmentModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (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 commerce notification attachments
    • findByUuid_First

      CommerceNotificationAttachment findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the first commerce notification attachment in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a matching commerce notification attachment could not be found
    • fetchByUuid_First

      CommerceNotificationAttachment fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns the first commerce notification attachment in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification attachment, or null if a matching commerce notification attachment could not be found
    • findByUuid_Last

      CommerceNotificationAttachment findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the last commerce notification attachment in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a matching commerce notification attachment could not be found
    • fetchByUuid_Last

      CommerceNotificationAttachment fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns the last commerce notification attachment in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification attachment, or null if a matching commerce notification attachment could not be found
    • findByUuid_PrevAndNext

      CommerceNotificationAttachment[] findByUuid_PrevAndNext(long commerceNotificationAttachmentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the commerce notification attachments before and after the current commerce notification attachment in the ordered set where uuid = ?.
      Parameters:
      commerceNotificationAttachmentId - the primary key of the current commerce notification attachment
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a commerce notification attachment with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Deprecated.
      Removes all the commerce notification attachments where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Deprecated.
      Returns the number of commerce notification attachments where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce notification attachments
    • findByUUID_G

      Deprecated.
      Returns the commerce notification attachment where uuid = ? and groupId = ? or throws a NoSuchNotificationAttachmentException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a matching commerce notification attachment could not be found
    • fetchByUUID_G

      CommerceNotificationAttachment fetchByUUID_G(String uuid, long groupId)
      Deprecated.
      Returns the commerce notification attachment 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 commerce notification attachment, or null if a matching commerce notification attachment could not be found
    • fetchByUUID_G

      CommerceNotificationAttachment fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Deprecated.
      Returns the commerce notification attachment 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 commerce notification attachment, or null if a matching commerce notification attachment could not be found
    • removeByUUID_G

      Deprecated.
      Removes the commerce notification attachment where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the commerce notification attachment that was removed
      Throws:
      NoSuchNotificationAttachmentException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Deprecated.
      Returns the number of commerce notification attachments where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching commerce notification attachments
    • findByUuid_C

      List<CommerceNotificationAttachment> findByUuid_C(String uuid, long companyId)
      Deprecated.
      Returns all the commerce notification attachments where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce notification attachments
    • findByUuid_C

      List<CommerceNotificationAttachment> findByUuid_C(String uuid, long companyId, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification attachments 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 CommerceNotificationAttachmentModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (not inclusive)
      Returns:
      the range of matching commerce notification attachments
    • findByUuid_C

      List<CommerceNotificationAttachment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification attachments 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 CommerceNotificationAttachmentModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification attachments
    • findByUuid_C

      List<CommerceNotificationAttachment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification attachments 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 CommerceNotificationAttachmentModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (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 commerce notification attachments
    • findByUuid_C_First

      CommerceNotificationAttachment findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the first commerce notification attachment 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 commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a matching commerce notification attachment could not be found
    • fetchByUuid_C_First

      CommerceNotificationAttachment fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns the first commerce notification attachment 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 commerce notification attachment, or null if a matching commerce notification attachment could not be found
    • findByUuid_C_Last

      CommerceNotificationAttachment findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the last commerce notification attachment 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 commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a matching commerce notification attachment could not be found
    • fetchByUuid_C_Last

      CommerceNotificationAttachment fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns the last commerce notification attachment 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 commerce notification attachment, or null if a matching commerce notification attachment could not be found
    • findByUuid_C_PrevAndNext

      CommerceNotificationAttachment[] findByUuid_C_PrevAndNext(long commerceNotificationAttachmentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the commerce notification attachments before and after the current commerce notification attachment in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceNotificationAttachmentId - the primary key of the current commerce notification attachment
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a commerce notification attachment with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Deprecated.
      Removes all the commerce notification attachments where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Deprecated.
      Returns the number of commerce notification attachments where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce notification attachments
    • findByCommerceNotificationQueueEntryId

      List<CommerceNotificationAttachment> findByCommerceNotificationQueueEntryId(long commerceNotificationQueueEntryId)
      Deprecated.
      Returns all the commerce notification attachments where commerceNotificationQueueEntryId = ?.
      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      Returns:
      the matching commerce notification attachments
    • findByCommerceNotificationQueueEntryId

      List<CommerceNotificationAttachment> findByCommerceNotificationQueueEntryId(long commerceNotificationQueueEntryId, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification attachments where commerceNotificationQueueEntryId = ?.

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

      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (not inclusive)
      Returns:
      the range of matching commerce notification attachments
    • findByCommerceNotificationQueueEntryId

      List<CommerceNotificationAttachment> findByCommerceNotificationQueueEntryId(long commerceNotificationQueueEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification attachments where commerceNotificationQueueEntryId = ?.

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

      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification attachments
    • findByCommerceNotificationQueueEntryId

      List<CommerceNotificationAttachment> findByCommerceNotificationQueueEntryId(long commerceNotificationQueueEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification attachments where commerceNotificationQueueEntryId = ?.

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

      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (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 commerce notification attachments
    • findByCommerceNotificationQueueEntryId_First

      CommerceNotificationAttachment findByCommerceNotificationQueueEntryId_First(long commerceNotificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the first commerce notification attachment in the ordered set where commerceNotificationQueueEntryId = ?.
      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a matching commerce notification attachment could not be found
    • fetchByCommerceNotificationQueueEntryId_First

      CommerceNotificationAttachment fetchByCommerceNotificationQueueEntryId_First(long commerceNotificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns the first commerce notification attachment in the ordered set where commerceNotificationQueueEntryId = ?.
      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification attachment, or null if a matching commerce notification attachment could not be found
    • findByCommerceNotificationQueueEntryId_Last

      CommerceNotificationAttachment findByCommerceNotificationQueueEntryId_Last(long commerceNotificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the last commerce notification attachment in the ordered set where commerceNotificationQueueEntryId = ?.
      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a matching commerce notification attachment could not be found
    • fetchByCommerceNotificationQueueEntryId_Last

      CommerceNotificationAttachment fetchByCommerceNotificationQueueEntryId_Last(long commerceNotificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns the last commerce notification attachment in the ordered set where commerceNotificationQueueEntryId = ?.
      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification attachment, or null if a matching commerce notification attachment could not be found
    • findByCommerceNotificationQueueEntryId_PrevAndNext

      CommerceNotificationAttachment[] findByCommerceNotificationQueueEntryId_PrevAndNext(long commerceNotificationAttachmentId, long commerceNotificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the commerce notification attachments before and after the current commerce notification attachment in the ordered set where commerceNotificationQueueEntryId = ?.
      Parameters:
      commerceNotificationAttachmentId - the primary key of the current commerce notification attachment
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a commerce notification attachment with the primary key could not be found
    • removeByCommerceNotificationQueueEntryId

      void removeByCommerceNotificationQueueEntryId(long commerceNotificationQueueEntryId)
      Deprecated.
      Removes all the commerce notification attachments where commerceNotificationQueueEntryId = ? from the database.
      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
    • countByCommerceNotificationQueueEntryId

      int countByCommerceNotificationQueueEntryId(long commerceNotificationQueueEntryId)
      Deprecated.
      Returns the number of commerce notification attachments where commerceNotificationQueueEntryId = ?.
      Parameters:
      commerceNotificationQueueEntryId - the commerce notification queue entry ID
      Returns:
      the number of matching commerce notification attachments
    • cacheResult

      void cacheResult(CommerceNotificationAttachment commerceNotificationAttachment)
      Deprecated.
      Caches the commerce notification attachment in the entity cache if it is enabled.
      Parameters:
      commerceNotificationAttachment - the commerce notification attachment
    • cacheResult

      void cacheResult(List<CommerceNotificationAttachment> commerceNotificationAttachments)
      Deprecated.
      Caches the commerce notification attachments in the entity cache if it is enabled.
      Parameters:
      commerceNotificationAttachments - the commerce notification attachments
    • create

      CommerceNotificationAttachment create(long commerceNotificationAttachmentId)
      Deprecated.
      Creates a new commerce notification attachment with the primary key. Does not add the commerce notification attachment to the database.
      Parameters:
      commerceNotificationAttachmentId - the primary key for the new commerce notification attachment
      Returns:
      the new commerce notification attachment
    • remove

      CommerceNotificationAttachment remove(long commerceNotificationAttachmentId) throws NoSuchNotificationAttachmentException
      Deprecated.
      Removes the commerce notification attachment with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceNotificationAttachmentId - the primary key of the commerce notification attachment
      Returns:
      the commerce notification attachment that was removed
      Throws:
      NoSuchNotificationAttachmentException - if a commerce notification attachment with the primary key could not be found
    • updateImpl

      CommerceNotificationAttachment updateImpl(CommerceNotificationAttachment commerceNotificationAttachment)
      Deprecated.
    • findByPrimaryKey

      CommerceNotificationAttachment findByPrimaryKey(long commerceNotificationAttachmentId) throws NoSuchNotificationAttachmentException
      Deprecated.
      Returns the commerce notification attachment with the primary key or throws a NoSuchNotificationAttachmentException if it could not be found.
      Parameters:
      commerceNotificationAttachmentId - the primary key of the commerce notification attachment
      Returns:
      the commerce notification attachment
      Throws:
      NoSuchNotificationAttachmentException - if a commerce notification attachment with the primary key could not be found
    • fetchByPrimaryKey

      CommerceNotificationAttachment fetchByPrimaryKey(long commerceNotificationAttachmentId)
      Deprecated.
      Returns the commerce notification attachment with the primary key or returns null if it could not be found.
      Parameters:
      commerceNotificationAttachmentId - the primary key of the commerce notification attachment
      Returns:
      the commerce notification attachment, or null if a commerce notification attachment with the primary key could not be found
    • findAll

      Deprecated.
      Returns all the commerce notification attachments.
      Returns:
      the commerce notification attachments
    • findAll

      List<CommerceNotificationAttachment> findAll(int start, int end)
      Deprecated.
      Returns a range of all the commerce notification attachments.

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

      Parameters:
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (not inclusive)
      Returns:
      the range of commerce notification attachments
    • findAll

      List<CommerceNotificationAttachment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification attachments.

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

      Parameters:
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of commerce notification attachments
    • findAll

      List<CommerceNotificationAttachment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification attachments.

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

      Parameters:
      start - the lower bound of the range of commerce notification attachments
      end - the upper bound of the range of commerce notification attachments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of commerce notification attachments
    • removeAll

      void removeAll()
      Deprecated.
      Removes all the commerce notification attachments from the database.
    • countAll

      int countAll()
      Deprecated.
      Returns the number of commerce notification attachments.
      Returns:
      the number of commerce notification attachments