Interface CommerceNotificationAttachmentPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceNotificationAttachment>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceNotificationAttachment commerceNotificationAttachment) Deprecated.Caches the commerce notification attachment in the entity cache if it is enabled.void
cacheResult
(List<CommerceNotificationAttachment> commerceNotificationAttachments) Deprecated.Caches the commerce notification attachments in the entity cache if it is enabled.int
countAll()
Deprecated.Returns the number of commerce notification attachments.int
countByCommerceNotificationQueueEntryId
(long commerceNotificationQueueEntryId) Deprecated.Returns the number of commerce notification attachments where commerceNotificationQueueEntryId = ?.int
countByUuid
(String uuid) Deprecated.Returns the number of commerce notification attachments where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Deprecated.Returns the number of commerce notification attachments where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Deprecated.Returns the number of commerce notification attachments where uuid = ? and groupId = ?.create
(long commerceNotificationAttachmentId) Deprecated.Creates a new commerce notification attachment with the primary key.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 = ?.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 = ?.fetchByPrimaryKey
(long commerceNotificationAttachmentId) Deprecated.Returns the commerce notification attachment with the primary key or returnsnull
if it could not be found.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 = ?.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 = ?.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 = ?.fetchByUUID_G
(String uuid, long groupId) Deprecated.Returns the commerce notification attachment where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Deprecated.Returns the commerce notification attachment where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.findAll()
Deprecated.Returns all the commerce notification attachments.findAll
(int start, int end) Deprecated.Returns a range of all the commerce notification attachments.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification attachments.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.findByCommerceNotificationQueueEntryId
(long commerceNotificationQueueEntryId) Deprecated.Returns all the commerce notification attachments where commerceNotificationQueueEntryId = ?.findByCommerceNotificationQueueEntryId
(long commerceNotificationQueueEntryId, int start, int end) Deprecated.Returns a range of all the commerce notification attachments where commerceNotificationQueueEntryId = ?.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 = ?.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 = ?.findByCommerceNotificationQueueEntryId_First
(long commerceNotificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) Deprecated.Returns the first commerce notification attachment in the ordered set where commerceNotificationQueueEntryId = ?.findByCommerceNotificationQueueEntryId_Last
(long commerceNotificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) Deprecated.Returns the last commerce notification attachment in the ordered set where commerceNotificationQueueEntryId = ?.findByCommerceNotificationQueueEntryId_PrevAndNext
(long commerceNotificationAttachmentId, long commerceNotificationQueueEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) Deprecated.Returns the commerce notification attachments before and after the current commerce notification attachment in the ordered set where commerceNotificationQueueEntryId = ?.findByPrimaryKey
(long commerceNotificationAttachmentId) Deprecated.Returns the commerce notification attachment with the primary key or throws aNoSuchNotificationAttachmentException
if it could not be found.findByUuid
(String uuid) Deprecated.Returns all the commerce notification attachments where uuid = ?.findByUuid
(String uuid, int start, int end) Deprecated.Returns a range of all the commerce notification attachments where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Deprecated.Returns all the commerce notification attachments where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Deprecated.Returns a range of all the commerce notification attachments where uuid = ? and companyId = ?.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 = ?.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 = ?.findByUuid_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 = ?.findByUuid_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 = ?.findByUuid_C_PrevAndNext
(long commerceNotificationAttachmentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) Deprecated.Returns the commerce notification attachments before and after the current commerce notification attachment in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) Deprecated.Returns the first commerce notification attachment in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Deprecated.Returns the commerce notification attachment where uuid = ? and groupId = ? or throws aNoSuchNotificationAttachmentException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) Deprecated.Returns the last commerce notification attachment in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long commerceNotificationAttachmentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationAttachment> orderByComparator) Deprecated.Returns the commerce notification attachments before and after the current commerce notification attachment in the ordered set where uuid = ?.remove
(long commerceNotificationAttachmentId) Deprecated.Removes the commerce notification attachment with the primary key from the database.void
Deprecated.Removes all the commerce notification attachments from the database.void
removeByCommerceNotificationQueueEntryId
(long commerceNotificationQueueEntryId) Deprecated.Removes all the commerce notification attachments where commerceNotificationQueueEntryId = ? from the database.void
removeByUuid
(String uuid) Deprecated.Removes all the commerce notification attachments where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Deprecated.Removes all the commerce notification attachments where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Deprecated.Removes the commerce notification attachment where uuid = ? and groupId = ? from the database.updateImpl
(CommerceNotificationAttachment commerceNotificationAttachment) Deprecated.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
-
Method Details
-
findByUuid
Deprecated.Returns all the commerce notification attachments where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce notification attachments
-
findByUuid
Deprecated.Returns a range of all the commerce notification attachments where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce notification attachmentsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce notification attachmentsend
- the upper bound of the range of commerce notification attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce notification attachmentsend
- the upper bound of the range of commerce notification attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 attachmentuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Deprecated.Removes all the commerce notification attachments where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Deprecated.Returns the number of commerce notification attachments where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce notification attachments
-
findByUUID_G
CommerceNotificationAttachment findByUUID_G(String uuid, long groupId) throws NoSuchNotificationAttachmentException Deprecated.Returns the commerce notification attachment where uuid = ? and groupId = ? or throws aNoSuchNotificationAttachmentException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce notification attachment
- Throws:
NoSuchNotificationAttachmentException
- if a matching commerce notification attachment could not be found
-
fetchByUUID_G
Deprecated.Returns the commerce notification attachment where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce notification attachment, or
null
if a matching commerce notification attachment could not be found
-
fetchByUUID_G
Deprecated.Returns the commerce notification attachment where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching commerce notification attachment, or
null
if a matching commerce notification attachment could not be found
-
removeByUUID_G
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 uuidgroupId
- the group ID- Returns:
- the commerce notification attachment that was removed
- Throws:
NoSuchNotificationAttachmentException
-
countByUUID_G
Deprecated.Returns the number of commerce notification attachments where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching commerce notification attachments
-
findByUuid_C
Deprecated.Returns all the commerce notification attachments where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce notification attachments
-
findByUuid_C
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce notification attachmentsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce notification attachmentsend
- the upper bound of the range of commerce notification attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce notification attachmentsend
- the upper bound of the range of commerce notification attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 attachmentuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Deprecated.Removes all the commerce notification attachments where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Deprecated.Returns the number of commerce notification attachments where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
commerceNotificationQueueEntryId
- the commerce notification queue entry IDstart
- the lower bound of the range of commerce notification attachmentsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
commerceNotificationQueueEntryId
- the commerce notification queue entry IDstart
- the lower bound of the range of commerce notification attachmentsend
- the upper bound of the range of commerce notification attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
commerceNotificationQueueEntryId
- the commerce notification queue entry IDstart
- the lower bound of the range of commerce notification attachmentsend
- the upper bound of the range of commerce notification attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 attachmentcommerceNotificationQueueEntryId
- the commerce notification queue entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Deprecated.Caches the commerce notification attachment in the entity cache if it is enabled.- Parameters:
commerceNotificationAttachment
- the commerce notification attachment
-
cacheResult
Deprecated.Caches the commerce notification attachments in the entity cache if it is enabled.- Parameters:
commerceNotificationAttachments
- the commerce notification attachments
-
create
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 aNoSuchNotificationAttachmentException
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
Deprecated.Returns the commerce notification attachment with the primary key or returnsnull
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
List<CommerceNotificationAttachment> findAll()Deprecated.Returns all the commerce notification attachments.- Returns:
- the commerce notification attachments
-
findAll
Deprecated.Returns a range of all the commerce notification attachments.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
start
- the lower bound of the range of commerce notification attachmentsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
start
- the lower bound of the range of commerce notification attachmentsend
- the upper bound of the range of commerce notification attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationAttachmentModelImpl
.- Parameters:
start
- the lower bound of the range of commerce notification attachmentsend
- the upper bound of the range of commerce notification attachments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-