shoppingcategory

package
v0.0.0-...-d84e329 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2017 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Index

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 NewService(s liferay.Session) *Service

func (*Service) AddCategory

func (s *Service) AddCategory(parentCategoryId int64, name string, description string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) DeleteCategory

func (s *Service) DeleteCategory(categoryId int64) error

func (*Service) GetCategories

func (s *Service) GetCategories(groupId int64) ([]interface{}, error)

func (*Service) GetCategories2

func (s *Service) GetCategories2(groupId int64, parentCategoryId int64, start int, end int) ([]interface{}, error)

func (*Service) GetCategoriesCount

func (s *Service) GetCategoriesCount(groupId int64, parentCategoryId int64) (int, error)

func (*Service) GetCategory

func (s *Service) GetCategory(categoryId int64) (map[string]interface{}, error)

func (*Service) GetSubcategoryIds

func (s *Service) GetSubcategoryIds(categoryIds []interface{}, groupId int64, categoryId int64) error

func (*Service) UpdateCategory

func (s *Service) UpdateCategory(categoryId int64, parentCategoryId int64, name string, description string, mergeWithParentCategory bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL