resourceblock

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

func (s *Service) AddCompanyScopePermission(scopeGroupId int64, companyId int64, name string, roleId int64, actionId string) error

func (*Service) AddGroupScopePermission

func (s *Service) AddGroupScopePermission(scopeGroupId int64, companyId int64, groupId int64, name string, roleId int64, actionId string) error

func (*Service) AddIndividualScopePermission

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

func (*Service) RemoveAllGroupScopePermissions

func (s *Service) RemoveAllGroupScopePermissions(scopeGroupId int64, companyId int64, name string, roleId int64, actionId string) error

func (*Service) RemoveCompanyScopePermission

func (s *Service) RemoveCompanyScopePermission(scopeGroupId int64, companyId int64, name string, roleId int64, actionId string) error

func (*Service) RemoveGroupScopePermission

func (s *Service) RemoveGroupScopePermission(scopeGroupId int64, companyId int64, groupId int64, name string, roleId int64, actionId string) error

func (*Service) RemoveIndividualScopePermission

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

func (*Service) SetCompanyScopePermissions

func (s *Service) SetCompanyScopePermissions(scopeGroupId int64, companyId int64, name string, roleId int64, actionIds []interface{}) error

func (*Service) SetGroupScopePermissions

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

func (*Service) SetIndividualScopePermissions

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

func (*Service) SetIndividualScopePermissions2

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

Jump to

Keyboard shortcuts

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