public class CommerceAddressLocalServiceWrapper extends java.lang.Object implements CommerceAddressLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressLocalService>
CommerceAddressLocalService.CommerceAddressLocalService| Constructor and Description |
|---|
CommerceAddressLocalServiceWrapper(CommerceAddressLocalService commerceAddressLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceAddress |
addCommerceAddress(CommerceAddress commerceAddress)
Adds the commerce address to the database.
|
CommerceAddress |
addCommerceAddress(java.lang.String className,
long classPK,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
boolean defaultBilling,
boolean defaultShipping,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.
|
CommerceAddress |
addCommerceAddress(java.lang.String className,
long classPK,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAddress |
addCommerceAddress(java.lang.String className,
long classPK,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
int type,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAddress |
copyCommerceAddress(long commerceAddressId,
java.lang.String className,
long classPK,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAddress |
createCommerceAddress(long commerceAddressId)
Creates a new commerce address with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceAddress |
deleteCommerceAddress(CommerceAddress commerceAddress)
Deletes the commerce address from the database.
|
CommerceAddress |
deleteCommerceAddress(long commerceAddressId)
Deletes the commerce address with the primary key from the database.
|
void |
deleteCommerceAddresses(java.lang.String className,
long classPK) |
void |
deleteCountryCommerceAddresses(long commerceCountryId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteRegionCommerceAddresses(long commerceRegionId) |
<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.
|
CommerceAddress |
fetchByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode) |
CommerceAddress |
fetchCommerceAddress(long commerceAddressId) |
CommerceAddress |
fetchCommerceAddressByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
CommerceAddress |
fetchCommerceAddressByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
CommerceAddress |
geolocateCommerceAddress(long commerceAddressId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
java.util.List<CommerceAddress> |
getBillingAndShippingCommerceAddresses(long companyId,
java.lang.String className,
long classPK) |
java.util.List<CommerceAddress> |
getBillingCommerceAddresses(long companyId,
java.lang.String className,
long classPK) |
java.util.List<CommerceAddress> |
getBillingCommerceAddresses(long companyId,
java.lang.String className,
long classPK,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
int |
getBillingCommerceAddressesCount(long companyId,
java.lang.String className,
long classPK,
java.lang.String keywords) |
CommerceAddress |
getCommerceAddress(long commerceAddressId)
Returns the commerce address with the primary key.
|
CommerceAddress |
getCommerceAddressByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
java.util.List<CommerceAddress> |
getCommerceAddresses(int start,
int end)
Returns a range of all the commerce addresses.
|
java.util.List<CommerceAddress> |
getCommerceAddresses(long groupId,
java.lang.String className,
long classPK)
Deprecated.
As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
|
java.util.List<CommerceAddress> |
getCommerceAddresses(long groupId,
java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Deprecated.
As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
|
java.util.List<CommerceAddress> |
getCommerceAddresses(java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) |
java.util.List<CommerceAddress> |
getCommerceAddressesByCompanyId(long companyId,
java.lang.String className,
long classPK) |
java.util.List<CommerceAddress> |
getCommerceAddressesByCompanyId(long companyId,
java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) |
int |
getCommerceAddressesCount()
Returns the number of commerce addresses.
|
int |
getCommerceAddressesCount(long groupId,
java.lang.String className,
long classPK)
Deprecated.
As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
|
int |
getCommerceAddressesCount(java.lang.String className,
long classPK) |
int |
getCommerceAddressesCountByCompanyId(long companyId,
java.lang.String className,
long classPK) |
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) |
java.util.List<CommerceAddress> |
getShippingCommerceAddresses(long companyId,
java.lang.String className,
long classPK) |
java.util.List<CommerceAddress> |
getShippingCommerceAddresses(long companyId,
java.lang.String className,
long classPK,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
int |
getShippingCommerceAddressesCount(long companyId,
java.lang.String className,
long classPK,
java.lang.String keywords) |
CommerceAddressLocalService |
getWrappedService() |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> |
searchCommerceAddresses(long companyId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort)
Deprecated.
As of Mueller (7.2.x), commerceAddress is scoped to Company. Don't need to pass groupId
|
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> |
searchCommerceAddresses(long companyId,
java.lang.String className,
long classPK,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
void |
setWrappedService(CommerceAddressLocalService commerceAddressLocalService) |
CommerceAddress |
updateCommerceAddress(CommerceAddress commerceAddress)
Updates the commerce address in the database or adds it if it does not yet exist.
|
CommerceAddress |
updateCommerceAddress(long commerceAddressId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
boolean defaultBilling,
boolean defaultShipping,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.
|
CommerceAddress |
updateCommerceAddress(long commerceAddressId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CommerceAddressLocalServiceWrapper(CommerceAddressLocalService commerceAddressLocalService)
public CommerceAddress addCommerceAddress(CommerceAddress commerceAddress)
Important: Inspect CommerceAddressLocalServiceImpl 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.
addCommerceAddress in interface CommerceAddressLocalServicecommerceAddress - the commerce address@Deprecated public CommerceAddress addCommerceAddress(java.lang.String className, long classPK, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, boolean defaultBilling, boolean defaultShipping, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress addCommerceAddress(java.lang.String className, long classPK, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress addCommerceAddress(java.lang.String className, long classPK, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, int type, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress copyCommerceAddress(long commerceAddressId, java.lang.String className, long classPK, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
copyCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress createCommerceAddress(long commerceAddressId)
createCommerceAddress in interface CommerceAddressLocalServicecommerceAddressId - the primary key for the new commerce addresspublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceAddressLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceAddress deleteCommerceAddress(CommerceAddress commerceAddress) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceAddressLocalServiceImpl 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.
deleteCommerceAddress in interface CommerceAddressLocalServicecommerceAddress - the commerce addressPortalExceptionpublic CommerceAddress deleteCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceAddressLocalServiceImpl 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.
deleteCommerceAddress in interface CommerceAddressLocalServicecommerceAddressId - the primary key of the commerce addressPortalException - if a commerce address with the primary key could not be foundpublic void deleteCommerceAddresses(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCountryCommerceAddresses(long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCountryCommerceAddresses in interface CommerceAddressLocalServicecom.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 CommerceAddressLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteRegionCommerceAddresses(long commerceRegionId)
throws com.liferay.portal.kernel.exception.PortalException
deleteRegionCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceAddressLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceAddressLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceAddressLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceAddressLocalServicedynamicQuery - 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.model.impl.CommerceAddressModelImpl.
dynamicQuery in interface CommerceAddressLocalServicedynamicQuery - 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.model.impl.CommerceAddressModelImpl.
dynamicQuery in interface CommerceAddressLocalServicedynamicQuery - 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 CommerceAddressLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceAddressLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceAddress fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode in interface CommerceAddressLocalServicepublic CommerceAddress fetchCommerceAddress(long commerceAddressId)
fetchCommerceAddress in interface CommerceAddressLocalService@Deprecated public CommerceAddress fetchCommerceAddressByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceAddressByExternalReferenceCode in interface CommerceAddressLocalService@Deprecated public CommerceAddress fetchCommerceAddressByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceAddressByReferenceCode in interface CommerceAddressLocalServicepublic CommerceAddress geolocateCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
geolocateCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getBillingAndShippingCommerceAddresses(long companyId, java.lang.String className, long classPK)
getBillingAndShippingCommerceAddresses in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getBillingCommerceAddresses(long companyId, java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
getBillingCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceAddress> getBillingCommerceAddresses(long companyId, java.lang.String className, long classPK, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
getBillingCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getBillingCommerceAddressesCount(long companyId,
java.lang.String className,
long classPK,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
getBillingCommerceAddressesCount in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAddress in interface CommerceAddressLocalServicecommerceAddressId - the primary key of the commerce addressPortalException - if a commerce address with the primary key could not be found@Deprecated public CommerceAddress getCommerceAddressByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAddressByExternalReferenceCode in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceAddress> getCommerceAddresses(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.model.impl.CommerceAddressModelImpl.
getCommerceAddresses in interface CommerceAddressLocalServicestart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)@Deprecated public java.util.List<CommerceAddress> getCommerceAddresses(long groupId, java.lang.String className, long classPK)
getCommerceAddresses in interface CommerceAddressLocalService@Deprecated public java.util.List<CommerceAddress> getCommerceAddresses(long groupId, java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
getCommerceAddresses in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getCommerceAddresses(java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
getCommerceAddresses in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, java.lang.String className, long classPK)
getCommerceAddressesByCompanyId in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
getCommerceAddressesByCompanyId in interface CommerceAddressLocalServicepublic int getCommerceAddressesCount()
getCommerceAddressesCount in interface CommerceAddressLocalService@Deprecated
public int getCommerceAddressesCount(long groupId,
java.lang.String className,
long classPK)
getCommerceAddressesCount in interface CommerceAddressLocalServicepublic int getCommerceAddressesCount(java.lang.String className,
long classPK)
getCommerceAddressesCount in interface CommerceAddressLocalServicepublic int getCommerceAddressesCountByCompanyId(long companyId,
java.lang.String className,
long classPK)
getCommerceAddressesCountByCompanyId in interface CommerceAddressLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceAddressLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceAddressLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceAddressLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<CommerceAddress> getShippingCommerceAddresses(long companyId, java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
getShippingCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceAddress> getShippingCommerceAddresses(long companyId, java.lang.String className, long classPK, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
getShippingCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic int getShippingCommerceAddressesCount(long companyId,
java.lang.String className,
long classPK,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.PortalException
getShippingCommerceAddressesCount in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> searchCommerceAddresses(long companyId, long groupId, java.lang.String className, long classPK, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> searchCommerceAddresses(long companyId, java.lang.String className, long classPK, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress updateCommerceAddress(CommerceAddress commerceAddress)
Important: Inspect CommerceAddressLocalServiceImpl 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.
updateCommerceAddress in interface CommerceAddressLocalServicecommerceAddress - the commerce address@Deprecated public CommerceAddress updateCommerceAddress(long commerceAddressId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, boolean defaultBilling, boolean defaultShipping, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress updateCommerceAddress(long commerceAddressId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic CommerceAddressLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressLocalService>public void setWrappedService(CommerceAddressLocalService commerceAddressLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressLocalService>