store

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

cSpell:ignore ginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

cSpell:ignore goginrpf, gonic, paulo ferreira

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddinGroupValidateOrgStoreRequest added in v0.0.7

func AddinGroupValidateOrgStoreRequest(g rpf.GINGroupProcessor, opts shared.TAddinCallbackOptions) rpf.GINGroupProcessor

Global initial organization/user request validation

func AddinGroupValidateStoreRequest

func AddinGroupValidateStoreRequest(g rpf.GINGroupProcessor, opts shared.TAddinCallbackOptions) rpf.GINGroupProcessor

Global initial store request validation

func AddinGroupValidateStoreUserRequest

func AddinGroupValidateStoreUserRequest(g rpf.GINGroupProcessor, opts shared.TAddinCallbackOptions) rpf.GINGroupProcessor

Global initial store/user request validation

func AddinRequestParamsOrgStore added in v0.0.7

func AddinRequestParamsOrgStore(g rpf.GINGroupProcessor) rpf.GINGroupProcessor

Extract GIN Request Parameters for a organization/store request

func AddinRequestParamsStore

func AddinRequestParamsStore(g rpf.GINGroupProcessor) rpf.GINGroupProcessor

Extract GIN Request Parameters for a store request

func AddinRequestParamsStoreUser

func AddinRequestParamsStoreUser(g rpf.GINGroupProcessor) rpf.GINGroupProcessor

Extract GIN Request Parameters for a store/user request

func AddinRequestStoreUserRegistry

func AddinRequestStoreUserRegistry(g rpf.GINGroupProcessor) rpf.GINGroupProcessor

func AssertFolderObject

func AssertFolderObject(r rpf.GINProcessor, c *gin.Context)

func AssertStoreOpen

func AssertStoreOpen(r rpf.GINProcessor, c *gin.Context)

func AssertStoreUnblocked

func AssertStoreUnblocked(r rpf.GINProcessor, c *gin.Context)

func AssertStoreUserUnblocked

func AssertStoreUserUnblocked(r rpf.GINProcessor, c *gin.Context)

func AssertUserHasAllRolesInStore

func AssertUserHasAllRolesInStore(r rpf.GINProcessor, c *gin.Context)

func AssertUserHasOneRoleInStore

func AssertUserHasOneRoleInStore(r rpf.GINProcessor, c *gin.Context)

func BaseValidateStoreRequest

func BaseValidateStoreRequest(g rpf.GINGroupProcessor, opts shared.TAddinCallbackOptions) rpf.GINGroupProcessor

COMMON //

func CreateFromJSON

func CreateFromJSON(r rpf.GINProcessor, c *gin.Context)

func DBRegisterStoreWithUser

func DBRegisterStoreWithUser(r rpf.GINProcessor, c *gin.Context)

func DBRegisterUserWithExistingStore

func DBRegisterUserWithExistingStore(r rpf.GINProcessor, c *gin.Context)

func DBRegisterUserWithNewStore

func DBRegisterUserWithNewStore(r rpf.GINProcessor, c *gin.Context)

func DBRegistryUpdateFromUser

func DBRegistryUpdateFromUser(r rpf.GINProcessor, c *gin.Context)

func DBStoreDeleteByID added in v0.0.7

func DBStoreDeleteByID(r rpf.GINProcessor, c *gin.Context)

func DBStoreGetByID added in v0.0.7

func DBStoreGetByID(r rpf.GINProcessor, c *gin.Context)

func DBStoreInsert added in v0.0.7

func DBStoreInsert(r rpf.GINProcessor, c *gin.Context)

func DBStoreMarkDeletedByID added in v0.0.7

func DBStoreMarkDeletedByID(r rpf.GINProcessor, c *gin.Context)

func DBStoreUpdate added in v0.0.7

func DBStoreUpdate(r rpf.GINProcessor, c *gin.Context)

func DBStoreUserGet added in v0.0.7

func DBStoreUserGet(r rpf.GINProcessor, c *gin.Context)

func DBStoreUserUpdate added in v0.0.7

func DBStoreUserUpdate(r rpf.GINProcessor, c *gin.Context)

func DBStoreUsersDeleteAll added in v0.0.7

func DBStoreUsersDeleteAll(r rpf.GINProcessor, c *gin.Context)

func DBStoreUsersList added in v0.0.7

func DBStoreUsersList(r rpf.GINProcessor, c *gin.Context)

func DBUserStoreGet added in v0.0.7

func DBUserStoreGet(r rpf.GINProcessor, c *gin.Context)

func ExportStoreBasic

func ExportStoreBasic(r rpf.GINProcessor, c *gin.Context)

func ExportStoreFull

func ExportStoreFull(r rpf.GINProcessor, c *gin.Context)

func ExtractGINParameterStore

func ExtractGINParameterStore(r rpf.GINProcessor, c *gin.Context)

func GroupAssertUserStorePermissions

func GroupAssertUserStorePermissions(parent rpf.GINProcessor, userid uint64, storeid uint64, roles []uint32, checkUserLock bool, checkUserIsAdmin bool) *rpf.ProcessorGroup

func GroupOrgStoreRequestInitialize

func GroupOrgStoreRequestInitialize(parent rpf.GINProcessor, roles []uint32, loadRegistry, checkStoreLock bool) *rpf.ProcessorGroup

func GroupStoreRequestInitialize

func GroupStoreRequestInitialize(parent rpf.GINProcessor, storeID uint64, roles []uint32) *rpf.ProcessorGroup

func GroupStoreUserAdminRequestInitialize

func GroupStoreUserAdminRequestInitialize(parent rpf.GINProcessor, roles []uint32) *rpf.ProcessorGroup

func GroupStoreUserRequestInitialize

func GroupStoreUserRequestInitialize(parent rpf.GINProcessor, roles []uint32) *rpf.ProcessorGroup

func UpdateFromJSON

func UpdateFromJSON(r rpf.GINProcessor, c *gin.Context)

Types

type BasicStoreToJSON

type BasicStoreToJSON struct {
	ID    uint64
	Store *orm.Store // Store Object
}

func (*BasicStoreToJSON) MarshalJSON

func (o *BasicStoreToJSON) MarshalJSON() ([]byte, error)

JSON Marshaller

type FullStoreToJSON

type FullStoreToJSON struct {
	Registry *orm.OrgStoreRegistry // Organization Store Registry
	Store    *orm.Store            // Store Object
}

func (*FullStoreToJSON) MarshalJSON

func (o *FullStoreToJSON) MarshalJSON() ([]byte, error)

JSON Marshaller

Jump to

Keyboard shortcuts

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