public class CommerceWishListLocalServiceWrapper extends java.lang.Object implements CommerceWishListLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceWishListLocalService>
CommerceWishListLocalService
.CommerceWishListLocalService
Constructor and Description |
---|
CommerceWishListLocalServiceWrapper() |
CommerceWishListLocalServiceWrapper(CommerceWishListLocalService commerceWishListLocalService) |
Modifier and Type | Method and Description |
---|---|
CommerceWishList |
addCommerceWishList(CommerceWishList commerceWishList)
Adds the commerce wish list to the database.
|
CommerceWishList |
addCommerceWishList(java.lang.String name,
boolean defaultWishList,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceWishList |
createCommerceWishList(long commerceWishListId)
Creates a new commerce wish list with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceWishList |
deleteCommerceWishList(CommerceWishList commerceWishList)
Deletes the commerce wish list from the database.
|
CommerceWishList |
deleteCommerceWishList(long commerceWishListId)
Deletes the commerce wish list with the primary key from the database.
|
void |
deleteCommerceWishLists(long userId,
java.util.Date date) |
void |
deleteCommerceWishListsByGroupId(long groupId) |
void |
deleteCommerceWishListsByUserId(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.
|
CommerceWishList |
fetchCommerceWishList(long commerceWishListId) |
CommerceWishList |
fetchCommerceWishList(long groupId,
long userId,
boolean defaultWishList,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) |
CommerceWishList |
fetchCommerceWishListByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce wish list matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommerceWishList |
getCommerceWishList(long commerceWishListId)
Returns the commerce wish list with the primary key.
|
CommerceWishList |
getCommerceWishListByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce wish list matching the UUID and group.
|
java.util.List<CommerceWishList> |
getCommerceWishLists(int start,
int end)
Returns a range of all the commerce wish lists.
|
java.util.List<CommerceWishList> |
getCommerceWishLists(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) |
java.util.List<CommerceWishList> |
getCommerceWishLists(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator) |
java.util.List<CommerceWishList> |
getCommerceWishListsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the commerce wish lists matching the UUID and company.
|
java.util.List<CommerceWishList> |
getCommerceWishListsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
Returns a range of commerce wish lists matching the UUID and company.
|
int |
getCommerceWishListsCount()
Returns the number of commerce wish lists.
|
int |
getCommerceWishListsCount(long groupId) |
int |
getCommerceWishListsCount(long groupId,
long userId) |
CommerceWishList |
getDefaultCommerceWishList(long groupId,
long userId,
java.lang.String guestUuid) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
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) |
CommerceWishListLocalService |
getWrappedService() |
void |
setWrappedService(CommerceWishListLocalService commerceWishListLocalService) |
CommerceWishList |
updateCommerceWishList(CommerceWishList commerceWishList)
Updates the commerce wish list in the database or adds it if it does not yet exist.
|
CommerceWishList |
updateCommerceWishList(long commerceWishListId,
java.lang.String name,
boolean defaultWishList) |
public CommerceWishListLocalServiceWrapper()
public CommerceWishListLocalServiceWrapper(CommerceWishListLocalService commerceWishListLocalService)
public CommerceWishList addCommerceWishList(CommerceWishList commerceWishList)
Important: Inspect CommerceWishListLocalServiceImpl 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.
addCommerceWishList
in interface CommerceWishListLocalService
commerceWishList
- the commerce wish listpublic CommerceWishList addCommerceWishList(java.lang.String name, boolean defaultWishList, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceWishList
in interface CommerceWishListLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceWishList createCommerceWishList(long commerceWishListId)
createCommerceWishList
in interface CommerceWishListLocalService
commerceWishListId
- the primary key for the new commerce wish listpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface CommerceWishListLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommerceWishList deleteCommerceWishList(CommerceWishList commerceWishList)
Important: Inspect CommerceWishListLocalServiceImpl 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.
deleteCommerceWishList
in interface CommerceWishListLocalService
commerceWishList
- the commerce wish listpublic CommerceWishList deleteCommerceWishList(long commerceWishListId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceWishListLocalServiceImpl 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.
deleteCommerceWishList
in interface CommerceWishListLocalService
commerceWishListId
- the primary key of the commerce wish listPortalException
- if a commerce wish list with the primary key could not be foundpublic void deleteCommerceWishLists(long userId, java.util.Date date)
deleteCommerceWishLists
in interface CommerceWishListLocalService
public void deleteCommerceWishListsByGroupId(long groupId)
deleteCommerceWishListsByGroupId
in interface CommerceWishListLocalService
public void deleteCommerceWishListsByUserId(long userId)
deleteCommerceWishListsByUserId
in interface CommerceWishListLocalService
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface CommerceWishListLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface CommerceWishListLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CommerceWishListLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CommerceWishListLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CommerceWishListLocalService
dynamicQuery
- 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.wish.list.model.impl.CommerceWishListModelImpl
.
dynamicQuery
in interface CommerceWishListLocalService
dynamicQuery
- 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.wish.list.model.impl.CommerceWishListModelImpl
.
dynamicQuery
in interface CommerceWishListLocalService
dynamicQuery
- 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 CommerceWishListLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CommerceWishListLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CommerceWishList fetchCommerceWishList(long commerceWishListId)
fetchCommerceWishList
in interface CommerceWishListLocalService
public CommerceWishList fetchCommerceWishList(long groupId, long userId, boolean defaultWishList, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
fetchCommerceWishList
in interface CommerceWishListLocalService
public CommerceWishList fetchCommerceWishListByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCommerceWishListByUuidAndGroupId
in interface CommerceWishListLocalService
uuid
- the commerce wish list's UUIDgroupId
- the primary key of the groupnull
if a matching commerce wish list could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CommerceWishListLocalService
public CommerceWishList getCommerceWishList(long commerceWishListId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceWishList
in interface CommerceWishListLocalService
commerceWishListId
- the primary key of the commerce wish listPortalException
- if a commerce wish list with the primary key could not be foundpublic CommerceWishList getCommerceWishListByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceWishListByUuidAndGroupId
in interface CommerceWishListLocalService
uuid
- the commerce wish list's UUIDgroupId
- the primary key of the groupPortalException
- if a matching commerce wish list could not be foundpublic java.util.List<CommerceWishList> getCommerceWishLists(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.wish.list.model.impl.CommerceWishListModelImpl
.
getCommerceWishLists
in interface CommerceWishListLocalService
start
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)public java.util.List<CommerceWishList> getCommerceWishLists(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
getCommerceWishLists
in interface CommerceWishListLocalService
public java.util.List<CommerceWishList> getCommerceWishLists(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
getCommerceWishLists
in interface CommerceWishListLocalService
public java.util.List<CommerceWishList> getCommerceWishListsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCommerceWishListsByUuidAndCompanyId
in interface CommerceWishListLocalService
uuid
- the UUID of the commerce wish listscompanyId
- the primary key of the companypublic java.util.List<CommerceWishList> getCommerceWishListsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishList> orderByComparator)
getCommerceWishListsByUuidAndCompanyId
in interface CommerceWishListLocalService
uuid
- the UUID of the commerce wish listscompanyId
- the primary key of the companystart
- the lower bound of the range of commerce wish listsend
- the upper bound of the range of commerce wish lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getCommerceWishListsCount()
getCommerceWishListsCount
in interface CommerceWishListLocalService
public int getCommerceWishListsCount(long groupId)
getCommerceWishListsCount
in interface CommerceWishListLocalService
public int getCommerceWishListsCount(long groupId, long userId)
getCommerceWishListsCount
in interface CommerceWishListLocalService
public CommerceWishList getDefaultCommerceWishList(long groupId, long userId, java.lang.String guestUuid) throws com.liferay.portal.kernel.exception.PortalException
getDefaultCommerceWishList
in interface CommerceWishListLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CommerceWishListLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CommerceWishListLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceWishListLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CommerceWishListLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommerceWishList updateCommerceWishList(CommerceWishList commerceWishList)
Important: Inspect CommerceWishListLocalServiceImpl 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.
updateCommerceWishList
in interface CommerceWishListLocalService
commerceWishList
- the commerce wish listpublic CommerceWishList updateCommerceWishList(long commerceWishListId, java.lang.String name, boolean defaultWishList) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceWishList
in interface CommerceWishListLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceWishListLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceWishListLocalService>
public void setWrappedService(CommerceWishListLocalService commerceWishListLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceWishListLocalService>