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.PersistedModelcreatePersistedModel(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.voiddeleteCommerceWishListItems(long commerceWishListId) voiddeleteCommerceWishListItemsByCPDefinitionId(long cpDefinitionId) Deprecated.As of Mueller (7.2.x)voiddeleteCommerceWishListItemsByCPInstanceId(long cpInstanceId) Deprecated.As of Mueller (7.2.x)com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerycom.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) intgetCommerceWishListItemByContainsCPInstanceCount(long commerceWishListId, String cpInstanceUuid) intgetCommerceWishListItemByContainsCProductCount(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) intReturns the number of commerce wish list items.intgetCommerceWishListItemsCount(long commerceWishListId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(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, waitMethods 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:
addCommerceWishListItemin 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:
addCommerceWishListItemin 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:
addOrUpdateCommerceWishListItemin 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:
createCommerceWishListItemin 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:
createPersistedModelin interfaceCommerceWishListItemLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
deleteCommerceWishListItemin 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:
deleteCommerceWishListItemin 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:
deleteCommerceWishListItemsin interfaceCommerceWishListItemLocalService
-
deleteCommerceWishListItemsByCPDefinitionId
Deprecated.As of Mueller (7.2.x)- Specified by:
deleteCommerceWishListItemsByCPDefinitionIdin interfaceCommerceWishListItemLocalService
-
deleteCommerceWishListItemsByCPInstanceId
Deprecated.As of Mueller (7.2.x)- Specified by:
deleteCommerceWishListItemsByCPInstanceIdin 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:
deletePersistedModelin interfaceCommerceWishListItemLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceCommerceWishListItemLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceCommerceWishListItemLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceCommerceWishListItemLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.wish.list.model.impl.CommerceWishListItemModelImpl.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.wish.list.model.impl.CommerceWishListItemModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchCommerceWishListItemin interfaceCommerceWishListItemLocalService
-
fetchCommerceWishListItem
public CommerceWishListItem fetchCommerceWishListItem(long commerceWishListId, String cpInstanceUuid, long cProductId) - Specified by:
fetchCommerceWishListItemin interfaceCommerceWishListItemLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin 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:
getCommerceWishListItemin 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:
getCommerceWishListItemin interfaceCommerceWishListItemLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceWishListItemByContainsCPInstanceCount
public int getCommerceWishListItemByContainsCPInstanceCount(long commerceWishListId, String cpInstanceUuid) - Specified by:
getCommerceWishListItemByContainsCPInstanceCountin interfaceCommerceWishListItemLocalService
-
getCommerceWishListItemByContainsCProductCount
public int getCommerceWishListItemByContainsCProductCount(long commerceWishListId, long cProductId) - Specified by:
getCommerceWishListItemByContainsCProductCountin interfaceCommerceWishListItemLocalService
-
getCommerceWishListItems
Returns a range of all the commerce wish list items.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.wish.list.model.impl.CommerceWishListItemModelImpl.- Specified by:
getCommerceWishListItemsin 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:
getCommerceWishListItemsin interfaceCommerceWishListItemLocalService
-
getCommerceWishListItemsCount
public int getCommerceWishListItemsCount()Returns the number of commerce wish list items.- Specified by:
getCommerceWishListItemsCountin interfaceCommerceWishListItemLocalService- Returns:
- the number of commerce wish list items
-
getCommerceWishListItemsCount
public int getCommerceWishListItemsCount(long commerceWishListId) - Specified by:
getCommerceWishListItemsCountin interfaceCommerceWishListItemLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceCommerceWishListItemLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceCommerceWishListItemLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
updateCommerceWishListItemin 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:
updateCommerceWishListItemin interfaceCommerceWishListItemLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceWishListItemLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceWishListItemLocalService>
-