mbcategory

package
Version: 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, displayStyle string, emailAddress string, inProtocol string, inServerName string, inServerPort int, inUseSSL bool, inUserName string, inPassword string, inReadInterval int, outEmailAddress string, outCustom bool, outServerName string, outServerPort int, outUseSSL bool, outUserName string, outPassword string, mailingListActive bool, allowAnonymousEmail bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) AddCategory2

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

func (*Service) DeleteCategory

func (s *Service) DeleteCategory(categoryId int64, includeTrashedEntries bool) error

func (*Service) DeleteCategory2

func (s *Service) DeleteCategory2(groupId int64, categoryId int64) error

func (*Service) GetCategories

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

func (*Service) GetCategories2

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

func (*Service) GetCategories3

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

func (*Service) GetCategories4

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

func (*Service) GetCategories5

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

func (*Service) GetCategories6

func (s *Service) GetCategories6(groupId int64, parentCategoryIds []interface{}, status int, start int, end int) ([]interface{}, error)

func (*Service) GetCategoriesCount

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

func (*Service) GetCategoriesCount2

func (s *Service) GetCategoriesCount2(groupId int64, parentCategoryIds []interface{}) (int, error)

func (*Service) GetCategoriesCount3

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

func (*Service) GetCategoriesCount4

func (s *Service) GetCategoriesCount4(groupId int64, parentCategoryIds []interface{}, status int) (int, error)

func (*Service) GetCategory

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

func (*Service) GetCategoryIds

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

func (*Service) GetSubcategoryIds

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

func (*Service) GetSubscribedCategories

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

func (*Service) GetSubscribedCategoriesCount

func (s *Service) GetSubscribedCategoriesCount(groupId int64, userId int64) (int, error)

func (*Service) MoveCategory

func (s *Service) MoveCategory(categoryId int64, parentCategoryId int64, mergeWithParentCategory bool) (map[string]interface{}, error)

func (*Service) MoveCategoryFromTrash

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

func (*Service) MoveCategoryToTrash

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

func (*Service) RestoreCategoryFromTrash

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

func (*Service) SubscribeCategory

func (s *Service) SubscribeCategory(groupId int64, categoryId int64) error

func (*Service) UnsubscribeCategory

func (s *Service) UnsubscribeCategory(groupId int64, categoryId int64) error

func (*Service) UpdateCategory

func (s *Service) UpdateCategory(categoryId int64, parentCategoryId int64, name string, description string, displayStyle string, emailAddress string, inProtocol string, inServerName string, inServerPort int, inUseSSL bool, inUserName string, inPassword string, inReadInterval int, outEmailAddress string, outCustom bool, outServerName string, outServerPort int, outUseSSL bool, outUserName string, outPassword string, mailingListActive bool, allowAnonymousEmail bool, mergeWithParentCategory bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

Source Files

Jump to

Keyboard shortcuts

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