Class CommerceNotificationAttachmentUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CommerceNotificationAttachment commerceNotificationAttachment) Deprecated.Caches the commerce notification attachment in the entity cache if it is enabled.static void
cacheResult
(List<CommerceNotificationAttachment> commerceNotificationAttachments) Deprecated.Caches the commerce notification attachments in the entity cache if it is enabled.static void
Deprecated.static void
clearCache
(CommerceNotificationAttachment commerceNotificationAttachment) Deprecated.static int
countAll()
Deprecated.Returns the number of commerce notification attachments.static int
countByCommerceNotificationQueueEntryId
(long commerceNotificationQueueEntryId) Deprecated.Returns the number of commerce notification attachments where commerceNotificationQueueEntryId = ?.static int
countByUuid
(String uuid) Deprecated.Returns the number of commerce notification attachments where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Deprecated.Returns the number of commerce notification attachments where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Deprecated.Returns the number of commerce notification attachments where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.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.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) Deprecated.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 = ?.static List<CommerceNotificationAttachment>
findAll()
Deprecated.Returns all the commerce notification attachments.static List<CommerceNotificationAttachment>
findAll
(int start, int end) Deprecated.Returns a range of all the commerce notification attachments.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.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.static List<CommerceNotificationAttachment>
findByCommerceNotificationQueueEntryId
(long commerceNotificationQueueEntryId) Deprecated.Returns all the commerce notification attachments where commerceNotificationQueueEntryId = ?.static List<CommerceNotificationAttachment>
findByCommerceNotificationQueueEntryId
(long commerceNotificationQueueEntryId, int start, int end) Deprecated.Returns a range of all the commerce notification attachments where commerceNotificationQueueEntryId = ?.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 = ?.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 = ?.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 = ?.static CommerceNotificationAttachment[]
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.static List<CommerceNotificationAttachment>
findByUuid
(String uuid) Deprecated.Returns all the commerce notification attachments where uuid = ?.static List<CommerceNotificationAttachment>
findByUuid
(String uuid, int start, int end) Deprecated.Returns a range of all the commerce notification attachments where uuid = ?.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 = ?.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 = ?.static List<CommerceNotificationAttachment>
findByUuid_C
(String uuid, long companyId) Deprecated.Returns all the commerce notification attachments where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.static CommerceNotificationAttachment[]
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 = ?.static CommerceNotificationAttachment[]
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 = ?.static List<CommerceNotificationAttachment>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.static List<CommerceNotificationAttachment>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Deprecated.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.Deprecated.remove
(long commerceNotificationAttachmentId) Deprecated.Removes the commerce notification attachment with the primary key from the database.static void
Deprecated.Removes all the commerce notification attachments from the database.static void
removeByCommerceNotificationQueueEntryId
(long commerceNotificationQueueEntryId) Deprecated.Removes all the commerce notification attachments where commerceNotificationQueueEntryId = ? from the database.static void
removeByUuid
(String uuid) Deprecated.Removes all the commerce notification attachments where uuid = ? from the database.static 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.static void
setPersistence
(CommerceNotificationAttachmentPersistence persistence) Deprecated.update
(CommerceNotificationAttachment commerceNotificationAttachment) Deprecated.update
(CommerceNotificationAttachment commerceNotificationAttachment, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.updateImpl
(CommerceNotificationAttachment commerceNotificationAttachment) Deprecated.
-
Constructor Details
-
CommerceNotificationAttachmentUtil
public CommerceNotificationAttachmentUtil()Deprecated.
-
-
Method Details
-
clearCache
public static void clearCache()Deprecated.- See Also:
-
BasePersistence.clearCache()
-
clearCache
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
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
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
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
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
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
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 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 foundNoSuchNotificationAttachmentException
-
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 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
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 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 foundNoSuchNotificationAttachmentException
-
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 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
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 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 foundNoSuchNotificationAttachmentException
-
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
public static 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 foundNoSuchNotificationAttachmentException
-
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
public static CommerceNotificationAttachment 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.- 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
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 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
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
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
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
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
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
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
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 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 foundNoSuchNotificationAttachmentException
-
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 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
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 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 foundNoSuchNotificationAttachmentException
-
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 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
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 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 foundNoSuchNotificationAttachmentException
-
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
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
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
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
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
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
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
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 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 foundNoSuchNotificationAttachmentException
-
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 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
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 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 foundNoSuchNotificationAttachmentException
-
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 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
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 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 foundNoSuchNotificationAttachmentException
-
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
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
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 foundNoSuchNotificationAttachmentException
-
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 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 foundNoSuchNotificationAttachmentException
-
fetchByPrimaryKey
public static CommerceNotificationAttachment fetchByPrimaryKey(long commerceNotificationAttachmentId) 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
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
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
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
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
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
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
Deprecated. -
setPersistence
Deprecated.
-