public class CommerceAccountUserRelLocalServiceWrapper extends java.lang.Object implements CommerceAccountUserRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountUserRelLocalService>
CommerceAccountUserRelLocalService.CommerceAccountUserRelLocalService| Constructor and Description |
|---|
CommerceAccountUserRelLocalServiceWrapper(CommerceAccountUserRelLocalService commerceAccountUserRelLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceAccountUserRel |
addCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel)
Adds the commerce account user rel to the database.
|
CommerceAccountUserRel |
addCommerceAccountUserRel(long commerceAccountId,
long commerceAccountUserId,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAccountUserRel |
addCommerceAccountUserRel(long commerceAccountId,
long commerceAccountUserId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addCommerceAccountUserRels(long commerceAccountId,
long[] userIds,
java.lang.String[] emailAddresses,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addDefaultRoles(long userId) |
CommerceAccountUserRel |
createCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK)
Creates a new commerce account user rel with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceAccountUserRel |
deleteCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel)
Deletes the commerce account user rel from the database.
|
CommerceAccountUserRel |
deleteCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK)
Deletes the commerce account user rel with the primary key from the database.
|
void |
deleteCommerceAccountUserRels(long commerceAccountId,
long[] userIds) |
void |
deleteCommerceAccountUserRelsByCommerceAccountId(long commerceAccountId) |
void |
deleteCommerceAccountUserRelsByCommerceAccountUserId(long userId) |
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.
|
CommerceAccountUserRel |
fetchCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
CommerceAccountUserRel |
getCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK)
Returns the commerce account user rel with the primary key.
|
java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRels(int start,
int end)
Returns a range of all the commerce account user rels.
|
java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRels(long commerceAccountId) |
java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRels(long commerceAccountId,
int start,
int end) |
java.util.List<CommerceAccountUserRel> |
getCommerceAccountUserRelsByCommerceAccountUserId(long commerceAccountUserId) |
int |
getCommerceAccountUserRelsCount()
Returns the number of commerce account user rels.
|
int |
getCommerceAccountUserRelsCount(long commerceAccountId) |
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) |
CommerceAccountUserRelLocalService |
getWrappedService() |
CommerceAccountUserRel |
inviteUser(long commerceAccountId,
java.lang.String emailAddress,
long[] roleIds,
java.lang.String userExternalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setWrappedService(CommerceAccountUserRelLocalService commerceAccountUserRelLocalService) |
CommerceAccountUserRel |
updateCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel)
Updates the commerce account user rel in the database or adds it if it does not yet exist.
|
public CommerceAccountUserRelLocalServiceWrapper(CommerceAccountUserRelLocalService commerceAccountUserRelLocalService)
public CommerceAccountUserRel addCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel)
Important: Inspect CommerceAccountUserRelLocalServiceImpl 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.
addCommerceAccountUserRel in interface CommerceAccountUserRelLocalServicecommerceAccountUserRel - the commerce account user relpublic CommerceAccountUserRel addCommerceAccountUserRel(long commerceAccountId, long commerceAccountUserId, long[] roleIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAccountUserRel in interface CommerceAccountUserRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccountUserRel addCommerceAccountUserRel(long commerceAccountId, long commerceAccountUserId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAccountUserRel in interface CommerceAccountUserRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void addCommerceAccountUserRels(long commerceAccountId,
long[] userIds,
java.lang.String[] emailAddresses,
long[] roleIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
addCommerceAccountUserRels in interface CommerceAccountUserRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void addDefaultRoles(long userId)
throws com.liferay.portal.kernel.exception.PortalException
addDefaultRoles in interface CommerceAccountUserRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccountUserRel createCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK)
createCommerceAccountUserRel in interface CommerceAccountUserRelLocalServicecommerceAccountUserRelPK - the primary key for the new commerce account user relpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface CommerceAccountUserRelLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceAccountUserRel deleteCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel)
Important: Inspect CommerceAccountUserRelLocalServiceImpl 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.
deleteCommerceAccountUserRel in interface CommerceAccountUserRelLocalServicecommerceAccountUserRel - the commerce account user relpublic CommerceAccountUserRel deleteCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceAccountUserRelLocalServiceImpl 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.
deleteCommerceAccountUserRel in interface CommerceAccountUserRelLocalServicecommerceAccountUserRelPK - the primary key of the commerce account user relPortalException - if a commerce account user rel with the primary key could not be foundpublic void deleteCommerceAccountUserRels(long commerceAccountId,
long[] userIds)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAccountUserRels in interface CommerceAccountUserRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCommerceAccountUserRelsByCommerceAccountId(long commerceAccountId)
deleteCommerceAccountUserRelsByCommerceAccountId in interface CommerceAccountUserRelLocalServicepublic void deleteCommerceAccountUserRelsByCommerceAccountUserId(long userId)
deleteCommerceAccountUserRelsByCommerceAccountUserId in interface CommerceAccountUserRelLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceAccountUserRelLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceAccountUserRelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceAccountUserRelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceAccountUserRelLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceAccountUserRelLocalServicedynamicQuery - 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.account.model.impl.CommerceAccountUserRelModelImpl.
dynamicQuery in interface CommerceAccountUserRelLocalServicedynamicQuery - 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.account.model.impl.CommerceAccountUserRelModelImpl.
dynamicQuery in interface CommerceAccountUserRelLocalServicedynamicQuery - 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 CommerceAccountUserRelLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceAccountUserRelLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceAccountUserRel fetchCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK)
fetchCommerceAccountUserRel in interface CommerceAccountUserRelLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceAccountUserRelLocalServicepublic CommerceAccountUserRel getCommerceAccountUserRel(CommerceAccountUserRelPK commerceAccountUserRelPK) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAccountUserRel in interface CommerceAccountUserRelLocalServicecommerceAccountUserRelPK - the primary key of the commerce account user relPortalException - if a commerce account user rel with the primary key could not be foundpublic java.util.List<CommerceAccountUserRel> getCommerceAccountUserRels(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.account.model.impl.CommerceAccountUserRelModelImpl.
getCommerceAccountUserRels in interface CommerceAccountUserRelLocalServicestart - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)public java.util.List<CommerceAccountUserRel> getCommerceAccountUserRels(long commerceAccountId)
getCommerceAccountUserRels in interface CommerceAccountUserRelLocalServicepublic java.util.List<CommerceAccountUserRel> getCommerceAccountUserRels(long commerceAccountId, int start, int end)
getCommerceAccountUserRels in interface CommerceAccountUserRelLocalServicepublic java.util.List<CommerceAccountUserRel> getCommerceAccountUserRelsByCommerceAccountUserId(long commerceAccountUserId)
getCommerceAccountUserRelsByCommerceAccountUserId in interface CommerceAccountUserRelLocalServicepublic int getCommerceAccountUserRelsCount()
getCommerceAccountUserRelsCount in interface CommerceAccountUserRelLocalServicepublic int getCommerceAccountUserRelsCount(long commerceAccountId)
getCommerceAccountUserRelsCount in interface CommerceAccountUserRelLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceAccountUserRelLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceAccountUserRelLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceAccountUserRelLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic CommerceAccountUserRel inviteUser(long commerceAccountId, java.lang.String emailAddress, long[] roleIds, java.lang.String userExternalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
inviteUser in interface CommerceAccountUserRelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAccountUserRel updateCommerceAccountUserRel(CommerceAccountUserRel commerceAccountUserRel)
Important: Inspect CommerceAccountUserRelLocalServiceImpl 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.
updateCommerceAccountUserRel in interface CommerceAccountUserRelLocalServicecommerceAccountUserRel - the commerce account user relpublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic CommerceAccountUserRelLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountUserRelLocalService>public void setWrappedService(CommerceAccountUserRelLocalService commerceAccountUserRelLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAccountUserRelLocalService>