Documentation ¶
Index ¶
- type Service
- func (s *Service) AddBookItems(groupId int64, categoryId int64, isbns []interface{}) error
- func (s *Service) AddItem(groupId int64, categoryId int64, sku string, name string, description string, ...) (map[string]interface{}, error)
- func (s *Service) DeleteItem(itemId int64) error
- func (s *Service) GetCategoriesItemsCount(groupId int64, categoryIds []interface{}) (int, error)
- func (s *Service) GetItem(itemId int64) (map[string]interface{}, error)
- func (s *Service) GetItems(groupId int64, categoryId int64) ([]interface{}, error)
- func (s *Service) GetItems2(groupId int64, categoryId int64, start int, end int, ...) ([]interface{}, error)
- func (s *Service) GetItemsCount(groupId int64, categoryId int64) (int, error)
- func (s *Service) GetItemsPrevAndNext(itemId int64, obc *liferay.ObjectWrapper) ([]interface{}, error)
- func (s *Service) UpdateItem(itemId int64, groupId int64, categoryId int64, sku string, name string, ...) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddBookItems ¶
func (*Service) AddItem ¶
func (s *Service) AddItem(groupId int64, categoryId int64, sku string, name string, description string, properties string, fieldsQuantities string, requiresShipping bool, stockQuantity int, featured bool, sale *liferay.ObjectWrapper, smallImage bool, smallImageURL string, smallFile io.Reader, mediumImage bool, mediumImageURL string, mediumFile io.Reader, largeImage bool, largeImageURL string, largeFile io.Reader, itemFields []interface{}, itemPrices []interface{}, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)
func (*Service) DeleteItem ¶
func (*Service) GetCategoriesItemsCount ¶
func (*Service) GetItemsCount ¶
func (*Service) GetItemsPrevAndNext ¶
func (s *Service) GetItemsPrevAndNext(itemId int64, obc *liferay.ObjectWrapper) ([]interface{}, error)
func (*Service) UpdateItem ¶
func (s *Service) UpdateItem(itemId int64, groupId int64, categoryId int64, sku string, name string, description string, properties string, fieldsQuantities string, requiresShipping bool, stockQuantity int, featured bool, sale *liferay.ObjectWrapper, smallImage bool, smallImageURL string, smallFile io.Reader, mediumImage bool, mediumImageURL string, mediumFile io.Reader, largeImage bool, largeImageURL string, largeFile io.Reader, itemFields []interface{}, itemPrices []interface{}, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.