Documentation ¶
Index ¶
- type TODivision
- func (dv *TODivision) Create() (error, error, int)
- func (dv *TODivision) Delete() (error, error, int)
- func (v *TODivision) DeleteQuery() string
- func (division TODivision) GetAuditName() string
- func (division TODivision) GetKeyFieldsInfo() []api.KeyFieldInfo
- func (division TODivision) GetKeys() (map[string]interface{}, bool)
- func (v *TODivision) GetLastUpdated() (*time.Time, bool, error)
- func (division TODivision) GetType() string
- func (v *TODivision) InsertQuery() string
- func (v *TODivision) NewReadObj() interface{}
- func (v *TODivision) ParamColumns() map[string]dbhelpers.WhereColumnInfo
- func (dv *TODivision) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)
- func (v *TODivision) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string
- func (v *TODivision) SelectQuery() string
- func (division *TODivision) SetKeys(keys map[string]interface{})
- func (v *TODivision) SetLastUpdated(t tc.TimeNoMod)
- func (dv *TODivision) Update(h http.Header) (error, error, int)
- func (v *TODivision) UpdateQuery() string
- func (division TODivision) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TODivision ¶
type TODivision struct { api.APIInfoImpl `json:"-"` tc.DivisionNullable }
we need a type alias to define functions on
func (*TODivision) Create ¶
func (dv *TODivision) Create() (error, error, int)
func (*TODivision) Delete ¶
func (dv *TODivision) Delete() (error, error, int)
func (*TODivision) DeleteQuery ¶
func (v *TODivision) DeleteQuery() string
func (TODivision) GetAuditName ¶
func (division TODivision) GetAuditName() string
func (TODivision) GetKeyFieldsInfo ¶
func (division TODivision) GetKeyFieldsInfo() []api.KeyFieldInfo
func (TODivision) GetKeys ¶
func (division TODivision) GetKeys() (map[string]interface{}, bool)
Implementation of the Identifier, Validator interface functions
func (TODivision) GetType ¶
func (division TODivision) GetType() string
func (*TODivision) InsertQuery ¶
func (v *TODivision) InsertQuery() string
func (*TODivision) NewReadObj ¶
func (v *TODivision) NewReadObj() interface{}
func (*TODivision) ParamColumns ¶
func (v *TODivision) ParamColumns() map[string]dbhelpers.WhereColumnInfo
func (*TODivision) Read ¶
func (*TODivision) SelectMaxLastUpdatedQuery ¶
func (v *TODivision) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string
func (*TODivision) SelectQuery ¶
func (v *TODivision) SelectQuery() string
func (*TODivision) SetKeys ¶
func (division *TODivision) SetKeys(keys map[string]interface{})
func (*TODivision) SetLastUpdated ¶
func (v *TODivision) SetLastUpdated(t tc.TimeNoMod)
func (*TODivision) UpdateQuery ¶
func (v *TODivision) UpdateQuery() string
func (TODivision) Validate ¶
func (division TODivision) Validate() error
Click to show internal directories.
Click to hide internal directories.