public class CommerceChannelLocalServiceWrapper extends java.lang.Object implements CommerceChannelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelLocalService>
CommerceChannelLocalService.CommerceChannelLocalService| Constructor and Description |
|---|
CommerceChannelLocalServiceWrapper(CommerceChannelLocalService commerceChannelLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceChannel |
addCommerceChannel(CommerceChannel commerceChannel)
Adds the commerce channel to the database.
|
CommerceChannel |
addCommerceChannel(long siteGroupId,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
java.lang.String commerceCurrencyCode,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceChannel |
createCommerceChannel(long commerceChannelId)
Creates a new commerce channel with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceChannel |
deleteCommerceChannel(CommerceChannel commerceChannel)
Deletes the commerce channel from the database.
|
CommerceChannel |
deleteCommerceChannel(long commerceChannelId)
Deletes the commerce channel with the primary key from the database.
|
void |
deleteCommerceChannels(long companyId) |
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 |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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> java.util.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.
|
CommerceChannel |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceChannel |
fetchCommerceChannel(long commerceChannelId) |
CommerceChannel |
fetchCommerceChannelByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
CommerceChannel |
fetchCommerceChannelByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
CommerceChannel |
fetchCommerceChannelBySiteGroupId(long siteGroupId) |
com.liferay.portal.kernel.model.Group |
fetchCommerceChannelGroup(long commerceChannelId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommerceChannel |
getCommerceChannel(long commerceChannelId)
Returns the commerce channel with the primary key.
|
CommerceChannel |
getCommerceChannelByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
CommerceChannel |
getCommerceChannelByGroupId(long groupId) |
CommerceChannel |
getCommerceChannelByOrderGroupId(long orderGroupId) |
com.liferay.portal.kernel.model.Group |
getCommerceChannelGroup(long commerceChannelId) |
long |
getCommerceChannelGroupIdBySiteGroupId(long siteGroupId) |
java.util.List<CommerceChannel> |
getCommerceChannels(int start,
int end)
Returns a range of all the commerce channels.
|
java.util.List<CommerceChannel> |
getCommerceChannels(long companyId) |
java.util.List<CommerceChannel> |
getCommerceChannels(long companyId,
java.lang.String keywords,
int start,
int end) |
int |
getCommerceChannelsCount()
Returns the number of commerce channels.
|
int |
getCommerceChannelsCount(long companyId,
java.lang.String keywords) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceChannelLocalService |
getWrappedService() |
java.util.List<CommerceChannel> |
searchCommerceChannels(long companyId) |
java.util.List<CommerceChannel> |
searchCommerceChannels(long companyId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
int |
searchCommerceChannelsCount(long companyId,
java.lang.String keywords) |
void |
setWrappedService(CommerceChannelLocalService commerceChannelLocalService) |
CommerceChannel |
updateCommerceChannel(CommerceChannel commerceChannel)
Updates the commerce channel in the database or adds it if it does not yet exist.
|
CommerceChannel |
updateCommerceChannel(long commerceChannelId,
long siteGroupId,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
java.lang.String commerceCurrencyCode) |
CommerceChannel |
updateCommerceChannel(long commerceChannelId,
long siteGroupId,
java.lang.String name,
java.lang.String type,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
java.lang.String commerceCurrencyCode,
java.lang.String priceDisplayType,
boolean discountsTargetNetPrice) |
CommerceChannel |
updateCommerceChannelExternalReferenceCode(long commerceChannelId,
java.lang.String externalReferenceCode) |
public CommerceChannelLocalServiceWrapper(CommerceChannelLocalService commerceChannelLocalService)
public CommerceChannel addCommerceChannel(CommerceChannel commerceChannel)
Important: Inspect CommerceChannelLocalServiceImpl 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.
addCommerceChannel in interface CommerceChannelLocalServicecommerceChannel - the commerce channelpublic CommerceChannel addCommerceChannel(long siteGroupId, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, java.lang.String commerceCurrencyCode, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceChannel in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceChannel createCommerceChannel(long commerceChannelId)
createCommerceChannel in interface CommerceChannelLocalServicecommerceChannelId - the primary key for the new commerce channelpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceChannelLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceChannel deleteCommerceChannel(CommerceChannel commerceChannel) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceChannelLocalServiceImpl 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.
deleteCommerceChannel in interface CommerceChannelLocalServicecommerceChannel - the commerce channelPortalExceptionpublic CommerceChannel deleteCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceChannelLocalServiceImpl 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.
deleteCommerceChannel in interface CommerceChannelLocalServicecommerceChannelId - the primary key of the commerce channelPortalException - if a commerce channel with the primary key could not be foundpublic void deleteCommerceChannels(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceChannels in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceChannelLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceChannelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceChannelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceChannelLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceChannelLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.
dynamicQuery in interface CommerceChannelLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.
dynamicQuery in interface CommerceChannelLocalServicedynamicQuery - 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 (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CommerceChannelLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceChannelLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceChannel fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode in interface CommerceChannelLocalServicepublic CommerceChannel fetchCommerceChannel(long commerceChannelId)
fetchCommerceChannel in interface CommerceChannelLocalService@Deprecated public CommerceChannel fetchCommerceChannelByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceChannelByExternalReferenceCode in interface CommerceChannelLocalService@Deprecated public CommerceChannel fetchCommerceChannelByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceChannelByReferenceCode in interface CommerceChannelLocalServicepublic CommerceChannel fetchCommerceChannelBySiteGroupId(long siteGroupId)
fetchCommerceChannelBySiteGroupId in interface CommerceChannelLocalServicepublic com.liferay.portal.kernel.model.Group fetchCommerceChannelGroup(long commerceChannelId)
throws com.liferay.portal.kernel.exception.PortalException
fetchCommerceChannelGroup in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceChannelLocalServicepublic CommerceChannel getCommerceChannel(long commerceChannelId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannel in interface CommerceChannelLocalServicecommerceChannelId - the primary key of the commerce channelPortalException - if a commerce channel with the primary key could not be found@Deprecated public CommerceChannel getCommerceChannelByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelByExternalReferenceCode in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceChannel getCommerceChannelByGroupId(long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelByGroupId in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceChannel getCommerceChannelByOrderGroupId(long orderGroupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelByOrderGroupId in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.Group getCommerceChannelGroup(long commerceChannelId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelGroup in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceChannelGroupIdBySiteGroupId(long siteGroupId)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelGroupIdBySiteGroupId in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceChannel> getCommerceChannels(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.product.model.impl.CommerceChannelModelImpl.
getCommerceChannels in interface CommerceChannelLocalServicestart - the lower bound of the range of commerce channelsend - the upper bound of the range of commerce channels (not inclusive)public java.util.List<CommerceChannel> getCommerceChannels(long companyId)
getCommerceChannels in interface CommerceChannelLocalServicepublic java.util.List<CommerceChannel> getCommerceChannels(long companyId, java.lang.String keywords, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannels in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getCommerceChannelsCount()
getCommerceChannelsCount in interface CommerceChannelLocalServicepublic int getCommerceChannelsCount(long companyId,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
getCommerceChannelsCount in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceChannelLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceChannelLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceChannelLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<CommerceChannel> searchCommerceChannels(long companyId) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceChannels in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceChannel> searchCommerceChannels(long companyId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceChannels in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int searchCommerceChannelsCount(long companyId,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
searchCommerceChannelsCount in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceChannel updateCommerceChannel(CommerceChannel commerceChannel)
Important: Inspect CommerceChannelLocalServiceImpl 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.
updateCommerceChannel in interface CommerceChannelLocalServicecommerceChannel - the commerce channelpublic CommerceChannel updateCommerceChannel(long commerceChannelId, long siteGroupId, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, java.lang.String commerceCurrencyCode) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceChannel in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceChannel updateCommerceChannel(long commerceChannelId, long siteGroupId, java.lang.String name, java.lang.String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, java.lang.String commerceCurrencyCode, java.lang.String priceDisplayType, boolean discountsTargetNetPrice) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceChannel in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceChannel updateCommerceChannelExternalReferenceCode(long commerceChannelId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceChannelExternalReferenceCode in interface CommerceChannelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceChannelLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelLocalService>public void setWrappedService(CommerceChannelLocalService commerceChannelLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelLocalService>