action

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

cSpell:ignore ferreira, paulo

Index

Constants

View Source
const STATE_PROCESSED = 0x00ff // Action Processed
View Source
const STATE_QUEUED = 0x0010 // Action Queued
View Source
const STATE_REGISTERED = 0x0000 // DEFAULT: Action Registered

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	// contains filtered or unexported fields
}

Invitation Object Definition

func NewAction

func NewAction(t string, creator uint64) *Action

func NewActionWithGUID

func NewActionWithGUID(guid, t string, creator uint64) *Action

func (*Action) ByGUID

func (o *Action) ByGUID(db *sql.DB, guid string) error

ByGUID Finds Entry By GUID

func (*Action) Created

func (o *Action) Created() *time.Time

func (*Action) Creator

func (o *Action) Creator() uint64

func (*Action) Flush

func (o *Action) Flush(db sqlf.Executor, force bool) error

func (*Action) GUID

func (o *Action) GUID() string

func (*Action) IsDirty

func (o *Action) IsDirty() bool

IsDirty Have the Object Properties Changed since last Serialization?

func (*Action) IsNew

func (o *Action) IsNew() bool

func (*Action) IsValid

func (o *Action) IsValid() bool

func (*Action) Parameters

func (o *Action) Parameters() *maps.MapWrapper

func (*Action) Parent

func (o *Action) Parent() string

func (*Action) Properties

func (o *Action) Properties() *maps.MapWrapper

func (*Action) SetCreator

func (o *Action) SetCreator(id uint64) (uint64, error)

func (*Action) SetParent

func (o *Action) SetParent(guid string) (string, error)

func (*Action) SetState

func (o *Action) SetState(state uint16) error

func (*Action) SetStateProcessed

func (o *Action) SetStateProcessed() error

func (*Action) SetStateQueued

func (o *Action) SetStateQueued() error

func (*Action) State

func (o *Action) State() uint16

func (*Action) Type

func (o *Action) Type() string

Jump to

Keyboard shortcuts

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