team

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) AddTeam

func (s *Service) AddTeam(groupId int64, name string, description string) (map[string]interface{}, error)

func (*Service) DeleteTeam

func (s *Service) DeleteTeam(teamId int64) error

func (*Service) GetGroupTeams

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

func (*Service) GetTeam

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

func (*Service) GetTeam2

func (s *Service) GetTeam2(groupId int64, name string) (map[string]interface{}, error)

func (*Service) GetUserTeams

func (s *Service) GetUserTeams(userId int64) ([]interface{}, error)

func (*Service) GetUserTeams2

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

func (*Service) HasUserTeam

func (s *Service) HasUserTeam(userId int64, teamId int64) (bool, error)

func (*Service) UpdateTeam

func (s *Service) UpdateTeam(teamId int64, name string, description string) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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