public class CommerceAddressRestrictionLocalServiceWrapper extends java.lang.Object implements CommerceAddressRestrictionLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressRestrictionLocalService>
CommerceAddressRestrictionLocalService.CommerceAddressRestrictionLocalService| Constructor and Description |
|---|
CommerceAddressRestrictionLocalServiceWrapper() |
CommerceAddressRestrictionLocalServiceWrapper(CommerceAddressRestrictionLocalService commerceAddressRestrictionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceAddressRestriction |
addCommerceAddressRestriction(CommerceAddressRestriction commerceAddressRestriction)
Adds the commerce address restriction to the database.
|
CommerceAddressRestriction |
addCommerceAddressRestriction(long userId,
long groupId,
java.lang.String className,
long classPK,
long countryId) |
CommerceAddressRestriction |
addCommerceAddressRestriction(java.lang.String className,
long classPK,
long countryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x)
|
CommerceAddressRestriction |
createCommerceAddressRestriction(long commerceAddressRestrictionId)
Creates a new commerce address restriction with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceAddressRestriction |
deleteCommerceAddressRestriction(CommerceAddressRestriction commerceAddressRestriction)
Deletes the commerce address restriction from the database.
|
CommerceAddressRestriction |
deleteCommerceAddressRestriction(long commerceAddressRestrictionId)
Deletes the commerce address restriction with the primary key from the database.
|
void |
deleteCommerceAddressRestrictions(long countryId) |
void |
deleteCommerceAddressRestrictions(java.lang.String className,
long classPK) |
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.
|
CommerceAddressRestriction |
fetchCommerceAddressRestriction(long commerceAddressRestrictionId) |
CommerceAddressRestriction |
fetchCommerceAddressRestriction(java.lang.String className,
long classPK,
long countryId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommerceAddressRestriction |
getCommerceAddressRestriction(long commerceAddressRestrictionId)
Returns the commerce address restriction with the primary key.
|
java.util.List<CommerceAddressRestriction> |
getCommerceAddressRestrictions(int start,
int end)
Returns a range of all the commerce address restrictions.
|
java.util.List<CommerceAddressRestriction> |
getCommerceAddressRestrictions(java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator) |
int |
getCommerceAddressRestrictionsCount()
Returns the number of commerce address restrictions.
|
int |
getCommerceAddressRestrictionsCount(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) |
CommerceAddressRestrictionLocalService |
getWrappedService() |
boolean |
isCommerceAddressRestricted(java.lang.String className,
long classPK,
long countryId) |
boolean |
isCommerceShippingMethodRestricted(long commerceShippingMethodId,
long countryId) |
void |
setWrappedService(CommerceAddressRestrictionLocalService commerceAddressRestrictionLocalService) |
CommerceAddressRestriction |
updateCommerceAddressRestriction(CommerceAddressRestriction commerceAddressRestriction)
Updates the commerce address restriction in the database or adds it if it does not yet exist.
|
public CommerceAddressRestrictionLocalServiceWrapper()
public CommerceAddressRestrictionLocalServiceWrapper(CommerceAddressRestrictionLocalService commerceAddressRestrictionLocalService)
public CommerceAddressRestriction addCommerceAddressRestriction(CommerceAddressRestriction commerceAddressRestriction)
Important: Inspect CommerceAddressRestrictionLocalServiceImpl 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.
addCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicecommerceAddressRestriction - the commerce address restrictionpublic CommerceAddressRestriction addCommerceAddressRestriction(long userId, long groupId, java.lang.String className, long classPK, long countryId) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public CommerceAddressRestriction addCommerceAddressRestriction(java.lang.String className, long classPK, long countryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddressRestriction createCommerceAddressRestriction(long commerceAddressRestrictionId)
createCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicecommerceAddressRestrictionId - the primary key for the new commerce address restrictionpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceAddressRestrictionLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceAddressRestriction deleteCommerceAddressRestriction(CommerceAddressRestriction commerceAddressRestriction)
Important: Inspect CommerceAddressRestrictionLocalServiceImpl 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.
deleteCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicecommerceAddressRestriction - the commerce address restrictionpublic CommerceAddressRestriction deleteCommerceAddressRestriction(long commerceAddressRestrictionId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceAddressRestrictionLocalServiceImpl 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.
deleteCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicecommerceAddressRestrictionId - the primary key of the commerce address restrictionPortalException - if a commerce address restriction with the primary key could not be foundpublic void deleteCommerceAddressRestrictions(long countryId)
deleteCommerceAddressRestrictions in interface CommerceAddressRestrictionLocalServicepublic void deleteCommerceAddressRestrictions(java.lang.String className,
long classPK)
deleteCommerceAddressRestrictions in interface CommerceAddressRestrictionLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceAddressRestrictionLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceAddressRestrictionLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceAddressRestrictionLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceAddressRestrictionLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceAddressRestrictionLocalServicedynamicQuery - 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.CommerceAddressRestrictionModelImpl.
dynamicQuery in interface CommerceAddressRestrictionLocalServicedynamicQuery - 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.CommerceAddressRestrictionModelImpl.
dynamicQuery in interface CommerceAddressRestrictionLocalServicedynamicQuery - 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 CommerceAddressRestrictionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceAddressRestrictionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceAddressRestriction fetchCommerceAddressRestriction(long commerceAddressRestrictionId)
fetchCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicepublic CommerceAddressRestriction fetchCommerceAddressRestriction(java.lang.String className, long classPK, long countryId)
fetchCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceAddressRestrictionLocalServicepublic CommerceAddressRestriction getCommerceAddressRestriction(long commerceAddressRestrictionId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicecommerceAddressRestrictionId - the primary key of the commerce address restrictionPortalException - if a commerce address restriction with the primary key could not be foundpublic java.util.List<CommerceAddressRestriction> getCommerceAddressRestrictions(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.CommerceAddressRestrictionModelImpl.
getCommerceAddressRestrictions in interface CommerceAddressRestrictionLocalServicestart - the lower bound of the range of commerce address restrictionsend - the upper bound of the range of commerce address restrictions (not inclusive)public java.util.List<CommerceAddressRestriction> getCommerceAddressRestrictions(java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddressRestriction> orderByComparator)
getCommerceAddressRestrictions in interface CommerceAddressRestrictionLocalServicepublic int getCommerceAddressRestrictionsCount()
getCommerceAddressRestrictionsCount in interface CommerceAddressRestrictionLocalServicepublic int getCommerceAddressRestrictionsCount(java.lang.String className,
long classPK)
getCommerceAddressRestrictionsCount in interface CommerceAddressRestrictionLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceAddressRestrictionLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceAddressRestrictionLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceAddressRestrictionLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic boolean isCommerceAddressRestricted(java.lang.String className,
long classPK,
long countryId)
isCommerceAddressRestricted in interface CommerceAddressRestrictionLocalServicepublic boolean isCommerceShippingMethodRestricted(long commerceShippingMethodId,
long countryId)
isCommerceShippingMethodRestricted in interface CommerceAddressRestrictionLocalServicepublic CommerceAddressRestriction updateCommerceAddressRestriction(CommerceAddressRestriction commerceAddressRestriction)
Important: Inspect CommerceAddressRestrictionLocalServiceImpl 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.
updateCommerceAddressRestriction in interface CommerceAddressRestrictionLocalServicecommerceAddressRestriction - the commerce address restrictionpublic CommerceAddressRestrictionLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressRestrictionLocalService>public void setWrappedService(CommerceAddressRestrictionLocalService commerceAddressRestrictionLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressRestrictionLocalService>