@ProviderType public class CommerceWarehouseLocalServiceWrapper extends java.lang.Object implements CommerceWarehouseLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceWarehouseLocalService>
CommerceWarehouseLocalService.CommerceWarehouseLocalService| Constructor and Description |
|---|
CommerceWarehouseLocalServiceWrapper(CommerceWarehouseLocalService commerceWarehouseLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceWarehouse |
addCommerceWarehouse(CommerceWarehouse commerceWarehouse)
Adds the commerce warehouse to the database.
|
CommerceWarehouse |
addCommerceWarehouse(java.lang.String name,
java.lang.String description,
boolean active,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
double latitude,
double longitude,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceWarehouse |
createCommerceWarehouse(long commerceWarehouseId)
Creates a new commerce warehouse with the primary key.
|
CommerceWarehouse |
deleteCommerceWarehouse(CommerceWarehouse commerceWarehouse)
Deletes the commerce warehouse from the database.
|
CommerceWarehouse |
deleteCommerceWarehouse(long commerceWarehouseId)
Deletes the commerce warehouse with the primary key from the database.
|
void |
deleteCommerceWarehouses(long groupId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
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.
|
CommerceWarehouse |
fetchCommerceWarehouse(long commerceWarehouseId) |
CommerceWarehouse |
fetchDefaultCommerceWarehouse(long groupId) |
CommerceWarehouse |
geolocateCommerceWarehouse(long commerceWarehouseId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommerceWarehouse |
getCommerceWarehouse(long commerceWarehouseId)
Returns the commerce warehouse with the primary key.
|
java.util.List<CommerceWarehouse> |
getCommerceWarehouses(int start,
int end)
Returns a range of all the commerce warehouses.
|
java.util.List<CommerceWarehouse> |
getCommerceWarehouses(long groupId) |
java.util.List<CommerceWarehouse> |
getCommerceWarehouses(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) |
java.util.List<CommerceWarehouse> |
getCommerceWarehouses(long groupId,
boolean active,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) |
java.util.List<CommerceWarehouse> |
getCommerceWarehouses(long cpInstanceId,
int start,
int end) |
java.util.List<CommerceWarehouse> |
getCommerceWarehouses(long groupId,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) |
int |
getCommerceWarehousesCount()
Returns the number of commerce warehouses.
|
int |
getCommerceWarehousesCount(long groupId,
boolean active,
long commerceCountryId) |
int |
getCommerceWarehousesCount(long groupId,
long commerceCountryId) |
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) |
CommerceWarehouseLocalService |
getWrappedService() |
CommerceWarehouse |
importDefaultCommerceWarehouse(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
java.util.List<CommerceWarehouse> |
search(long groupId,
java.lang.String keywords,
java.lang.Boolean active,
long commerceCountryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator) |
int |
searchCount(long groupId,
java.lang.String keywords,
java.lang.Boolean active,
long commerceCountryId) |
CommerceWarehouse |
setActive(long commerceWarehouseId,
boolean active) |
void |
setWrappedService(CommerceWarehouseLocalService commerceWarehouseLocalService) |
CommerceWarehouse |
updateCommerceWarehouse(CommerceWarehouse commerceWarehouse)
Updates the commerce warehouse in the database or adds it if it does not yet exist.
|
CommerceWarehouse |
updateCommerceWarehouse(long commerceWarehouseId,
java.lang.String name,
java.lang.String description,
boolean active,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
double latitude,
double longitude,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceWarehouse |
updateDefaultCommerceWarehouse(java.lang.String name,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
double latitude,
double longitude,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CommerceWarehouseLocalServiceWrapper(CommerceWarehouseLocalService commerceWarehouseLocalService)
public CommerceWarehouse addCommerceWarehouse(CommerceWarehouse commerceWarehouse)
addCommerceWarehouse in interface CommerceWarehouseLocalServicecommerceWarehouse - the commerce warehousepublic CommerceWarehouse addCommerceWarehouse(java.lang.String name, java.lang.String description, boolean active, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, double latitude, double longitude, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceWarehouse in interface CommerceWarehouseLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceWarehouse createCommerceWarehouse(long commerceWarehouseId)
createCommerceWarehouse in interface CommerceWarehouseLocalServicecommerceWarehouseId - the primary key for the new commerce warehousepublic CommerceWarehouse deleteCommerceWarehouse(CommerceWarehouse commerceWarehouse)
deleteCommerceWarehouse in interface CommerceWarehouseLocalServicecommerceWarehouse - the commerce warehousepublic CommerceWarehouse deleteCommerceWarehouse(long commerceWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceWarehouse in interface CommerceWarehouseLocalServicecommerceWarehouseId - the primary key of the commerce warehousePortalException - if a commerce warehouse with the primary key could not be foundpublic void deleteCommerceWarehouses(long groupId)
deleteCommerceWarehouses in interface CommerceWarehouseLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceWarehouseLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceWarehouseLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceWarehouseLocalServicedynamicQuery - 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface CommerceWarehouseLocalServicedynamicQuery - 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface CommerceWarehouseLocalServicedynamicQuery - 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 CommerceWarehouseLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceWarehouseLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceWarehouse fetchCommerceWarehouse(long commerceWarehouseId)
fetchCommerceWarehouse in interface CommerceWarehouseLocalServicepublic CommerceWarehouse fetchDefaultCommerceWarehouse(long groupId)
fetchDefaultCommerceWarehouse in interface CommerceWarehouseLocalServicepublic CommerceWarehouse geolocateCommerceWarehouse(long commerceWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
geolocateCommerceWarehouse in interface CommerceWarehouseLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceWarehouseLocalServicepublic CommerceWarehouse getCommerceWarehouse(long commerceWarehouseId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceWarehouse in interface CommerceWarehouseLocalServicecommerceWarehouseId - the primary key of the commerce warehousePortalException - if a commerce warehouse with the primary key could not be foundpublic java.util.List<CommerceWarehouse> getCommerceWarehouses(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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceWarehouseModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getCommerceWarehouses in interface CommerceWarehouseLocalServicestart - the lower bound of the range of commerce warehousesend - the upper bound of the range of commerce warehouses (not inclusive)public java.util.List<CommerceWarehouse> getCommerceWarehouses(long groupId)
getCommerceWarehouses in interface CommerceWarehouseLocalServicepublic java.util.List<CommerceWarehouse> getCommerceWarehouses(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
getCommerceWarehouses in interface CommerceWarehouseLocalServicepublic java.util.List<CommerceWarehouse> getCommerceWarehouses(long groupId, boolean active, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
getCommerceWarehouses in interface CommerceWarehouseLocalServicepublic java.util.List<CommerceWarehouse> getCommerceWarehouses(long cpInstanceId, int start, int end)
getCommerceWarehouses in interface CommerceWarehouseLocalServicepublic java.util.List<CommerceWarehouse> getCommerceWarehouses(long groupId, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
getCommerceWarehouses in interface CommerceWarehouseLocalServicepublic int getCommerceWarehousesCount()
getCommerceWarehousesCount in interface CommerceWarehouseLocalServicepublic int getCommerceWarehousesCount(long groupId,
boolean active,
long commerceCountryId)
getCommerceWarehousesCount in interface CommerceWarehouseLocalServicepublic int getCommerceWarehousesCount(long groupId,
long commerceCountryId)
getCommerceWarehousesCount in interface CommerceWarehouseLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceWarehouseLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceWarehouseLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceWarehouseLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceWarehouse importDefaultCommerceWarehouse(com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
importDefaultCommerceWarehouse in interface CommerceWarehouseLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceWarehouse> search(long groupId, java.lang.String keywords, java.lang.Boolean active, long commerceCountryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWarehouse> orderByComparator)
search in interface CommerceWarehouseLocalServicepublic int searchCount(long groupId,
java.lang.String keywords,
java.lang.Boolean active,
long commerceCountryId)
searchCount in interface CommerceWarehouseLocalServicepublic CommerceWarehouse setActive(long commerceWarehouseId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
setActive in interface CommerceWarehouseLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceWarehouse updateCommerceWarehouse(CommerceWarehouse commerceWarehouse)
updateCommerceWarehouse in interface CommerceWarehouseLocalServicecommerceWarehouse - the commerce warehousepublic CommerceWarehouse updateCommerceWarehouse(long commerceWarehouseId, java.lang.String name, java.lang.String description, boolean active, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, double latitude, double longitude, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceWarehouse in interface CommerceWarehouseLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceWarehouse updateDefaultCommerceWarehouse(java.lang.String name, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, double latitude, double longitude, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateDefaultCommerceWarehouse in interface CommerceWarehouseLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceWarehouseLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceWarehouseLocalService>public void setWrappedService(CommerceWarehouseLocalService commerceWarehouseLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceWarehouseLocalService>