Class CommerceSubscriptionEntryLocalServiceWrapper
- All Implemented Interfaces:
CommerceSubscriptionEntryLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceSubscriptionEntryLocalService>
CommerceSubscriptionEntryLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceSubscriptionEntryLocalServiceWrapper
(CommerceSubscriptionEntryLocalService commerceSubscriptionEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceSubscriptionEntry
(long userId, long groupId, long commerceOrderItemId, int subscriptionLength, String subscriptionType, long maxSubscriptionCycles, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties) Deprecated.As of Athanasius (7.3.x)addCommerceSubscriptionEntry
(long userId, long groupId, long commerceOrderItemId, int subscriptionLength, String subscriptionType, long maxSubscriptionCycles, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, int deliverySubscriptionLength, String deliverySubscriptionType, long deliveryMaxSubscriptionCycles, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties) addCommerceSubscriptionEntry
(CommerceSubscriptionEntry commerceSubscriptionEntry) Adds the commerce subscription entry to the database.createCommerceSubscriptionEntry
(long commerceSubscriptionEntryId) Creates a new commerce subscription entry with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) void
deleteCommerceSubscriptionEntries
(long groupId) deleteCommerceSubscriptionEntry
(long commerceSubscriptionEntryId) Deletes the commerce subscription entry with the primary key from the database.deleteCommerceSubscriptionEntry
(CommerceSubscriptionEntry commerceSubscriptionEntry) Deletes the commerce subscription entry from the database.com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchCommerceSubscriptionEntry
(long commerceSubscriptionEntryId) fetchCommerceSubscriptionEntryByCommerceOrderItemId
(long commerceOrderItemId) fetchCommerceSubscriptionEntryByUuidAndGroupId
(String uuid, long groupId) Returns the commerce subscription entry matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getActiveCommerceSubscriptionEntries
(long commerceAccountId) com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getCommerceSubscriptionEntries
(int start, int end) Returns a range of all the commerce subscription entries.getCommerceSubscriptionEntries
(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Deprecated.As of Athanasius (7.3.x)getCommerceSubscriptionEntries
(long companyId, long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) getCommerceSubscriptionEntriesByUuidAndCompanyId
(String uuid, long companyId) Returns all the commerce subscription entries matching the UUID and company.getCommerceSubscriptionEntriesByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns a range of commerce subscription entries matching the UUID and company.int
Returns the number of commerce subscription entries.int
getCommerceSubscriptionEntriesCount
(long companyId, long userId) Deprecated.As of Athanasius (7.3.x)int
getCommerceSubscriptionEntriesCount
(long companyId, long groupId, long userId) getCommerceSubscriptionEntry
(long commerceSubscriptionEntryId) Returns the commerce subscription entry with the primary key.getCommerceSubscriptionEntryByUuidAndGroupId
(String uuid, long groupId) Returns the commerce subscription entry matching the UUID and group.com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) incrementCommerceDeliverySubscriptionEntryCycle
(long commerceSubscriptionEntryId) incrementCommerceSubscriptionEntryCycle
(long commerceSubscriptionEntryId) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceSubscriptionEntry>
searchCommerceSubscriptionEntries
(long companyId, long[] groupIds, Long maxSubscriptionCycles, Integer subscriptionStatus, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceSubscriptionEntry>
searchCommerceSubscriptionEntries
(long companyId, Long maxSubscriptionCycles, Integer subscriptionStatus, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) Deprecated.As of Athanasius (7.3.x)void
setWrappedService
(CommerceSubscriptionEntryLocalService commerceSubscriptionEntryLocalService) updateCommerceSubscriptionEntry
(long commerceSubscriptionEntryId, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int subscriptionStatus, int nextIterationDateMonth, int nextIterationDateDay, int nextIterationDateYear, int nextIterationDateHour, int nextIterationDateMinute) Deprecated.As of Athanasius (7.3.x)updateCommerceSubscriptionEntry
(long commerceSubscriptionEntryId, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int subscriptionStatus, int nextIterationDateMonth, int nextIterationDateDay, int nextIterationDateYear, int nextIterationDateHour, int nextIterationDateMinute, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, long deliveryMaxSubscriptionCycles, int deliverySubscriptionStatus, int deliveryNextIterationDateMonth, int deliveryNextIterationDateDay, int deliveryNextIterationDateYear, int deliveryNextIterationDateHour, int deliveryNextIterationDateMinute) updateCommerceSubscriptionEntry
(CommerceSubscriptionEntry commerceSubscriptionEntry) Updates the commerce subscription entry in the database or adds it if it does not yet exist.updateCommerceSubscriptionEntryIterationDates
(long commerceSubscriptionEntryId, Date lastIterationDate) Deprecated.As of Athanasius (7.3.x)updateDeliverySubscriptionStatus
(long commerceSubscriptionEntryId, int subscriptionStatus) updateSubscriptionStatus
(long commerceSubscriptionEntryId, int subscriptionStatus) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
CommerceSubscriptionEntryLocalServiceWrapper
public CommerceSubscriptionEntryLocalServiceWrapper() -
CommerceSubscriptionEntryLocalServiceWrapper
public CommerceSubscriptionEntryLocalServiceWrapper(CommerceSubscriptionEntryLocalService commerceSubscriptionEntryLocalService)
-
-
Method Details
-
addCommerceSubscriptionEntry
public CommerceSubscriptionEntry addCommerceSubscriptionEntry(CommerceSubscriptionEntry commerceSubscriptionEntry) Adds the commerce subscription entry to the database. Also notifies the appropriate model listeners.Important: Inspect CommerceSubscriptionEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
commerceSubscriptionEntry
- the commerce subscription entry- Returns:
- the commerce subscription entry that was added
-
addCommerceSubscriptionEntry
@Deprecated public CommerceSubscriptionEntry addCommerceSubscriptionEntry(long userId, long groupId, long commerceOrderItemId, int subscriptionLength, String subscriptionType, long maxSubscriptionCycles, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
addCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceSubscriptionEntry
public CommerceSubscriptionEntry addCommerceSubscriptionEntry(long userId, long groupId, long commerceOrderItemId, int subscriptionLength, String subscriptionType, long maxSubscriptionCycles, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, int deliverySubscriptionLength, String deliverySubscriptionType, long deliveryMaxSubscriptionCycles, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommerceSubscriptionEntry
Creates a new commerce subscription entry with the primary key. Does not add the commerce subscription entry to the database.- Specified by:
createCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
commerceSubscriptionEntryId
- the primary key for the new commerce subscription entry- Returns:
- the new commerce subscription entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceCommerceSubscriptionEntryLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceSubscriptionEntries
public void deleteCommerceSubscriptionEntries(long groupId) - Specified by:
deleteCommerceSubscriptionEntries
in interfaceCommerceSubscriptionEntryLocalService
-
deleteCommerceSubscriptionEntry
public CommerceSubscriptionEntry deleteCommerceSubscriptionEntry(CommerceSubscriptionEntry commerceSubscriptionEntry) Deletes the commerce subscription entry from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceSubscriptionEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
commerceSubscriptionEntry
- the commerce subscription entry- Returns:
- the commerce subscription entry that was removed
-
deleteCommerceSubscriptionEntry
public CommerceSubscriptionEntry deleteCommerceSubscriptionEntry(long commerceSubscriptionEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the commerce subscription entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceSubscriptionEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
commerceSubscriptionEntryId
- the primary key of the commerce subscription entry- Returns:
- the commerce subscription entry that was removed
- Throws:
PortalException
- if a commerce subscription entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceCommerceSubscriptionEntryLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceCommerceSubscriptionEntryLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceCommerceSubscriptionEntryLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceCommerceSubscriptionEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCommerceSubscriptionEntry
- Specified by:
fetchCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
-
fetchCommerceSubscriptionEntryByCommerceOrderItemId
public CommerceSubscriptionEntry fetchCommerceSubscriptionEntryByCommerceOrderItemId(long commerceOrderItemId) - Specified by:
fetchCommerceSubscriptionEntryByCommerceOrderItemId
in interfaceCommerceSubscriptionEntryLocalService
-
fetchCommerceSubscriptionEntryByUuidAndGroupId
public CommerceSubscriptionEntry fetchCommerceSubscriptionEntryByUuidAndGroupId(String uuid, long groupId) Returns the commerce subscription entry matching the UUID and group.- Specified by:
fetchCommerceSubscriptionEntryByUuidAndGroupId
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
uuid
- the commerce subscription entry's UUIDgroupId
- the primary key of the group- Returns:
- the matching commerce subscription entry, or
null
if a matching commerce subscription entry could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceCommerceSubscriptionEntryLocalService
-
getActiveCommerceSubscriptionEntries
- Specified by:
getActiveCommerceSubscriptionEntries
in interfaceCommerceSubscriptionEntryLocalService
-
getActiveCommerceSubscriptionEntries
- Specified by:
getActiveCommerceSubscriptionEntries
in interfaceCommerceSubscriptionEntryLocalService
-
getCommerceDeliverySubscriptionEntriesToRenew
- Specified by:
getCommerceDeliverySubscriptionEntriesToRenew
in interfaceCommerceSubscriptionEntryLocalService
-
getCommerceSubscriptionEntries
Returns a range of all the commerce subscription entries.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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.model.impl.CommerceSubscriptionEntryModelImpl
.- Specified by:
getCommerceSubscriptionEntries
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
start
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)- Returns:
- the range of commerce subscription entries
-
getCommerceSubscriptionEntries
@Deprecated public List<CommerceSubscriptionEntry> getCommerceSubscriptionEntries(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Deprecated.As of Athanasius (7.3.x)- Specified by:
getCommerceSubscriptionEntries
in interfaceCommerceSubscriptionEntryLocalService
-
getCommerceSubscriptionEntries
public List<CommerceSubscriptionEntry> getCommerceSubscriptionEntries(long companyId, long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) - Specified by:
getCommerceSubscriptionEntries
in interfaceCommerceSubscriptionEntryLocalService
-
getCommerceSubscriptionEntriesByUuidAndCompanyId
public List<CommerceSubscriptionEntry> getCommerceSubscriptionEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the commerce subscription entries matching the UUID and company.- Specified by:
getCommerceSubscriptionEntriesByUuidAndCompanyId
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
uuid
- the UUID of the commerce subscription entriescompanyId
- the primary key of the company- Returns:
- the matching commerce subscription entries, or an empty list if no matches were found
-
getCommerceSubscriptionEntriesByUuidAndCompanyId
public List<CommerceSubscriptionEntry> getCommerceSubscriptionEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceSubscriptionEntry> orderByComparator) Returns a range of commerce subscription entries matching the UUID and company.- Specified by:
getCommerceSubscriptionEntriesByUuidAndCompanyId
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
uuid
- the UUID of the commerce subscription entriescompanyId
- the primary key of the companystart
- the lower bound of the range of commerce subscription entriesend
- the upper bound of the range of commerce subscription entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching commerce subscription entries, or an empty list if no matches were found
-
getCommerceSubscriptionEntriesCount
public int getCommerceSubscriptionEntriesCount()Returns the number of commerce subscription entries.- Specified by:
getCommerceSubscriptionEntriesCount
in interfaceCommerceSubscriptionEntryLocalService
- Returns:
- the number of commerce subscription entries
-
getCommerceSubscriptionEntriesCount
Deprecated.As of Athanasius (7.3.x)- Specified by:
getCommerceSubscriptionEntriesCount
in interfaceCommerceSubscriptionEntryLocalService
-
getCommerceSubscriptionEntriesCount
public int getCommerceSubscriptionEntriesCount(long companyId, long groupId, long userId) - Specified by:
getCommerceSubscriptionEntriesCount
in interfaceCommerceSubscriptionEntryLocalService
-
getCommerceSubscriptionEntriesToRenew
- Specified by:
getCommerceSubscriptionEntriesToRenew
in interfaceCommerceSubscriptionEntryLocalService
-
getCommerceSubscriptionEntry
public CommerceSubscriptionEntry getCommerceSubscriptionEntry(long commerceSubscriptionEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce subscription entry with the primary key.- Specified by:
getCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
commerceSubscriptionEntryId
- the primary key of the commerce subscription entry- Returns:
- the commerce subscription entry
- Throws:
PortalException
- if a commerce subscription entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCommerceSubscriptionEntryByUuidAndGroupId
public CommerceSubscriptionEntry getCommerceSubscriptionEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce subscription entry matching the UUID and group.- Specified by:
getCommerceSubscriptionEntryByUuidAndGroupId
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
uuid
- the commerce subscription entry's UUIDgroupId
- the primary key of the group- Returns:
- the matching commerce subscription entry
- Throws:
PortalException
- if a matching commerce subscription entry could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceCommerceSubscriptionEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceCommerceSubscriptionEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceSubscriptionEntryLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceCommerceSubscriptionEntryLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
incrementCommerceDeliverySubscriptionEntryCycle
public CommerceSubscriptionEntry incrementCommerceDeliverySubscriptionEntryCycle(long commerceSubscriptionEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
incrementCommerceDeliverySubscriptionEntryCycle
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
incrementCommerceSubscriptionEntryCycle
public CommerceSubscriptionEntry incrementCommerceSubscriptionEntryCycle(long commerceSubscriptionEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
incrementCommerceSubscriptionEntryCycle
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceSubscriptionEntries
@Deprecated public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceSubscriptionEntry> searchCommerceSubscriptionEntries(long companyId, Long maxSubscriptionCycles, Integer subscriptionStatus, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
searchCommerceSubscriptionEntries
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceSubscriptionEntries
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceSubscriptionEntry> searchCommerceSubscriptionEntries(long companyId, long[] groupIds, Long maxSubscriptionCycles, Integer subscriptionStatus, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommerceSubscriptionEntries
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceSubscriptionEntry
public CommerceSubscriptionEntry updateCommerceSubscriptionEntry(CommerceSubscriptionEntry commerceSubscriptionEntry) Updates the commerce subscription entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CommerceSubscriptionEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Parameters:
commerceSubscriptionEntry
- the commerce subscription entry- Returns:
- the commerce subscription entry that was updated
-
updateCommerceSubscriptionEntry
@Deprecated public CommerceSubscriptionEntry updateCommerceSubscriptionEntry(long commerceSubscriptionEntryId, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int subscriptionStatus, int nextIterationDateMonth, int nextIterationDateDay, int nextIterationDateYear, int nextIterationDateHour, int nextIterationDateMinute) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
updateCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceSubscriptionEntry
public CommerceSubscriptionEntry updateCommerceSubscriptionEntry(long commerceSubscriptionEntryId, int subscriptionLength, String subscriptionType, com.liferay.portal.kernel.util.UnicodeProperties subscriptionTypeSettingsUnicodeProperties, long maxSubscriptionCycles, int subscriptionStatus, int nextIterationDateMonth, int nextIterationDateDay, int nextIterationDateYear, int nextIterationDateHour, int nextIterationDateMinute, int deliverySubscriptionLength, String deliverySubscriptionType, com.liferay.portal.kernel.util.UnicodeProperties deliverySubscriptionTypeSettingsUnicodeProperties, long deliveryMaxSubscriptionCycles, int deliverySubscriptionStatus, int deliveryNextIterationDateMonth, int deliveryNextIterationDateDay, int deliveryNextIterationDateYear, int deliveryNextIterationDateHour, int deliveryNextIterationDateMinute) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceSubscriptionEntry
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceSubscriptionEntryIterationDates
@Deprecated public CommerceSubscriptionEntry updateCommerceSubscriptionEntryIterationDates(long commerceSubscriptionEntryId, Date lastIterationDate) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Athanasius (7.3.x)- Specified by:
updateCommerceSubscriptionEntryIterationDates
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDeliverySubscriptionStatus
public CommerceSubscriptionEntry updateDeliverySubscriptionStatus(long commerceSubscriptionEntryId, int subscriptionStatus) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateDeliverySubscriptionStatus
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSubscriptionStatus
public CommerceSubscriptionEntry updateSubscriptionStatus(long commerceSubscriptionEntryId, int subscriptionStatus) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateSubscriptionStatus
in interfaceCommerceSubscriptionEntryLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceSubscriptionEntryLocalService>
-
setWrappedService
public void setWrappedService(CommerceSubscriptionEntryLocalService commerceSubscriptionEntryLocalService) - Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceSubscriptionEntryLocalService>
-