Documentation ¶
Index ¶
- type Service
- func (s *Service) AddCategory(parentCategoryId int64, name string, description string, displayStyle string, ...) (map[string]interface{}, error)
- func (s *Service) AddCategory2(userId int64, parentCategoryId int64, name string, description string, ...) (map[string]interface{}, error)
- func (s *Service) DeleteCategory(categoryId int64, includeTrashedEntries bool) error
- func (s *Service) DeleteCategory2(groupId int64, categoryId int64) error
- func (s *Service) GetCategories(groupId int64) ([]interface{}, error)
- func (s *Service) GetCategories2(groupId int64, status int) ([]interface{}, error)
- func (s *Service) GetCategories3(groupId int64, parentCategoryId int64, start int, end int) ([]interface{}, error)
- func (s *Service) GetCategories4(groupId int64, parentCategoryIds []interface{}, start int, end int) ([]interface{}, error)
- func (s *Service) GetCategories5(groupId int64, parentCategoryId int64, status int, start int, end int) ([]interface{}, error)
- func (s *Service) GetCategories6(groupId int64, parentCategoryIds []interface{}, status int, start int, end int) ([]interface{}, error)
- func (s *Service) GetCategoriesCount(groupId int64, parentCategoryId int64) (int, error)
- func (s *Service) GetCategoriesCount2(groupId int64, parentCategoryIds []interface{}) (int, error)
- func (s *Service) GetCategoriesCount3(groupId int64, parentCategoryId int64, status int) (int, error)
- func (s *Service) GetCategoriesCount4(groupId int64, parentCategoryIds []interface{}, status int) (int, error)
- func (s *Service) GetCategory(categoryId int64) (map[string]interface{}, error)
- func (s *Service) GetCategoryIds(groupId int64, categoryId int64) ([]interface{}, error)
- func (s *Service) GetSubcategoryIds(categoryIds []interface{}, groupId int64, categoryId int64) ([]interface{}, error)
- func (s *Service) GetSubscribedCategories(groupId int64, userId int64, start int, end int) ([]interface{}, error)
- func (s *Service) GetSubscribedCategoriesCount(groupId int64, userId int64) (int, error)
- func (s *Service) MoveCategory(categoryId int64, parentCategoryId int64, mergeWithParentCategory bool) (map[string]interface{}, error)
- func (s *Service) MoveCategoryFromTrash(categoryId int64, newCategoryId int64) (map[string]interface{}, error)
- func (s *Service) MoveCategoryToTrash(categoryId int64) (map[string]interface{}, error)
- func (s *Service) RestoreCategoryFromTrash(categoryId int64) error
- func (s *Service) SubscribeCategory(groupId int64, categoryId int64) error
- func (s *Service) UnsubscribeCategory(groupId int64, categoryId int64) error
- func (s *Service) UpdateCategory(categoryId int64, parentCategoryId int64, name string, description 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) 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 (*Service) DeleteCategory ¶
func (*Service) DeleteCategory2 ¶
func (*Service) GetCategories ¶
func (*Service) GetCategories2 ¶
func (*Service) GetCategories3 ¶
func (*Service) GetCategories4 ¶
func (*Service) GetCategories5 ¶
func (*Service) GetCategories6 ¶
func (*Service) GetCategoriesCount ¶
func (*Service) GetCategoriesCount2 ¶
func (*Service) GetCategoriesCount3 ¶
func (*Service) GetCategoriesCount4 ¶
func (*Service) GetCategory ¶
func (*Service) GetCategoryIds ¶
func (*Service) GetSubcategoryIds ¶
func (*Service) GetSubscribedCategories ¶
func (*Service) GetSubscribedCategoriesCount ¶
func (*Service) MoveCategory ¶
func (*Service) MoveCategoryFromTrash ¶
func (*Service) MoveCategoryToTrash ¶
func (*Service) RestoreCategoryFromTrash ¶
func (*Service) SubscribeCategory ¶
func (*Service) UnsubscribeCategory ¶
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)
Click to show internal directories.
Click to hide internal directories.