@ProviderType public class ShoppingItemLocalServiceWrapper extends java.lang.Object implements ShoppingItemLocalService, ServiceWrapper<ShoppingItemLocalService>
ShoppingItemLocalService.ShoppingItemLocalService| Constructor and Description |
|---|
ShoppingItemLocalServiceWrapper(ShoppingItemLocalService shoppingItemLocalService) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBookItems(long userId,
long groupId,
long categoryId,
java.lang.String[] isbns) |
ShoppingItem |
addItem(long userId,
long groupId,
long categoryId,
java.lang.String sku,
java.lang.String name,
java.lang.String description,
java.lang.String properties,
java.lang.String fieldsQuantities,
boolean requiresShipping,
int stockQuantity,
boolean featured,
java.lang.Boolean sale,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallImageFile,
boolean mediumImage,
java.lang.String mediumImageURL,
java.io.File mediumImageFile,
boolean largeImage,
java.lang.String largeImageURL,
java.io.File largeImageFile,
java.util.List<ShoppingItemField> itemFields,
java.util.List<ShoppingItemPrice> itemPrices,
ServiceContext serviceContext) |
void |
addItemResources(long itemId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addItemResources(long itemId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addItemResources(ShoppingItem item,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addItemResources(ShoppingItem item,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
ShoppingItem |
addShoppingItem(ShoppingItem shoppingItem)
Adds the shopping item to the database.
|
ShoppingItem |
createShoppingItem(long itemId)
Creates a new shopping item with the primary key.
|
void |
deleteItem(long itemId) |
void |
deleteItem(ShoppingItem item) |
void |
deleteItems(long groupId,
long categoryId) |
ShoppingItem |
deleteShoppingItem(long itemId)
Deletes the shopping item with the primary key from the database.
|
ShoppingItem |
deleteShoppingItem(ShoppingItem shoppingItem)
Deletes the shopping item from the database.
|
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
ShoppingItem |
fetchShoppingItem(long itemId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
int |
getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds) |
java.util.List<ShoppingItem> |
getFeaturedItems(long groupId,
long categoryId,
int numOfItems) |
ShoppingItem |
getItem(long itemId) |
ShoppingItem |
getItem(long companyId,
java.lang.String sku) |
ShoppingItem |
getItemByLargeImageId(long largeImageId) |
ShoppingItem |
getItemByMediumImageId(long mediumImageId) |
ShoppingItem |
getItemBySmallImageId(long smallImageId) |
java.util.List<ShoppingItem> |
getItems(long groupId,
long categoryId) |
java.util.List<ShoppingItem> |
getItems(long groupId,
long categoryId,
int start,
int end,
OrderByComparator obc) |
int |
getItemsCount(long groupId,
long categoryId) |
ShoppingItem[] |
getItemsPrevAndNext(long itemId,
OrderByComparator obc) |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<ShoppingItem> |
getSaleItems(long groupId,
long categoryId,
int numOfItems) |
ShoppingItem |
getShoppingItem(long itemId)
Returns the shopping item with the primary key.
|
java.util.List<ShoppingItem> |
getShoppingItems(int start,
int end)
Returns a range of all the shopping items.
|
int |
getShoppingItemsCount()
Returns the number of shopping items.
|
ShoppingItemLocalService |
getWrappedService() |
ShoppingItemLocalService |
getWrappedShoppingItemLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
java.util.List<ShoppingItem> |
search(long groupId,
long[] categoryIds,
java.lang.String keywords,
int start,
int end) |
int |
searchCount(long groupId,
long[] categoryIds,
java.lang.String keywords) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedService(ShoppingItemLocalService shoppingItemLocalService) |
void |
setWrappedShoppingItemLocalService(ShoppingItemLocalService shoppingItemLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.shopping.service.ShoppingItemLocalService) |
ShoppingItem |
updateItem(long userId,
long itemId,
long groupId,
long categoryId,
java.lang.String sku,
java.lang.String name,
java.lang.String description,
java.lang.String properties,
java.lang.String fieldsQuantities,
boolean requiresShipping,
int stockQuantity,
boolean featured,
java.lang.Boolean sale,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallImageFile,
boolean mediumImage,
java.lang.String mediumImageURL,
java.io.File mediumImageFile,
boolean largeImage,
java.lang.String largeImageURL,
java.io.File largeImageFile,
java.util.List<ShoppingItemField> itemFields,
java.util.List<ShoppingItemPrice> itemPrices,
ServiceContext serviceContext) |
ShoppingItem |
updateShoppingItem(ShoppingItem shoppingItem)
Updates the shopping item in the database or adds it if it does not yet exist.
|
public ShoppingItemLocalServiceWrapper(ShoppingItemLocalService shoppingItemLocalService)
public ShoppingItem addShoppingItem(ShoppingItem shoppingItem) throws SystemException
addShoppingItem in interface ShoppingItemLocalServiceshoppingItem - the shopping itemSystemException - if a system exception occurredpublic ShoppingItem createShoppingItem(long itemId)
createShoppingItem in interface ShoppingItemLocalServiceitemId - the primary key for the new shopping itempublic ShoppingItem deleteShoppingItem(long itemId) throws PortalException, SystemException
deleteShoppingItem in interface ShoppingItemLocalServiceitemId - the primary key of the shopping itemPortalException - if a shopping item with the primary key could not be foundSystemException - if a system exception occurredpublic ShoppingItem deleteShoppingItem(ShoppingItem shoppingItem) throws SystemException
deleteShoppingItem in interface ShoppingItemLocalServiceshoppingItem - the shopping itemSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface ShoppingItemLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface ShoppingItemLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ShoppingItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ShoppingItemLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ShoppingItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ShoppingItemLocalServicedynamicQuery - 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)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface ShoppingItemLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface ShoppingItemLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic ShoppingItem fetchShoppingItem(long itemId) throws SystemException
fetchShoppingItem in interface ShoppingItemLocalServiceSystemExceptionpublic ShoppingItem getShoppingItem(long itemId) throws PortalException, SystemException
getShoppingItem in interface ShoppingItemLocalServiceitemId - the primary key of the shopping itemPortalException - if a shopping item with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic java.util.List<ShoppingItem> getShoppingItems(int start, int end) throws SystemException
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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ShoppingItemModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getShoppingItems in interface ShoppingItemLocalServicestart - the lower bound of the range of shopping itemsend - the upper bound of the range of shopping items (not inclusive)SystemException - if a system exception occurredpublic int getShoppingItemsCount()
throws SystemException
getShoppingItemsCount in interface ShoppingItemLocalServiceSystemException - if a system exception occurredpublic ShoppingItem updateShoppingItem(ShoppingItem shoppingItem) throws SystemException
updateShoppingItem in interface ShoppingItemLocalServiceshoppingItem - the shopping itemSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface ShoppingItemLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface ShoppingItemLocalServicebeanIdentifier - the Spring bean ID for this beanpublic void addBookItems(long userId,
long groupId,
long categoryId,
java.lang.String[] isbns)
throws PortalException,
SystemException
addBookItems in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic ShoppingItem addItem(long userId, long groupId, long categoryId, java.lang.String sku, java.lang.String name, java.lang.String description, java.lang.String properties, java.lang.String fieldsQuantities, boolean requiresShipping, int stockQuantity, boolean featured, java.lang.Boolean sale, boolean smallImage, java.lang.String smallImageURL, java.io.File smallImageFile, boolean mediumImage, java.lang.String mediumImageURL, java.io.File mediumImageFile, boolean largeImage, java.lang.String largeImageURL, java.io.File largeImageFile, java.util.List<ShoppingItemField> itemFields, java.util.List<ShoppingItemPrice> itemPrices, ServiceContext serviceContext) throws PortalException, SystemException
addItem in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic void addItemResources(long itemId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addItemResources in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic void addItemResources(long itemId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
addItemResources in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic void addItemResources(ShoppingItem item, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addItemResources in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic void addItemResources(ShoppingItem item, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
addItemResources in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic void deleteItem(long itemId)
throws PortalException,
SystemException
deleteItem in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic void deleteItem(ShoppingItem item) throws PortalException, SystemException
deleteItem in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic void deleteItems(long groupId,
long categoryId)
throws PortalException,
SystemException
deleteItems in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic int getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds)
throws SystemException
getCategoriesItemsCount in interface ShoppingItemLocalServiceSystemExceptionpublic java.util.List<ShoppingItem> getFeaturedItems(long groupId, long categoryId, int numOfItems) throws SystemException
getFeaturedItems in interface ShoppingItemLocalServiceSystemExceptionpublic ShoppingItem getItem(long itemId) throws PortalException, SystemException
getItem in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic ShoppingItem getItem(long companyId, java.lang.String sku) throws PortalException, SystemException
getItem in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic ShoppingItem getItemByLargeImageId(long largeImageId) throws PortalException, SystemException
getItemByLargeImageId in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic ShoppingItem getItemByMediumImageId(long mediumImageId) throws PortalException, SystemException
getItemByMediumImageId in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic ShoppingItem getItemBySmallImageId(long smallImageId) throws PortalException, SystemException
getItemBySmallImageId in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic java.util.List<ShoppingItem> getItems(long groupId, long categoryId) throws SystemException
getItems in interface ShoppingItemLocalServiceSystemExceptionpublic java.util.List<ShoppingItem> getItems(long groupId, long categoryId, int start, int end, OrderByComparator obc) throws SystemException
getItems in interface ShoppingItemLocalServiceSystemExceptionpublic int getItemsCount(long groupId,
long categoryId)
throws SystemException
getItemsCount in interface ShoppingItemLocalServiceSystemExceptionpublic ShoppingItem[] getItemsPrevAndNext(long itemId, OrderByComparator obc) throws PortalException, SystemException
getItemsPrevAndNext in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic java.util.List<ShoppingItem> getSaleItems(long groupId, long categoryId, int numOfItems) throws SystemException
getSaleItems in interface ShoppingItemLocalServiceSystemExceptionpublic java.util.List<ShoppingItem> search(long groupId, long[] categoryIds, java.lang.String keywords, int start, int end) throws SystemException
search in interface ShoppingItemLocalServiceSystemExceptionpublic int searchCount(long groupId,
long[] categoryIds,
java.lang.String keywords)
throws SystemException
searchCount in interface ShoppingItemLocalServiceSystemExceptionpublic ShoppingItem updateItem(long userId, long itemId, long groupId, long categoryId, java.lang.String sku, java.lang.String name, java.lang.String description, java.lang.String properties, java.lang.String fieldsQuantities, boolean requiresShipping, int stockQuantity, boolean featured, java.lang.Boolean sale, boolean smallImage, java.lang.String smallImageURL, java.io.File smallImageFile, boolean mediumImage, java.lang.String mediumImageURL, java.io.File mediumImageFile, boolean largeImage, java.lang.String largeImageURL, java.io.File largeImageFile, java.util.List<ShoppingItemField> itemFields, java.util.List<ShoppingItemPrice> itemPrices, ServiceContext serviceContext) throws PortalException, SystemException
updateItem in interface ShoppingItemLocalServicePortalExceptionSystemExceptionpublic ShoppingItemLocalService getWrappedShoppingItemLocalService()
getWrappedService()public void setWrappedShoppingItemLocalService(ShoppingItemLocalService shoppingItemLocalService)
setWrappedService(com.liferay.portlet.shopping.service.ShoppingItemLocalService)public ShoppingItemLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<ShoppingItemLocalService>public void setWrappedService(ShoppingItemLocalService shoppingItemLocalService)
setWrappedService in interface ServiceWrapper<ShoppingItemLocalService>