Class CommerceNotificationAttachmentUtil

java.lang.Object
com.liferay.commerce.notification.service.persistence.CommerceNotificationAttachmentUtil

@Deprecated public class CommerceNotificationAttachmentUtil extends Object
Deprecated.
The persistence utility for the commerce notification attachment service. This utility wraps com.liferay.commerce.notification.service.persistence.impl.CommerceNotificationAttachmentPersistenceImpl 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

    • CommerceNotificationAttachmentUtil

      public CommerceNotificationAttachmentUtil()
      Deprecated.
  • Method Details

    • clearCache

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

      public static void clearCache(CommerceNotificationAttachment commerceNotificationAttachment)
      Deprecated.
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

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

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

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

      public static List<CommerceNotificationAttachment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Deprecated.
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<CommerceNotificationAttachment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator)
      Deprecated.
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static CommerceNotificationAttachment update(CommerceNotificationAttachment commerceNotificationAttachment)
      Deprecated.
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

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

      public static List<CommerceNotificationAttachment> findByUuid(String uuid)
      Deprecated.
      Returns all the commerce notification attachments where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce notification attachments
    • findByUuid

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

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

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

      public static 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
      NoSuchNotificationAttachmentException
    • fetchByUuid_First

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

      public static 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
      NoSuchNotificationAttachmentException
    • fetchByUuid_Last

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

      public static 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
      NoSuchNotificationAttachmentException
    • removeByUuid

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

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

      public static CommerceNotificationAttachment findByUUID_G(String uuid, long groupId) throws NoSuchNotificationAttachmentException
      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
      NoSuchNotificationAttachmentException
    • fetchByUUID_G

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

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

      public static CommerceNotificationAttachment removeByUUID_G(String uuid, long groupId) throws NoSuchNotificationAttachmentException
      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

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

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

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

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

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

      public static 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
      NoSuchNotificationAttachmentException
    • fetchByUuid_C_First

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

      public static 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
      NoSuchNotificationAttachmentException
    • fetchByUuid_C_Last

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

      public static 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
      NoSuchNotificationAttachmentException
    • removeByUuid_C

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

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

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

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

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

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

      public static 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
      NoSuchNotificationAttachmentException
    • fetchByCommerceNotificationQueueEntryId_First

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

      public static 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
      NoSuchNotificationAttachmentException
    • fetchByCommerceNotificationQueueEntryId_Last

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

      public static 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
      NoSuchNotificationAttachmentException
    • removeByCommerceNotificationQueueEntryId

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

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

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

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

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

      public static 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
      NoSuchNotificationAttachmentException
    • updateImpl

      public static CommerceNotificationAttachment updateImpl(CommerceNotificationAttachment commerceNotificationAttachment)
      Deprecated.
    • findByPrimaryKey

      public static 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
      NoSuchNotificationAttachmentException
    • fetchByPrimaryKey

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

      public static List<CommerceNotificationAttachment> findAll()
      Deprecated.
      Returns all the commerce notification attachments.
      Returns:
      the commerce notification attachments
    • findAll

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

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

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

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

      public static int countAll()
      Deprecated.
      Returns the number of commerce notification attachments.
      Returns:
      the number of commerce notification attachments
    • getPersistence

      public static CommerceNotificationAttachmentPersistence getPersistence()
      Deprecated.
    • setPersistence

      public static void setPersistence(CommerceNotificationAttachmentPersistence persistence)
      Deprecated.