Class CommerceWishListItemLocalServiceWrapper
- All Implemented Interfaces:
CommerceWishListItemLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceWishListItemLocalService>
CommerceWishListItemLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceWishListItemLocalServiceWrapper
(CommerceWishListItemLocalService commerceWishListItemLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceWishListItem
(long userId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json) addCommerceWishListItem
(CommerceWishListItem commerceWishListItem) Adds the commerce wish list item to the database.addOrUpdateCommerceWishListItem
(long userId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json) createCommerceWishListItem
(long commerceWishListItemId) Creates a new commerce wish list item with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteCommerceWishListItem
(long commerceWishListItemId) Deletes the commerce wish list item with the primary key from the database.deleteCommerceWishListItem
(CommerceWishListItem commerceWishListItem) Deletes the commerce wish list item from the database.void
deleteCommerceWishListItems
(long commerceWishListId) void
deleteCommerceWishListItemsByCPDefinitionId
(long cpDefinitionId) Deprecated.As of Mueller (7.2.x)void
deleteCommerceWishListItemsByCPInstanceId
(long cpInstanceId) Deprecated.As of Mueller (7.2.x)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
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> 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> 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.fetchCommerceWishListItem
(long commerceWishListItemId) fetchCommerceWishListItem
(long commerceWishListId, String cpInstanceUuid, long cProductId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getCommerceWishListItem
(long commerceWishListItemId) Returns the commerce wish list item with the primary key.getCommerceWishListItem
(long commerceWishListId, String cpInstanceUuid, long cProductId) int
getCommerceWishListItemByContainsCPInstanceCount
(long commerceWishListId, String cpInstanceUuid) int
getCommerceWishListItemByContainsCProductCount
(long commerceWishListId, long cProductId) getCommerceWishListItems
(int start, int end) Returns a range of all the commerce wish list items.getCommerceWishListItems
(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) int
Returns the number of commerce wish list items.int
getCommerceWishListItemsCount
(long commerceWishListId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
setWrappedService
(CommerceWishListItemLocalService commerceWishListItemLocalService) updateCommerceWishListItem
(long commerceWishListId, String cpInstanceUuid, long cProductId, String json) updateCommerceWishListItem
(CommerceWishListItem commerceWishListItem) Updates the commerce wish list item in the database or adds it if it does not yet exist.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
CommerceWishListItemLocalServiceWrapper
public CommerceWishListItemLocalServiceWrapper() -
CommerceWishListItemLocalServiceWrapper
public CommerceWishListItemLocalServiceWrapper(CommerceWishListItemLocalService commerceWishListItemLocalService)
-
-
Method Details
-
addCommerceWishListItem
Adds the commerce wish list item to the database. Also notifies the appropriate model listeners.Important: Inspect CommerceWishListItemLocalServiceImpl 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.
- Specified by:
addCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Parameters:
commerceWishListItem
- the commerce wish list item- Returns:
- the commerce wish list item that was added
-
addCommerceWishListItem
public CommerceWishListItem addCommerceWishListItem(long userId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateCommerceWishListItem
public CommerceWishListItem addOrUpdateCommerceWishListItem(long userId, long commerceWishListId, String cpInstanceUuid, long cProductId, String json) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommerceWishListItem
Creates a new commerce wish list item with the primary key. Does not add the commerce wish list item to the database.- Specified by:
createCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Parameters:
commerceWishListItemId
- the primary key for the new commerce wish list item- Returns:
- the new commerce wish list item
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceCommerceWishListItemLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceWishListItem
Deletes the commerce wish list item from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceWishListItemLocalServiceImpl 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.
- Specified by:
deleteCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Parameters:
commerceWishListItem
- the commerce wish list item- Returns:
- the commerce wish list item that was removed
-
deleteCommerceWishListItem
public CommerceWishListItem deleteCommerceWishListItem(long commerceWishListItemId) throws com.liferay.portal.kernel.exception.PortalException Deletes the commerce wish list item with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceWishListItemLocalServiceImpl 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.
- Specified by:
deleteCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Parameters:
commerceWishListItemId
- the primary key of the commerce wish list item- Returns:
- the commerce wish list item that was removed
- Throws:
PortalException
- if a commerce wish list item with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteCommerceWishListItems
public void deleteCommerceWishListItems(long commerceWishListId) - Specified by:
deleteCommerceWishListItems
in interfaceCommerceWishListItemLocalService
-
deleteCommerceWishListItemsByCPDefinitionId
Deprecated.As of Mueller (7.2.x)- Specified by:
deleteCommerceWishListItemsByCPDefinitionId
in interfaceCommerceWishListItemLocalService
-
deleteCommerceWishListItemsByCPInstanceId
Deprecated.As of Mueller (7.2.x)- Specified by:
deleteCommerceWishListItemsByCPInstanceId
in interfaceCommerceWishListItemLocalService
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceCommerceWishListItemLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceCommerceWishListItemLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceCommerceWishListItemLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceCommerceWishListItemLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceCommerceWishListItemLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.wish.list.model.impl.CommerceWishListItemModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceWishListItemLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.wish.list.model.impl.CommerceWishListItemModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceWishListItemLocalService
- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCommerceWishListItemLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCount
in interfaceCommerceWishListItemLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCommerceWishListItem
- Specified by:
fetchCommerceWishListItem
in interfaceCommerceWishListItemLocalService
-
fetchCommerceWishListItem
public CommerceWishListItem fetchCommerceWishListItem(long commerceWishListId, String cpInstanceUuid, long cProductId) - Specified by:
fetchCommerceWishListItem
in interfaceCommerceWishListItemLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceCommerceWishListItemLocalService
-
getCommerceWishListItem
public CommerceWishListItem getCommerceWishListItem(long commerceWishListItemId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce wish list item with the primary key.- Specified by:
getCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Parameters:
commerceWishListItemId
- the primary key of the commerce wish list item- Returns:
- the commerce wish list item
- Throws:
PortalException
- if a commerce wish list item with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCommerceWishListItem
public CommerceWishListItem getCommerceWishListItem(long commerceWishListId, String cpInstanceUuid, long cProductId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceWishListItemByContainsCPInstanceCount
public int getCommerceWishListItemByContainsCPInstanceCount(long commerceWishListId, String cpInstanceUuid) - Specified by:
getCommerceWishListItemByContainsCPInstanceCount
in interfaceCommerceWishListItemLocalService
-
getCommerceWishListItemByContainsCProductCount
public int getCommerceWishListItemByContainsCProductCount(long commerceWishListId, long cProductId) - Specified by:
getCommerceWishListItemByContainsCProductCount
in interfaceCommerceWishListItemLocalService
-
getCommerceWishListItems
Returns a range of all the commerce wish list items.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.wish.list.model.impl.CommerceWishListItemModelImpl
.- Specified by:
getCommerceWishListItems
in interfaceCommerceWishListItemLocalService
- Parameters:
start
- the lower bound of the range of commerce wish list itemsend
- the upper bound of the range of commerce wish list items (not inclusive)- Returns:
- the range of commerce wish list items
-
getCommerceWishListItems
public List<CommerceWishListItem> getCommerceWishListItems(long commerceWishListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceWishListItem> orderByComparator) - Specified by:
getCommerceWishListItems
in interfaceCommerceWishListItemLocalService
-
getCommerceWishListItemsCount
public int getCommerceWishListItemsCount()Returns the number of commerce wish list items.- Specified by:
getCommerceWishListItemsCount
in interfaceCommerceWishListItemLocalService
- Returns:
- the number of commerce wish list items
-
getCommerceWishListItemsCount
public int getCommerceWishListItemsCount(long commerceWishListId) - Specified by:
getCommerceWishListItemsCount
in interfaceCommerceWishListItemLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceCommerceWishListItemLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceWishListItemLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceCommerceWishListItemLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceWishListItem
Updates the commerce wish list item in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CommerceWishListItemLocalServiceImpl 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.
- Specified by:
updateCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Parameters:
commerceWishListItem
- the commerce wish list item- Returns:
- the commerce wish list item that was updated
-
updateCommerceWishListItem
public CommerceWishListItem updateCommerceWishListItem(long commerceWishListId, String cpInstanceUuid, long cProductId, String json) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceWishListItem
in interfaceCommerceWishListItemLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceWishListItemLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceWishListItemLocalService>
-