status

package
v7.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TOStatus

type TOStatus struct {
	api.APIInfoImpl `json:"-"`
	tc.StatusNullable
}

we need a type alias to define functions on

func (*TOStatus) Create

func (st *TOStatus) Create() (error, error, int)

func (*TOStatus) Delete

func (st *TOStatus) Delete() (error, error, int)

func (*TOStatus) DeleteQuery

func (v *TOStatus) DeleteQuery() string

func (TOStatus) GetAuditName

func (status TOStatus) GetAuditName() string

func (TOStatus) GetKeyFieldsInfo

func (status TOStatus) GetKeyFieldsInfo() []api.KeyFieldInfo

func (TOStatus) GetKeys

func (status TOStatus) GetKeys() (map[string]interface{}, bool)

Implementation of the Identifier, Validator interface functions

func (*TOStatus) GetLastUpdated

func (v *TOStatus) GetLastUpdated() (*time.Time, bool, error)

func (TOStatus) GetType

func (status TOStatus) GetType() string

func (*TOStatus) InsertQuery

func (v *TOStatus) InsertQuery() string

func (*TOStatus) NewReadObj

func (v *TOStatus) NewReadObj() interface{}

func (*TOStatus) ParamColumns

func (v *TOStatus) ParamColumns() map[string]dbhelpers.WhereColumnInfo

func (*TOStatus) Read

func (st *TOStatus) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)

func (*TOStatus) SelectMaxLastUpdatedQuery

func (v *TOStatus) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string

func (*TOStatus) SelectQuery

func (v *TOStatus) SelectQuery() string

func (*TOStatus) SetKeys

func (status *TOStatus) SetKeys(keys map[string]interface{})

func (*TOStatus) SetLastUpdated

func (v *TOStatus) SetLastUpdated(t tc.TimeNoMod)

func (*TOStatus) Update

func (st *TOStatus) Update(h http.Header) (error, error, int)

func (*TOStatus) UpdateQuery

func (v *TOStatus) UpdateQuery() string

func (TOStatus) Validate

func (status TOStatus) Validate() (error, error)

Jump to

Keyboard shortcuts

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