Documentation ¶
Index ¶
- Constants
- func CreateProfileParameter(w http.ResponseWriter, r *http.Request)
- func DeleteProfileParameter(w http.ResponseWriter, r *http.Request)
- func GetProfileID(w http.ResponseWriter, r *http.Request)
- func GetProfileName(w http.ResponseWriter, r *http.Request)
- func GetProfileParameter(w http.ResponseWriter, r *http.Request)
- func PostParamProfile(w http.ResponseWriter, r *http.Request)
- func PostProfileParam(w http.ResponseWriter, r *http.Request)
- func PostProfileParamsByID(w http.ResponseWriter, r *http.Request)
- func PostProfileParamsByName(w http.ResponseWriter, r *http.Request)
- type TOProfileParameter
- func (v *TOProfileParameter) AllowMultipleCreates() bool
- func (pp *TOProfileParameter) Create() (error, error, int)
- func (pp *TOProfileParameter) Delete() (error, error, int)
- func (v *TOProfileParameter) DeleteQuery() string
- func (pp *TOProfileParameter) GetAuditName() string
- func (pp TOProfileParameter) GetKeyFieldsInfo() []api.KeyFieldInfo
- func (pp TOProfileParameter) GetKeys() (map[string]interface{}, bool)
- func (pp *TOProfileParameter) GetType() string
- func (v *TOProfileParameter) NewReadObj() interface{}
- func (v *TOProfileParameter) ParamColumns() map[string]dbhelpers.WhereColumnInfo
- func (pp *TOProfileParameter) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)
- func (v *TOProfileParameter) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string
- func (v *TOProfileParameter) SelectQuery() string
- func (pp *TOProfileParameter) SetKeys(keys map[string]interface{})
- func (pp *TOProfileParameter) Update(h http.Header) (error, error, int)
- func (pp *TOProfileParameter) Validate() (error, error)
Constants ¶
const ( ProfileIDQueryParam = "profileId" ParameterIDQueryParam = "parameterId" )
Variables ¶
This section is empty.
Functions ¶
func CreateProfileParameter ¶
func CreateProfileParameter(w http.ResponseWriter, r *http.Request)
func DeleteProfileParameter ¶
func DeleteProfileParameter(w http.ResponseWriter, r *http.Request)
func GetProfileID ¶
func GetProfileID(w http.ResponseWriter, r *http.Request)
func GetProfileName ¶
func GetProfileName(w http.ResponseWriter, r *http.Request)
func GetProfileParameter ¶
func GetProfileParameter(w http.ResponseWriter, r *http.Request)
func PostParamProfile ¶
func PostParamProfile(w http.ResponseWriter, r *http.Request)
func PostProfileParam ¶
func PostProfileParam(w http.ResponseWriter, r *http.Request)
func PostProfileParamsByID ¶
func PostProfileParamsByID(w http.ResponseWriter, r *http.Request)
func PostProfileParamsByName ¶
func PostProfileParamsByName(w http.ResponseWriter, r *http.Request)
Types ¶
type TOProfileParameter ¶
type TOProfileParameter struct { api.APIInfoImpl `json:"-"` tc.ProfileParameterNullable }
we need a type alias to define functions on
func (*TOProfileParameter) AllowMultipleCreates ¶
func (v *TOProfileParameter) AllowMultipleCreates() bool
AllowMultipleCreates indicates whether an array can be POSTed using the shared Create handler
func (*TOProfileParameter) Create ¶
func (pp *TOProfileParameter) Create() (error, error, int)
The TOProfileParameter implementation of the Creator interface all implementations of Creator should use transactions and return the proper errorType ParsePQUniqueConstraintError is used to determine if a profileparameter with conflicting values exists if so, it will return an errorType of DataConflict and the type should be appended to the generic error message returned The insert sql returns the profile and lastUpdated values of the newly inserted profileparameter and have to be added to the struct
func (*TOProfileParameter) DeleteQuery ¶
func (v *TOProfileParameter) DeleteQuery() string
func (*TOProfileParameter) GetAuditName ¶
func (pp *TOProfileParameter) GetAuditName() string
func (TOProfileParameter) GetKeyFieldsInfo ¶
func (pp TOProfileParameter) GetKeyFieldsInfo() []api.KeyFieldInfo
func (TOProfileParameter) GetKeys ¶
func (pp TOProfileParameter) GetKeys() (map[string]interface{}, bool)
Implementation of the Identifier, Validator interface functions
func (*TOProfileParameter) GetType ¶
func (pp *TOProfileParameter) GetType() string
func (*TOProfileParameter) NewReadObj ¶
func (v *TOProfileParameter) NewReadObj() interface{}
func (*TOProfileParameter) ParamColumns ¶
func (v *TOProfileParameter) ParamColumns() map[string]dbhelpers.WhereColumnInfo
func (*TOProfileParameter) SelectMaxLastUpdatedQuery ¶
func (v *TOProfileParameter) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string
func (*TOProfileParameter) SelectQuery ¶
func (v *TOProfileParameter) SelectQuery() string
func (*TOProfileParameter) SetKeys ¶
func (pp *TOProfileParameter) SetKeys(keys map[string]interface{})
func (*TOProfileParameter) Validate ¶
func (pp *TOProfileParameter) Validate() (error, error)
Validate fulfills the api.Validator interface.