resourcepermission

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

func (s *Service) AddResourcePermission(groupId int64, companyId int64, name string, scope int, primKey string, roleId int64, actionId string) error

func (*Service) RemoveResourcePermission

func (s *Service) RemoveResourcePermission(groupId int64, companyId int64, name string, scope int, primKey string, roleId int64, actionId string) error

func (*Service) RemoveResourcePermissions

func (s *Service) RemoveResourcePermissions(groupId int64, companyId int64, name string, scope int, roleId int64, actionId string) error

func (*Service) SetIndividualResourcePermissions

func (s *Service) SetIndividualResourcePermissions(groupId int64, companyId int64, name string, primKey string, roleIdsToActionIds map[string]interface{}) error

func (*Service) SetIndividualResourcePermissions2

func (s *Service) SetIndividualResourcePermissions2(groupId int64, companyId int64, name string, primKey string, roleId int64, actionIds []interface{}) error

Jump to

Keyboard shortcuts

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