parameter

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: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NameQueryParam       = "name"
	SecureQueryParam     = "secure"
	ConfigFileQueryParam = "configFile"
	IDQueryParam         = "id"
	ValueQueryParam      = "value"
)

Variables

View Source
var (
	HiddenField = "********"
)

Functions

func ParametersGroupBy

func ParametersGroupBy() string

ParametersGroupBy ...

Types

type TOParameter

type TOParameter struct {
	api.APIInfoImpl `json:"-"`
	tc.ParameterNullable
}

we need a type alias to define functions on

func (*TOParameter) AllowMultipleCreates

func (v *TOParameter) AllowMultipleCreates() bool

AllowMultipleCreates indicates whether an array can be POSTed using the shared Create handler

func (*TOParameter) Create

func (pa *TOParameter) Create() (error, error, int)

func (*TOParameter) Delete

func (pa *TOParameter) Delete() (error, error, int)

func (*TOParameter) DeleteQuery

func (v *TOParameter) DeleteQuery() string

func (*TOParameter) GetAuditName

func (param *TOParameter) GetAuditName() string

func (TOParameter) GetKeyFieldsInfo

func (param TOParameter) GetKeyFieldsInfo() []api.KeyFieldInfo

func (TOParameter) GetKeys

func (param TOParameter) GetKeys() (map[string]interface{}, bool)

Implementation of the Identifier, Validator interface functions

func (*TOParameter) GetLastUpdated

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

func (*TOParameter) GetType

func (param *TOParameter) GetType() string

func (*TOParameter) InsertQuery

func (v *TOParameter) InsertQuery() string

func (*TOParameter) NewReadObj

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

func (*TOParameter) ParamColumns

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

func (*TOParameter) Read

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

func (*TOParameter) SelectMaxLastUpdatedQuery

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

func (*TOParameter) SelectQuery

func (v *TOParameter) SelectQuery() string

func (*TOParameter) SetKeys

func (param *TOParameter) SetKeys(keys map[string]interface{})

func (*TOParameter) SetLastUpdated

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

func (*TOParameter) Update

func (pa *TOParameter) Update(h http.Header) (error, error, int)

func (*TOParameter) UpdateQuery

func (v *TOParameter) UpdateQuery() string

func (TOParameter) Validate

func (param TOParameter) Validate() (error, error)

Validate fulfills the api.Validator interface

Jump to

Keyboard shortcuts

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