Documentation ¶
Index ¶
- type TOStatus
- func (st *TOStatus) Create() (error, error, int)
- func (st *TOStatus) Delete() (error, error, int)
- func (v *TOStatus) DeleteQuery() string
- func (status TOStatus) GetAuditName() string
- func (status TOStatus) GetKeyFieldsInfo() []api.KeyFieldInfo
- func (status TOStatus) GetKeys() (map[string]interface{}, bool)
- func (v *TOStatus) GetLastUpdated() (*time.Time, bool, error)
- func (status TOStatus) GetType() string
- func (v *TOStatus) InsertQuery() string
- func (v *TOStatus) NewReadObj() interface{}
- func (v *TOStatus) ParamColumns() map[string]dbhelpers.WhereColumnInfo
- func (st *TOStatus) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)
- func (v *TOStatus) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string
- func (v *TOStatus) SelectQuery() string
- func (status *TOStatus) SetKeys(keys map[string]interface{})
- func (v *TOStatus) SetLastUpdated(t tc.TimeNoMod)
- func (st *TOStatus) Update(h http.Header) (error, error, int)
- func (v *TOStatus) UpdateQuery() string
- func (status TOStatus) Validate() error
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 SQLDescription sql.NullString `json:"-" db:"description"` }
we need a type alias to define functions on
func (*TOStatus) DeleteQuery ¶
func (TOStatus) GetAuditName ¶
func (TOStatus) GetKeyFieldsInfo ¶
func (status TOStatus) GetKeyFieldsInfo() []api.KeyFieldInfo
func (*TOStatus) InsertQuery ¶
func (*TOStatus) NewReadObj ¶
func (v *TOStatus) NewReadObj() interface{}
func (*TOStatus) ParamColumns ¶
func (v *TOStatus) ParamColumns() map[string]dbhelpers.WhereColumnInfo
func (*TOStatus) SelectMaxLastUpdatedQuery ¶
func (*TOStatus) SelectQuery ¶
func (*TOStatus) SetLastUpdated ¶
func (v *TOStatus) SetLastUpdated(t tc.TimeNoMod)
func (*TOStatus) UpdateQuery ¶
Click to show internal directories.
Click to hide internal directories.