Documentation
¶
Overview ¶
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
generated by stacks/gong/go/models/orm_file_per_struct_back_repo.go
do not modify, generated file
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
Index ¶
- Variables
- func CopyBackRepoToBackRepoData(backRepo *BackRepoStruct, backRepoData *BackRepoData)
- func GetID[T models.Gongstruct](stage *models.Stage, backRepo *BackRepoStruct, instance *T) (id int)
- func GetIDPointer[T models.PointerToGongstruct](stage *models.Stage, backRepo *BackRepoStruct, instance T) (id int)
- func GetInstanceDBFromInstance[T models.Gongstruct, T2 GongstructDB](stage *models.Stage, backRepo *BackRepoStruct, instance *T) (ret *T2)
- type BackRepoCellBooleanStruct
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) Backup(dirPath string)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) BackupXL(file *xlsx.File)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseOne() (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseOneInstance(cellbooleanDB *CellBooleanDB) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellbooleanDB *CellBooleanDB) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseOneInstance(cellboolean *models.CellBoolean) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellboolean *models.CellBoolean) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) GetCellBooleanDBFromCellBooleanPtr(cellboolean *models.CellBoolean) (cellbooleanDB *CellBooleanDB)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) GetDB() db.DBInterface
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) GetStage() (stage *models.Stage)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellboolean *models.CellBoolean) (Error error)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) RestorePhaseOne(dirPath string)
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) RestorePhaseTwo()
- func (backRepoCellBoolean *BackRepoCellBooleanStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoCellFloat64Struct
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) Backup(dirPath string)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) BackupXL(file *xlsx.File)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseOne() (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseOneInstance(cellfloat64DB *CellFloat64DB) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellfloat64DB *CellFloat64DB) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseOneInstance(cellfloat64 *models.CellFloat64) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellfloat64 *models.CellFloat64) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) GetCellFloat64DBFromCellFloat64Ptr(cellfloat64 *models.CellFloat64) (cellfloat64DB *CellFloat64DB)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) GetDB() db.DBInterface
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) GetStage() (stage *models.Stage)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellfloat64 *models.CellFloat64) (Error error)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) RestorePhaseOne(dirPath string)
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) RestorePhaseTwo()
- func (backRepoCellFloat64 *BackRepoCellFloat64Struct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoCellIconStruct
- func (backRepoCellIcon *BackRepoCellIconStruct) Backup(dirPath string)
- func (backRepoCellIcon *BackRepoCellIconStruct) BackupXL(file *xlsx.File)
- func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseOne() (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseOneInstance(celliconDB *CellIconDB) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, celliconDB *CellIconDB) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseOneInstance(cellicon *models.CellIcon) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellicon *models.CellIcon) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) GetCellIconDBFromCellIconPtr(cellicon *models.CellIcon) (celliconDB *CellIconDB)
- func (backRepoCellIcon *BackRepoCellIconStruct) GetDB() db.DBInterface
- func (backRepoCellIcon *BackRepoCellIconStruct) GetStage() (stage *models.Stage)
- func (backRepoCellIcon *BackRepoCellIconStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellicon *models.CellIcon) (Error error)
- func (backRepoCellIcon *BackRepoCellIconStruct) RestorePhaseOne(dirPath string)
- func (backRepoCellIcon *BackRepoCellIconStruct) RestorePhaseTwo()
- func (backRepoCellIcon *BackRepoCellIconStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoCellIntStruct
- func (backRepoCellInt *BackRepoCellIntStruct) Backup(dirPath string)
- func (backRepoCellInt *BackRepoCellIntStruct) BackupXL(file *xlsx.File)
- func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseOne() (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseOneInstance(cellintDB *CellIntDB) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellintDB *CellIntDB) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseOneInstance(cellint *models.CellInt) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellint *models.CellInt) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) GetCellIntDBFromCellIntPtr(cellint *models.CellInt) (cellintDB *CellIntDB)
- func (backRepoCellInt *BackRepoCellIntStruct) GetDB() db.DBInterface
- func (backRepoCellInt *BackRepoCellIntStruct) GetStage() (stage *models.Stage)
- func (backRepoCellInt *BackRepoCellIntStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellint *models.CellInt) (Error error)
- func (backRepoCellInt *BackRepoCellIntStruct) RestorePhaseOne(dirPath string)
- func (backRepoCellInt *BackRepoCellIntStruct) RestorePhaseTwo()
- func (backRepoCellInt *BackRepoCellIntStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoCellStringStruct
- func (backRepoCellString *BackRepoCellStringStruct) Backup(dirPath string)
- func (backRepoCellString *BackRepoCellStringStruct) BackupXL(file *xlsx.File)
- func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseOne() (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseOneInstance(cellstringDB *CellStringDB) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellstringDB *CellStringDB) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseOneInstance(cellstring *models.CellString) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellstring *models.CellString) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) GetCellStringDBFromCellStringPtr(cellstring *models.CellString) (cellstringDB *CellStringDB)
- func (backRepoCellString *BackRepoCellStringStruct) GetDB() db.DBInterface
- func (backRepoCellString *BackRepoCellStringStruct) GetStage() (stage *models.Stage)
- func (backRepoCellString *BackRepoCellStringStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellstring *models.CellString) (Error error)
- func (backRepoCellString *BackRepoCellStringStruct) RestorePhaseOne(dirPath string)
- func (backRepoCellString *BackRepoCellStringStruct) RestorePhaseTwo()
- func (backRepoCellString *BackRepoCellStringStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoCellStruct
- func (backRepoCell *BackRepoCellStruct) Backup(dirPath string)
- func (backRepoCell *BackRepoCellStruct) BackupXL(file *xlsx.File)
- func (backRepoCell *BackRepoCellStruct) CheckoutPhaseOne() (Error error)
- func (backRepoCell *BackRepoCellStruct) CheckoutPhaseOneInstance(cellDB *CellDB) (Error error)
- func (backRepoCell *BackRepoCellStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCell *BackRepoCellStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellDB *CellDB) (Error error)
- func (backRepoCell *BackRepoCellStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCell *BackRepoCellStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoCell *BackRepoCellStruct) CommitPhaseOneInstance(cell *models.Cell) (Error error)
- func (backRepoCell *BackRepoCellStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCell *BackRepoCellStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cell *models.Cell) (Error error)
- func (backRepoCell *BackRepoCellStruct) GetCellDBFromCellPtr(cell *models.Cell) (cellDB *CellDB)
- func (backRepoCell *BackRepoCellStruct) GetDB() db.DBInterface
- func (backRepoCell *BackRepoCellStruct) GetStage() (stage *models.Stage)
- func (backRepoCell *BackRepoCellStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCell *BackRepoCellStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cell *models.Cell) (Error error)
- func (backRepoCell *BackRepoCellStruct) RestorePhaseOne(dirPath string)
- func (backRepoCell *BackRepoCellStruct) RestorePhaseTwo()
- func (backRepoCell *BackRepoCellStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoCheckBoxStruct
- func (backRepoCheckBox *BackRepoCheckBoxStruct) Backup(dirPath string)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) BackupXL(file *xlsx.File)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseOne() (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseOneInstance(checkboxDB *CheckBoxDB) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, checkboxDB *CheckBoxDB) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseOneInstance(checkbox *models.CheckBox) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, checkbox *models.CheckBox) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) GetCheckBoxDBFromCheckBoxPtr(checkbox *models.CheckBox) (checkboxDB *CheckBoxDB)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) GetDB() db.DBInterface
- func (backRepoCheckBox *BackRepoCheckBoxStruct) GetStage() (stage *models.Stage)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, checkbox *models.CheckBox) (Error error)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) RestorePhaseOne(dirPath string)
- func (backRepoCheckBox *BackRepoCheckBoxStruct) RestorePhaseTwo()
- func (backRepoCheckBox *BackRepoCheckBoxStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoData
- type BackRepoDisplayedColumnStruct
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) Backup(dirPath string)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) BackupXL(file *xlsx.File)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseOne() (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseOneInstance(displayedcolumnDB *DisplayedColumnDB) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, displayedcolumnDB *DisplayedColumnDB) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseOneInstance(displayedcolumn *models.DisplayedColumn) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, displayedcolumn *models.DisplayedColumn) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) GetDB() db.DBInterface
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) GetDisplayedColumnDBFromDisplayedColumnPtr(displayedcolumn *models.DisplayedColumn) (displayedcolumnDB *DisplayedColumnDB)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) GetStage() (stage *models.Stage)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, displayedcolumn *models.DisplayedColumn) (Error error)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) RestorePhaseOne(dirPath string)
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) RestorePhaseTwo()
- func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormDivStruct
- func (backRepoFormDiv *BackRepoFormDivStruct) Backup(dirPath string)
- func (backRepoFormDiv *BackRepoFormDivStruct) BackupXL(file *xlsx.File)
- func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseOneInstance(formdivDB *FormDivDB) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formdivDB *FormDivDB) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseOneInstance(formdiv *models.FormDiv) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formdiv *models.FormDiv) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) GetDB() db.DBInterface
- func (backRepoFormDiv *BackRepoFormDivStruct) GetFormDivDBFromFormDivPtr(formdiv *models.FormDiv) (formdivDB *FormDivDB)
- func (backRepoFormDiv *BackRepoFormDivStruct) GetStage() (stage *models.Stage)
- func (backRepoFormDiv *BackRepoFormDivStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formdiv *models.FormDiv) (Error error)
- func (backRepoFormDiv *BackRepoFormDivStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormDiv *BackRepoFormDivStruct) RestorePhaseTwo()
- func (backRepoFormDiv *BackRepoFormDivStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormEditAssocButtonStruct
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) Backup(dirPath string)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) BackupXL(file *xlsx.File)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseOneInstance(formeditassocbuttonDB *FormEditAssocButtonDB) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formeditassocbuttonDB *FormEditAssocButtonDB) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseOneInstance(formeditassocbutton *models.FormEditAssocButton) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetDB() db.DBInterface
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetFormEditAssocButtonDBFromFormEditAssocButtonPtr(formeditassocbutton *models.FormEditAssocButton) (formeditassocbuttonDB *FormEditAssocButtonDB)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetStage() (stage *models.Stage)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestorePhaseTwo()
- func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldDateStruct
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) Backup(dirPath string)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseOneInstance(formfielddateDB *FormFieldDateDB) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfielddateDB *FormFieldDateDB) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseOneInstance(formfielddate *models.FormFieldDate) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfielddate *models.FormFieldDate) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetDB() db.DBInterface
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetFormFieldDateDBFromFormFieldDatePtr(formfielddate *models.FormFieldDate) (formfielddateDB *FormFieldDateDB)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetStage() (stage *models.Stage)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfielddate *models.FormFieldDate) (Error error)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestorePhaseTwo()
- func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldDateTimeStruct
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) Backup(dirPath string)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseOneInstance(formfielddatetimeDB *FormFieldDateTimeDB) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfielddatetimeDB *FormFieldDateTimeDB) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseOneInstance(formfielddatetime *models.FormFieldDateTime) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetDB() db.DBInterface
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetFormFieldDateTimeDBFromFormFieldDateTimePtr(formfielddatetime *models.FormFieldDateTime) (formfielddatetimeDB *FormFieldDateTimeDB)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetStage() (stage *models.Stage)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestorePhaseTwo()
- func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldFloat64Struct
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) Backup(dirPath string)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseOneInstance(formfieldfloat64DB *FormFieldFloat64DB) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldfloat64DB *FormFieldFloat64DB) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseOneInstance(formfieldfloat64 *models.FormFieldFloat64) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldfloat64 *models.FormFieldFloat64) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetDB() db.DBInterface
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetFormFieldFloat64DBFromFormFieldFloat64Ptr(formfieldfloat64 *models.FormFieldFloat64) (formfieldfloat64DB *FormFieldFloat64DB)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetStage() (stage *models.Stage)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldfloat64 *models.FormFieldFloat64) (Error error)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestorePhaseTwo()
- func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldIntStruct
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) Backup(dirPath string)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseOneInstance(formfieldintDB *FormFieldIntDB) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldintDB *FormFieldIntDB) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseOneInstance(formfieldint *models.FormFieldInt) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldint *models.FormFieldInt) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetDB() db.DBInterface
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetFormFieldIntDBFromFormFieldIntPtr(formfieldint *models.FormFieldInt) (formfieldintDB *FormFieldIntDB)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetStage() (stage *models.Stage)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldint *models.FormFieldInt) (Error error)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestorePhaseTwo()
- func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldSelectStruct
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) Backup(dirPath string)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseOneInstance(formfieldselectDB *FormFieldSelectDB) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldselectDB *FormFieldSelectDB) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseOneInstance(formfieldselect *models.FormFieldSelect) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldselect *models.FormFieldSelect) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetDB() db.DBInterface
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetFormFieldSelectDBFromFormFieldSelectPtr(formfieldselect *models.FormFieldSelect) (formfieldselectDB *FormFieldSelectDB)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetStage() (stage *models.Stage)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldselect *models.FormFieldSelect) (Error error)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestorePhaseTwo()
- func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldStringStruct
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) Backup(dirPath string)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseOneInstance(formfieldstringDB *FormFieldStringDB) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldstringDB *FormFieldStringDB) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseOneInstance(formfieldstring *models.FormFieldString) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldstring *models.FormFieldString) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetDB() db.DBInterface
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetFormFieldStringDBFromFormFieldStringPtr(formfieldstring *models.FormFieldString) (formfieldstringDB *FormFieldStringDB)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetStage() (stage *models.Stage)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldstring *models.FormFieldString) (Error error)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestorePhaseTwo()
- func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldStruct
- func (backRepoFormField *BackRepoFormFieldStruct) Backup(dirPath string)
- func (backRepoFormField *BackRepoFormFieldStruct) BackupXL(file *xlsx.File)
- func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseOneInstance(formfieldDB *FormFieldDB) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldDB *FormFieldDB) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseOneInstance(formfield *models.FormField) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfield *models.FormField) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) GetDB() db.DBInterface
- func (backRepoFormField *BackRepoFormFieldStruct) GetFormFieldDBFromFormFieldPtr(formfield *models.FormField) (formfieldDB *FormFieldDB)
- func (backRepoFormField *BackRepoFormFieldStruct) GetStage() (stage *models.Stage)
- func (backRepoFormField *BackRepoFormFieldStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfield *models.FormField) (Error error)
- func (backRepoFormField *BackRepoFormFieldStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormField *BackRepoFormFieldStruct) RestorePhaseTwo()
- func (backRepoFormField *BackRepoFormFieldStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormFieldTimeStruct
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) Backup(dirPath string)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) BackupXL(file *xlsx.File)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseOneInstance(formfieldtimeDB *FormFieldTimeDB) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldtimeDB *FormFieldTimeDB) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseOneInstance(formfieldtime *models.FormFieldTime) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldtime *models.FormFieldTime) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetDB() db.DBInterface
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetFormFieldTimeDBFromFormFieldTimePtr(formfieldtime *models.FormFieldTime) (formfieldtimeDB *FormFieldTimeDB)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetStage() (stage *models.Stage)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldtime *models.FormFieldTime) (Error error)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestorePhaseTwo()
- func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormGroupStruct
- func (backRepoFormGroup *BackRepoFormGroupStruct) Backup(dirPath string)
- func (backRepoFormGroup *BackRepoFormGroupStruct) BackupXL(file *xlsx.File)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseOneInstance(formgroupDB *FormGroupDB) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formgroupDB *FormGroupDB) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseOneInstance(formgroup *models.FormGroup) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formgroup *models.FormGroup) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) GetDB() db.DBInterface
- func (backRepoFormGroup *BackRepoFormGroupStruct) GetFormGroupDBFromFormGroupPtr(formgroup *models.FormGroup) (formgroupDB *FormGroupDB)
- func (backRepoFormGroup *BackRepoFormGroupStruct) GetStage() (stage *models.Stage)
- func (backRepoFormGroup *BackRepoFormGroupStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formgroup *models.FormGroup) (Error error)
- func (backRepoFormGroup *BackRepoFormGroupStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormGroup *BackRepoFormGroupStruct) RestorePhaseTwo()
- func (backRepoFormGroup *BackRepoFormGroupStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoFormSortAssocButtonStruct
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) Backup(dirPath string)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) BackupXL(file *xlsx.File)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseOne() (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseOneInstance(formsortassocbuttonDB *FormSortAssocButtonDB) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formsortassocbuttonDB *FormSortAssocButtonDB) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseOneInstance(formsortassocbutton *models.FormSortAssocButton) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetDB() db.DBInterface
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetFormSortAssocButtonDBFromFormSortAssocButtonPtr(formsortassocbutton *models.FormSortAssocButton) (formsortassocbuttonDB *FormSortAssocButtonDB)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetStage() (stage *models.Stage)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, ...) (Error error)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestorePhaseOne(dirPath string)
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestorePhaseTwo()
- func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoOptionStruct
- func (backRepoOption *BackRepoOptionStruct) Backup(dirPath string)
- func (backRepoOption *BackRepoOptionStruct) BackupXL(file *xlsx.File)
- func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseOne() (Error error)
- func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseOneInstance(optionDB *OptionDB) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, optionDB *OptionDB) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitPhaseOneInstance(option *models.Option) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoOption *BackRepoOptionStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, option *models.Option) (Error error)
- func (backRepoOption *BackRepoOptionStruct) GetDB() db.DBInterface
- func (backRepoOption *BackRepoOptionStruct) GetOptionDBFromOptionPtr(option *models.Option) (optionDB *OptionDB)
- func (backRepoOption *BackRepoOptionStruct) GetStage() (stage *models.Stage)
- func (backRepoOption *BackRepoOptionStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoOption *BackRepoOptionStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, option *models.Option) (Error error)
- func (backRepoOption *BackRepoOptionStruct) RestorePhaseOne(dirPath string)
- func (backRepoOption *BackRepoOptionStruct) RestorePhaseTwo()
- func (backRepoOption *BackRepoOptionStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoRowStruct
- func (backRepoRow *BackRepoRowStruct) Backup(dirPath string)
- func (backRepoRow *BackRepoRowStruct) BackupXL(file *xlsx.File)
- func (backRepoRow *BackRepoRowStruct) CheckoutPhaseOne() (Error error)
- func (backRepoRow *BackRepoRowStruct) CheckoutPhaseOneInstance(rowDB *RowDB) (Error error)
- func (backRepoRow *BackRepoRowStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRow *BackRepoRowStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rowDB *RowDB) (Error error)
- func (backRepoRow *BackRepoRowStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoRow *BackRepoRowStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoRow *BackRepoRowStruct) CommitPhaseOneInstance(row *models.Row) (Error error)
- func (backRepoRow *BackRepoRowStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoRow *BackRepoRowStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, row *models.Row) (Error error)
- func (backRepoRow *BackRepoRowStruct) GetDB() db.DBInterface
- func (backRepoRow *BackRepoRowStruct) GetRowDBFromRowPtr(row *models.Row) (rowDB *RowDB)
- func (backRepoRow *BackRepoRowStruct) GetStage() (stage *models.Stage)
- func (backRepoRow *BackRepoRowStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoRow *BackRepoRowStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, row *models.Row) (Error error)
- func (backRepoRow *BackRepoRowStruct) RestorePhaseOne(dirPath string)
- func (backRepoRow *BackRepoRowStruct) RestorePhaseTwo()
- func (backRepoRow *BackRepoRowStruct) RestoreXLPhaseOne(file *xlsx.File)
- type BackRepoStruct
- func (backRepo *BackRepoStruct) Backup(stage *models.Stage, dirPath string)
- func (backRepo *BackRepoStruct) BackupXL(stage *models.Stage, dirPath string)
- func (backRepo *BackRepoStruct) Checkout(stage *models.Stage)
- func (backRepo *BackRepoStruct) CheckoutCell(cell *models.Cell)
- func (backRepo *BackRepoStruct) CheckoutCellBoolean(cellboolean *models.CellBoolean)
- func (backRepo *BackRepoStruct) CheckoutCellFloat64(cellfloat64 *models.CellFloat64)
- func (backRepo *BackRepoStruct) CheckoutCellIcon(cellicon *models.CellIcon)
- func (backRepo *BackRepoStruct) CheckoutCellInt(cellint *models.CellInt)
- func (backRepo *BackRepoStruct) CheckoutCellString(cellstring *models.CellString)
- func (backRepo *BackRepoStruct) CheckoutCheckBox(checkbox *models.CheckBox)
- func (backRepo *BackRepoStruct) CheckoutDisplayedColumn(displayedcolumn *models.DisplayedColumn)
- func (backRepo *BackRepoStruct) CheckoutFormDiv(formdiv *models.FormDiv)
- func (backRepo *BackRepoStruct) CheckoutFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
- func (backRepo *BackRepoStruct) CheckoutFormField(formfield *models.FormField)
- func (backRepo *BackRepoStruct) CheckoutFormFieldDate(formfielddate *models.FormFieldDate)
- func (backRepo *BackRepoStruct) CheckoutFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
- func (backRepo *BackRepoStruct) CheckoutFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
- func (backRepo *BackRepoStruct) CheckoutFormFieldInt(formfieldint *models.FormFieldInt)
- func (backRepo *BackRepoStruct) CheckoutFormFieldSelect(formfieldselect *models.FormFieldSelect)
- func (backRepo *BackRepoStruct) CheckoutFormFieldString(formfieldstring *models.FormFieldString)
- func (backRepo *BackRepoStruct) CheckoutFormFieldTime(formfieldtime *models.FormFieldTime)
- func (backRepo *BackRepoStruct) CheckoutFormGroup(formgroup *models.FormGroup)
- func (backRepo *BackRepoStruct) CheckoutFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
- func (backRepo *BackRepoStruct) CheckoutOption(option *models.Option)
- func (backRepo *BackRepoStruct) CheckoutRow(row *models.Row)
- func (backRepo *BackRepoStruct) CheckoutTable(table *models.Table)
- func (backRepo *BackRepoStruct) Commit(stage *models.Stage)
- func (backRepo *BackRepoStruct) CommitCell(cell *models.Cell)
- func (backRepo *BackRepoStruct) CommitCellBoolean(cellboolean *models.CellBoolean)
- func (backRepo *BackRepoStruct) CommitCellFloat64(cellfloat64 *models.CellFloat64)
- func (backRepo *BackRepoStruct) CommitCellIcon(cellicon *models.CellIcon)
- func (backRepo *BackRepoStruct) CommitCellInt(cellint *models.CellInt)
- func (backRepo *BackRepoStruct) CommitCellString(cellstring *models.CellString)
- func (backRepo *BackRepoStruct) CommitCheckBox(checkbox *models.CheckBox)
- func (backRepo *BackRepoStruct) CommitDisplayedColumn(displayedcolumn *models.DisplayedColumn)
- func (backRepo *BackRepoStruct) CommitFormDiv(formdiv *models.FormDiv)
- func (backRepo *BackRepoStruct) CommitFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
- func (backRepo *BackRepoStruct) CommitFormField(formfield *models.FormField)
- func (backRepo *BackRepoStruct) CommitFormFieldDate(formfielddate *models.FormFieldDate)
- func (backRepo *BackRepoStruct) CommitFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
- func (backRepo *BackRepoStruct) CommitFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
- func (backRepo *BackRepoStruct) CommitFormFieldInt(formfieldint *models.FormFieldInt)
- func (backRepo *BackRepoStruct) CommitFormFieldSelect(formfieldselect *models.FormFieldSelect)
- func (backRepo *BackRepoStruct) CommitFormFieldString(formfieldstring *models.FormFieldString)
- func (backRepo *BackRepoStruct) CommitFormFieldTime(formfieldtime *models.FormFieldTime)
- func (backRepo *BackRepoStruct) CommitFormGroup(formgroup *models.FormGroup)
- func (backRepo *BackRepoStruct) CommitFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
- func (backRepo *BackRepoStruct) CommitOption(option *models.Option)
- func (backRepo *BackRepoStruct) CommitRow(row *models.Row)
- func (backRepo *BackRepoStruct) CommitTable(table *models.Table)
- func (backRepo *BackRepoStruct) GetLastCommitFromBackNb() uint
- func (backRepo *BackRepoStruct) GetLastPushFromFrontNb() uint
- func (backRepo *BackRepoStruct) GetStage() (stage *models.Stage)
- func (backRepo *BackRepoStruct) IncrementCommitFromBackNb() uint
- func (backRepo *BackRepoStruct) IncrementPushFromFrontNb() uint
- func (backRepo *BackRepoStruct) Restore(stage *models.Stage, dirPath string)
- func (backRepo *BackRepoStruct) RestoreXL(stage *models.Stage, dirPath string)
- func (backRepoStruct *BackRepoStruct) SubscribeToCommitNb(ctx context.Context) <-chan int
- type BackRepoTableStruct
- func (backRepoTable *BackRepoTableStruct) Backup(dirPath string)
- func (backRepoTable *BackRepoTableStruct) BackupXL(file *xlsx.File)
- func (backRepoTable *BackRepoTableStruct) CheckoutPhaseOne() (Error error)
- func (backRepoTable *BackRepoTableStruct) CheckoutPhaseOneInstance(tableDB *TableDB) (Error error)
- func (backRepoTable *BackRepoTableStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoTable *BackRepoTableStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, tableDB *TableDB) (Error error)
- func (backRepoTable *BackRepoTableStruct) CommitDeleteInstance(id uint) (Error error)
- func (backRepoTable *BackRepoTableStruct) CommitPhaseOne(stage *models.Stage) (Error error)
- func (backRepoTable *BackRepoTableStruct) CommitPhaseOneInstance(table *models.Table) (Error error)
- func (backRepoTable *BackRepoTableStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
- func (backRepoTable *BackRepoTableStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, table *models.Table) (Error error)
- func (backRepoTable *BackRepoTableStruct) GetDB() db.DBInterface
- func (backRepoTable *BackRepoTableStruct) GetStage() (stage *models.Stage)
- func (backRepoTable *BackRepoTableStruct) GetTableDBFromTablePtr(table *models.Table) (tableDB *TableDB)
- func (backRepoTable *BackRepoTableStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
- func (backRepoTable *BackRepoTableStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, table *models.Table) (Error error)
- func (backRepoTable *BackRepoTableStruct) RestorePhaseOne(dirPath string)
- func (backRepoTable *BackRepoTableStruct) RestorePhaseTwo()
- func (backRepoTable *BackRepoTableStruct) RestoreXLPhaseOne(file *xlsx.File)
- type CellAPI
- type CellBooleanAPI
- type CellBooleanDB
- func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsFromCellBoolean(cellboolean *models.CellBoolean)
- func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsFromCellBooleanWOP(cellboolean *CellBooleanWOP)
- func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsFromCellBoolean_WOP(cellboolean *models.CellBoolean_WOP)
- func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsToCellBoolean(cellboolean *models.CellBoolean)
- func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsToCellBooleanWOP(cellboolean *CellBooleanWOP)
- func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsToCellBoolean_WOP(cellboolean *models.CellBoolean_WOP)
- func (cellbooleanDB *CellBooleanDB) DecodePointers(backRepo *BackRepoStruct, cellboolean *models.CellBoolean)
- type CellBooleanDBResponse
- type CellBooleanDBs
- type CellBooleanPointersEncoding
- type CellBooleanWOP
- type CellDB
- func (cellDB *CellDB) CopyBasicFieldsFromCell(cell *models.Cell)
- func (cellDB *CellDB) CopyBasicFieldsFromCellWOP(cell *CellWOP)
- func (cellDB *CellDB) CopyBasicFieldsFromCell_WOP(cell *models.Cell_WOP)
- func (cellDB *CellDB) CopyBasicFieldsToCell(cell *models.Cell)
- func (cellDB *CellDB) CopyBasicFieldsToCellWOP(cell *CellWOP)
- func (cellDB *CellDB) CopyBasicFieldsToCell_WOP(cell *models.Cell_WOP)
- func (cellDB *CellDB) DecodePointers(backRepo *BackRepoStruct, cell *models.Cell)
- type CellDBResponse
- type CellDBs
- type CellFloat64API
- type CellFloat64DB
- func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsFromCellFloat64(cellfloat64 *models.CellFloat64)
- func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsFromCellFloat64WOP(cellfloat64 *CellFloat64WOP)
- func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsFromCellFloat64_WOP(cellfloat64 *models.CellFloat64_WOP)
- func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsToCellFloat64(cellfloat64 *models.CellFloat64)
- func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsToCellFloat64WOP(cellfloat64 *CellFloat64WOP)
- func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsToCellFloat64_WOP(cellfloat64 *models.CellFloat64_WOP)
- func (cellfloat64DB *CellFloat64DB) DecodePointers(backRepo *BackRepoStruct, cellfloat64 *models.CellFloat64)
- type CellFloat64DBResponse
- type CellFloat64DBs
- type CellFloat64PointersEncoding
- type CellFloat64WOP
- type CellIconAPI
- type CellIconDB
- func (celliconDB *CellIconDB) CopyBasicFieldsFromCellIcon(cellicon *models.CellIcon)
- func (celliconDB *CellIconDB) CopyBasicFieldsFromCellIconWOP(cellicon *CellIconWOP)
- func (celliconDB *CellIconDB) CopyBasicFieldsFromCellIcon_WOP(cellicon *models.CellIcon_WOP)
- func (celliconDB *CellIconDB) CopyBasicFieldsToCellIcon(cellicon *models.CellIcon)
- func (celliconDB *CellIconDB) CopyBasicFieldsToCellIconWOP(cellicon *CellIconWOP)
- func (celliconDB *CellIconDB) CopyBasicFieldsToCellIcon_WOP(cellicon *models.CellIcon_WOP)
- func (celliconDB *CellIconDB) DecodePointers(backRepo *BackRepoStruct, cellicon *models.CellIcon)
- type CellIconDBResponse
- type CellIconDBs
- type CellIconPointersEncoding
- type CellIconWOP
- type CellIntAPI
- type CellIntDB
- func (cellintDB *CellIntDB) CopyBasicFieldsFromCellInt(cellint *models.CellInt)
- func (cellintDB *CellIntDB) CopyBasicFieldsFromCellIntWOP(cellint *CellIntWOP)
- func (cellintDB *CellIntDB) CopyBasicFieldsFromCellInt_WOP(cellint *models.CellInt_WOP)
- func (cellintDB *CellIntDB) CopyBasicFieldsToCellInt(cellint *models.CellInt)
- func (cellintDB *CellIntDB) CopyBasicFieldsToCellIntWOP(cellint *CellIntWOP)
- func (cellintDB *CellIntDB) CopyBasicFieldsToCellInt_WOP(cellint *models.CellInt_WOP)
- func (cellintDB *CellIntDB) DecodePointers(backRepo *BackRepoStruct, cellint *models.CellInt)
- type CellIntDBResponse
- type CellIntDBs
- type CellIntPointersEncoding
- type CellIntWOP
- type CellPointersEncoding
- type CellStringAPI
- type CellStringDB
- func (cellstringDB *CellStringDB) CopyBasicFieldsFromCellString(cellstring *models.CellString)
- func (cellstringDB *CellStringDB) CopyBasicFieldsFromCellStringWOP(cellstring *CellStringWOP)
- func (cellstringDB *CellStringDB) CopyBasicFieldsFromCellString_WOP(cellstring *models.CellString_WOP)
- func (cellstringDB *CellStringDB) CopyBasicFieldsToCellString(cellstring *models.CellString)
- func (cellstringDB *CellStringDB) CopyBasicFieldsToCellStringWOP(cellstring *CellStringWOP)
- func (cellstringDB *CellStringDB) CopyBasicFieldsToCellString_WOP(cellstring *models.CellString_WOP)
- func (cellstringDB *CellStringDB) DecodePointers(backRepo *BackRepoStruct, cellstring *models.CellString)
- type CellStringDBResponse
- type CellStringDBs
- type CellStringPointersEncoding
- type CellStringWOP
- type CellWOP
- type CheckBoxAPI
- type CheckBoxDB
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBox(checkbox *models.CheckBox)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBoxWOP(checkbox *CheckBoxWOP)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBox_WOP(checkbox *models.CheckBox_WOP)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBox(checkbox *models.CheckBox)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBoxWOP(checkbox *CheckBoxWOP)
- func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBox_WOP(checkbox *models.CheckBox_WOP)
- func (checkboxDB *CheckBoxDB) DecodePointers(backRepo *BackRepoStruct, checkbox *models.CheckBox)
- type CheckBoxDBResponse
- type CheckBoxDBs
- type CheckBoxPointersEncoding
- type CheckBoxWOP
- type DBLite
- func (db *DBLite) Create(instanceDB any) (db.DBInterface, error)
- func (db *DBLite) Delete(instanceDB any) (db.DBInterface, error)
- func (db *DBLite) Find(instanceDBs any) (db.DBInterface, error)
- func (db *DBLite) First(instanceDB any, conds ...any) (db.DBInterface, error)
- func (db *DBLite) Model(instanceDB any) (db.DBInterface, error)
- func (db *DBLite) Save(instanceDB any) (db.DBInterface, error)
- func (db *DBLite) Unscoped() (db.DBInterface, error)
- func (db *DBLite) Updates(instanceDB any) (db.DBInterface, error)
- type DisplayedColumnAPI
- type DisplayedColumnDB
- func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn(displayedcolumn *models.DisplayedColumn)
- func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumnWOP(displayedcolumn *DisplayedColumnWOP)
- func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn_WOP(displayedcolumn *models.DisplayedColumn_WOP)
- func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn(displayedcolumn *models.DisplayedColumn)
- func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsToDisplayedColumnWOP(displayedcolumn *DisplayedColumnWOP)
- func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn_WOP(displayedcolumn *models.DisplayedColumn_WOP)
- func (displayedcolumnDB *DisplayedColumnDB) DecodePointers(backRepo *BackRepoStruct, displayedcolumn *models.DisplayedColumn)
- type DisplayedColumnDBResponse
- type DisplayedColumnDBs
- type DisplayedColumnPointersEncoding
- type DisplayedColumnWOP
- type FormDivAPI
- type FormDivDB
- func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDiv(formdiv *models.FormDiv)
- func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDivWOP(formdiv *FormDivWOP)
- func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDiv_WOP(formdiv *models.FormDiv_WOP)
- func (formdivDB *FormDivDB) CopyBasicFieldsToFormDiv(formdiv *models.FormDiv)
- func (formdivDB *FormDivDB) CopyBasicFieldsToFormDivWOP(formdiv *FormDivWOP)
- func (formdivDB *FormDivDB) CopyBasicFieldsToFormDiv_WOP(formdiv *models.FormDiv_WOP)
- func (formdivDB *FormDivDB) DecodePointers(backRepo *BackRepoStruct, formdiv *models.FormDiv)
- type FormDivDBResponse
- type FormDivDBs
- type FormDivPointersEncoding
- type FormDivWOP
- type FormEditAssocButtonAPI
- type FormEditAssocButtonDB
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButtonWOP(formeditassocbutton *FormEditAssocButtonWOP)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton_WOP(formeditassocbutton *models.FormEditAssocButton_WOP)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButtonWOP(formeditassocbutton *FormEditAssocButtonWOP)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton_WOP(formeditassocbutton *models.FormEditAssocButton_WOP)
- func (formeditassocbuttonDB *FormEditAssocButtonDB) DecodePointers(backRepo *BackRepoStruct, formeditassocbutton *models.FormEditAssocButton)
- type FormEditAssocButtonDBResponse
- type FormEditAssocButtonDBs
- type FormEditAssocButtonPointersEncoding
- type FormEditAssocButtonWOP
- type FormFieldAPI
- type FormFieldDB
- func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormField(formfield *models.FormField)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormFieldWOP(formfield *FormFieldWOP)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormField_WOP(formfield *models.FormField_WOP)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormField(formfield *models.FormField)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormFieldWOP(formfield *FormFieldWOP)
- func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormField_WOP(formfield *models.FormField_WOP)
- func (formfieldDB *FormFieldDB) DecodePointers(backRepo *BackRepoStruct, formfield *models.FormField)
- type FormFieldDBResponse
- type FormFieldDBs
- type FormFieldDateAPI
- type FormFieldDateDB
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDate(formfielddate *models.FormFieldDate)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDateWOP(formfielddate *FormFieldDateWOP)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDate_WOP(formfielddate *models.FormFieldDate_WOP)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDate(formfielddate *models.FormFieldDate)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDateWOP(formfielddate *FormFieldDateWOP)
- func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDate_WOP(formfielddate *models.FormFieldDate_WOP)
- func (formfielddateDB *FormFieldDateDB) DecodePointers(backRepo *BackRepoStruct, formfielddate *models.FormFieldDate)
- type FormFieldDateDBResponse
- type FormFieldDateDBs
- type FormFieldDatePointersEncoding
- type FormFieldDateTimeAPI
- type FormFieldDateTimeDB
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTimeWOP(formfielddatetime *FormFieldDateTimeWOP)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime_WOP(formfielddatetime *models.FormFieldDateTime_WOP)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTimeWOP(formfielddatetime *FormFieldDateTimeWOP)
- func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime_WOP(formfielddatetime *models.FormFieldDateTime_WOP)
- func (formfielddatetimeDB *FormFieldDateTimeDB) DecodePointers(backRepo *BackRepoStruct, formfielddatetime *models.FormFieldDateTime)
- type FormFieldDateTimeDBResponse
- type FormFieldDateTimeDBs
- type FormFieldDateTimePointersEncoding
- type FormFieldDateTimeWOP
- type FormFieldDateWOP
- type FormFieldFloat64API
- type FormFieldFloat64DB
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64WOP(formfieldfloat64 *FormFieldFloat64WOP)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64_WOP(formfieldfloat64 *models.FormFieldFloat64_WOP)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64WOP(formfieldfloat64 *FormFieldFloat64WOP)
- func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64_WOP(formfieldfloat64 *models.FormFieldFloat64_WOP)
- func (formfieldfloat64DB *FormFieldFloat64DB) DecodePointers(backRepo *BackRepoStruct, formfieldfloat64 *models.FormFieldFloat64)
- type FormFieldFloat64DBResponse
- type FormFieldFloat64DBs
- type FormFieldFloat64PointersEncoding
- type FormFieldFloat64WOP
- type FormFieldIntAPI
- type FormFieldIntDB
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldInt(formfieldint *models.FormFieldInt)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldIntWOP(formfieldint *FormFieldIntWOP)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldInt_WOP(formfieldint *models.FormFieldInt_WOP)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldInt(formfieldint *models.FormFieldInt)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldIntWOP(formfieldint *FormFieldIntWOP)
- func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldInt_WOP(formfieldint *models.FormFieldInt_WOP)
- func (formfieldintDB *FormFieldIntDB) DecodePointers(backRepo *BackRepoStruct, formfieldint *models.FormFieldInt)
- type FormFieldIntDBResponse
- type FormFieldIntDBs
- type FormFieldIntPointersEncoding
- type FormFieldIntWOP
- type FormFieldPointersEncoding
- type FormFieldSelectAPI
- type FormFieldSelectDB
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect(formfieldselect *models.FormFieldSelect)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelectWOP(formfieldselect *FormFieldSelectWOP)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect_WOP(formfieldselect *models.FormFieldSelect_WOP)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect(formfieldselect *models.FormFieldSelect)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelectWOP(formfieldselect *FormFieldSelectWOP)
- func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect_WOP(formfieldselect *models.FormFieldSelect_WOP)
- func (formfieldselectDB *FormFieldSelectDB) DecodePointers(backRepo *BackRepoStruct, formfieldselect *models.FormFieldSelect)
- type FormFieldSelectDBResponse
- type FormFieldSelectDBs
- type FormFieldSelectPointersEncoding
- type FormFieldSelectWOP
- type FormFieldStringAPI
- type FormFieldStringDB
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldString(formfieldstring *models.FormFieldString)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldStringWOP(formfieldstring *FormFieldStringWOP)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldString_WOP(formfieldstring *models.FormFieldString_WOP)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldString(formfieldstring *models.FormFieldString)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldStringWOP(formfieldstring *FormFieldStringWOP)
- func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldString_WOP(formfieldstring *models.FormFieldString_WOP)
- func (formfieldstringDB *FormFieldStringDB) DecodePointers(backRepo *BackRepoStruct, formfieldstring *models.FormFieldString)
- type FormFieldStringDBResponse
- type FormFieldStringDBs
- type FormFieldStringPointersEncoding
- type FormFieldStringWOP
- type FormFieldTimeAPI
- type FormFieldTimeDB
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime(formfieldtime *models.FormFieldTime)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTimeWOP(formfieldtime *FormFieldTimeWOP)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime_WOP(formfieldtime *models.FormFieldTime_WOP)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTime(formfieldtime *models.FormFieldTime)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTimeWOP(formfieldtime *FormFieldTimeWOP)
- func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTime_WOP(formfieldtime *models.FormFieldTime_WOP)
- func (formfieldtimeDB *FormFieldTimeDB) DecodePointers(backRepo *BackRepoStruct, formfieldtime *models.FormFieldTime)
- type FormFieldTimeDBResponse
- type FormFieldTimeDBs
- type FormFieldTimePointersEncoding
- type FormFieldTimeWOP
- type FormFieldWOP
- type FormGroupAPI
- type FormGroupDB
- func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroup(formgroup *models.FormGroup)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroupWOP(formgroup *FormGroupWOP)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroup_WOP(formgroup *models.FormGroup_WOP)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroup(formgroup *models.FormGroup)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroupWOP(formgroup *FormGroupWOP)
- func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroup_WOP(formgroup *models.FormGroup_WOP)
- func (formgroupDB *FormGroupDB) DecodePointers(backRepo *BackRepoStruct, formgroup *models.FormGroup)
- type FormGroupDBResponse
- type FormGroupDBs
- type FormGroupPointersEncoding
- type FormGroupWOP
- type FormSortAssocButtonAPI
- type FormSortAssocButtonDB
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButtonWOP(formsortassocbutton *FormSortAssocButtonWOP)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton_WOP(formsortassocbutton *models.FormSortAssocButton_WOP)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButtonWOP(formsortassocbutton *FormSortAssocButtonWOP)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton_WOP(formsortassocbutton *models.FormSortAssocButton_WOP)
- func (formsortassocbuttonDB *FormSortAssocButtonDB) DecodePointers(backRepo *BackRepoStruct, formsortassocbutton *models.FormSortAssocButton)
- type FormSortAssocButtonDBResponse
- type FormSortAssocButtonDBs
- type FormSortAssocButtonPointersEncoding
- type FormSortAssocButtonWOP
- type GongstructDB
- type IntSlice
- type OptionAPI
- type OptionDB
- func (optionDB *OptionDB) CopyBasicFieldsFromOption(option *models.Option)
- func (optionDB *OptionDB) CopyBasicFieldsFromOptionWOP(option *OptionWOP)
- func (optionDB *OptionDB) CopyBasicFieldsFromOption_WOP(option *models.Option_WOP)
- func (optionDB *OptionDB) CopyBasicFieldsToOption(option *models.Option)
- func (optionDB *OptionDB) CopyBasicFieldsToOptionWOP(option *OptionWOP)
- func (optionDB *OptionDB) CopyBasicFieldsToOption_WOP(option *models.Option_WOP)
- func (optionDB *OptionDB) DecodePointers(backRepo *BackRepoStruct, option *models.Option)
- type OptionDBResponse
- type OptionDBs
- type OptionPointersEncoding
- type OptionWOP
- type RowAPI
- type RowDB
- func (rowDB *RowDB) CopyBasicFieldsFromRow(row *models.Row)
- func (rowDB *RowDB) CopyBasicFieldsFromRowWOP(row *RowWOP)
- func (rowDB *RowDB) CopyBasicFieldsFromRow_WOP(row *models.Row_WOP)
- func (rowDB *RowDB) CopyBasicFieldsToRow(row *models.Row)
- func (rowDB *RowDB) CopyBasicFieldsToRowWOP(row *RowWOP)
- func (rowDB *RowDB) CopyBasicFieldsToRow_WOP(row *models.Row_WOP)
- func (rowDB *RowDB) DecodePointers(backRepo *BackRepoStruct, row *models.Row)
- type RowDBResponse
- type RowDBs
- type RowPointersEncoding
- type RowWOP
- type TableAPI
- type TableDB
- func (tableDB *TableDB) CopyBasicFieldsFromTable(table *models.Table)
- func (tableDB *TableDB) CopyBasicFieldsFromTableWOP(table *TableWOP)
- func (tableDB *TableDB) CopyBasicFieldsFromTable_WOP(table *models.Table_WOP)
- func (tableDB *TableDB) CopyBasicFieldsToTable(table *models.Table)
- func (tableDB *TableDB) CopyBasicFieldsToTableWOP(table *TableWOP)
- func (tableDB *TableDB) CopyBasicFieldsToTable_WOP(table *models.Table_WOP)
- func (tableDB *TableDB) DecodePointers(backRepo *BackRepoStruct, table *models.Table)
- type TableDBResponse
- type TableDBs
- type TablePointersEncoding
- type TableWOP
Constants ¶
This section is empty.
Variables ¶
var BackRepoCellBooleanid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoCellFloat64id_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoCellIconid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoCellIntid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoCellStringid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoCellid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoCheckBoxid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoDisplayedColumnid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormDivid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormEditAssocButtonid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldDateTimeid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldDateid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldFloat64id_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldIntid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldSelectid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldStringid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldTimeid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormFieldid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormGroupid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoFormSortAssocButtonid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoOptionid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoRowid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var BackRepoTableid_atBckpTime_newID map[uint]uint
this field is used during the restauration process. it stores the ID at the backup time and is used for renumbering
var CellBoolean_Fields = []string{
"ID",
"Name",
"Value",
}
var CellFloat64_Fields = []string{
"ID",
"Name",
"Value",
}
var CellIcon_Fields = []string{
"ID",
"Name",
"Icon",
"NeedsConfirmation",
"ConfirmationMessage",
}
var CellInt_Fields = []string{
"ID",
"Name",
"Value",
}
var CellString_Fields = []string{
"ID",
"Name",
"Value",
}
var Cell_Fields = []string{
"ID",
"Name",
}
var CheckBox_Fields = []string{
"ID",
"Name",
"Value",
}
var DisplayedColumn_Fields = []string{
"ID",
"Name",
}
var FormDiv_Fields = []string{
"ID",
"Name",
}
var FormEditAssocButton_Fields = []string{
"ID",
"Name",
"Label",
"AssociationStorage",
"HasChanged",
"IsForSavePurpose",
"HasToolTip",
"ToolTipText",
}
var FormFieldDateTime_Fields = []string{
"ID",
"Name",
"Value",
}
var FormFieldDate_Fields = []string{
"ID",
"Name",
"Value",
}
var FormFieldFloat64_Fields = []string{
"ID",
"Name",
"Value",
"HasMinValidator",
"MinValue",
"HasMaxValidator",
"MaxValue",
}
var FormFieldInt_Fields = []string{
"ID",
"Name",
"Value",
"HasMinValidator",
"MinValue",
"HasMaxValidator",
"MaxValue",
}
var FormFieldSelect_Fields = []string{
"ID",
"Name",
"CanBeEmpty",
"PreserveInitialOrder",
}
var FormFieldString_Fields = []string{
"ID",
"Name",
"Value",
"IsTextArea",
}
var FormFieldTime_Fields = []string{
"ID",
"Name",
"Value",
"Step",
}
var FormField_Fields = []string{
"ID",
"Name",
"InputTypeEnum",
"Label",
"Placeholder",
"HasBespokeWidth",
"BespokeWidthPx",
"HasBespokeHeight",
"BespokeHeightPx",
}
var FormGroup_Fields = []string{
"ID",
"Name",
"Label",
"HasSuppressButton",
"HasSuppressButtonBeenPressed",
}
var FormSortAssocButton_Fields = []string{
"ID",
"Name",
"Label",
"HasToolTip",
"ToolTipText",
}
var Option_Fields = []string{
"ID",
"Name",
}
var Row_Fields = []string{
"ID",
"Name",
"IsChecked",
}
var Table_Fields = []string{
"ID",
"Name",
"HasFiltering",
"HasColumnSorting",
"HasPaginator",
"HasCheckableRows",
"HasSaveButton",
"SaveButtonLabel",
"CanDragDropRows",
"HasCloseButton",
"SavingInProgress",
"NbOfStickyColumns",
}
Functions ¶
func CopyBackRepoToBackRepoData ¶
func CopyBackRepoToBackRepoData(backRepo *BackRepoStruct, backRepoData *BackRepoData)
func GetID ¶
func GetID[T models.Gongstruct]( stage *models.Stage, backRepo *BackRepoStruct, instance *T) (id int)
func GetIDPointer ¶
func GetIDPointer[T models.PointerToGongstruct]( stage *models.Stage, backRepo *BackRepoStruct, instance T) (id int)
func GetInstanceDBFromInstance ¶
func GetInstanceDBFromInstance[T models.Gongstruct, T2 GongstructDB]( stage *models.Stage, backRepo *BackRepoStruct, instance *T) (ret *T2)
Types ¶
type BackRepoCellBooleanStruct ¶
type BackRepoCellBooleanStruct struct { // stores CellBooleanDB according to their gorm ID Map_CellBooleanDBID_CellBooleanDB map[uint]*CellBooleanDB // stores CellBooleanDB ID according to CellBoolean address Map_CellBooleanPtr_CellBooleanDBID map[*models.CellBoolean]uint // stores CellBoolean according to their gorm ID Map_CellBooleanDBID_CellBooleanPtr map[uint]*models.CellBoolean // contains filtered or unexported fields }
func (*BackRepoCellBooleanStruct) Backup ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) Backup(dirPath string)
Backup generates a json file from a slice of all CellBooleanDB instances in the backrepo
func (*BackRepoCellBooleanStruct) BackupXL ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all CellBooleanDB instances in the backrepo
func (*BackRepoCellBooleanStruct) CheckoutPhaseOne ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseOne() (Error error)
BackRepoCellBoolean.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoCellBooleanStruct) CheckoutPhaseOneInstance ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseOneInstance(cellbooleanDB *CellBooleanDB) (Error error)
CheckoutPhaseOneInstance takes a cellbooleanDB that has been found in the DB, updates the backRepo and stages the models version of the cellbooleanDB
func (*BackRepoCellBooleanStruct) CheckoutPhaseTwo ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellBoolean.CheckoutPhaseTwo Checkouts all staged instances of CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellBooleanStruct) CheckoutPhaseTwoInstance ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellbooleanDB *CellBooleanDB) (Error error)
BackRepoCellBoolean.CheckoutPhaseTwoInstance Checkouts staged instances of CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellBooleanStruct) CommitDeleteInstance ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoCellBoolean.CommitDeleteInstance commits deletion of CellBoolean to the BackRepo
func (*BackRepoCellBooleanStruct) CommitPhaseOne ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoCellBoolean.CommitPhaseOne commits all staged instances of CellBoolean to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellBooleanStruct) CommitPhaseOneInstance ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseOneInstance(cellboolean *models.CellBoolean) (Error error)
BackRepoCellBoolean.CommitPhaseOneInstance commits cellboolean staged instances of CellBoolean to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellBooleanStruct) CommitPhaseTwo ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellBoolean.CommitPhaseTwo commits all staged instances of CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellBooleanStruct) CommitPhaseTwoInstance ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellboolean *models.CellBoolean) (Error error)
BackRepoCellBoolean.CommitPhaseTwoInstance commits {{structname }} of models.CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellBooleanStruct) GetCellBooleanDBFromCellBooleanPtr ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) GetCellBooleanDBFromCellBooleanPtr(cellboolean *models.CellBoolean) (cellbooleanDB *CellBooleanDB)
GetCellBooleanDBFromCellBooleanPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoCellBooleanStruct) GetDB ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) GetDB() db.DBInterface
func (*BackRepoCellBooleanStruct) GetStage ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) GetStage() (stage *models.Stage)
func (*BackRepoCellBooleanStruct) ResetReversePointers ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCellBoolean.ResetReversePointers commits all staged instances of CellBoolean to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellBooleanStruct) ResetReversePointersInstance ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellboolean *models.CellBoolean) (Error error)
func (*BackRepoCellBooleanStruct) RestorePhaseOne ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "CellBooleanDB.json" in dirPath that stores an array of CellBooleanDB and stores it in the database the map BackRepoCellBooleanid_atBckpTime_newID is updated accordingly
func (*BackRepoCellBooleanStruct) RestorePhaseTwo ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<CellBoolean>id_atBckpTime_newID to compute new index
func (*BackRepoCellBooleanStruct) RestoreXLPhaseOne ¶
func (backRepoCellBoolean *BackRepoCellBooleanStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "CellBoolean" sheet all CellBooleanDB instances
type BackRepoCellFloat64Struct ¶
type BackRepoCellFloat64Struct struct { // stores CellFloat64DB according to their gorm ID Map_CellFloat64DBID_CellFloat64DB map[uint]*CellFloat64DB // stores CellFloat64DB ID according to CellFloat64 address Map_CellFloat64Ptr_CellFloat64DBID map[*models.CellFloat64]uint // stores CellFloat64 according to their gorm ID Map_CellFloat64DBID_CellFloat64Ptr map[uint]*models.CellFloat64 // contains filtered or unexported fields }
func (*BackRepoCellFloat64Struct) Backup ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) Backup(dirPath string)
Backup generates a json file from a slice of all CellFloat64DB instances in the backrepo
func (*BackRepoCellFloat64Struct) BackupXL ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all CellFloat64DB instances in the backrepo
func (*BackRepoCellFloat64Struct) CheckoutPhaseOne ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseOne() (Error error)
BackRepoCellFloat64.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoCellFloat64Struct) CheckoutPhaseOneInstance ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseOneInstance(cellfloat64DB *CellFloat64DB) (Error error)
CheckoutPhaseOneInstance takes a cellfloat64DB that has been found in the DB, updates the backRepo and stages the models version of the cellfloat64DB
func (*BackRepoCellFloat64Struct) CheckoutPhaseTwo ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellFloat64.CheckoutPhaseTwo Checkouts all staged instances of CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellFloat64Struct) CheckoutPhaseTwoInstance ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellfloat64DB *CellFloat64DB) (Error error)
BackRepoCellFloat64.CheckoutPhaseTwoInstance Checkouts staged instances of CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellFloat64Struct) CommitDeleteInstance ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitDeleteInstance(id uint) (Error error)
BackRepoCellFloat64.CommitDeleteInstance commits deletion of CellFloat64 to the BackRepo
func (*BackRepoCellFloat64Struct) CommitPhaseOne ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoCellFloat64.CommitPhaseOne commits all staged instances of CellFloat64 to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellFloat64Struct) CommitPhaseOneInstance ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseOneInstance(cellfloat64 *models.CellFloat64) (Error error)
BackRepoCellFloat64.CommitPhaseOneInstance commits cellfloat64 staged instances of CellFloat64 to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellFloat64Struct) CommitPhaseTwo ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellFloat64.CommitPhaseTwo commits all staged instances of CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellFloat64Struct) CommitPhaseTwoInstance ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellfloat64 *models.CellFloat64) (Error error)
BackRepoCellFloat64.CommitPhaseTwoInstance commits {{structname }} of models.CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellFloat64Struct) GetCellFloat64DBFromCellFloat64Ptr ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) GetCellFloat64DBFromCellFloat64Ptr(cellfloat64 *models.CellFloat64) (cellfloat64DB *CellFloat64DB)
GetCellFloat64DBFromCellFloat64Ptr is a handy function to access the back repo instance from the stage instance
func (*BackRepoCellFloat64Struct) GetDB ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) GetDB() db.DBInterface
func (*BackRepoCellFloat64Struct) GetStage ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) GetStage() (stage *models.Stage)
func (*BackRepoCellFloat64Struct) ResetReversePointers ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCellFloat64.ResetReversePointers commits all staged instances of CellFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellFloat64Struct) ResetReversePointersInstance ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellfloat64 *models.CellFloat64) (Error error)
func (*BackRepoCellFloat64Struct) RestorePhaseOne ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "CellFloat64DB.json" in dirPath that stores an array of CellFloat64DB and stores it in the database the map BackRepoCellFloat64id_atBckpTime_newID is updated accordingly
func (*BackRepoCellFloat64Struct) RestorePhaseTwo ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<CellFloat64>id_atBckpTime_newID to compute new index
func (*BackRepoCellFloat64Struct) RestoreXLPhaseOne ¶
func (backRepoCellFloat64 *BackRepoCellFloat64Struct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "CellFloat64" sheet all CellFloat64DB instances
type BackRepoCellIconStruct ¶
type BackRepoCellIconStruct struct { // stores CellIconDB according to their gorm ID Map_CellIconDBID_CellIconDB map[uint]*CellIconDB // stores CellIconDB ID according to CellIcon address Map_CellIconPtr_CellIconDBID map[*models.CellIcon]uint // stores CellIcon according to their gorm ID Map_CellIconDBID_CellIconPtr map[uint]*models.CellIcon // contains filtered or unexported fields }
func (*BackRepoCellIconStruct) Backup ¶
func (backRepoCellIcon *BackRepoCellIconStruct) Backup(dirPath string)
Backup generates a json file from a slice of all CellIconDB instances in the backrepo
func (*BackRepoCellIconStruct) BackupXL ¶
func (backRepoCellIcon *BackRepoCellIconStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all CellIconDB instances in the backrepo
func (*BackRepoCellIconStruct) CheckoutPhaseOne ¶
func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseOne() (Error error)
BackRepoCellIcon.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoCellIconStruct) CheckoutPhaseOneInstance ¶
func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseOneInstance(celliconDB *CellIconDB) (Error error)
CheckoutPhaseOneInstance takes a celliconDB that has been found in the DB, updates the backRepo and stages the models version of the celliconDB
func (*BackRepoCellIconStruct) CheckoutPhaseTwo ¶
func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellIcon.CheckoutPhaseTwo Checkouts all staged instances of CellIcon to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIconStruct) CheckoutPhaseTwoInstance ¶
func (backRepoCellIcon *BackRepoCellIconStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, celliconDB *CellIconDB) (Error error)
BackRepoCellIcon.CheckoutPhaseTwoInstance Checkouts staged instances of CellIcon to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIconStruct) CommitDeleteInstance ¶
func (backRepoCellIcon *BackRepoCellIconStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoCellIcon.CommitDeleteInstance commits deletion of CellIcon to the BackRepo
func (*BackRepoCellIconStruct) CommitPhaseOne ¶
func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoCellIcon.CommitPhaseOne commits all staged instances of CellIcon to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellIconStruct) CommitPhaseOneInstance ¶
func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseOneInstance(cellicon *models.CellIcon) (Error error)
BackRepoCellIcon.CommitPhaseOneInstance commits cellicon staged instances of CellIcon to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellIconStruct) CommitPhaseTwo ¶
func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellIcon.CommitPhaseTwo commits all staged instances of CellIcon to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIconStruct) CommitPhaseTwoInstance ¶
func (backRepoCellIcon *BackRepoCellIconStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellicon *models.CellIcon) (Error error)
BackRepoCellIcon.CommitPhaseTwoInstance commits {{structname }} of models.CellIcon to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIconStruct) GetCellIconDBFromCellIconPtr ¶
func (backRepoCellIcon *BackRepoCellIconStruct) GetCellIconDBFromCellIconPtr(cellicon *models.CellIcon) (celliconDB *CellIconDB)
GetCellIconDBFromCellIconPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoCellIconStruct) GetDB ¶
func (backRepoCellIcon *BackRepoCellIconStruct) GetDB() db.DBInterface
func (*BackRepoCellIconStruct) GetStage ¶
func (backRepoCellIcon *BackRepoCellIconStruct) GetStage() (stage *models.Stage)
func (*BackRepoCellIconStruct) ResetReversePointers ¶
func (backRepoCellIcon *BackRepoCellIconStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCellIcon.ResetReversePointers commits all staged instances of CellIcon to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIconStruct) ResetReversePointersInstance ¶
func (backRepoCellIcon *BackRepoCellIconStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellicon *models.CellIcon) (Error error)
func (*BackRepoCellIconStruct) RestorePhaseOne ¶
func (backRepoCellIcon *BackRepoCellIconStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "CellIconDB.json" in dirPath that stores an array of CellIconDB and stores it in the database the map BackRepoCellIconid_atBckpTime_newID is updated accordingly
func (*BackRepoCellIconStruct) RestorePhaseTwo ¶
func (backRepoCellIcon *BackRepoCellIconStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<CellIcon>id_atBckpTime_newID to compute new index
func (*BackRepoCellIconStruct) RestoreXLPhaseOne ¶
func (backRepoCellIcon *BackRepoCellIconStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "CellIcon" sheet all CellIconDB instances
type BackRepoCellIntStruct ¶
type BackRepoCellIntStruct struct { // stores CellIntDB according to their gorm ID Map_CellIntDBID_CellIntDB map[uint]*CellIntDB // stores CellIntDB ID according to CellInt address Map_CellIntPtr_CellIntDBID map[*models.CellInt]uint // stores CellInt according to their gorm ID Map_CellIntDBID_CellIntPtr map[uint]*models.CellInt // contains filtered or unexported fields }
func (*BackRepoCellIntStruct) Backup ¶
func (backRepoCellInt *BackRepoCellIntStruct) Backup(dirPath string)
Backup generates a json file from a slice of all CellIntDB instances in the backrepo
func (*BackRepoCellIntStruct) BackupXL ¶
func (backRepoCellInt *BackRepoCellIntStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all CellIntDB instances in the backrepo
func (*BackRepoCellIntStruct) CheckoutPhaseOne ¶
func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseOne() (Error error)
BackRepoCellInt.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoCellIntStruct) CheckoutPhaseOneInstance ¶
func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseOneInstance(cellintDB *CellIntDB) (Error error)
CheckoutPhaseOneInstance takes a cellintDB that has been found in the DB, updates the backRepo and stages the models version of the cellintDB
func (*BackRepoCellIntStruct) CheckoutPhaseTwo ¶
func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellInt.CheckoutPhaseTwo Checkouts all staged instances of CellInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIntStruct) CheckoutPhaseTwoInstance ¶
func (backRepoCellInt *BackRepoCellIntStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellintDB *CellIntDB) (Error error)
BackRepoCellInt.CheckoutPhaseTwoInstance Checkouts staged instances of CellInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIntStruct) CommitDeleteInstance ¶
func (backRepoCellInt *BackRepoCellIntStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoCellInt.CommitDeleteInstance commits deletion of CellInt to the BackRepo
func (*BackRepoCellIntStruct) CommitPhaseOne ¶
func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoCellInt.CommitPhaseOne commits all staged instances of CellInt to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellIntStruct) CommitPhaseOneInstance ¶
func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseOneInstance(cellint *models.CellInt) (Error error)
BackRepoCellInt.CommitPhaseOneInstance commits cellint staged instances of CellInt to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellIntStruct) CommitPhaseTwo ¶
func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellInt.CommitPhaseTwo commits all staged instances of CellInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIntStruct) CommitPhaseTwoInstance ¶
func (backRepoCellInt *BackRepoCellIntStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellint *models.CellInt) (Error error)
BackRepoCellInt.CommitPhaseTwoInstance commits {{structname }} of models.CellInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIntStruct) GetCellIntDBFromCellIntPtr ¶
func (backRepoCellInt *BackRepoCellIntStruct) GetCellIntDBFromCellIntPtr(cellint *models.CellInt) (cellintDB *CellIntDB)
GetCellIntDBFromCellIntPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoCellIntStruct) GetDB ¶
func (backRepoCellInt *BackRepoCellIntStruct) GetDB() db.DBInterface
func (*BackRepoCellIntStruct) GetStage ¶
func (backRepoCellInt *BackRepoCellIntStruct) GetStage() (stage *models.Stage)
func (*BackRepoCellIntStruct) ResetReversePointers ¶
func (backRepoCellInt *BackRepoCellIntStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCellInt.ResetReversePointers commits all staged instances of CellInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellIntStruct) ResetReversePointersInstance ¶
func (backRepoCellInt *BackRepoCellIntStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellint *models.CellInt) (Error error)
func (*BackRepoCellIntStruct) RestorePhaseOne ¶
func (backRepoCellInt *BackRepoCellIntStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "CellIntDB.json" in dirPath that stores an array of CellIntDB and stores it in the database the map BackRepoCellIntid_atBckpTime_newID is updated accordingly
func (*BackRepoCellIntStruct) RestorePhaseTwo ¶
func (backRepoCellInt *BackRepoCellIntStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<CellInt>id_atBckpTime_newID to compute new index
func (*BackRepoCellIntStruct) RestoreXLPhaseOne ¶
func (backRepoCellInt *BackRepoCellIntStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "CellInt" sheet all CellIntDB instances
type BackRepoCellStringStruct ¶
type BackRepoCellStringStruct struct { // stores CellStringDB according to their gorm ID Map_CellStringDBID_CellStringDB map[uint]*CellStringDB // stores CellStringDB ID according to CellString address Map_CellStringPtr_CellStringDBID map[*models.CellString]uint // stores CellString according to their gorm ID Map_CellStringDBID_CellStringPtr map[uint]*models.CellString // contains filtered or unexported fields }
func (*BackRepoCellStringStruct) Backup ¶
func (backRepoCellString *BackRepoCellStringStruct) Backup(dirPath string)
Backup generates a json file from a slice of all CellStringDB instances in the backrepo
func (*BackRepoCellStringStruct) BackupXL ¶
func (backRepoCellString *BackRepoCellStringStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all CellStringDB instances in the backrepo
func (*BackRepoCellStringStruct) CheckoutPhaseOne ¶
func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseOne() (Error error)
BackRepoCellString.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoCellStringStruct) CheckoutPhaseOneInstance ¶
func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseOneInstance(cellstringDB *CellStringDB) (Error error)
CheckoutPhaseOneInstance takes a cellstringDB that has been found in the DB, updates the backRepo and stages the models version of the cellstringDB
func (*BackRepoCellStringStruct) CheckoutPhaseTwo ¶
func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellString.CheckoutPhaseTwo Checkouts all staged instances of CellString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStringStruct) CheckoutPhaseTwoInstance ¶
func (backRepoCellString *BackRepoCellStringStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellstringDB *CellStringDB) (Error error)
BackRepoCellString.CheckoutPhaseTwoInstance Checkouts staged instances of CellString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStringStruct) CommitDeleteInstance ¶
func (backRepoCellString *BackRepoCellStringStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoCellString.CommitDeleteInstance commits deletion of CellString to the BackRepo
func (*BackRepoCellStringStruct) CommitPhaseOne ¶
func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoCellString.CommitPhaseOne commits all staged instances of CellString to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellStringStruct) CommitPhaseOneInstance ¶
func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseOneInstance(cellstring *models.CellString) (Error error)
BackRepoCellString.CommitPhaseOneInstance commits cellstring staged instances of CellString to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellStringStruct) CommitPhaseTwo ¶
func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCellString.CommitPhaseTwo commits all staged instances of CellString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStringStruct) CommitPhaseTwoInstance ¶
func (backRepoCellString *BackRepoCellStringStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cellstring *models.CellString) (Error error)
BackRepoCellString.CommitPhaseTwoInstance commits {{structname }} of models.CellString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStringStruct) GetCellStringDBFromCellStringPtr ¶
func (backRepoCellString *BackRepoCellStringStruct) GetCellStringDBFromCellStringPtr(cellstring *models.CellString) (cellstringDB *CellStringDB)
GetCellStringDBFromCellStringPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoCellStringStruct) GetDB ¶
func (backRepoCellString *BackRepoCellStringStruct) GetDB() db.DBInterface
func (*BackRepoCellStringStruct) GetStage ¶
func (backRepoCellString *BackRepoCellStringStruct) GetStage() (stage *models.Stage)
func (*BackRepoCellStringStruct) ResetReversePointers ¶
func (backRepoCellString *BackRepoCellStringStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCellString.ResetReversePointers commits all staged instances of CellString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStringStruct) ResetReversePointersInstance ¶
func (backRepoCellString *BackRepoCellStringStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cellstring *models.CellString) (Error error)
func (*BackRepoCellStringStruct) RestorePhaseOne ¶
func (backRepoCellString *BackRepoCellStringStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "CellStringDB.json" in dirPath that stores an array of CellStringDB and stores it in the database the map BackRepoCellStringid_atBckpTime_newID is updated accordingly
func (*BackRepoCellStringStruct) RestorePhaseTwo ¶
func (backRepoCellString *BackRepoCellStringStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<CellString>id_atBckpTime_newID to compute new index
func (*BackRepoCellStringStruct) RestoreXLPhaseOne ¶
func (backRepoCellString *BackRepoCellStringStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "CellString" sheet all CellStringDB instances
type BackRepoCellStruct ¶
type BackRepoCellStruct struct { // stores CellDB according to their gorm ID Map_CellDBID_CellDB map[uint]*CellDB // stores CellDB ID according to Cell address Map_CellPtr_CellDBID map[*models.Cell]uint // stores Cell according to their gorm ID Map_CellDBID_CellPtr map[uint]*models.Cell // contains filtered or unexported fields }
func (*BackRepoCellStruct) Backup ¶
func (backRepoCell *BackRepoCellStruct) Backup(dirPath string)
Backup generates a json file from a slice of all CellDB instances in the backrepo
func (*BackRepoCellStruct) BackupXL ¶
func (backRepoCell *BackRepoCellStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all CellDB instances in the backrepo
func (*BackRepoCellStruct) CheckoutPhaseOne ¶
func (backRepoCell *BackRepoCellStruct) CheckoutPhaseOne() (Error error)
BackRepoCell.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoCellStruct) CheckoutPhaseOneInstance ¶
func (backRepoCell *BackRepoCellStruct) CheckoutPhaseOneInstance(cellDB *CellDB) (Error error)
CheckoutPhaseOneInstance takes a cellDB that has been found in the DB, updates the backRepo and stages the models version of the cellDB
func (*BackRepoCellStruct) CheckoutPhaseTwo ¶
func (backRepoCell *BackRepoCellStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCell.CheckoutPhaseTwo Checkouts all staged instances of Cell to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStruct) CheckoutPhaseTwoInstance ¶
func (backRepoCell *BackRepoCellStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, cellDB *CellDB) (Error error)
BackRepoCell.CheckoutPhaseTwoInstance Checkouts staged instances of Cell to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStruct) CommitDeleteInstance ¶
func (backRepoCell *BackRepoCellStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoCell.CommitDeleteInstance commits deletion of Cell to the BackRepo
func (*BackRepoCellStruct) CommitPhaseOne ¶
func (backRepoCell *BackRepoCellStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoCell.CommitPhaseOne commits all staged instances of Cell to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellStruct) CommitPhaseOneInstance ¶
func (backRepoCell *BackRepoCellStruct) CommitPhaseOneInstance(cell *models.Cell) (Error error)
BackRepoCell.CommitPhaseOneInstance commits cell staged instances of Cell to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCellStruct) CommitPhaseTwo ¶
func (backRepoCell *BackRepoCellStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCell.CommitPhaseTwo commits all staged instances of Cell to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStruct) CommitPhaseTwoInstance ¶
func (backRepoCell *BackRepoCellStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, cell *models.Cell) (Error error)
BackRepoCell.CommitPhaseTwoInstance commits {{structname }} of models.Cell to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStruct) GetCellDBFromCellPtr ¶
func (backRepoCell *BackRepoCellStruct) GetCellDBFromCellPtr(cell *models.Cell) (cellDB *CellDB)
GetCellDBFromCellPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoCellStruct) GetDB ¶
func (backRepoCell *BackRepoCellStruct) GetDB() db.DBInterface
func (*BackRepoCellStruct) GetStage ¶
func (backRepoCell *BackRepoCellStruct) GetStage() (stage *models.Stage)
func (*BackRepoCellStruct) ResetReversePointers ¶
func (backRepoCell *BackRepoCellStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCell.ResetReversePointers commits all staged instances of Cell to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCellStruct) ResetReversePointersInstance ¶
func (backRepoCell *BackRepoCellStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, cell *models.Cell) (Error error)
func (*BackRepoCellStruct) RestorePhaseOne ¶
func (backRepoCell *BackRepoCellStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "CellDB.json" in dirPath that stores an array of CellDB and stores it in the database the map BackRepoCellid_atBckpTime_newID is updated accordingly
func (*BackRepoCellStruct) RestorePhaseTwo ¶
func (backRepoCell *BackRepoCellStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Cell>id_atBckpTime_newID to compute new index
func (*BackRepoCellStruct) RestoreXLPhaseOne ¶
func (backRepoCell *BackRepoCellStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Cell" sheet all CellDB instances
type BackRepoCheckBoxStruct ¶
type BackRepoCheckBoxStruct struct { // stores CheckBoxDB according to their gorm ID Map_CheckBoxDBID_CheckBoxDB map[uint]*CheckBoxDB // stores CheckBoxDB ID according to CheckBox address Map_CheckBoxPtr_CheckBoxDBID map[*models.CheckBox]uint // stores CheckBox according to their gorm ID Map_CheckBoxDBID_CheckBoxPtr map[uint]*models.CheckBox // contains filtered or unexported fields }
func (*BackRepoCheckBoxStruct) Backup ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) Backup(dirPath string)
Backup generates a json file from a slice of all CheckBoxDB instances in the backrepo
func (*BackRepoCheckBoxStruct) BackupXL ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all CheckBoxDB instances in the backrepo
func (*BackRepoCheckBoxStruct) CheckoutPhaseOne ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseOne() (Error error)
BackRepoCheckBox.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoCheckBoxStruct) CheckoutPhaseOneInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseOneInstance(checkboxDB *CheckBoxDB) (Error error)
CheckoutPhaseOneInstance takes a checkboxDB that has been found in the DB, updates the backRepo and stages the models version of the checkboxDB
func (*BackRepoCheckBoxStruct) CheckoutPhaseTwo ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCheckBox.CheckoutPhaseTwo Checkouts all staged instances of CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) CheckoutPhaseTwoInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, checkboxDB *CheckBoxDB) (Error error)
BackRepoCheckBox.CheckoutPhaseTwoInstance Checkouts staged instances of CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) CommitDeleteInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoCheckBox.CommitDeleteInstance commits deletion of CheckBox to the BackRepo
func (*BackRepoCheckBoxStruct) CommitPhaseOne ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoCheckBox.CommitPhaseOne commits all staged instances of CheckBox to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCheckBoxStruct) CommitPhaseOneInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseOneInstance(checkbox *models.CheckBox) (Error error)
BackRepoCheckBox.CommitPhaseOneInstance commits checkbox staged instances of CheckBox to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoCheckBoxStruct) CommitPhaseTwo ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoCheckBox.CommitPhaseTwo commits all staged instances of CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) CommitPhaseTwoInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, checkbox *models.CheckBox) (Error error)
BackRepoCheckBox.CommitPhaseTwoInstance commits {{structname }} of models.CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) GetCheckBoxDBFromCheckBoxPtr ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) GetCheckBoxDBFromCheckBoxPtr(checkbox *models.CheckBox) (checkboxDB *CheckBoxDB)
GetCheckBoxDBFromCheckBoxPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoCheckBoxStruct) GetDB ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) GetDB() db.DBInterface
func (*BackRepoCheckBoxStruct) GetStage ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) GetStage() (stage *models.Stage)
func (*BackRepoCheckBoxStruct) ResetReversePointers ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoCheckBox.ResetReversePointers commits all staged instances of CheckBox to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoCheckBoxStruct) ResetReversePointersInstance ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, checkbox *models.CheckBox) (Error error)
func (*BackRepoCheckBoxStruct) RestorePhaseOne ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "CheckBoxDB.json" in dirPath that stores an array of CheckBoxDB and stores it in the database the map BackRepoCheckBoxid_atBckpTime_newID is updated accordingly
func (*BackRepoCheckBoxStruct) RestorePhaseTwo ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<CheckBox>id_atBckpTime_newID to compute new index
func (*BackRepoCheckBoxStruct) RestoreXLPhaseOne ¶
func (backRepoCheckBox *BackRepoCheckBoxStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "CheckBox" sheet all CheckBoxDB instances
type BackRepoData ¶
type BackRepoData struct { CellAPIs []*CellAPI CellBooleanAPIs []*CellBooleanAPI CellFloat64APIs []*CellFloat64API CellIconAPIs []*CellIconAPI CellIntAPIs []*CellIntAPI CellStringAPIs []*CellStringAPI CheckBoxAPIs []*CheckBoxAPI DisplayedColumnAPIs []*DisplayedColumnAPI FormDivAPIs []*FormDivAPI FormEditAssocButtonAPIs []*FormEditAssocButtonAPI FormFieldAPIs []*FormFieldAPI FormFieldDateAPIs []*FormFieldDateAPI FormFieldDateTimeAPIs []*FormFieldDateTimeAPI FormFieldFloat64APIs []*FormFieldFloat64API FormFieldIntAPIs []*FormFieldIntAPI FormFieldSelectAPIs []*FormFieldSelectAPI FormFieldStringAPIs []*FormFieldStringAPI FormFieldTimeAPIs []*FormFieldTimeAPI FormGroupAPIs []*FormGroupAPI FormSortAssocButtonAPIs []*FormSortAssocButtonAPI OptionAPIs []*OptionAPI RowAPIs []*RowAPI TableAPIs []*TableAPI // index of the web socket for this stack type (unique among all stack instances) GONG__Index int }
type BackRepoDisplayedColumnStruct ¶
type BackRepoDisplayedColumnStruct struct { // stores DisplayedColumnDB according to their gorm ID Map_DisplayedColumnDBID_DisplayedColumnDB map[uint]*DisplayedColumnDB // stores DisplayedColumnDB ID according to DisplayedColumn address Map_DisplayedColumnPtr_DisplayedColumnDBID map[*models.DisplayedColumn]uint // stores DisplayedColumn according to their gorm ID Map_DisplayedColumnDBID_DisplayedColumnPtr map[uint]*models.DisplayedColumn // contains filtered or unexported fields }
func (*BackRepoDisplayedColumnStruct) Backup ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) Backup(dirPath string)
Backup generates a json file from a slice of all DisplayedColumnDB instances in the backrepo
func (*BackRepoDisplayedColumnStruct) BackupXL ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all DisplayedColumnDB instances in the backrepo
func (*BackRepoDisplayedColumnStruct) CheckoutPhaseOne ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseOne() (Error error)
BackRepoDisplayedColumn.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoDisplayedColumnStruct) CheckoutPhaseOneInstance ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseOneInstance(displayedcolumnDB *DisplayedColumnDB) (Error error)
CheckoutPhaseOneInstance takes a displayedcolumnDB that has been found in the DB, updates the backRepo and stages the models version of the displayedcolumnDB
func (*BackRepoDisplayedColumnStruct) CheckoutPhaseTwo ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoDisplayedColumn.CheckoutPhaseTwo Checkouts all staged instances of DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoDisplayedColumnStruct) CheckoutPhaseTwoInstance ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, displayedcolumnDB *DisplayedColumnDB) (Error error)
BackRepoDisplayedColumn.CheckoutPhaseTwoInstance Checkouts staged instances of DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoDisplayedColumnStruct) CommitDeleteInstance ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoDisplayedColumn.CommitDeleteInstance commits deletion of DisplayedColumn to the BackRepo
func (*BackRepoDisplayedColumnStruct) CommitPhaseOne ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoDisplayedColumn.CommitPhaseOne commits all staged instances of DisplayedColumn to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoDisplayedColumnStruct) CommitPhaseOneInstance ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseOneInstance(displayedcolumn *models.DisplayedColumn) (Error error)
BackRepoDisplayedColumn.CommitPhaseOneInstance commits displayedcolumn staged instances of DisplayedColumn to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoDisplayedColumnStruct) CommitPhaseTwo ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoDisplayedColumn.CommitPhaseTwo commits all staged instances of DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoDisplayedColumnStruct) CommitPhaseTwoInstance ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, displayedcolumn *models.DisplayedColumn) (Error error)
BackRepoDisplayedColumn.CommitPhaseTwoInstance commits {{structname }} of models.DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoDisplayedColumnStruct) GetDB ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) GetDB() db.DBInterface
func (*BackRepoDisplayedColumnStruct) GetDisplayedColumnDBFromDisplayedColumnPtr ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) GetDisplayedColumnDBFromDisplayedColumnPtr(displayedcolumn *models.DisplayedColumn) (displayedcolumnDB *DisplayedColumnDB)
GetDisplayedColumnDBFromDisplayedColumnPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoDisplayedColumnStruct) GetStage ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) GetStage() (stage *models.Stage)
func (*BackRepoDisplayedColumnStruct) ResetReversePointers ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoDisplayedColumn.ResetReversePointers commits all staged instances of DisplayedColumn to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoDisplayedColumnStruct) ResetReversePointersInstance ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, displayedcolumn *models.DisplayedColumn) (Error error)
func (*BackRepoDisplayedColumnStruct) RestorePhaseOne ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "DisplayedColumnDB.json" in dirPath that stores an array of DisplayedColumnDB and stores it in the database the map BackRepoDisplayedColumnid_atBckpTime_newID is updated accordingly
func (*BackRepoDisplayedColumnStruct) RestorePhaseTwo ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<DisplayedColumn>id_atBckpTime_newID to compute new index
func (*BackRepoDisplayedColumnStruct) RestoreXLPhaseOne ¶
func (backRepoDisplayedColumn *BackRepoDisplayedColumnStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "DisplayedColumn" sheet all DisplayedColumnDB instances
type BackRepoFormDivStruct ¶
type BackRepoFormDivStruct struct { // stores FormDivDB according to their gorm ID Map_FormDivDBID_FormDivDB map[uint]*FormDivDB // stores FormDivDB ID according to FormDiv address Map_FormDivPtr_FormDivDBID map[*models.FormDiv]uint // stores FormDiv according to their gorm ID Map_FormDivDBID_FormDivPtr map[uint]*models.FormDiv // contains filtered or unexported fields }
func (*BackRepoFormDivStruct) Backup ¶
func (backRepoFormDiv *BackRepoFormDivStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormDivDB instances in the backrepo
func (*BackRepoFormDivStruct) BackupXL ¶
func (backRepoFormDiv *BackRepoFormDivStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormDivDB instances in the backrepo
func (*BackRepoFormDivStruct) CheckoutPhaseOne ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseOne() (Error error)
BackRepoFormDiv.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormDivStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseOneInstance(formdivDB *FormDivDB) (Error error)
CheckoutPhaseOneInstance takes a formdivDB that has been found in the DB, updates the backRepo and stages the models version of the formdivDB
func (*BackRepoFormDivStruct) CheckoutPhaseTwo ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormDiv.CheckoutPhaseTwo Checkouts all staged instances of FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formdivDB *FormDivDB) (Error error)
BackRepoFormDiv.CheckoutPhaseTwoInstance Checkouts staged instances of FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) CommitDeleteInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormDiv.CommitDeleteInstance commits deletion of FormDiv to the BackRepo
func (*BackRepoFormDivStruct) CommitPhaseOne ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormDiv.CommitPhaseOne commits all staged instances of FormDiv to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormDivStruct) CommitPhaseOneInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseOneInstance(formdiv *models.FormDiv) (Error error)
BackRepoFormDiv.CommitPhaseOneInstance commits formdiv staged instances of FormDiv to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormDivStruct) CommitPhaseTwo ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormDiv.CommitPhaseTwo commits all staged instances of FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) CommitPhaseTwoInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formdiv *models.FormDiv) (Error error)
BackRepoFormDiv.CommitPhaseTwoInstance commits {{structname }} of models.FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) GetDB ¶
func (backRepoFormDiv *BackRepoFormDivStruct) GetDB() db.DBInterface
func (*BackRepoFormDivStruct) GetFormDivDBFromFormDivPtr ¶
func (backRepoFormDiv *BackRepoFormDivStruct) GetFormDivDBFromFormDivPtr(formdiv *models.FormDiv) (formdivDB *FormDivDB)
GetFormDivDBFromFormDivPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormDivStruct) GetStage ¶
func (backRepoFormDiv *BackRepoFormDivStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormDivStruct) ResetReversePointers ¶
func (backRepoFormDiv *BackRepoFormDivStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormDiv.ResetReversePointers commits all staged instances of FormDiv to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormDivStruct) ResetReversePointersInstance ¶
func (backRepoFormDiv *BackRepoFormDivStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formdiv *models.FormDiv) (Error error)
func (*BackRepoFormDivStruct) RestorePhaseOne ¶
func (backRepoFormDiv *BackRepoFormDivStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormDivDB.json" in dirPath that stores an array of FormDivDB and stores it in the database the map BackRepoFormDivid_atBckpTime_newID is updated accordingly
func (*BackRepoFormDivStruct) RestorePhaseTwo ¶
func (backRepoFormDiv *BackRepoFormDivStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormDiv>id_atBckpTime_newID to compute new index
func (*BackRepoFormDivStruct) RestoreXLPhaseOne ¶
func (backRepoFormDiv *BackRepoFormDivStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormDiv" sheet all FormDivDB instances
type BackRepoFormEditAssocButtonStruct ¶
type BackRepoFormEditAssocButtonStruct struct { // stores FormEditAssocButtonDB according to their gorm ID Map_FormEditAssocButtonDBID_FormEditAssocButtonDB map[uint]*FormEditAssocButtonDB // stores FormEditAssocButtonDB ID according to FormEditAssocButton address Map_FormEditAssocButtonPtr_FormEditAssocButtonDBID map[*models.FormEditAssocButton]uint // stores FormEditAssocButton according to their gorm ID Map_FormEditAssocButtonDBID_FormEditAssocButtonPtr map[uint]*models.FormEditAssocButton // contains filtered or unexported fields }
func (*BackRepoFormEditAssocButtonStruct) Backup ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormEditAssocButtonDB instances in the backrepo
func (*BackRepoFormEditAssocButtonStruct) BackupXL ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormEditAssocButtonDB instances in the backrepo
func (*BackRepoFormEditAssocButtonStruct) CheckoutPhaseOne ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseOne() (Error error)
BackRepoFormEditAssocButton.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormEditAssocButtonStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseOneInstance(formeditassocbuttonDB *FormEditAssocButtonDB) (Error error)
CheckoutPhaseOneInstance takes a formeditassocbuttonDB that has been found in the DB, updates the backRepo and stages the models version of the formeditassocbuttonDB
func (*BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwo ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormEditAssocButton.CheckoutPhaseTwo Checkouts all staged instances of FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formeditassocbuttonDB *FormEditAssocButtonDB) (Error error)
BackRepoFormEditAssocButton.CheckoutPhaseTwoInstance Checkouts staged instances of FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) CommitDeleteInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormEditAssocButton.CommitDeleteInstance commits deletion of FormEditAssocButton to the BackRepo
func (*BackRepoFormEditAssocButtonStruct) CommitPhaseOne ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormEditAssocButton.CommitPhaseOne commits all staged instances of FormEditAssocButton to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormEditAssocButtonStruct) CommitPhaseOneInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseOneInstance(formeditassocbutton *models.FormEditAssocButton) (Error error)
BackRepoFormEditAssocButton.CommitPhaseOneInstance commits formeditassocbutton staged instances of FormEditAssocButton to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormEditAssocButtonStruct) CommitPhaseTwo ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormEditAssocButton.CommitPhaseTwo commits all staged instances of FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) CommitPhaseTwoInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formeditassocbutton *models.FormEditAssocButton) (Error error)
BackRepoFormEditAssocButton.CommitPhaseTwoInstance commits {{structname }} of models.FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) GetDB ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetDB() db.DBInterface
func (*BackRepoFormEditAssocButtonStruct) GetFormEditAssocButtonDBFromFormEditAssocButtonPtr ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetFormEditAssocButtonDBFromFormEditAssocButtonPtr(formeditassocbutton *models.FormEditAssocButton) (formeditassocbuttonDB *FormEditAssocButtonDB)
GetFormEditAssocButtonDBFromFormEditAssocButtonPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormEditAssocButtonStruct) GetStage ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormEditAssocButtonStruct) ResetReversePointers ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormEditAssocButton.ResetReversePointers commits all staged instances of FormEditAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormEditAssocButtonStruct) ResetReversePointersInstance ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formeditassocbutton *models.FormEditAssocButton) (Error error)
func (*BackRepoFormEditAssocButtonStruct) RestorePhaseOne ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormEditAssocButtonDB.json" in dirPath that stores an array of FormEditAssocButtonDB and stores it in the database the map BackRepoFormEditAssocButtonid_atBckpTime_newID is updated accordingly
func (*BackRepoFormEditAssocButtonStruct) RestorePhaseTwo ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormEditAssocButton>id_atBckpTime_newID to compute new index
func (*BackRepoFormEditAssocButtonStruct) RestoreXLPhaseOne ¶
func (backRepoFormEditAssocButton *BackRepoFormEditAssocButtonStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormEditAssocButton" sheet all FormEditAssocButtonDB instances
type BackRepoFormFieldDateStruct ¶
type BackRepoFormFieldDateStruct struct { // stores FormFieldDateDB according to their gorm ID Map_FormFieldDateDBID_FormFieldDateDB map[uint]*FormFieldDateDB // stores FormFieldDateDB ID according to FormFieldDate address Map_FormFieldDatePtr_FormFieldDateDBID map[*models.FormFieldDate]uint // stores FormFieldDate according to their gorm ID Map_FormFieldDateDBID_FormFieldDatePtr map[uint]*models.FormFieldDate // contains filtered or unexported fields }
func (*BackRepoFormFieldDateStruct) Backup ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldDateDB instances in the backrepo
func (*BackRepoFormFieldDateStruct) BackupXL ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldDateDB instances in the backrepo
func (*BackRepoFormFieldDateStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldDate.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormFieldDateStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseOneInstance(formfielddateDB *FormFieldDateDB) (Error error)
CheckoutPhaseOneInstance takes a formfielddateDB that has been found in the DB, updates the backRepo and stages the models version of the formfielddateDB
func (*BackRepoFormFieldDateStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDate.CheckoutPhaseTwo Checkouts all staged instances of FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfielddateDB *FormFieldDateDB) (Error error)
BackRepoFormFieldDate.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) CommitDeleteInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldDate.CommitDeleteInstance commits deletion of FormFieldDate to the BackRepo
func (*BackRepoFormFieldDateStruct) CommitPhaseOne ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormFieldDate.CommitPhaseOne commits all staged instances of FormFieldDate to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldDateStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseOneInstance(formfielddate *models.FormFieldDate) (Error error)
BackRepoFormFieldDate.CommitPhaseOneInstance commits formfielddate staged instances of FormFieldDate to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldDateStruct) CommitPhaseTwo ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDate.CommitPhaseTwo commits all staged instances of FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfielddate *models.FormFieldDate) (Error error)
BackRepoFormFieldDate.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) GetDB ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetDB() db.DBInterface
func (*BackRepoFormFieldDateStruct) GetFormFieldDateDBFromFormFieldDatePtr ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetFormFieldDateDBFromFormFieldDatePtr(formfielddate *models.FormFieldDate) (formfielddateDB *FormFieldDateDB)
GetFormFieldDateDBFromFormFieldDatePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldDateStruct) GetStage ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormFieldDateStruct) ResetReversePointers ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDate.ResetReversePointers commits all staged instances of FormFieldDate to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfielddate *models.FormFieldDate) (Error error)
func (*BackRepoFormFieldDateStruct) RestorePhaseOne ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldDateDB.json" in dirPath that stores an array of FormFieldDateDB and stores it in the database the map BackRepoFormFieldDateid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldDateStruct) RestorePhaseTwo ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldDate>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldDateStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldDate *BackRepoFormFieldDateStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldDate" sheet all FormFieldDateDB instances
type BackRepoFormFieldDateTimeStruct ¶
type BackRepoFormFieldDateTimeStruct struct { // stores FormFieldDateTimeDB according to their gorm ID Map_FormFieldDateTimeDBID_FormFieldDateTimeDB map[uint]*FormFieldDateTimeDB // stores FormFieldDateTimeDB ID according to FormFieldDateTime address Map_FormFieldDateTimePtr_FormFieldDateTimeDBID map[*models.FormFieldDateTime]uint // stores FormFieldDateTime according to their gorm ID Map_FormFieldDateTimeDBID_FormFieldDateTimePtr map[uint]*models.FormFieldDateTime // contains filtered or unexported fields }
func (*BackRepoFormFieldDateTimeStruct) Backup ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldDateTimeDB instances in the backrepo
func (*BackRepoFormFieldDateTimeStruct) BackupXL ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldDateTimeDB instances in the backrepo
func (*BackRepoFormFieldDateTimeStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldDateTime.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormFieldDateTimeStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseOneInstance(formfielddatetimeDB *FormFieldDateTimeDB) (Error error)
CheckoutPhaseOneInstance takes a formfielddatetimeDB that has been found in the DB, updates the backRepo and stages the models version of the formfielddatetimeDB
func (*BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDateTime.CheckoutPhaseTwo Checkouts all staged instances of FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfielddatetimeDB *FormFieldDateTimeDB) (Error error)
BackRepoFormFieldDateTime.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) CommitDeleteInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldDateTime.CommitDeleteInstance commits deletion of FormFieldDateTime to the BackRepo
func (*BackRepoFormFieldDateTimeStruct) CommitPhaseOne ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormFieldDateTime.CommitPhaseOne commits all staged instances of FormFieldDateTime to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldDateTimeStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseOneInstance(formfielddatetime *models.FormFieldDateTime) (Error error)
BackRepoFormFieldDateTime.CommitPhaseOneInstance commits formfielddatetime staged instances of FormFieldDateTime to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldDateTimeStruct) CommitPhaseTwo ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDateTime.CommitPhaseTwo commits all staged instances of FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfielddatetime *models.FormFieldDateTime) (Error error)
BackRepoFormFieldDateTime.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) GetDB ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetDB() db.DBInterface
func (*BackRepoFormFieldDateTimeStruct) GetFormFieldDateTimeDBFromFormFieldDateTimePtr ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetFormFieldDateTimeDBFromFormFieldDateTimePtr(formfielddatetime *models.FormFieldDateTime) (formfielddatetimeDB *FormFieldDateTimeDB)
GetFormFieldDateTimeDBFromFormFieldDateTimePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldDateTimeStruct) GetStage ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormFieldDateTimeStruct) ResetReversePointers ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldDateTime.ResetReversePointers commits all staged instances of FormFieldDateTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldDateTimeStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfielddatetime *models.FormFieldDateTime) (Error error)
func (*BackRepoFormFieldDateTimeStruct) RestorePhaseOne ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldDateTimeDB.json" in dirPath that stores an array of FormFieldDateTimeDB and stores it in the database the map BackRepoFormFieldDateTimeid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldDateTimeStruct) RestorePhaseTwo ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldDateTime>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldDateTimeStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldDateTime *BackRepoFormFieldDateTimeStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldDateTime" sheet all FormFieldDateTimeDB instances
type BackRepoFormFieldFloat64Struct ¶
type BackRepoFormFieldFloat64Struct struct { // stores FormFieldFloat64DB according to their gorm ID Map_FormFieldFloat64DBID_FormFieldFloat64DB map[uint]*FormFieldFloat64DB // stores FormFieldFloat64DB ID according to FormFieldFloat64 address Map_FormFieldFloat64Ptr_FormFieldFloat64DBID map[*models.FormFieldFloat64]uint // stores FormFieldFloat64 according to their gorm ID Map_FormFieldFloat64DBID_FormFieldFloat64Ptr map[uint]*models.FormFieldFloat64 // contains filtered or unexported fields }
func (*BackRepoFormFieldFloat64Struct) Backup ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldFloat64DB instances in the backrepo
func (*BackRepoFormFieldFloat64Struct) BackupXL ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldFloat64DB instances in the backrepo
func (*BackRepoFormFieldFloat64Struct) CheckoutPhaseOne ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldFloat64.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormFieldFloat64Struct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseOneInstance(formfieldfloat64DB *FormFieldFloat64DB) (Error error)
CheckoutPhaseOneInstance takes a formfieldfloat64DB that has been found in the DB, updates the backRepo and stages the models version of the formfieldfloat64DB
func (*BackRepoFormFieldFloat64Struct) CheckoutPhaseTwo ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldFloat64.CheckoutPhaseTwo Checkouts all staged instances of FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldfloat64DB *FormFieldFloat64DB) (Error error)
BackRepoFormFieldFloat64.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) CommitDeleteInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldFloat64.CommitDeleteInstance commits deletion of FormFieldFloat64 to the BackRepo
func (*BackRepoFormFieldFloat64Struct) CommitPhaseOne ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormFieldFloat64.CommitPhaseOne commits all staged instances of FormFieldFloat64 to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldFloat64Struct) CommitPhaseOneInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseOneInstance(formfieldfloat64 *models.FormFieldFloat64) (Error error)
BackRepoFormFieldFloat64.CommitPhaseOneInstance commits formfieldfloat64 staged instances of FormFieldFloat64 to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldFloat64Struct) CommitPhaseTwo ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldFloat64.CommitPhaseTwo commits all staged instances of FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldfloat64 *models.FormFieldFloat64) (Error error)
BackRepoFormFieldFloat64.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) GetDB ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetDB() db.DBInterface
func (*BackRepoFormFieldFloat64Struct) GetFormFieldFloat64DBFromFormFieldFloat64Ptr ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetFormFieldFloat64DBFromFormFieldFloat64Ptr(formfieldfloat64 *models.FormFieldFloat64) (formfieldfloat64DB *FormFieldFloat64DB)
GetFormFieldFloat64DBFromFormFieldFloat64Ptr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldFloat64Struct) GetStage ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) GetStage() (stage *models.Stage)
func (*BackRepoFormFieldFloat64Struct) ResetReversePointers ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldFloat64.ResetReversePointers commits all staged instances of FormFieldFloat64 to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldFloat64Struct) ResetReversePointersInstance ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldfloat64 *models.FormFieldFloat64) (Error error)
func (*BackRepoFormFieldFloat64Struct) RestorePhaseOne ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldFloat64DB.json" in dirPath that stores an array of FormFieldFloat64DB and stores it in the database the map BackRepoFormFieldFloat64id_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldFloat64Struct) RestorePhaseTwo ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldFloat64>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldFloat64Struct) RestoreXLPhaseOne ¶
func (backRepoFormFieldFloat64 *BackRepoFormFieldFloat64Struct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldFloat64" sheet all FormFieldFloat64DB instances
type BackRepoFormFieldIntStruct ¶
type BackRepoFormFieldIntStruct struct { // stores FormFieldIntDB according to their gorm ID Map_FormFieldIntDBID_FormFieldIntDB map[uint]*FormFieldIntDB // stores FormFieldIntDB ID according to FormFieldInt address Map_FormFieldIntPtr_FormFieldIntDBID map[*models.FormFieldInt]uint // stores FormFieldInt according to their gorm ID Map_FormFieldIntDBID_FormFieldIntPtr map[uint]*models.FormFieldInt // contains filtered or unexported fields }
func (*BackRepoFormFieldIntStruct) Backup ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldIntDB instances in the backrepo
func (*BackRepoFormFieldIntStruct) BackupXL ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldIntDB instances in the backrepo
func (*BackRepoFormFieldIntStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldInt.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormFieldIntStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseOneInstance(formfieldintDB *FormFieldIntDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldintDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldintDB
func (*BackRepoFormFieldIntStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldInt.CheckoutPhaseTwo Checkouts all staged instances of FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldintDB *FormFieldIntDB) (Error error)
BackRepoFormFieldInt.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) CommitDeleteInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldInt.CommitDeleteInstance commits deletion of FormFieldInt to the BackRepo
func (*BackRepoFormFieldIntStruct) CommitPhaseOne ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormFieldInt.CommitPhaseOne commits all staged instances of FormFieldInt to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldIntStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseOneInstance(formfieldint *models.FormFieldInt) (Error error)
BackRepoFormFieldInt.CommitPhaseOneInstance commits formfieldint staged instances of FormFieldInt to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldIntStruct) CommitPhaseTwo ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldInt.CommitPhaseTwo commits all staged instances of FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldint *models.FormFieldInt) (Error error)
BackRepoFormFieldInt.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) GetDB ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetDB() db.DBInterface
func (*BackRepoFormFieldIntStruct) GetFormFieldIntDBFromFormFieldIntPtr ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetFormFieldIntDBFromFormFieldIntPtr(formfieldint *models.FormFieldInt) (formfieldintDB *FormFieldIntDB)
GetFormFieldIntDBFromFormFieldIntPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldIntStruct) GetStage ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormFieldIntStruct) ResetReversePointers ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldInt.ResetReversePointers commits all staged instances of FormFieldInt to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldIntStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldint *models.FormFieldInt) (Error error)
func (*BackRepoFormFieldIntStruct) RestorePhaseOne ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldIntDB.json" in dirPath that stores an array of FormFieldIntDB and stores it in the database the map BackRepoFormFieldIntid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldIntStruct) RestorePhaseTwo ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldInt>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldIntStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldInt *BackRepoFormFieldIntStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldInt" sheet all FormFieldIntDB instances
type BackRepoFormFieldSelectStruct ¶
type BackRepoFormFieldSelectStruct struct { // stores FormFieldSelectDB according to their gorm ID Map_FormFieldSelectDBID_FormFieldSelectDB map[uint]*FormFieldSelectDB // stores FormFieldSelectDB ID according to FormFieldSelect address Map_FormFieldSelectPtr_FormFieldSelectDBID map[*models.FormFieldSelect]uint // stores FormFieldSelect according to their gorm ID Map_FormFieldSelectDBID_FormFieldSelectPtr map[uint]*models.FormFieldSelect // contains filtered or unexported fields }
func (*BackRepoFormFieldSelectStruct) Backup ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldSelectDB instances in the backrepo
func (*BackRepoFormFieldSelectStruct) BackupXL ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldSelectDB instances in the backrepo
func (*BackRepoFormFieldSelectStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldSelect.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormFieldSelectStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseOneInstance(formfieldselectDB *FormFieldSelectDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldselectDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldselectDB
func (*BackRepoFormFieldSelectStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldSelect.CheckoutPhaseTwo Checkouts all staged instances of FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldselectDB *FormFieldSelectDB) (Error error)
BackRepoFormFieldSelect.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) CommitDeleteInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldSelect.CommitDeleteInstance commits deletion of FormFieldSelect to the BackRepo
func (*BackRepoFormFieldSelectStruct) CommitPhaseOne ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormFieldSelect.CommitPhaseOne commits all staged instances of FormFieldSelect to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldSelectStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseOneInstance(formfieldselect *models.FormFieldSelect) (Error error)
BackRepoFormFieldSelect.CommitPhaseOneInstance commits formfieldselect staged instances of FormFieldSelect to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldSelectStruct) CommitPhaseTwo ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldSelect.CommitPhaseTwo commits all staged instances of FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldselect *models.FormFieldSelect) (Error error)
BackRepoFormFieldSelect.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) GetDB ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetDB() db.DBInterface
func (*BackRepoFormFieldSelectStruct) GetFormFieldSelectDBFromFormFieldSelectPtr ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetFormFieldSelectDBFromFormFieldSelectPtr(formfieldselect *models.FormFieldSelect) (formfieldselectDB *FormFieldSelectDB)
GetFormFieldSelectDBFromFormFieldSelectPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldSelectStruct) GetStage ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormFieldSelectStruct) ResetReversePointers ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldSelect.ResetReversePointers commits all staged instances of FormFieldSelect to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldSelectStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldselect *models.FormFieldSelect) (Error error)
func (*BackRepoFormFieldSelectStruct) RestorePhaseOne ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldSelectDB.json" in dirPath that stores an array of FormFieldSelectDB and stores it in the database the map BackRepoFormFieldSelectid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldSelectStruct) RestorePhaseTwo ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldSelect>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldSelectStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldSelect *BackRepoFormFieldSelectStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldSelect" sheet all FormFieldSelectDB instances
type BackRepoFormFieldStringStruct ¶
type BackRepoFormFieldStringStruct struct { // stores FormFieldStringDB according to their gorm ID Map_FormFieldStringDBID_FormFieldStringDB map[uint]*FormFieldStringDB // stores FormFieldStringDB ID according to FormFieldString address Map_FormFieldStringPtr_FormFieldStringDBID map[*models.FormFieldString]uint // stores FormFieldString according to their gorm ID Map_FormFieldStringDBID_FormFieldStringPtr map[uint]*models.FormFieldString // contains filtered or unexported fields }
func (*BackRepoFormFieldStringStruct) Backup ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldStringDB instances in the backrepo
func (*BackRepoFormFieldStringStruct) BackupXL ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldStringDB instances in the backrepo
func (*BackRepoFormFieldStringStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldString.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormFieldStringStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseOneInstance(formfieldstringDB *FormFieldStringDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldstringDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldstringDB
func (*BackRepoFormFieldStringStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldString.CheckoutPhaseTwo Checkouts all staged instances of FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldstringDB *FormFieldStringDB) (Error error)
BackRepoFormFieldString.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) CommitDeleteInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldString.CommitDeleteInstance commits deletion of FormFieldString to the BackRepo
func (*BackRepoFormFieldStringStruct) CommitPhaseOne ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormFieldString.CommitPhaseOne commits all staged instances of FormFieldString to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldStringStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseOneInstance(formfieldstring *models.FormFieldString) (Error error)
BackRepoFormFieldString.CommitPhaseOneInstance commits formfieldstring staged instances of FormFieldString to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldStringStruct) CommitPhaseTwo ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldString.CommitPhaseTwo commits all staged instances of FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldstring *models.FormFieldString) (Error error)
BackRepoFormFieldString.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) GetDB ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetDB() db.DBInterface
func (*BackRepoFormFieldStringStruct) GetFormFieldStringDBFromFormFieldStringPtr ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetFormFieldStringDBFromFormFieldStringPtr(formfieldstring *models.FormFieldString) (formfieldstringDB *FormFieldStringDB)
GetFormFieldStringDBFromFormFieldStringPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldStringStruct) GetStage ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormFieldStringStruct) ResetReversePointers ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldString.ResetReversePointers commits all staged instances of FormFieldString to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStringStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldstring *models.FormFieldString) (Error error)
func (*BackRepoFormFieldStringStruct) RestorePhaseOne ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldStringDB.json" in dirPath that stores an array of FormFieldStringDB and stores it in the database the map BackRepoFormFieldStringid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldStringStruct) RestorePhaseTwo ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldString>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldStringStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldString *BackRepoFormFieldStringStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldString" sheet all FormFieldStringDB instances
type BackRepoFormFieldStruct ¶
type BackRepoFormFieldStruct struct { // stores FormFieldDB according to their gorm ID Map_FormFieldDBID_FormFieldDB map[uint]*FormFieldDB // stores FormFieldDB ID according to FormField address Map_FormFieldPtr_FormFieldDBID map[*models.FormField]uint // stores FormField according to their gorm ID Map_FormFieldDBID_FormFieldPtr map[uint]*models.FormField // contains filtered or unexported fields }
func (*BackRepoFormFieldStruct) Backup ¶
func (backRepoFormField *BackRepoFormFieldStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldDB instances in the backrepo
func (*BackRepoFormFieldStruct) BackupXL ¶
func (backRepoFormField *BackRepoFormFieldStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldDB instances in the backrepo
func (*BackRepoFormFieldStruct) CheckoutPhaseOne ¶
func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseOne() (Error error)
BackRepoFormField.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormFieldStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseOneInstance(formfieldDB *FormFieldDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldDB
func (*BackRepoFormFieldStruct) CheckoutPhaseTwo ¶
func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormField.CheckoutPhaseTwo Checkouts all staged instances of FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldDB *FormFieldDB) (Error error)
BackRepoFormField.CheckoutPhaseTwoInstance Checkouts staged instances of FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) CommitDeleteInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormField.CommitDeleteInstance commits deletion of FormField to the BackRepo
func (*BackRepoFormFieldStruct) CommitPhaseOne ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormField.CommitPhaseOne commits all staged instances of FormField to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldStruct) CommitPhaseOneInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseOneInstance(formfield *models.FormField) (Error error)
BackRepoFormField.CommitPhaseOneInstance commits formfield staged instances of FormField to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldStruct) CommitPhaseTwo ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormField.CommitPhaseTwo commits all staged instances of FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) CommitPhaseTwoInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfield *models.FormField) (Error error)
BackRepoFormField.CommitPhaseTwoInstance commits {{structname }} of models.FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) GetDB ¶
func (backRepoFormField *BackRepoFormFieldStruct) GetDB() db.DBInterface
func (*BackRepoFormFieldStruct) GetFormFieldDBFromFormFieldPtr ¶
func (backRepoFormField *BackRepoFormFieldStruct) GetFormFieldDBFromFormFieldPtr(formfield *models.FormField) (formfieldDB *FormFieldDB)
GetFormFieldDBFromFormFieldPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldStruct) GetStage ¶
func (backRepoFormField *BackRepoFormFieldStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormFieldStruct) ResetReversePointers ¶
func (backRepoFormField *BackRepoFormFieldStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormField.ResetReversePointers commits all staged instances of FormField to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldStruct) ResetReversePointersInstance ¶
func (backRepoFormField *BackRepoFormFieldStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfield *models.FormField) (Error error)
func (*BackRepoFormFieldStruct) RestorePhaseOne ¶
func (backRepoFormField *BackRepoFormFieldStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldDB.json" in dirPath that stores an array of FormFieldDB and stores it in the database the map BackRepoFormFieldid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldStruct) RestorePhaseTwo ¶
func (backRepoFormField *BackRepoFormFieldStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormField>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldStruct) RestoreXLPhaseOne ¶
func (backRepoFormField *BackRepoFormFieldStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormField" sheet all FormFieldDB instances
type BackRepoFormFieldTimeStruct ¶
type BackRepoFormFieldTimeStruct struct { // stores FormFieldTimeDB according to their gorm ID Map_FormFieldTimeDBID_FormFieldTimeDB map[uint]*FormFieldTimeDB // stores FormFieldTimeDB ID according to FormFieldTime address Map_FormFieldTimePtr_FormFieldTimeDBID map[*models.FormFieldTime]uint // stores FormFieldTime according to their gorm ID Map_FormFieldTimeDBID_FormFieldTimePtr map[uint]*models.FormFieldTime // contains filtered or unexported fields }
func (*BackRepoFormFieldTimeStruct) Backup ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormFieldTimeDB instances in the backrepo
func (*BackRepoFormFieldTimeStruct) BackupXL ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormFieldTimeDB instances in the backrepo
func (*BackRepoFormFieldTimeStruct) CheckoutPhaseOne ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseOne() (Error error)
BackRepoFormFieldTime.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormFieldTimeStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseOneInstance(formfieldtimeDB *FormFieldTimeDB) (Error error)
CheckoutPhaseOneInstance takes a formfieldtimeDB that has been found in the DB, updates the backRepo and stages the models version of the formfieldtimeDB
func (*BackRepoFormFieldTimeStruct) CheckoutPhaseTwo ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldTime.CheckoutPhaseTwo Checkouts all staged instances of FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formfieldtimeDB *FormFieldTimeDB) (Error error)
BackRepoFormFieldTime.CheckoutPhaseTwoInstance Checkouts staged instances of FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) CommitDeleteInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormFieldTime.CommitDeleteInstance commits deletion of FormFieldTime to the BackRepo
func (*BackRepoFormFieldTimeStruct) CommitPhaseOne ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormFieldTime.CommitPhaseOne commits all staged instances of FormFieldTime to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldTimeStruct) CommitPhaseOneInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseOneInstance(formfieldtime *models.FormFieldTime) (Error error)
BackRepoFormFieldTime.CommitPhaseOneInstance commits formfieldtime staged instances of FormFieldTime to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormFieldTimeStruct) CommitPhaseTwo ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldTime.CommitPhaseTwo commits all staged instances of FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) CommitPhaseTwoInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formfieldtime *models.FormFieldTime) (Error error)
BackRepoFormFieldTime.CommitPhaseTwoInstance commits {{structname }} of models.FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) GetDB ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetDB() db.DBInterface
func (*BackRepoFormFieldTimeStruct) GetFormFieldTimeDBFromFormFieldTimePtr ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetFormFieldTimeDBFromFormFieldTimePtr(formfieldtime *models.FormFieldTime) (formfieldtimeDB *FormFieldTimeDB)
GetFormFieldTimeDBFromFormFieldTimePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormFieldTimeStruct) GetStage ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormFieldTimeStruct) ResetReversePointers ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormFieldTime.ResetReversePointers commits all staged instances of FormFieldTime to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormFieldTimeStruct) ResetReversePointersInstance ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formfieldtime *models.FormFieldTime) (Error error)
func (*BackRepoFormFieldTimeStruct) RestorePhaseOne ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormFieldTimeDB.json" in dirPath that stores an array of FormFieldTimeDB and stores it in the database the map BackRepoFormFieldTimeid_atBckpTime_newID is updated accordingly
func (*BackRepoFormFieldTimeStruct) RestorePhaseTwo ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormFieldTime>id_atBckpTime_newID to compute new index
func (*BackRepoFormFieldTimeStruct) RestoreXLPhaseOne ¶
func (backRepoFormFieldTime *BackRepoFormFieldTimeStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormFieldTime" sheet all FormFieldTimeDB instances
type BackRepoFormGroupStruct ¶
type BackRepoFormGroupStruct struct { // stores FormGroupDB according to their gorm ID Map_FormGroupDBID_FormGroupDB map[uint]*FormGroupDB // stores FormGroupDB ID according to FormGroup address Map_FormGroupPtr_FormGroupDBID map[*models.FormGroup]uint // stores FormGroup according to their gorm ID Map_FormGroupDBID_FormGroupPtr map[uint]*models.FormGroup // contains filtered or unexported fields }
func (*BackRepoFormGroupStruct) Backup ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormGroupDB instances in the backrepo
func (*BackRepoFormGroupStruct) BackupXL ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormGroupDB instances in the backrepo
func (*BackRepoFormGroupStruct) CheckoutPhaseOne ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseOne() (Error error)
BackRepoFormGroup.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormGroupStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseOneInstance(formgroupDB *FormGroupDB) (Error error)
CheckoutPhaseOneInstance takes a formgroupDB that has been found in the DB, updates the backRepo and stages the models version of the formgroupDB
func (*BackRepoFormGroupStruct) CheckoutPhaseTwo ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormGroup.CheckoutPhaseTwo Checkouts all staged instances of FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formgroupDB *FormGroupDB) (Error error)
BackRepoFormGroup.CheckoutPhaseTwoInstance Checkouts staged instances of FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) CommitDeleteInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormGroup.CommitDeleteInstance commits deletion of FormGroup to the BackRepo
func (*BackRepoFormGroupStruct) CommitPhaseOne ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormGroup.CommitPhaseOne commits all staged instances of FormGroup to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormGroupStruct) CommitPhaseOneInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseOneInstance(formgroup *models.FormGroup) (Error error)
BackRepoFormGroup.CommitPhaseOneInstance commits formgroup staged instances of FormGroup to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormGroupStruct) CommitPhaseTwo ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormGroup.CommitPhaseTwo commits all staged instances of FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) CommitPhaseTwoInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formgroup *models.FormGroup) (Error error)
BackRepoFormGroup.CommitPhaseTwoInstance commits {{structname }} of models.FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) GetDB ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) GetDB() db.DBInterface
func (*BackRepoFormGroupStruct) GetFormGroupDBFromFormGroupPtr ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) GetFormGroupDBFromFormGroupPtr(formgroup *models.FormGroup) (formgroupDB *FormGroupDB)
GetFormGroupDBFromFormGroupPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormGroupStruct) GetStage ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormGroupStruct) ResetReversePointers ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormGroup.ResetReversePointers commits all staged instances of FormGroup to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormGroupStruct) ResetReversePointersInstance ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formgroup *models.FormGroup) (Error error)
func (*BackRepoFormGroupStruct) RestorePhaseOne ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormGroupDB.json" in dirPath that stores an array of FormGroupDB and stores it in the database the map BackRepoFormGroupid_atBckpTime_newID is updated accordingly
func (*BackRepoFormGroupStruct) RestorePhaseTwo ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormGroup>id_atBckpTime_newID to compute new index
func (*BackRepoFormGroupStruct) RestoreXLPhaseOne ¶
func (backRepoFormGroup *BackRepoFormGroupStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormGroup" sheet all FormGroupDB instances
type BackRepoFormSortAssocButtonStruct ¶
type BackRepoFormSortAssocButtonStruct struct { // stores FormSortAssocButtonDB according to their gorm ID Map_FormSortAssocButtonDBID_FormSortAssocButtonDB map[uint]*FormSortAssocButtonDB // stores FormSortAssocButtonDB ID according to FormSortAssocButton address Map_FormSortAssocButtonPtr_FormSortAssocButtonDBID map[*models.FormSortAssocButton]uint // stores FormSortAssocButton according to their gorm ID Map_FormSortAssocButtonDBID_FormSortAssocButtonPtr map[uint]*models.FormSortAssocButton // contains filtered or unexported fields }
func (*BackRepoFormSortAssocButtonStruct) Backup ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) Backup(dirPath string)
Backup generates a json file from a slice of all FormSortAssocButtonDB instances in the backrepo
func (*BackRepoFormSortAssocButtonStruct) BackupXL ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all FormSortAssocButtonDB instances in the backrepo
func (*BackRepoFormSortAssocButtonStruct) CheckoutPhaseOne ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseOne() (Error error)
BackRepoFormSortAssocButton.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoFormSortAssocButtonStruct) CheckoutPhaseOneInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseOneInstance(formsortassocbuttonDB *FormSortAssocButtonDB) (Error error)
CheckoutPhaseOneInstance takes a formsortassocbuttonDB that has been found in the DB, updates the backRepo and stages the models version of the formsortassocbuttonDB
func (*BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwo ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormSortAssocButton.CheckoutPhaseTwo Checkouts all staged instances of FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwoInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, formsortassocbuttonDB *FormSortAssocButtonDB) (Error error)
BackRepoFormSortAssocButton.CheckoutPhaseTwoInstance Checkouts staged instances of FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) CommitDeleteInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoFormSortAssocButton.CommitDeleteInstance commits deletion of FormSortAssocButton to the BackRepo
func (*BackRepoFormSortAssocButtonStruct) CommitPhaseOne ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoFormSortAssocButton.CommitPhaseOne commits all staged instances of FormSortAssocButton to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormSortAssocButtonStruct) CommitPhaseOneInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseOneInstance(formsortassocbutton *models.FormSortAssocButton) (Error error)
BackRepoFormSortAssocButton.CommitPhaseOneInstance commits formsortassocbutton staged instances of FormSortAssocButton to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoFormSortAssocButtonStruct) CommitPhaseTwo ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoFormSortAssocButton.CommitPhaseTwo commits all staged instances of FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) CommitPhaseTwoInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, formsortassocbutton *models.FormSortAssocButton) (Error error)
BackRepoFormSortAssocButton.CommitPhaseTwoInstance commits {{structname }} of models.FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) GetDB ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetDB() db.DBInterface
func (*BackRepoFormSortAssocButtonStruct) GetFormSortAssocButtonDBFromFormSortAssocButtonPtr ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetFormSortAssocButtonDBFromFormSortAssocButtonPtr(formsortassocbutton *models.FormSortAssocButton) (formsortassocbuttonDB *FormSortAssocButtonDB)
GetFormSortAssocButtonDBFromFormSortAssocButtonPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoFormSortAssocButtonStruct) GetStage ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) GetStage() (stage *models.Stage)
func (*BackRepoFormSortAssocButtonStruct) ResetReversePointers ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoFormSortAssocButton.ResetReversePointers commits all staged instances of FormSortAssocButton to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoFormSortAssocButtonStruct) ResetReversePointersInstance ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, formsortassocbutton *models.FormSortAssocButton) (Error error)
func (*BackRepoFormSortAssocButtonStruct) RestorePhaseOne ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "FormSortAssocButtonDB.json" in dirPath that stores an array of FormSortAssocButtonDB and stores it in the database the map BackRepoFormSortAssocButtonid_atBckpTime_newID is updated accordingly
func (*BackRepoFormSortAssocButtonStruct) RestorePhaseTwo ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<FormSortAssocButton>id_atBckpTime_newID to compute new index
func (*BackRepoFormSortAssocButtonStruct) RestoreXLPhaseOne ¶
func (backRepoFormSortAssocButton *BackRepoFormSortAssocButtonStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "FormSortAssocButton" sheet all FormSortAssocButtonDB instances
type BackRepoOptionStruct ¶
type BackRepoOptionStruct struct { // stores OptionDB according to their gorm ID Map_OptionDBID_OptionDB map[uint]*OptionDB // stores OptionDB ID according to Option address Map_OptionPtr_OptionDBID map[*models.Option]uint // stores Option according to their gorm ID Map_OptionDBID_OptionPtr map[uint]*models.Option // contains filtered or unexported fields }
func (*BackRepoOptionStruct) Backup ¶
func (backRepoOption *BackRepoOptionStruct) Backup(dirPath string)
Backup generates a json file from a slice of all OptionDB instances in the backrepo
func (*BackRepoOptionStruct) BackupXL ¶
func (backRepoOption *BackRepoOptionStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all OptionDB instances in the backrepo
func (*BackRepoOptionStruct) CheckoutPhaseOne ¶
func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseOne() (Error error)
BackRepoOption.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoOptionStruct) CheckoutPhaseOneInstance ¶
func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseOneInstance(optionDB *OptionDB) (Error error)
CheckoutPhaseOneInstance takes a optionDB that has been found in the DB, updates the backRepo and stages the models version of the optionDB
func (*BackRepoOptionStruct) CheckoutPhaseTwo ¶
func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoOption.CheckoutPhaseTwo Checkouts all staged instances of Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) CheckoutPhaseTwoInstance ¶
func (backRepoOption *BackRepoOptionStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, optionDB *OptionDB) (Error error)
BackRepoOption.CheckoutPhaseTwoInstance Checkouts staged instances of Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) CommitDeleteInstance ¶
func (backRepoOption *BackRepoOptionStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoOption.CommitDeleteInstance commits deletion of Option to the BackRepo
func (*BackRepoOptionStruct) CommitPhaseOne ¶
func (backRepoOption *BackRepoOptionStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoOption.CommitPhaseOne commits all staged instances of Option to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoOptionStruct) CommitPhaseOneInstance ¶
func (backRepoOption *BackRepoOptionStruct) CommitPhaseOneInstance(option *models.Option) (Error error)
BackRepoOption.CommitPhaseOneInstance commits option staged instances of Option to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoOptionStruct) CommitPhaseTwo ¶
func (backRepoOption *BackRepoOptionStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoOption.CommitPhaseTwo commits all staged instances of Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) CommitPhaseTwoInstance ¶
func (backRepoOption *BackRepoOptionStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, option *models.Option) (Error error)
BackRepoOption.CommitPhaseTwoInstance commits {{structname }} of models.Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) GetDB ¶
func (backRepoOption *BackRepoOptionStruct) GetDB() db.DBInterface
func (*BackRepoOptionStruct) GetOptionDBFromOptionPtr ¶
func (backRepoOption *BackRepoOptionStruct) GetOptionDBFromOptionPtr(option *models.Option) (optionDB *OptionDB)
GetOptionDBFromOptionPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoOptionStruct) GetStage ¶
func (backRepoOption *BackRepoOptionStruct) GetStage() (stage *models.Stage)
func (*BackRepoOptionStruct) ResetReversePointers ¶
func (backRepoOption *BackRepoOptionStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoOption.ResetReversePointers commits all staged instances of Option to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoOptionStruct) ResetReversePointersInstance ¶
func (backRepoOption *BackRepoOptionStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, option *models.Option) (Error error)
func (*BackRepoOptionStruct) RestorePhaseOne ¶
func (backRepoOption *BackRepoOptionStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "OptionDB.json" in dirPath that stores an array of OptionDB and stores it in the database the map BackRepoOptionid_atBckpTime_newID is updated accordingly
func (*BackRepoOptionStruct) RestorePhaseTwo ¶
func (backRepoOption *BackRepoOptionStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Option>id_atBckpTime_newID to compute new index
func (*BackRepoOptionStruct) RestoreXLPhaseOne ¶
func (backRepoOption *BackRepoOptionStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Option" sheet all OptionDB instances
type BackRepoRowStruct ¶
type BackRepoRowStruct struct { // stores RowDB according to their gorm ID Map_RowDBID_RowDB map[uint]*RowDB // stores RowDB ID according to Row address Map_RowPtr_RowDBID map[*models.Row]uint // stores Row according to their gorm ID Map_RowDBID_RowPtr map[uint]*models.Row // contains filtered or unexported fields }
func (*BackRepoRowStruct) Backup ¶
func (backRepoRow *BackRepoRowStruct) Backup(dirPath string)
Backup generates a json file from a slice of all RowDB instances in the backrepo
func (*BackRepoRowStruct) BackupXL ¶
func (backRepoRow *BackRepoRowStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all RowDB instances in the backrepo
func (*BackRepoRowStruct) CheckoutPhaseOne ¶
func (backRepoRow *BackRepoRowStruct) CheckoutPhaseOne() (Error error)
BackRepoRow.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoRowStruct) CheckoutPhaseOneInstance ¶
func (backRepoRow *BackRepoRowStruct) CheckoutPhaseOneInstance(rowDB *RowDB) (Error error)
CheckoutPhaseOneInstance takes a rowDB that has been found in the DB, updates the backRepo and stages the models version of the rowDB
func (*BackRepoRowStruct) CheckoutPhaseTwo ¶
func (backRepoRow *BackRepoRowStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRow.CheckoutPhaseTwo Checkouts all staged instances of Row to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRowStruct) CheckoutPhaseTwoInstance ¶
func (backRepoRow *BackRepoRowStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, rowDB *RowDB) (Error error)
BackRepoRow.CheckoutPhaseTwoInstance Checkouts staged instances of Row to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRowStruct) CommitDeleteInstance ¶
func (backRepoRow *BackRepoRowStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoRow.CommitDeleteInstance commits deletion of Row to the BackRepo
func (*BackRepoRowStruct) CommitPhaseOne ¶
func (backRepoRow *BackRepoRowStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoRow.CommitPhaseOne commits all staged instances of Row to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRowStruct) CommitPhaseOneInstance ¶
func (backRepoRow *BackRepoRowStruct) CommitPhaseOneInstance(row *models.Row) (Error error)
BackRepoRow.CommitPhaseOneInstance commits row staged instances of Row to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoRowStruct) CommitPhaseTwo ¶
func (backRepoRow *BackRepoRowStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoRow.CommitPhaseTwo commits all staged instances of Row to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRowStruct) CommitPhaseTwoInstance ¶
func (backRepoRow *BackRepoRowStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, row *models.Row) (Error error)
BackRepoRow.CommitPhaseTwoInstance commits {{structname }} of models.Row to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRowStruct) GetDB ¶
func (backRepoRow *BackRepoRowStruct) GetDB() db.DBInterface
func (*BackRepoRowStruct) GetRowDBFromRowPtr ¶
func (backRepoRow *BackRepoRowStruct) GetRowDBFromRowPtr(row *models.Row) (rowDB *RowDB)
GetRowDBFromRowPtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoRowStruct) GetStage ¶
func (backRepoRow *BackRepoRowStruct) GetStage() (stage *models.Stage)
func (*BackRepoRowStruct) ResetReversePointers ¶
func (backRepoRow *BackRepoRowStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoRow.ResetReversePointers commits all staged instances of Row to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoRowStruct) ResetReversePointersInstance ¶
func (backRepoRow *BackRepoRowStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, row *models.Row) (Error error)
func (*BackRepoRowStruct) RestorePhaseOne ¶
func (backRepoRow *BackRepoRowStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "RowDB.json" in dirPath that stores an array of RowDB and stores it in the database the map BackRepoRowid_atBckpTime_newID is updated accordingly
func (*BackRepoRowStruct) RestorePhaseTwo ¶
func (backRepoRow *BackRepoRowStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Row>id_atBckpTime_newID to compute new index
func (*BackRepoRowStruct) RestoreXLPhaseOne ¶
func (backRepoRow *BackRepoRowStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Row" sheet all RowDB instances
type BackRepoStruct ¶
type BackRepoStruct struct { // insertion point for per struct back repo declarations BackRepoCell BackRepoCellStruct BackRepoCellBoolean BackRepoCellBooleanStruct BackRepoCellFloat64 BackRepoCellFloat64Struct BackRepoCellIcon BackRepoCellIconStruct BackRepoCellInt BackRepoCellIntStruct BackRepoCellString BackRepoCellStringStruct BackRepoCheckBox BackRepoCheckBoxStruct BackRepoDisplayedColumn BackRepoDisplayedColumnStruct BackRepoFormDiv BackRepoFormDivStruct BackRepoFormEditAssocButton BackRepoFormEditAssocButtonStruct BackRepoFormField BackRepoFormFieldStruct BackRepoFormFieldDate BackRepoFormFieldDateStruct BackRepoFormFieldDateTime BackRepoFormFieldDateTimeStruct BackRepoFormFieldFloat64 BackRepoFormFieldFloat64Struct BackRepoFormFieldInt BackRepoFormFieldIntStruct BackRepoFormFieldSelect BackRepoFormFieldSelectStruct BackRepoFormFieldString BackRepoFormFieldStringStruct BackRepoFormFieldTime BackRepoFormFieldTimeStruct BackRepoFormGroup BackRepoFormGroupStruct BackRepoFormSortAssocButton BackRepoFormSortAssocButtonStruct BackRepoOption BackRepoOptionStruct BackRepoRow BackRepoRowStruct BackRepoTable BackRepoTableStruct CommitFromBackNb uint // records commit increments when performed by the back PushFromFrontNb uint // records commit increments when performed by the front // contains filtered or unexported fields }
BackRepoStruct supports callback functions
func NewBackRepo ¶
func NewBackRepo(stage *models.Stage, filename string) (backRepo *BackRepoStruct)
func (*BackRepoStruct) Backup ¶
func (backRepo *BackRepoStruct) Backup(stage *models.Stage, dirPath string)
Backup the BackRepoStruct
func (*BackRepoStruct) BackupXL ¶
func (backRepo *BackRepoStruct) BackupXL(stage *models.Stage, dirPath string)
Backup in XL the BackRepoStruct
func (*BackRepoStruct) Checkout ¶
func (backRepo *BackRepoStruct) Checkout(stage *models.Stage)
Checkout the database into the stage
func (*BackRepoStruct) CheckoutCell ¶
func (backRepo *BackRepoStruct) CheckoutCell(cell *models.Cell)
CommitCell allows checkout of a single cell (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutCellBoolean ¶
func (backRepo *BackRepoStruct) CheckoutCellBoolean(cellboolean *models.CellBoolean)
CommitCellBoolean allows checkout of a single cellboolean (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutCellFloat64 ¶
func (backRepo *BackRepoStruct) CheckoutCellFloat64(cellfloat64 *models.CellFloat64)
CommitCellFloat64 allows checkout of a single cellfloat64 (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutCellIcon ¶
func (backRepo *BackRepoStruct) CheckoutCellIcon(cellicon *models.CellIcon)
CommitCellIcon allows checkout of a single cellicon (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutCellInt ¶
func (backRepo *BackRepoStruct) CheckoutCellInt(cellint *models.CellInt)
CommitCellInt allows checkout of a single cellint (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutCellString ¶
func (backRepo *BackRepoStruct) CheckoutCellString(cellstring *models.CellString)
CommitCellString allows checkout of a single cellstring (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutCheckBox ¶
func (backRepo *BackRepoStruct) CheckoutCheckBox(checkbox *models.CheckBox)
CommitCheckBox allows checkout of a single checkbox (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutDisplayedColumn ¶
func (backRepo *BackRepoStruct) CheckoutDisplayedColumn(displayedcolumn *models.DisplayedColumn)
CommitDisplayedColumn allows checkout of a single displayedcolumn (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormDiv ¶
func (backRepo *BackRepoStruct) CheckoutFormDiv(formdiv *models.FormDiv)
CommitFormDiv allows checkout of a single formdiv (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormEditAssocButton ¶
func (backRepo *BackRepoStruct) CheckoutFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
CommitFormEditAssocButton allows checkout of a single formeditassocbutton (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormField ¶
func (backRepo *BackRepoStruct) CheckoutFormField(formfield *models.FormField)
CommitFormField allows checkout of a single formfield (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldDate ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldDate(formfielddate *models.FormFieldDate)
CommitFormFieldDate allows checkout of a single formfielddate (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldDateTime ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
CommitFormFieldDateTime allows checkout of a single formfielddatetime (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldFloat64 ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
CommitFormFieldFloat64 allows checkout of a single formfieldfloat64 (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldInt ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldInt(formfieldint *models.FormFieldInt)
CommitFormFieldInt allows checkout of a single formfieldint (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldSelect ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldSelect(formfieldselect *models.FormFieldSelect)
CommitFormFieldSelect allows checkout of a single formfieldselect (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldString ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldString(formfieldstring *models.FormFieldString)
CommitFormFieldString allows checkout of a single formfieldstring (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormFieldTime ¶
func (backRepo *BackRepoStruct) CheckoutFormFieldTime(formfieldtime *models.FormFieldTime)
CommitFormFieldTime allows checkout of a single formfieldtime (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormGroup ¶
func (backRepo *BackRepoStruct) CheckoutFormGroup(formgroup *models.FormGroup)
CommitFormGroup allows checkout of a single formgroup (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutFormSortAssocButton ¶
func (backRepo *BackRepoStruct) CheckoutFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
CommitFormSortAssocButton allows checkout of a single formsortassocbutton (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutOption ¶
func (backRepo *BackRepoStruct) CheckoutOption(option *models.Option)
CommitOption allows checkout of a single option (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutRow ¶
func (backRepo *BackRepoStruct) CheckoutRow(row *models.Row)
CommitRow allows checkout of a single row (if already staged and with a BackRepo id)
func (*BackRepoStruct) CheckoutTable ¶
func (backRepo *BackRepoStruct) CheckoutTable(table *models.Table)
CommitTable allows checkout of a single table (if already staged and with a BackRepo id)
func (*BackRepoStruct) Commit ¶
func (backRepo *BackRepoStruct) Commit(stage *models.Stage)
Commit the BackRepoStruct inner variables and link to the database
func (*BackRepoStruct) CommitCell ¶
func (backRepo *BackRepoStruct) CommitCell(cell *models.Cell)
CommitCell allows commit of a single cell (if already staged)
func (*BackRepoStruct) CommitCellBoolean ¶
func (backRepo *BackRepoStruct) CommitCellBoolean(cellboolean *models.CellBoolean)
CommitCellBoolean allows commit of a single cellboolean (if already staged)
func (*BackRepoStruct) CommitCellFloat64 ¶
func (backRepo *BackRepoStruct) CommitCellFloat64(cellfloat64 *models.CellFloat64)
CommitCellFloat64 allows commit of a single cellfloat64 (if already staged)
func (*BackRepoStruct) CommitCellIcon ¶
func (backRepo *BackRepoStruct) CommitCellIcon(cellicon *models.CellIcon)
CommitCellIcon allows commit of a single cellicon (if already staged)
func (*BackRepoStruct) CommitCellInt ¶
func (backRepo *BackRepoStruct) CommitCellInt(cellint *models.CellInt)
CommitCellInt allows commit of a single cellint (if already staged)
func (*BackRepoStruct) CommitCellString ¶
func (backRepo *BackRepoStruct) CommitCellString(cellstring *models.CellString)
CommitCellString allows commit of a single cellstring (if already staged)
func (*BackRepoStruct) CommitCheckBox ¶
func (backRepo *BackRepoStruct) CommitCheckBox(checkbox *models.CheckBox)
CommitCheckBox allows commit of a single checkbox (if already staged)
func (*BackRepoStruct) CommitDisplayedColumn ¶
func (backRepo *BackRepoStruct) CommitDisplayedColumn(displayedcolumn *models.DisplayedColumn)
CommitDisplayedColumn allows commit of a single displayedcolumn (if already staged)
func (*BackRepoStruct) CommitFormDiv ¶
func (backRepo *BackRepoStruct) CommitFormDiv(formdiv *models.FormDiv)
CommitFormDiv allows commit of a single formdiv (if already staged)
func (*BackRepoStruct) CommitFormEditAssocButton ¶
func (backRepo *BackRepoStruct) CommitFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
CommitFormEditAssocButton allows commit of a single formeditassocbutton (if already staged)
func (*BackRepoStruct) CommitFormField ¶
func (backRepo *BackRepoStruct) CommitFormField(formfield *models.FormField)
CommitFormField allows commit of a single formfield (if already staged)
func (*BackRepoStruct) CommitFormFieldDate ¶
func (backRepo *BackRepoStruct) CommitFormFieldDate(formfielddate *models.FormFieldDate)
CommitFormFieldDate allows commit of a single formfielddate (if already staged)
func (*BackRepoStruct) CommitFormFieldDateTime ¶
func (backRepo *BackRepoStruct) CommitFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
CommitFormFieldDateTime allows commit of a single formfielddatetime (if already staged)
func (*BackRepoStruct) CommitFormFieldFloat64 ¶
func (backRepo *BackRepoStruct) CommitFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
CommitFormFieldFloat64 allows commit of a single formfieldfloat64 (if already staged)
func (*BackRepoStruct) CommitFormFieldInt ¶
func (backRepo *BackRepoStruct) CommitFormFieldInt(formfieldint *models.FormFieldInt)
CommitFormFieldInt allows commit of a single formfieldint (if already staged)
func (*BackRepoStruct) CommitFormFieldSelect ¶
func (backRepo *BackRepoStruct) CommitFormFieldSelect(formfieldselect *models.FormFieldSelect)
CommitFormFieldSelect allows commit of a single formfieldselect (if already staged)
func (*BackRepoStruct) CommitFormFieldString ¶
func (backRepo *BackRepoStruct) CommitFormFieldString(formfieldstring *models.FormFieldString)
CommitFormFieldString allows commit of a single formfieldstring (if already staged)
func (*BackRepoStruct) CommitFormFieldTime ¶
func (backRepo *BackRepoStruct) CommitFormFieldTime(formfieldtime *models.FormFieldTime)
CommitFormFieldTime allows commit of a single formfieldtime (if already staged)
func (*BackRepoStruct) CommitFormGroup ¶
func (backRepo *BackRepoStruct) CommitFormGroup(formgroup *models.FormGroup)
CommitFormGroup allows commit of a single formgroup (if already staged)
func (*BackRepoStruct) CommitFormSortAssocButton ¶
func (backRepo *BackRepoStruct) CommitFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
CommitFormSortAssocButton allows commit of a single formsortassocbutton (if already staged)
func (*BackRepoStruct) CommitOption ¶
func (backRepo *BackRepoStruct) CommitOption(option *models.Option)
CommitOption allows commit of a single option (if already staged)
func (*BackRepoStruct) CommitRow ¶
func (backRepo *BackRepoStruct) CommitRow(row *models.Row)
CommitRow allows commit of a single row (if already staged)
func (*BackRepoStruct) CommitTable ¶
func (backRepo *BackRepoStruct) CommitTable(table *models.Table)
CommitTable allows commit of a single table (if already staged)
func (*BackRepoStruct) GetLastCommitFromBackNb ¶
func (backRepo *BackRepoStruct) GetLastCommitFromBackNb() uint
func (*BackRepoStruct) GetLastPushFromFrontNb ¶
func (backRepo *BackRepoStruct) GetLastPushFromFrontNb() uint
func (*BackRepoStruct) GetStage ¶
func (backRepo *BackRepoStruct) GetStage() (stage *models.Stage)
func (*BackRepoStruct) IncrementCommitFromBackNb ¶
func (backRepo *BackRepoStruct) IncrementCommitFromBackNb() uint
func (*BackRepoStruct) IncrementPushFromFrontNb ¶
func (backRepo *BackRepoStruct) IncrementPushFromFrontNb() uint
func (*BackRepoStruct) Restore ¶
func (backRepo *BackRepoStruct) Restore(stage *models.Stage, dirPath string)
Restore the database into the back repo
func (*BackRepoStruct) RestoreXL ¶
func (backRepo *BackRepoStruct) RestoreXL(stage *models.Stage, dirPath string)
Restore the database into the back repo
func (*BackRepoStruct) SubscribeToCommitNb ¶
func (backRepoStruct *BackRepoStruct) SubscribeToCommitNb(ctx context.Context) <-chan int
type BackRepoTableStruct ¶
type BackRepoTableStruct struct { // stores TableDB according to their gorm ID Map_TableDBID_TableDB map[uint]*TableDB // stores TableDB ID according to Table address Map_TablePtr_TableDBID map[*models.Table]uint // stores Table according to their gorm ID Map_TableDBID_TablePtr map[uint]*models.Table // contains filtered or unexported fields }
func (*BackRepoTableStruct) Backup ¶
func (backRepoTable *BackRepoTableStruct) Backup(dirPath string)
Backup generates a json file from a slice of all TableDB instances in the backrepo
func (*BackRepoTableStruct) BackupXL ¶
func (backRepoTable *BackRepoTableStruct) BackupXL(file *xlsx.File)
Backup generates a json file from a slice of all TableDB instances in the backrepo
func (*BackRepoTableStruct) CheckoutPhaseOne ¶
func (backRepoTable *BackRepoTableStruct) CheckoutPhaseOne() (Error error)
BackRepoTable.CheckoutPhaseOne Checkouts all BackRepo instances to the Stage
Phase One will result in having instances on the stage aligned with the back repo pointers are not initialized yet (this is for phase two)
func (*BackRepoTableStruct) CheckoutPhaseOneInstance ¶
func (backRepoTable *BackRepoTableStruct) CheckoutPhaseOneInstance(tableDB *TableDB) (Error error)
CheckoutPhaseOneInstance takes a tableDB that has been found in the DB, updates the backRepo and stages the models version of the tableDB
func (*BackRepoTableStruct) CheckoutPhaseTwo ¶
func (backRepoTable *BackRepoTableStruct) CheckoutPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoTable.CheckoutPhaseTwo Checkouts all staged instances of Table to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTableStruct) CheckoutPhaseTwoInstance ¶
func (backRepoTable *BackRepoTableStruct) CheckoutPhaseTwoInstance(backRepo *BackRepoStruct, tableDB *TableDB) (Error error)
BackRepoTable.CheckoutPhaseTwoInstance Checkouts staged instances of Table to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTableStruct) CommitDeleteInstance ¶
func (backRepoTable *BackRepoTableStruct) CommitDeleteInstance(id uint) (Error error)
BackRepoTable.CommitDeleteInstance commits deletion of Table to the BackRepo
func (*BackRepoTableStruct) CommitPhaseOne ¶
func (backRepoTable *BackRepoTableStruct) CommitPhaseOne(stage *models.Stage) (Error error)
BackRepoTable.CommitPhaseOne commits all staged instances of Table to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoTableStruct) CommitPhaseOneInstance ¶
func (backRepoTable *BackRepoTableStruct) CommitPhaseOneInstance(table *models.Table) (Error error)
BackRepoTable.CommitPhaseOneInstance commits table staged instances of Table to the BackRepo Phase One is the creation of instance in the database if it is not yet done to get the unique ID for each staged instance
func (*BackRepoTableStruct) CommitPhaseTwo ¶
func (backRepoTable *BackRepoTableStruct) CommitPhaseTwo(backRepo *BackRepoStruct) (Error error)
BackRepoTable.CommitPhaseTwo commits all staged instances of Table to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTableStruct) CommitPhaseTwoInstance ¶
func (backRepoTable *BackRepoTableStruct) CommitPhaseTwoInstance(backRepo *BackRepoStruct, idx uint, table *models.Table) (Error error)
BackRepoTable.CommitPhaseTwoInstance commits {{structname }} of models.Table to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTableStruct) GetDB ¶
func (backRepoTable *BackRepoTableStruct) GetDB() db.DBInterface
func (*BackRepoTableStruct) GetStage ¶
func (backRepoTable *BackRepoTableStruct) GetStage() (stage *models.Stage)
func (*BackRepoTableStruct) GetTableDBFromTablePtr ¶
func (backRepoTable *BackRepoTableStruct) GetTableDBFromTablePtr(table *models.Table) (tableDB *TableDB)
GetTableDBFromTablePtr is a handy function to access the back repo instance from the stage instance
func (*BackRepoTableStruct) ResetReversePointers ¶
func (backRepoTable *BackRepoTableStruct) ResetReversePointers(backRepo *BackRepoStruct) (Error error)
BackRepoTable.ResetReversePointers commits all staged instances of Table to the BackRepo Phase Two is the update of instance with the field in the database
func (*BackRepoTableStruct) ResetReversePointersInstance ¶
func (backRepoTable *BackRepoTableStruct) ResetReversePointersInstance(backRepo *BackRepoStruct, idx uint, table *models.Table) (Error error)
func (*BackRepoTableStruct) RestorePhaseOne ¶
func (backRepoTable *BackRepoTableStruct) RestorePhaseOne(dirPath string)
RestorePhaseOne read the file "TableDB.json" in dirPath that stores an array of TableDB and stores it in the database the map BackRepoTableid_atBckpTime_newID is updated accordingly
func (*BackRepoTableStruct) RestorePhaseTwo ¶
func (backRepoTable *BackRepoTableStruct) RestorePhaseTwo()
RestorePhaseTwo uses all map BackRepo<Table>id_atBckpTime_newID to compute new index
func (*BackRepoTableStruct) RestoreXLPhaseOne ¶
func (backRepoTable *BackRepoTableStruct) RestoreXLPhaseOne(file *xlsx.File)
RestoreXL from the "Table" sheet all TableDB instances
type CellAPI ¶
type CellAPI struct { gorm.Model models.Cell_WOP // encoding of pointers // for API, it cannot be embedded CellPointersEncoding CellPointersEncoding }
CellAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model cellAPI
type CellBooleanAPI ¶
type CellBooleanAPI struct { gorm.Model models.CellBoolean_WOP // encoding of pointers // for API, it cannot be embedded CellBooleanPointersEncoding CellBooleanPointersEncoding }
CellBooleanAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model cellbooleanAPI
type CellBooleanDB ¶
type CellBooleanDB struct { gorm.Model // Declation for basic field cellbooleanDB.Name Name_Data sql.NullString // Declation for basic field cellbooleanDB.Value // provide the sql storage for the boolan Value_Data sql.NullBool // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration CellBooleanPointersEncoding }
CellBooleanDB describes a cellboolean in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model cellbooleanDB
func (*CellBooleanDB) CopyBasicFieldsFromCellBoolean ¶
func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsFromCellBoolean(cellboolean *models.CellBoolean)
CopyBasicFieldsFromCellBoolean
func (*CellBooleanDB) CopyBasicFieldsFromCellBooleanWOP ¶
func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsFromCellBooleanWOP(cellboolean *CellBooleanWOP)
CopyBasicFieldsFromCellBooleanWOP
func (*CellBooleanDB) CopyBasicFieldsFromCellBoolean_WOP ¶
func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsFromCellBoolean_WOP(cellboolean *models.CellBoolean_WOP)
CopyBasicFieldsFromCellBoolean_WOP
func (*CellBooleanDB) CopyBasicFieldsToCellBoolean ¶
func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsToCellBoolean(cellboolean *models.CellBoolean)
CopyBasicFieldsToCellBoolean
func (*CellBooleanDB) CopyBasicFieldsToCellBooleanWOP ¶
func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsToCellBooleanWOP(cellboolean *CellBooleanWOP)
CopyBasicFieldsToCellBooleanWOP
func (*CellBooleanDB) CopyBasicFieldsToCellBoolean_WOP ¶
func (cellbooleanDB *CellBooleanDB) CopyBasicFieldsToCellBoolean_WOP(cellboolean *models.CellBoolean_WOP)
CopyBasicFieldsToCellBoolean_WOP
func (*CellBooleanDB) DecodePointers ¶
func (cellbooleanDB *CellBooleanDB) DecodePointers(backRepo *BackRepoStruct, cellboolean *models.CellBoolean)
type CellBooleanDBResponse ¶
type CellBooleanDBResponse struct {
CellBooleanDB
}
CellBooleanDBResponse provides response swagger:response cellbooleanDBResponse
type CellBooleanDBs ¶
type CellBooleanDBs []CellBooleanDB
CellBooleanDBs arrays cellbooleanDBs swagger:response cellbooleanDBsResponse
type CellBooleanPointersEncoding ¶
type CellBooleanPointersEncoding struct { }
CellBooleanPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type CellBooleanWOP ¶
CellBooleanWOP is a CellBoolean without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type CellDB ¶
type CellDB struct { gorm.Model // Declation for basic field cellDB.Name Name_Data sql.NullString // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration CellPointersEncoding }
CellDB describes a cell in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model cellDB
func (*CellDB) CopyBasicFieldsFromCell ¶
CopyBasicFieldsFromCell
func (*CellDB) CopyBasicFieldsFromCellWOP ¶
CopyBasicFieldsFromCellWOP
func (*CellDB) CopyBasicFieldsFromCell_WOP ¶
CopyBasicFieldsFromCell_WOP
func (*CellDB) CopyBasicFieldsToCell ¶
CopyBasicFieldsToCell
func (*CellDB) CopyBasicFieldsToCellWOP ¶
CopyBasicFieldsToCellWOP
func (*CellDB) CopyBasicFieldsToCell_WOP ¶
CopyBasicFieldsToCell_WOP
func (*CellDB) DecodePointers ¶
func (cellDB *CellDB) DecodePointers(backRepo *BackRepoStruct, cell *models.Cell)
type CellDBResponse ¶
type CellDBResponse struct {
CellDB
}
CellDBResponse provides response swagger:response cellDBResponse
type CellFloat64API ¶
type CellFloat64API struct { gorm.Model models.CellFloat64_WOP // encoding of pointers // for API, it cannot be embedded CellFloat64PointersEncoding CellFloat64PointersEncoding }
CellFloat64API is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model cellfloat64API
type CellFloat64DB ¶
type CellFloat64DB struct { gorm.Model // Declation for basic field cellfloat64DB.Name Name_Data sql.NullString // Declation for basic field cellfloat64DB.Value Value_Data sql.NullFloat64 // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration CellFloat64PointersEncoding }
CellFloat64DB describes a cellfloat64 in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model cellfloat64DB
func (*CellFloat64DB) CopyBasicFieldsFromCellFloat64 ¶
func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsFromCellFloat64(cellfloat64 *models.CellFloat64)
CopyBasicFieldsFromCellFloat64
func (*CellFloat64DB) CopyBasicFieldsFromCellFloat64WOP ¶
func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsFromCellFloat64WOP(cellfloat64 *CellFloat64WOP)
CopyBasicFieldsFromCellFloat64WOP
func (*CellFloat64DB) CopyBasicFieldsFromCellFloat64_WOP ¶
func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsFromCellFloat64_WOP(cellfloat64 *models.CellFloat64_WOP)
CopyBasicFieldsFromCellFloat64_WOP
func (*CellFloat64DB) CopyBasicFieldsToCellFloat64 ¶
func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsToCellFloat64(cellfloat64 *models.CellFloat64)
CopyBasicFieldsToCellFloat64
func (*CellFloat64DB) CopyBasicFieldsToCellFloat64WOP ¶
func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsToCellFloat64WOP(cellfloat64 *CellFloat64WOP)
CopyBasicFieldsToCellFloat64WOP
func (*CellFloat64DB) CopyBasicFieldsToCellFloat64_WOP ¶
func (cellfloat64DB *CellFloat64DB) CopyBasicFieldsToCellFloat64_WOP(cellfloat64 *models.CellFloat64_WOP)
CopyBasicFieldsToCellFloat64_WOP
func (*CellFloat64DB) DecodePointers ¶
func (cellfloat64DB *CellFloat64DB) DecodePointers(backRepo *BackRepoStruct, cellfloat64 *models.CellFloat64)
type CellFloat64DBResponse ¶
type CellFloat64DBResponse struct {
CellFloat64DB
}
CellFloat64DBResponse provides response swagger:response cellfloat64DBResponse
type CellFloat64DBs ¶
type CellFloat64DBs []CellFloat64DB
CellFloat64DBs arrays cellfloat64DBs swagger:response cellfloat64DBsResponse
type CellFloat64PointersEncoding ¶
type CellFloat64PointersEncoding struct { }
CellFloat64PointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type CellFloat64WOP ¶
CellFloat64WOP is a CellFloat64 without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type CellIconAPI ¶
type CellIconAPI struct { gorm.Model models.CellIcon_WOP // encoding of pointers // for API, it cannot be embedded CellIconPointersEncoding CellIconPointersEncoding }
CellIconAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model celliconAPI
type CellIconDB ¶
type CellIconDB struct { gorm.Model // Declation for basic field celliconDB.Name Name_Data sql.NullString // Declation for basic field celliconDB.Icon Icon_Data sql.NullString // Declation for basic field celliconDB.NeedsConfirmation // provide the sql storage for the boolan NeedsConfirmation_Data sql.NullBool // Declation for basic field celliconDB.ConfirmationMessage ConfirmationMessage_Data sql.NullString // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration CellIconPointersEncoding }
CellIconDB describes a cellicon in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model celliconDB
func (*CellIconDB) CopyBasicFieldsFromCellIcon ¶
func (celliconDB *CellIconDB) CopyBasicFieldsFromCellIcon(cellicon *models.CellIcon)
CopyBasicFieldsFromCellIcon
func (*CellIconDB) CopyBasicFieldsFromCellIconWOP ¶
func (celliconDB *CellIconDB) CopyBasicFieldsFromCellIconWOP(cellicon *CellIconWOP)
CopyBasicFieldsFromCellIconWOP
func (*CellIconDB) CopyBasicFieldsFromCellIcon_WOP ¶
func (celliconDB *CellIconDB) CopyBasicFieldsFromCellIcon_WOP(cellicon *models.CellIcon_WOP)
CopyBasicFieldsFromCellIcon_WOP
func (*CellIconDB) CopyBasicFieldsToCellIcon ¶
func (celliconDB *CellIconDB) CopyBasicFieldsToCellIcon(cellicon *models.CellIcon)
CopyBasicFieldsToCellIcon
func (*CellIconDB) CopyBasicFieldsToCellIconWOP ¶
func (celliconDB *CellIconDB) CopyBasicFieldsToCellIconWOP(cellicon *CellIconWOP)
CopyBasicFieldsToCellIconWOP
func (*CellIconDB) CopyBasicFieldsToCellIcon_WOP ¶
func (celliconDB *CellIconDB) CopyBasicFieldsToCellIcon_WOP(cellicon *models.CellIcon_WOP)
CopyBasicFieldsToCellIcon_WOP
func (*CellIconDB) DecodePointers ¶
func (celliconDB *CellIconDB) DecodePointers(backRepo *BackRepoStruct, cellicon *models.CellIcon)
type CellIconDBResponse ¶
type CellIconDBResponse struct {
CellIconDB
}
CellIconDBResponse provides response swagger:response celliconDBResponse
type CellIconDBs ¶
type CellIconDBs []CellIconDB
CellIconDBs arrays celliconDBs swagger:response celliconDBsResponse
type CellIconPointersEncoding ¶
type CellIconPointersEncoding struct { }
CellIconPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type CellIconWOP ¶
type CellIconWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Icon string `xlsx:"2"` NeedsConfirmation bool `xlsx:"3"` ConfirmationMessage string `xlsx:"4"` }
CellIconWOP is a CellIcon without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type CellIntAPI ¶
type CellIntAPI struct { gorm.Model models.CellInt_WOP // encoding of pointers // for API, it cannot be embedded CellIntPointersEncoding CellIntPointersEncoding }
CellIntAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model cellintAPI
type CellIntDB ¶
type CellIntDB struct { gorm.Model // Declation for basic field cellintDB.Name Name_Data sql.NullString // Declation for basic field cellintDB.Value Value_Data sql.NullInt64 // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration CellIntPointersEncoding }
CellIntDB describes a cellint in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model cellintDB
func (*CellIntDB) CopyBasicFieldsFromCellInt ¶
CopyBasicFieldsFromCellInt
func (*CellIntDB) CopyBasicFieldsFromCellIntWOP ¶
func (cellintDB *CellIntDB) CopyBasicFieldsFromCellIntWOP(cellint *CellIntWOP)
CopyBasicFieldsFromCellIntWOP
func (*CellIntDB) CopyBasicFieldsFromCellInt_WOP ¶
func (cellintDB *CellIntDB) CopyBasicFieldsFromCellInt_WOP(cellint *models.CellInt_WOP)
CopyBasicFieldsFromCellInt_WOP
func (*CellIntDB) CopyBasicFieldsToCellInt ¶
CopyBasicFieldsToCellInt
func (*CellIntDB) CopyBasicFieldsToCellIntWOP ¶
func (cellintDB *CellIntDB) CopyBasicFieldsToCellIntWOP(cellint *CellIntWOP)
CopyBasicFieldsToCellIntWOP
func (*CellIntDB) CopyBasicFieldsToCellInt_WOP ¶
func (cellintDB *CellIntDB) CopyBasicFieldsToCellInt_WOP(cellint *models.CellInt_WOP)
CopyBasicFieldsToCellInt_WOP
func (*CellIntDB) DecodePointers ¶
func (cellintDB *CellIntDB) DecodePointers(backRepo *BackRepoStruct, cellint *models.CellInt)
type CellIntDBResponse ¶
type CellIntDBResponse struct {
CellIntDB
}
CellIntDBResponse provides response swagger:response cellintDBResponse
type CellIntDBs ¶
type CellIntDBs []CellIntDB
CellIntDBs arrays cellintDBs swagger:response cellintDBsResponse
type CellIntPointersEncoding ¶
type CellIntPointersEncoding struct { }
CellIntPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type CellIntWOP ¶
CellIntWOP is a CellInt without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type CellPointersEncoding ¶
type CellPointersEncoding struct { // field CellString is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association CellStringID sql.NullInt64 // field CellFloat64 is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association CellFloat64ID sql.NullInt64 // field CellInt is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association CellIntID sql.NullInt64 // field CellBool is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association CellBoolID sql.NullInt64 // field CellIcon is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association CellIconID sql.NullInt64 }
CellPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type CellStringAPI ¶
type CellStringAPI struct { gorm.Model models.CellString_WOP // encoding of pointers // for API, it cannot be embedded CellStringPointersEncoding CellStringPointersEncoding }
CellStringAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model cellstringAPI
type CellStringDB ¶
type CellStringDB struct { gorm.Model // Declation for basic field cellstringDB.Name Name_Data sql.NullString // Declation for basic field cellstringDB.Value Value_Data sql.NullString // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration CellStringPointersEncoding }
CellStringDB describes a cellstring in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model cellstringDB
func (*CellStringDB) CopyBasicFieldsFromCellString ¶
func (cellstringDB *CellStringDB) CopyBasicFieldsFromCellString(cellstring *models.CellString)
CopyBasicFieldsFromCellString
func (*CellStringDB) CopyBasicFieldsFromCellStringWOP ¶
func (cellstringDB *CellStringDB) CopyBasicFieldsFromCellStringWOP(cellstring *CellStringWOP)
CopyBasicFieldsFromCellStringWOP
func (*CellStringDB) CopyBasicFieldsFromCellString_WOP ¶
func (cellstringDB *CellStringDB) CopyBasicFieldsFromCellString_WOP(cellstring *models.CellString_WOP)
CopyBasicFieldsFromCellString_WOP
func (*CellStringDB) CopyBasicFieldsToCellString ¶
func (cellstringDB *CellStringDB) CopyBasicFieldsToCellString(cellstring *models.CellString)
CopyBasicFieldsToCellString
func (*CellStringDB) CopyBasicFieldsToCellStringWOP ¶
func (cellstringDB *CellStringDB) CopyBasicFieldsToCellStringWOP(cellstring *CellStringWOP)
CopyBasicFieldsToCellStringWOP
func (*CellStringDB) CopyBasicFieldsToCellString_WOP ¶
func (cellstringDB *CellStringDB) CopyBasicFieldsToCellString_WOP(cellstring *models.CellString_WOP)
CopyBasicFieldsToCellString_WOP
func (*CellStringDB) DecodePointers ¶
func (cellstringDB *CellStringDB) DecodePointers(backRepo *BackRepoStruct, cellstring *models.CellString)
type CellStringDBResponse ¶
type CellStringDBResponse struct {
CellStringDB
}
CellStringDBResponse provides response swagger:response cellstringDBResponse
type CellStringDBs ¶
type CellStringDBs []CellStringDB
CellStringDBs arrays cellstringDBs swagger:response cellstringDBsResponse
type CellStringPointersEncoding ¶
type CellStringPointersEncoding struct { }
CellStringPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type CellStringWOP ¶
CellStringWOP is a CellString without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type CellWOP ¶
CellWOP is a Cell without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type CheckBoxAPI ¶
type CheckBoxAPI struct { gorm.Model models.CheckBox_WOP // encoding of pointers // for API, it cannot be embedded CheckBoxPointersEncoding CheckBoxPointersEncoding }
CheckBoxAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model checkboxAPI
type CheckBoxDB ¶
type CheckBoxDB struct { gorm.Model // Declation for basic field checkboxDB.Name Name_Data sql.NullString // Declation for basic field checkboxDB.Value // provide the sql storage for the boolan Value_Data sql.NullBool // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration CheckBoxPointersEncoding }
CheckBoxDB describes a checkbox in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model checkboxDB
func (*CheckBoxDB) CopyBasicFieldsFromCheckBox ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBox(checkbox *models.CheckBox)
CopyBasicFieldsFromCheckBox
func (*CheckBoxDB) CopyBasicFieldsFromCheckBoxWOP ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBoxWOP(checkbox *CheckBoxWOP)
CopyBasicFieldsFromCheckBoxWOP
func (*CheckBoxDB) CopyBasicFieldsFromCheckBox_WOP ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsFromCheckBox_WOP(checkbox *models.CheckBox_WOP)
CopyBasicFieldsFromCheckBox_WOP
func (*CheckBoxDB) CopyBasicFieldsToCheckBox ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBox(checkbox *models.CheckBox)
CopyBasicFieldsToCheckBox
func (*CheckBoxDB) CopyBasicFieldsToCheckBoxWOP ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBoxWOP(checkbox *CheckBoxWOP)
CopyBasicFieldsToCheckBoxWOP
func (*CheckBoxDB) CopyBasicFieldsToCheckBox_WOP ¶
func (checkboxDB *CheckBoxDB) CopyBasicFieldsToCheckBox_WOP(checkbox *models.CheckBox_WOP)
CopyBasicFieldsToCheckBox_WOP
func (*CheckBoxDB) DecodePointers ¶
func (checkboxDB *CheckBoxDB) DecodePointers(backRepo *BackRepoStruct, checkbox *models.CheckBox)
type CheckBoxDBResponse ¶
type CheckBoxDBResponse struct {
CheckBoxDB
}
CheckBoxDBResponse provides response swagger:response checkboxDBResponse
type CheckBoxDBs ¶
type CheckBoxDBs []CheckBoxDB
CheckBoxDBs arrays checkboxDBs swagger:response checkboxDBsResponse
type CheckBoxPointersEncoding ¶
type CheckBoxPointersEncoding struct { }
CheckBoxPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type CheckBoxWOP ¶
CheckBoxWOP is a CheckBox without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type DBLite ¶
type DBLite struct {
// contains filtered or unexported fields
}
DBLite is an in-memory database implementation of DBInterface
func (*DBLite) Create ¶
func (db *DBLite) Create(instanceDB any) (db.DBInterface, error)
Create inserts a new record into the database
func (*DBLite) Delete ¶
func (db *DBLite) Delete(instanceDB any) (db.DBInterface, error)
Delete removes a record from the database
func (*DBLite) Find ¶
func (db *DBLite) Find(instanceDBs any) (db.DBInterface, error)
Find retrieves all records of a type from the database
func (*DBLite) Model ¶
func (db *DBLite) Model(instanceDB any) (db.DBInterface, error)
Model is a placeholder in this implementation
func (*DBLite) Save ¶
func (db *DBLite) Save(instanceDB any) (db.DBInterface, error)
Save updates or inserts a record into the database
type DisplayedColumnAPI ¶
type DisplayedColumnAPI struct { gorm.Model models.DisplayedColumn_WOP // encoding of pointers // for API, it cannot be embedded DisplayedColumnPointersEncoding DisplayedColumnPointersEncoding }
DisplayedColumnAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model displayedcolumnAPI
type DisplayedColumnDB ¶
type DisplayedColumnDB struct { gorm.Model // Declation for basic field displayedcolumnDB.Name Name_Data sql.NullString // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration DisplayedColumnPointersEncoding }
DisplayedColumnDB describes a displayedcolumn in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model displayedcolumnDB
func (*DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn ¶
func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn(displayedcolumn *models.DisplayedColumn)
CopyBasicFieldsFromDisplayedColumn
func (*DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumnWOP ¶
func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumnWOP(displayedcolumn *DisplayedColumnWOP)
CopyBasicFieldsFromDisplayedColumnWOP
func (*DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn_WOP ¶
func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsFromDisplayedColumn_WOP(displayedcolumn *models.DisplayedColumn_WOP)
CopyBasicFieldsFromDisplayedColumn_WOP
func (*DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn ¶
func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn(displayedcolumn *models.DisplayedColumn)
CopyBasicFieldsToDisplayedColumn
func (*DisplayedColumnDB) CopyBasicFieldsToDisplayedColumnWOP ¶
func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsToDisplayedColumnWOP(displayedcolumn *DisplayedColumnWOP)
CopyBasicFieldsToDisplayedColumnWOP
func (*DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn_WOP ¶
func (displayedcolumnDB *DisplayedColumnDB) CopyBasicFieldsToDisplayedColumn_WOP(displayedcolumn *models.DisplayedColumn_WOP)
CopyBasicFieldsToDisplayedColumn_WOP
func (*DisplayedColumnDB) DecodePointers ¶
func (displayedcolumnDB *DisplayedColumnDB) DecodePointers(backRepo *BackRepoStruct, displayedcolumn *models.DisplayedColumn)
type DisplayedColumnDBResponse ¶
type DisplayedColumnDBResponse struct {
DisplayedColumnDB
}
DisplayedColumnDBResponse provides response swagger:response displayedcolumnDBResponse
type DisplayedColumnDBs ¶
type DisplayedColumnDBs []DisplayedColumnDB
DisplayedColumnDBs arrays displayedcolumnDBs swagger:response displayedcolumnDBsResponse
type DisplayedColumnPointersEncoding ¶
type DisplayedColumnPointersEncoding struct { }
DisplayedColumnPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type DisplayedColumnWOP ¶
DisplayedColumnWOP is a DisplayedColumn without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormDivAPI ¶
type FormDivAPI struct { gorm.Model models.FormDiv_WOP // encoding of pointers // for API, it cannot be embedded FormDivPointersEncoding FormDivPointersEncoding }
FormDivAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formdivAPI
type FormDivDB ¶
type FormDivDB struct { gorm.Model // Declation for basic field formdivDB.Name Name_Data sql.NullString // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormDivPointersEncoding }
FormDivDB describes a formdiv in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formdivDB
func (*FormDivDB) CopyBasicFieldsFromFormDiv ¶
CopyBasicFieldsFromFormDiv
func (*FormDivDB) CopyBasicFieldsFromFormDivWOP ¶
func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDivWOP(formdiv *FormDivWOP)
CopyBasicFieldsFromFormDivWOP
func (*FormDivDB) CopyBasicFieldsFromFormDiv_WOP ¶
func (formdivDB *FormDivDB) CopyBasicFieldsFromFormDiv_WOP(formdiv *models.FormDiv_WOP)
CopyBasicFieldsFromFormDiv_WOP
func (*FormDivDB) CopyBasicFieldsToFormDiv ¶
CopyBasicFieldsToFormDiv
func (*FormDivDB) CopyBasicFieldsToFormDivWOP ¶
func (formdivDB *FormDivDB) CopyBasicFieldsToFormDivWOP(formdiv *FormDivWOP)
CopyBasicFieldsToFormDivWOP
func (*FormDivDB) CopyBasicFieldsToFormDiv_WOP ¶
func (formdivDB *FormDivDB) CopyBasicFieldsToFormDiv_WOP(formdiv *models.FormDiv_WOP)
CopyBasicFieldsToFormDiv_WOP
func (*FormDivDB) DecodePointers ¶
func (formdivDB *FormDivDB) DecodePointers(backRepo *BackRepoStruct, formdiv *models.FormDiv)
type FormDivDBResponse ¶
type FormDivDBResponse struct {
FormDivDB
}
FormDivDBResponse provides response swagger:response formdivDBResponse
type FormDivDBs ¶
type FormDivDBs []FormDivDB
FormDivDBs arrays formdivDBs swagger:response formdivDBsResponse
type FormDivPointersEncoding ¶
type FormDivPointersEncoding struct { // field FormFields is a slice of pointers to another Struct (optional or 0..1) FormFields IntSlice `gorm:"type:TEXT"` // field CheckBoxs is a slice of pointers to another Struct (optional or 0..1) CheckBoxs IntSlice `gorm:"type:TEXT"` // field FormEditAssocButton is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormEditAssocButtonID sql.NullInt64 // field FormSortAssocButton is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormSortAssocButtonID sql.NullInt64 }
FormDivPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormDivWOP ¶
FormDivWOP is a FormDiv without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormEditAssocButtonAPI ¶
type FormEditAssocButtonAPI struct { gorm.Model models.FormEditAssocButton_WOP // encoding of pointers // for API, it cannot be embedded FormEditAssocButtonPointersEncoding FormEditAssocButtonPointersEncoding }
FormEditAssocButtonAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formeditassocbuttonAPI
type FormEditAssocButtonDB ¶
type FormEditAssocButtonDB struct { gorm.Model // Declation for basic field formeditassocbuttonDB.Name Name_Data sql.NullString // Declation for basic field formeditassocbuttonDB.Label Label_Data sql.NullString // Declation for basic field formeditassocbuttonDB.AssociationStorage AssociationStorage_Data sql.NullString // Declation for basic field formeditassocbuttonDB.HasChanged // provide the sql storage for the boolan HasChanged_Data sql.NullBool // Declation for basic field formeditassocbuttonDB.IsForSavePurpose // provide the sql storage for the boolan IsForSavePurpose_Data sql.NullBool // Declation for basic field formeditassocbuttonDB.HasToolTip // provide the sql storage for the boolan HasToolTip_Data sql.NullBool // Declation for basic field formeditassocbuttonDB.ToolTipText ToolTipText_Data sql.NullString // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormEditAssocButtonPointersEncoding }
FormEditAssocButtonDB describes a formeditassocbutton in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formeditassocbuttonDB
func (*FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
CopyBasicFieldsFromFormEditAssocButton
func (*FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButtonWOP ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButtonWOP(formeditassocbutton *FormEditAssocButtonWOP)
CopyBasicFieldsFromFormEditAssocButtonWOP
func (*FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton_WOP ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsFromFormEditAssocButton_WOP(formeditassocbutton *models.FormEditAssocButton_WOP)
CopyBasicFieldsFromFormEditAssocButton_WOP
func (*FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton(formeditassocbutton *models.FormEditAssocButton)
CopyBasicFieldsToFormEditAssocButton
func (*FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButtonWOP ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButtonWOP(formeditassocbutton *FormEditAssocButtonWOP)
CopyBasicFieldsToFormEditAssocButtonWOP
func (*FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton_WOP ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) CopyBasicFieldsToFormEditAssocButton_WOP(formeditassocbutton *models.FormEditAssocButton_WOP)
CopyBasicFieldsToFormEditAssocButton_WOP
func (*FormEditAssocButtonDB) DecodePointers ¶
func (formeditassocbuttonDB *FormEditAssocButtonDB) DecodePointers(backRepo *BackRepoStruct, formeditassocbutton *models.FormEditAssocButton)
type FormEditAssocButtonDBResponse ¶
type FormEditAssocButtonDBResponse struct {
FormEditAssocButtonDB
}
FormEditAssocButtonDBResponse provides response swagger:response formeditassocbuttonDBResponse
type FormEditAssocButtonDBs ¶
type FormEditAssocButtonDBs []FormEditAssocButtonDB
FormEditAssocButtonDBs arrays formeditassocbuttonDBs swagger:response formeditassocbuttonDBsResponse
type FormEditAssocButtonPointersEncoding ¶
type FormEditAssocButtonPointersEncoding struct { }
FormEditAssocButtonPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormEditAssocButtonWOP ¶
type FormEditAssocButtonWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Label string `xlsx:"2"` AssociationStorage string `xlsx:"3"` HasChanged bool `xlsx:"4"` IsForSavePurpose bool `xlsx:"5"` HasToolTip bool `xlsx:"6"` ToolTipText string `xlsx:"7"` }
FormEditAssocButtonWOP is a FormEditAssocButton without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldAPI ¶
type FormFieldAPI struct { gorm.Model models.FormField_WOP // encoding of pointers // for API, it cannot be embedded FormFieldPointersEncoding FormFieldPointersEncoding }
FormFieldAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formfieldAPI
type FormFieldDB ¶
type FormFieldDB struct { gorm.Model // Declation for basic field formfieldDB.Name Name_Data sql.NullString // Declation for basic field formfieldDB.InputTypeEnum InputTypeEnum_Data sql.NullString // Declation for basic field formfieldDB.Label Label_Data sql.NullString // Declation for basic field formfieldDB.Placeholder Placeholder_Data sql.NullString // Declation for basic field formfieldDB.HasBespokeWidth // provide the sql storage for the boolan HasBespokeWidth_Data sql.NullBool // Declation for basic field formfieldDB.BespokeWidthPx BespokeWidthPx_Data sql.NullInt64 // Declation for basic field formfieldDB.HasBespokeHeight // provide the sql storage for the boolan HasBespokeHeight_Data sql.NullBool // Declation for basic field formfieldDB.BespokeHeightPx BespokeHeightPx_Data sql.NullInt64 // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormFieldPointersEncoding }
FormFieldDB describes a formfield in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formfieldDB
func (*FormFieldDB) CopyBasicFieldsFromFormField ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormField(formfield *models.FormField)
CopyBasicFieldsFromFormField
func (*FormFieldDB) CopyBasicFieldsFromFormFieldWOP ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormFieldWOP(formfield *FormFieldWOP)
CopyBasicFieldsFromFormFieldWOP
func (*FormFieldDB) CopyBasicFieldsFromFormField_WOP ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsFromFormField_WOP(formfield *models.FormField_WOP)
CopyBasicFieldsFromFormField_WOP
func (*FormFieldDB) CopyBasicFieldsToFormField ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormField(formfield *models.FormField)
CopyBasicFieldsToFormField
func (*FormFieldDB) CopyBasicFieldsToFormFieldWOP ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormFieldWOP(formfield *FormFieldWOP)
CopyBasicFieldsToFormFieldWOP
func (*FormFieldDB) CopyBasicFieldsToFormField_WOP ¶
func (formfieldDB *FormFieldDB) CopyBasicFieldsToFormField_WOP(formfield *models.FormField_WOP)
CopyBasicFieldsToFormField_WOP
func (*FormFieldDB) DecodePointers ¶
func (formfieldDB *FormFieldDB) DecodePointers(backRepo *BackRepoStruct, formfield *models.FormField)
type FormFieldDBResponse ¶
type FormFieldDBResponse struct {
FormFieldDB
}
FormFieldDBResponse provides response swagger:response formfieldDBResponse
type FormFieldDBs ¶
type FormFieldDBs []FormFieldDB
FormFieldDBs arrays formfieldDBs swagger:response formfieldDBsResponse
type FormFieldDateAPI ¶
type FormFieldDateAPI struct { gorm.Model models.FormFieldDate_WOP // encoding of pointers // for API, it cannot be embedded FormFieldDatePointersEncoding FormFieldDatePointersEncoding }
FormFieldDateAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formfielddateAPI
type FormFieldDateDB ¶
type FormFieldDateDB struct { gorm.Model // Declation for basic field formfielddateDB.Name Name_Data sql.NullString // Declation for basic field formfielddateDB.Value Value_Data sql.NullTime // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormFieldDatePointersEncoding }
FormFieldDateDB describes a formfielddate in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formfielddateDB
func (*FormFieldDateDB) CopyBasicFieldsFromFormFieldDate ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDate(formfielddate *models.FormFieldDate)
CopyBasicFieldsFromFormFieldDate
func (*FormFieldDateDB) CopyBasicFieldsFromFormFieldDateWOP ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDateWOP(formfielddate *FormFieldDateWOP)
CopyBasicFieldsFromFormFieldDateWOP
func (*FormFieldDateDB) CopyBasicFieldsFromFormFieldDate_WOP ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsFromFormFieldDate_WOP(formfielddate *models.FormFieldDate_WOP)
CopyBasicFieldsFromFormFieldDate_WOP
func (*FormFieldDateDB) CopyBasicFieldsToFormFieldDate ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDate(formfielddate *models.FormFieldDate)
CopyBasicFieldsToFormFieldDate
func (*FormFieldDateDB) CopyBasicFieldsToFormFieldDateWOP ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDateWOP(formfielddate *FormFieldDateWOP)
CopyBasicFieldsToFormFieldDateWOP
func (*FormFieldDateDB) CopyBasicFieldsToFormFieldDate_WOP ¶
func (formfielddateDB *FormFieldDateDB) CopyBasicFieldsToFormFieldDate_WOP(formfielddate *models.FormFieldDate_WOP)
CopyBasicFieldsToFormFieldDate_WOP
func (*FormFieldDateDB) DecodePointers ¶
func (formfielddateDB *FormFieldDateDB) DecodePointers(backRepo *BackRepoStruct, formfielddate *models.FormFieldDate)
type FormFieldDateDBResponse ¶
type FormFieldDateDBResponse struct {
FormFieldDateDB
}
FormFieldDateDBResponse provides response swagger:response formfielddateDBResponse
type FormFieldDateDBs ¶
type FormFieldDateDBs []FormFieldDateDB
FormFieldDateDBs arrays formfielddateDBs swagger:response formfielddateDBsResponse
type FormFieldDatePointersEncoding ¶
type FormFieldDatePointersEncoding struct { }
FormFieldDatePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldDateTimeAPI ¶
type FormFieldDateTimeAPI struct { gorm.Model models.FormFieldDateTime_WOP // encoding of pointers // for API, it cannot be embedded FormFieldDateTimePointersEncoding FormFieldDateTimePointersEncoding }
FormFieldDateTimeAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formfielddatetimeAPI
type FormFieldDateTimeDB ¶
type FormFieldDateTimeDB struct { gorm.Model // Declation for basic field formfielddatetimeDB.Name Name_Data sql.NullString // Declation for basic field formfielddatetimeDB.Value Value_Data sql.NullTime // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormFieldDateTimePointersEncoding }
FormFieldDateTimeDB describes a formfielddatetime in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formfielddatetimeDB
func (*FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
CopyBasicFieldsFromFormFieldDateTime
func (*FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTimeWOP ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTimeWOP(formfielddatetime *FormFieldDateTimeWOP)
CopyBasicFieldsFromFormFieldDateTimeWOP
func (*FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime_WOP ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsFromFormFieldDateTime_WOP(formfielddatetime *models.FormFieldDateTime_WOP)
CopyBasicFieldsFromFormFieldDateTime_WOP
func (*FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime(formfielddatetime *models.FormFieldDateTime)
CopyBasicFieldsToFormFieldDateTime
func (*FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTimeWOP ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTimeWOP(formfielddatetime *FormFieldDateTimeWOP)
CopyBasicFieldsToFormFieldDateTimeWOP
func (*FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime_WOP ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) CopyBasicFieldsToFormFieldDateTime_WOP(formfielddatetime *models.FormFieldDateTime_WOP)
CopyBasicFieldsToFormFieldDateTime_WOP
func (*FormFieldDateTimeDB) DecodePointers ¶
func (formfielddatetimeDB *FormFieldDateTimeDB) DecodePointers(backRepo *BackRepoStruct, formfielddatetime *models.FormFieldDateTime)
type FormFieldDateTimeDBResponse ¶
type FormFieldDateTimeDBResponse struct {
FormFieldDateTimeDB
}
FormFieldDateTimeDBResponse provides response swagger:response formfielddatetimeDBResponse
type FormFieldDateTimeDBs ¶
type FormFieldDateTimeDBs []FormFieldDateTimeDB
FormFieldDateTimeDBs arrays formfielddatetimeDBs swagger:response formfielddatetimeDBsResponse
type FormFieldDateTimePointersEncoding ¶
type FormFieldDateTimePointersEncoding struct { }
FormFieldDateTimePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldDateTimeWOP ¶
type FormFieldDateTimeWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value time.Time `xlsx:"2"` }
FormFieldDateTimeWOP is a FormFieldDateTime without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldDateWOP ¶
type FormFieldDateWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value time.Time `xlsx:"2"` }
FormFieldDateWOP is a FormFieldDate without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldFloat64API ¶
type FormFieldFloat64API struct { gorm.Model models.FormFieldFloat64_WOP // encoding of pointers // for API, it cannot be embedded FormFieldFloat64PointersEncoding FormFieldFloat64PointersEncoding }
FormFieldFloat64API is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formfieldfloat64API
type FormFieldFloat64DB ¶
type FormFieldFloat64DB struct { gorm.Model // Declation for basic field formfieldfloat64DB.Name Name_Data sql.NullString // Declation for basic field formfieldfloat64DB.Value Value_Data sql.NullFloat64 // Declation for basic field formfieldfloat64DB.HasMinValidator // provide the sql storage for the boolan HasMinValidator_Data sql.NullBool // Declation for basic field formfieldfloat64DB.MinValue MinValue_Data sql.NullFloat64 // Declation for basic field formfieldfloat64DB.HasMaxValidator // provide the sql storage for the boolan HasMaxValidator_Data sql.NullBool // Declation for basic field formfieldfloat64DB.MaxValue MaxValue_Data sql.NullFloat64 // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormFieldFloat64PointersEncoding }
FormFieldFloat64DB describes a formfieldfloat64 in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formfieldfloat64DB
func (*FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64 ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
CopyBasicFieldsFromFormFieldFloat64
func (*FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64WOP ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64WOP(formfieldfloat64 *FormFieldFloat64WOP)
CopyBasicFieldsFromFormFieldFloat64WOP
func (*FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64_WOP ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsFromFormFieldFloat64_WOP(formfieldfloat64 *models.FormFieldFloat64_WOP)
CopyBasicFieldsFromFormFieldFloat64_WOP
func (*FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64 ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64(formfieldfloat64 *models.FormFieldFloat64)
CopyBasicFieldsToFormFieldFloat64
func (*FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64WOP ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64WOP(formfieldfloat64 *FormFieldFloat64WOP)
CopyBasicFieldsToFormFieldFloat64WOP
func (*FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64_WOP ¶
func (formfieldfloat64DB *FormFieldFloat64DB) CopyBasicFieldsToFormFieldFloat64_WOP(formfieldfloat64 *models.FormFieldFloat64_WOP)
CopyBasicFieldsToFormFieldFloat64_WOP
func (*FormFieldFloat64DB) DecodePointers ¶
func (formfieldfloat64DB *FormFieldFloat64DB) DecodePointers(backRepo *BackRepoStruct, formfieldfloat64 *models.FormFieldFloat64)
type FormFieldFloat64DBResponse ¶
type FormFieldFloat64DBResponse struct {
FormFieldFloat64DB
}
FormFieldFloat64DBResponse provides response swagger:response formfieldfloat64DBResponse
type FormFieldFloat64DBs ¶
type FormFieldFloat64DBs []FormFieldFloat64DB
FormFieldFloat64DBs arrays formfieldfloat64DBs swagger:response formfieldfloat64DBsResponse
type FormFieldFloat64PointersEncoding ¶
type FormFieldFloat64PointersEncoding struct { }
FormFieldFloat64PointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldFloat64WOP ¶
type FormFieldFloat64WOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value float64 `xlsx:"2"` HasMinValidator bool `xlsx:"3"` MinValue float64 `xlsx:"4"` HasMaxValidator bool `xlsx:"5"` MaxValue float64 `xlsx:"6"` }
FormFieldFloat64WOP is a FormFieldFloat64 without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldIntAPI ¶
type FormFieldIntAPI struct { gorm.Model models.FormFieldInt_WOP // encoding of pointers // for API, it cannot be embedded FormFieldIntPointersEncoding FormFieldIntPointersEncoding }
FormFieldIntAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formfieldintAPI
type FormFieldIntDB ¶
type FormFieldIntDB struct { gorm.Model // Declation for basic field formfieldintDB.Name Name_Data sql.NullString // Declation for basic field formfieldintDB.Value Value_Data sql.NullInt64 // Declation for basic field formfieldintDB.HasMinValidator // provide the sql storage for the boolan HasMinValidator_Data sql.NullBool // Declation for basic field formfieldintDB.MinValue MinValue_Data sql.NullInt64 // Declation for basic field formfieldintDB.HasMaxValidator // provide the sql storage for the boolan HasMaxValidator_Data sql.NullBool // Declation for basic field formfieldintDB.MaxValue MaxValue_Data sql.NullInt64 // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormFieldIntPointersEncoding }
FormFieldIntDB describes a formfieldint in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formfieldintDB
func (*FormFieldIntDB) CopyBasicFieldsFromFormFieldInt ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldInt(formfieldint *models.FormFieldInt)
CopyBasicFieldsFromFormFieldInt
func (*FormFieldIntDB) CopyBasicFieldsFromFormFieldIntWOP ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldIntWOP(formfieldint *FormFieldIntWOP)
CopyBasicFieldsFromFormFieldIntWOP
func (*FormFieldIntDB) CopyBasicFieldsFromFormFieldInt_WOP ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsFromFormFieldInt_WOP(formfieldint *models.FormFieldInt_WOP)
CopyBasicFieldsFromFormFieldInt_WOP
func (*FormFieldIntDB) CopyBasicFieldsToFormFieldInt ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldInt(formfieldint *models.FormFieldInt)
CopyBasicFieldsToFormFieldInt
func (*FormFieldIntDB) CopyBasicFieldsToFormFieldIntWOP ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldIntWOP(formfieldint *FormFieldIntWOP)
CopyBasicFieldsToFormFieldIntWOP
func (*FormFieldIntDB) CopyBasicFieldsToFormFieldInt_WOP ¶
func (formfieldintDB *FormFieldIntDB) CopyBasicFieldsToFormFieldInt_WOP(formfieldint *models.FormFieldInt_WOP)
CopyBasicFieldsToFormFieldInt_WOP
func (*FormFieldIntDB) DecodePointers ¶
func (formfieldintDB *FormFieldIntDB) DecodePointers(backRepo *BackRepoStruct, formfieldint *models.FormFieldInt)
type FormFieldIntDBResponse ¶
type FormFieldIntDBResponse struct {
FormFieldIntDB
}
FormFieldIntDBResponse provides response swagger:response formfieldintDBResponse
type FormFieldIntDBs ¶
type FormFieldIntDBs []FormFieldIntDB
FormFieldIntDBs arrays formfieldintDBs swagger:response formfieldintDBsResponse
type FormFieldIntPointersEncoding ¶
type FormFieldIntPointersEncoding struct { }
FormFieldIntPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldIntWOP ¶
type FormFieldIntWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value int `xlsx:"2"` HasMinValidator bool `xlsx:"3"` MinValue int `xlsx:"4"` HasMaxValidator bool `xlsx:"5"` MaxValue int `xlsx:"6"` }
FormFieldIntWOP is a FormFieldInt without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldPointersEncoding ¶
type FormFieldPointersEncoding struct { // field FormFieldString is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldStringID sql.NullInt64 // field FormFieldFloat64 is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldFloat64ID sql.NullInt64 // field FormFieldInt is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldIntID sql.NullInt64 // field FormFieldDate is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldDateID sql.NullInt64 // field FormFieldTime is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldTimeID sql.NullInt64 // field FormFieldDateTime is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldDateTimeID sql.NullInt64 // field FormFieldSelect is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormFieldSelectID sql.NullInt64 }
FormFieldPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldSelectAPI ¶
type FormFieldSelectAPI struct { gorm.Model models.FormFieldSelect_WOP // encoding of pointers // for API, it cannot be embedded FormFieldSelectPointersEncoding FormFieldSelectPointersEncoding }
FormFieldSelectAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formfieldselectAPI
type FormFieldSelectDB ¶
type FormFieldSelectDB struct { gorm.Model // Declation for basic field formfieldselectDB.Name Name_Data sql.NullString // Declation for basic field formfieldselectDB.CanBeEmpty // provide the sql storage for the boolan CanBeEmpty_Data sql.NullBool // Declation for basic field formfieldselectDB.PreserveInitialOrder // provide the sql storage for the boolan PreserveInitialOrder_Data sql.NullBool // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormFieldSelectPointersEncoding }
FormFieldSelectDB describes a formfieldselect in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formfieldselectDB
func (*FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect(formfieldselect *models.FormFieldSelect)
CopyBasicFieldsFromFormFieldSelect
func (*FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelectWOP ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelectWOP(formfieldselect *FormFieldSelectWOP)
CopyBasicFieldsFromFormFieldSelectWOP
func (*FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect_WOP ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsFromFormFieldSelect_WOP(formfieldselect *models.FormFieldSelect_WOP)
CopyBasicFieldsFromFormFieldSelect_WOP
func (*FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect(formfieldselect *models.FormFieldSelect)
CopyBasicFieldsToFormFieldSelect
func (*FormFieldSelectDB) CopyBasicFieldsToFormFieldSelectWOP ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelectWOP(formfieldselect *FormFieldSelectWOP)
CopyBasicFieldsToFormFieldSelectWOP
func (*FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect_WOP ¶
func (formfieldselectDB *FormFieldSelectDB) CopyBasicFieldsToFormFieldSelect_WOP(formfieldselect *models.FormFieldSelect_WOP)
CopyBasicFieldsToFormFieldSelect_WOP
func (*FormFieldSelectDB) DecodePointers ¶
func (formfieldselectDB *FormFieldSelectDB) DecodePointers(backRepo *BackRepoStruct, formfieldselect *models.FormFieldSelect)
type FormFieldSelectDBResponse ¶
type FormFieldSelectDBResponse struct {
FormFieldSelectDB
}
FormFieldSelectDBResponse provides response swagger:response formfieldselectDBResponse
type FormFieldSelectDBs ¶
type FormFieldSelectDBs []FormFieldSelectDB
FormFieldSelectDBs arrays formfieldselectDBs swagger:response formfieldselectDBsResponse
type FormFieldSelectPointersEncoding ¶
type FormFieldSelectPointersEncoding struct { // field Value is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association ValueID sql.NullInt64 // field Options is a slice of pointers to another Struct (optional or 0..1) Options IntSlice `gorm:"type:TEXT"` }
FormFieldSelectPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldSelectWOP ¶
type FormFieldSelectWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` CanBeEmpty bool `xlsx:"2"` PreserveInitialOrder bool `xlsx:"3"` }
FormFieldSelectWOP is a FormFieldSelect without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldStringAPI ¶
type FormFieldStringAPI struct { gorm.Model models.FormFieldString_WOP // encoding of pointers // for API, it cannot be embedded FormFieldStringPointersEncoding FormFieldStringPointersEncoding }
FormFieldStringAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formfieldstringAPI
type FormFieldStringDB ¶
type FormFieldStringDB struct { gorm.Model // Declation for basic field formfieldstringDB.Name Name_Data sql.NullString // Declation for basic field formfieldstringDB.Value Value_Data sql.NullString // Declation for basic field formfieldstringDB.IsTextArea // provide the sql storage for the boolan IsTextArea_Data sql.NullBool // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormFieldStringPointersEncoding }
FormFieldStringDB describes a formfieldstring in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formfieldstringDB
func (*FormFieldStringDB) CopyBasicFieldsFromFormFieldString ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldString(formfieldstring *models.FormFieldString)
CopyBasicFieldsFromFormFieldString
func (*FormFieldStringDB) CopyBasicFieldsFromFormFieldStringWOP ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldStringWOP(formfieldstring *FormFieldStringWOP)
CopyBasicFieldsFromFormFieldStringWOP
func (*FormFieldStringDB) CopyBasicFieldsFromFormFieldString_WOP ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsFromFormFieldString_WOP(formfieldstring *models.FormFieldString_WOP)
CopyBasicFieldsFromFormFieldString_WOP
func (*FormFieldStringDB) CopyBasicFieldsToFormFieldString ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldString(formfieldstring *models.FormFieldString)
CopyBasicFieldsToFormFieldString
func (*FormFieldStringDB) CopyBasicFieldsToFormFieldStringWOP ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldStringWOP(formfieldstring *FormFieldStringWOP)
CopyBasicFieldsToFormFieldStringWOP
func (*FormFieldStringDB) CopyBasicFieldsToFormFieldString_WOP ¶
func (formfieldstringDB *FormFieldStringDB) CopyBasicFieldsToFormFieldString_WOP(formfieldstring *models.FormFieldString_WOP)
CopyBasicFieldsToFormFieldString_WOP
func (*FormFieldStringDB) DecodePointers ¶
func (formfieldstringDB *FormFieldStringDB) DecodePointers(backRepo *BackRepoStruct, formfieldstring *models.FormFieldString)
type FormFieldStringDBResponse ¶
type FormFieldStringDBResponse struct {
FormFieldStringDB
}
FormFieldStringDBResponse provides response swagger:response formfieldstringDBResponse
type FormFieldStringDBs ¶
type FormFieldStringDBs []FormFieldStringDB
FormFieldStringDBs arrays formfieldstringDBs swagger:response formfieldstringDBsResponse
type FormFieldStringPointersEncoding ¶
type FormFieldStringPointersEncoding struct { }
FormFieldStringPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldStringWOP ¶
type FormFieldStringWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value string `xlsx:"2"` IsTextArea bool `xlsx:"3"` }
FormFieldStringWOP is a FormFieldString without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldTimeAPI ¶
type FormFieldTimeAPI struct { gorm.Model models.FormFieldTime_WOP // encoding of pointers // for API, it cannot be embedded FormFieldTimePointersEncoding FormFieldTimePointersEncoding }
FormFieldTimeAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formfieldtimeAPI
type FormFieldTimeDB ¶
type FormFieldTimeDB struct { gorm.Model // Declation for basic field formfieldtimeDB.Name Name_Data sql.NullString // Declation for basic field formfieldtimeDB.Value Value_Data sql.NullTime // Declation for basic field formfieldtimeDB.Step Step_Data sql.NullFloat64 // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormFieldTimePointersEncoding }
FormFieldTimeDB describes a formfieldtime in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formfieldtimeDB
func (*FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime(formfieldtime *models.FormFieldTime)
CopyBasicFieldsFromFormFieldTime
func (*FormFieldTimeDB) CopyBasicFieldsFromFormFieldTimeWOP ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTimeWOP(formfieldtime *FormFieldTimeWOP)
CopyBasicFieldsFromFormFieldTimeWOP
func (*FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime_WOP ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsFromFormFieldTime_WOP(formfieldtime *models.FormFieldTime_WOP)
CopyBasicFieldsFromFormFieldTime_WOP
func (*FormFieldTimeDB) CopyBasicFieldsToFormFieldTime ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTime(formfieldtime *models.FormFieldTime)
CopyBasicFieldsToFormFieldTime
func (*FormFieldTimeDB) CopyBasicFieldsToFormFieldTimeWOP ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTimeWOP(formfieldtime *FormFieldTimeWOP)
CopyBasicFieldsToFormFieldTimeWOP
func (*FormFieldTimeDB) CopyBasicFieldsToFormFieldTime_WOP ¶
func (formfieldtimeDB *FormFieldTimeDB) CopyBasicFieldsToFormFieldTime_WOP(formfieldtime *models.FormFieldTime_WOP)
CopyBasicFieldsToFormFieldTime_WOP
func (*FormFieldTimeDB) DecodePointers ¶
func (formfieldtimeDB *FormFieldTimeDB) DecodePointers(backRepo *BackRepoStruct, formfieldtime *models.FormFieldTime)
type FormFieldTimeDBResponse ¶
type FormFieldTimeDBResponse struct {
FormFieldTimeDB
}
FormFieldTimeDBResponse provides response swagger:response formfieldtimeDBResponse
type FormFieldTimeDBs ¶
type FormFieldTimeDBs []FormFieldTimeDB
FormFieldTimeDBs arrays formfieldtimeDBs swagger:response formfieldtimeDBsResponse
type FormFieldTimePointersEncoding ¶
type FormFieldTimePointersEncoding struct { }
FormFieldTimePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormFieldTimeWOP ¶
type FormFieldTimeWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Value time.Time `xlsx:"2"` Step float64 `xlsx:"3"` }
FormFieldTimeWOP is a FormFieldTime without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormFieldWOP ¶
type FormFieldWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` InputTypeEnum models.InputTypeEnum `xlsx:"2"` Label string `xlsx:"3"` Placeholder string `xlsx:"4"` HasBespokeWidth bool `xlsx:"5"` BespokeWidthPx int `xlsx:"6"` HasBespokeHeight bool `xlsx:"7"` BespokeHeightPx int `xlsx:"8"` }
FormFieldWOP is a FormField without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormGroupAPI ¶
type FormGroupAPI struct { gorm.Model models.FormGroup_WOP // encoding of pointers // for API, it cannot be embedded FormGroupPointersEncoding FormGroupPointersEncoding }
FormGroupAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formgroupAPI
type FormGroupDB ¶
type FormGroupDB struct { gorm.Model // Declation for basic field formgroupDB.Name Name_Data sql.NullString // Declation for basic field formgroupDB.Label Label_Data sql.NullString // Declation for basic field formgroupDB.HasSuppressButton // provide the sql storage for the boolan HasSuppressButton_Data sql.NullBool // Declation for basic field formgroupDB.HasSuppressButtonBeenPressed // provide the sql storage for the boolan HasSuppressButtonBeenPressed_Data sql.NullBool // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormGroupPointersEncoding }
FormGroupDB describes a formgroup in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formgroupDB
func (*FormGroupDB) CopyBasicFieldsFromFormGroup ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroup(formgroup *models.FormGroup)
CopyBasicFieldsFromFormGroup
func (*FormGroupDB) CopyBasicFieldsFromFormGroupWOP ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroupWOP(formgroup *FormGroupWOP)
CopyBasicFieldsFromFormGroupWOP
func (*FormGroupDB) CopyBasicFieldsFromFormGroup_WOP ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsFromFormGroup_WOP(formgroup *models.FormGroup_WOP)
CopyBasicFieldsFromFormGroup_WOP
func (*FormGroupDB) CopyBasicFieldsToFormGroup ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroup(formgroup *models.FormGroup)
CopyBasicFieldsToFormGroup
func (*FormGroupDB) CopyBasicFieldsToFormGroupWOP ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroupWOP(formgroup *FormGroupWOP)
CopyBasicFieldsToFormGroupWOP
func (*FormGroupDB) CopyBasicFieldsToFormGroup_WOP ¶
func (formgroupDB *FormGroupDB) CopyBasicFieldsToFormGroup_WOP(formgroup *models.FormGroup_WOP)
CopyBasicFieldsToFormGroup_WOP
func (*FormGroupDB) DecodePointers ¶
func (formgroupDB *FormGroupDB) DecodePointers(backRepo *BackRepoStruct, formgroup *models.FormGroup)
type FormGroupDBResponse ¶
type FormGroupDBResponse struct {
FormGroupDB
}
FormGroupDBResponse provides response swagger:response formgroupDBResponse
type FormGroupDBs ¶
type FormGroupDBs []FormGroupDB
FormGroupDBs arrays formgroupDBs swagger:response formgroupDBsResponse
type FormGroupPointersEncoding ¶
type FormGroupPointersEncoding struct { // field FormDivs is a slice of pointers to another Struct (optional or 0..1) FormDivs IntSlice `gorm:"type:TEXT"` }
FormGroupPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormGroupWOP ¶
type FormGroupWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Label string `xlsx:"2"` HasSuppressButton bool `xlsx:"3"` HasSuppressButtonBeenPressed bool `xlsx:"4"` }
FormGroupWOP is a FormGroup without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type FormSortAssocButtonAPI ¶
type FormSortAssocButtonAPI struct { gorm.Model models.FormSortAssocButton_WOP // encoding of pointers // for API, it cannot be embedded FormSortAssocButtonPointersEncoding FormSortAssocButtonPointersEncoding }
FormSortAssocButtonAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model formsortassocbuttonAPI
type FormSortAssocButtonDB ¶
type FormSortAssocButtonDB struct { gorm.Model // Declation for basic field formsortassocbuttonDB.Name Name_Data sql.NullString // Declation for basic field formsortassocbuttonDB.Label Label_Data sql.NullString // Declation for basic field formsortassocbuttonDB.HasToolTip // provide the sql storage for the boolan HasToolTip_Data sql.NullBool // Declation for basic field formsortassocbuttonDB.ToolTipText ToolTipText_Data sql.NullString // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration FormSortAssocButtonPointersEncoding }
FormSortAssocButtonDB describes a formsortassocbutton in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model formsortassocbuttonDB
func (*FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
CopyBasicFieldsFromFormSortAssocButton
func (*FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButtonWOP ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButtonWOP(formsortassocbutton *FormSortAssocButtonWOP)
CopyBasicFieldsFromFormSortAssocButtonWOP
func (*FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton_WOP ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsFromFormSortAssocButton_WOP(formsortassocbutton *models.FormSortAssocButton_WOP)
CopyBasicFieldsFromFormSortAssocButton_WOP
func (*FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton(formsortassocbutton *models.FormSortAssocButton)
CopyBasicFieldsToFormSortAssocButton
func (*FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButtonWOP ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButtonWOP(formsortassocbutton *FormSortAssocButtonWOP)
CopyBasicFieldsToFormSortAssocButtonWOP
func (*FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton_WOP ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) CopyBasicFieldsToFormSortAssocButton_WOP(formsortassocbutton *models.FormSortAssocButton_WOP)
CopyBasicFieldsToFormSortAssocButton_WOP
func (*FormSortAssocButtonDB) DecodePointers ¶
func (formsortassocbuttonDB *FormSortAssocButtonDB) DecodePointers(backRepo *BackRepoStruct, formsortassocbutton *models.FormSortAssocButton)
type FormSortAssocButtonDBResponse ¶
type FormSortAssocButtonDBResponse struct {
FormSortAssocButtonDB
}
FormSortAssocButtonDBResponse provides response swagger:response formsortassocbuttonDBResponse
type FormSortAssocButtonDBs ¶
type FormSortAssocButtonDBs []FormSortAssocButtonDB
FormSortAssocButtonDBs arrays formsortassocbuttonDBs swagger:response formsortassocbuttonDBsResponse
type FormSortAssocButtonPointersEncoding ¶
type FormSortAssocButtonPointersEncoding struct { // field FormEditAssocButton is a pointer to another Struct (optional or 0..1) // This field is generated into another field to enable AS ONE association FormEditAssocButtonID sql.NullInt64 }
FormSortAssocButtonPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type FormSortAssocButtonWOP ¶
type FormSortAssocButtonWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` Label string `xlsx:"2"` HasToolTip bool `xlsx:"3"` ToolTipText string `xlsx:"4"` }
FormSortAssocButtonWOP is a FormSortAssocButton without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type GongstructDB ¶
type GongstructDB interface { }
type IntSlice ¶
type IntSlice []int
type OptionAPI ¶
type OptionAPI struct { gorm.Model models.Option_WOP // encoding of pointers // for API, it cannot be embedded OptionPointersEncoding OptionPointersEncoding }
OptionAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model optionAPI
type OptionDB ¶
type OptionDB struct { gorm.Model // Declation for basic field optionDB.Name Name_Data sql.NullString // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration OptionPointersEncoding }
OptionDB describes a option in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model optionDB
func (*OptionDB) CopyBasicFieldsFromOption ¶
CopyBasicFieldsFromOption
func (*OptionDB) CopyBasicFieldsFromOptionWOP ¶
CopyBasicFieldsFromOptionWOP
func (*OptionDB) CopyBasicFieldsFromOption_WOP ¶
func (optionDB *OptionDB) CopyBasicFieldsFromOption_WOP(option *models.Option_WOP)
CopyBasicFieldsFromOption_WOP
func (*OptionDB) CopyBasicFieldsToOption ¶
CopyBasicFieldsToOption
func (*OptionDB) CopyBasicFieldsToOptionWOP ¶
CopyBasicFieldsToOptionWOP
func (*OptionDB) CopyBasicFieldsToOption_WOP ¶
func (optionDB *OptionDB) CopyBasicFieldsToOption_WOP(option *models.Option_WOP)
CopyBasicFieldsToOption_WOP
func (*OptionDB) DecodePointers ¶
func (optionDB *OptionDB) DecodePointers(backRepo *BackRepoStruct, option *models.Option)
type OptionDBResponse ¶
type OptionDBResponse struct {
OptionDB
}
OptionDBResponse provides response swagger:response optionDBResponse
type OptionDBs ¶
type OptionDBs []OptionDB
OptionDBs arrays optionDBs swagger:response optionDBsResponse
type OptionPointersEncoding ¶
type OptionPointersEncoding struct { }
OptionPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type OptionWOP ¶
OptionWOP is a Option without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type RowAPI ¶
type RowAPI struct { gorm.Model models.Row_WOP // encoding of pointers // for API, it cannot be embedded RowPointersEncoding RowPointersEncoding }
RowAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model rowAPI
type RowDB ¶
type RowDB struct { gorm.Model // Declation for basic field rowDB.Name Name_Data sql.NullString // Declation for basic field rowDB.IsChecked // provide the sql storage for the boolan IsChecked_Data sql.NullBool // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration RowPointersEncoding }
RowDB describes a row in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model rowDB
func (*RowDB) CopyBasicFieldsFromRow ¶
CopyBasicFieldsFromRow
func (*RowDB) CopyBasicFieldsFromRowWOP ¶
CopyBasicFieldsFromRowWOP
func (*RowDB) CopyBasicFieldsFromRow_WOP ¶
CopyBasicFieldsFromRow_WOP
func (*RowDB) CopyBasicFieldsToRow ¶
CopyBasicFieldsToRow
func (*RowDB) CopyBasicFieldsToRowWOP ¶
CopyBasicFieldsToRowWOP
func (*RowDB) CopyBasicFieldsToRow_WOP ¶
CopyBasicFieldsToRow_WOP
func (*RowDB) DecodePointers ¶
func (rowDB *RowDB) DecodePointers(backRepo *BackRepoStruct, row *models.Row)
type RowDBResponse ¶
type RowDBResponse struct {
RowDB
}
RowDBResponse provides response swagger:response rowDBResponse
type RowPointersEncoding ¶
type RowPointersEncoding struct { // field Cells is a slice of pointers to another Struct (optional or 0..1) Cells IntSlice `gorm:"type:TEXT"` }
RowPointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type RowWOP ¶
RowWOP is a Row without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
type TableAPI ¶
type TableAPI struct { gorm.Model models.Table_WOP // encoding of pointers // for API, it cannot be embedded TablePointersEncoding TablePointersEncoding }
TableAPI is the input in POST API
for POST, API, one needs the fields of the model as well as the fields from associations ("Has One" and "Has Many") that are generated to fullfill the ORM requirements for associations
swagger:model tableAPI
type TableDB ¶
type TableDB struct { gorm.Model // Declation for basic field tableDB.Name Name_Data sql.NullString // Declation for basic field tableDB.HasFiltering // provide the sql storage for the boolan HasFiltering_Data sql.NullBool // Declation for basic field tableDB.HasColumnSorting // provide the sql storage for the boolan HasColumnSorting_Data sql.NullBool // Declation for basic field tableDB.HasPaginator // provide the sql storage for the boolan HasPaginator_Data sql.NullBool // Declation for basic field tableDB.HasCheckableRows // provide the sql storage for the boolan HasCheckableRows_Data sql.NullBool // Declation for basic field tableDB.HasSaveButton // provide the sql storage for the boolan HasSaveButton_Data sql.NullBool // Declation for basic field tableDB.SaveButtonLabel SaveButtonLabel_Data sql.NullString // Declation for basic field tableDB.CanDragDropRows // provide the sql storage for the boolan CanDragDropRows_Data sql.NullBool // Declation for basic field tableDB.HasCloseButton // provide the sql storage for the boolan HasCloseButton_Data sql.NullBool // Declation for basic field tableDB.SavingInProgress // provide the sql storage for the boolan SavingInProgress_Data sql.NullBool // Declation for basic field tableDB.NbOfStickyColumns NbOfStickyColumns_Data sql.NullInt64 // encoding of pointers // for GORM serialization, it is necessary to embed to Pointer Encoding declaration TablePointersEncoding }
TableDB describes a table in the database
It incorporates the GORM ID, basic fields from the model (because they can be serialized), the encoded version of pointers
swagger:model tableDB
func (*TableDB) CopyBasicFieldsFromTable ¶
CopyBasicFieldsFromTable
func (*TableDB) CopyBasicFieldsFromTableWOP ¶
CopyBasicFieldsFromTableWOP
func (*TableDB) CopyBasicFieldsFromTable_WOP ¶
CopyBasicFieldsFromTable_WOP
func (*TableDB) CopyBasicFieldsToTable ¶
CopyBasicFieldsToTable
func (*TableDB) CopyBasicFieldsToTableWOP ¶
CopyBasicFieldsToTableWOP
func (*TableDB) CopyBasicFieldsToTable_WOP ¶
CopyBasicFieldsToTable_WOP
func (*TableDB) DecodePointers ¶
func (tableDB *TableDB) DecodePointers(backRepo *BackRepoStruct, table *models.Table)
type TableDBResponse ¶
type TableDBResponse struct {
TableDB
}
TableDBResponse provides response swagger:response tableDBResponse
type TablePointersEncoding ¶
type TablePointersEncoding struct { // field DisplayedColumns is a slice of pointers to another Struct (optional or 0..1) DisplayedColumns IntSlice `gorm:"type:TEXT"` // field Rows is a slice of pointers to another Struct (optional or 0..1) Rows IntSlice `gorm:"type:TEXT"` }
TablePointersEncoding encodes pointers to Struct and reverse pointers of slice of poitners to Struct
type TableWOP ¶
type TableWOP struct { ID int `xlsx:"0"` Name string `xlsx:"1"` HasFiltering bool `xlsx:"2"` HasColumnSorting bool `xlsx:"3"` HasPaginator bool `xlsx:"4"` HasCheckableRows bool `xlsx:"5"` HasSaveButton bool `xlsx:"6"` SaveButtonLabel string `xlsx:"7"` CanDragDropRows bool `xlsx:"8"` HasCloseButton bool `xlsx:"9"` SavingInProgress bool `xlsx:"10"` NbOfStickyColumns int `xlsx:"11"` }
TableWOP is a Table without pointers (WOP is an acronym for "Without Pointers") it holds the same basic fields but pointers are encoded into uint
Source Files
¶
- CellBooleanDB.go
- CellDB.go
- CellFloat64DB.go
- CellIconDB.go
- CellIntDB.go
- CellStringDB.go
- CheckBoxDB.go
- DisplayedColumnDB.go
- FormDivDB.go
- FormEditAssocButtonDB.go
- FormFieldDB.go
- FormFieldDateDB.go
- FormFieldDateTimeDB.go
- FormFieldFloat64DB.go
- FormFieldIntDB.go
- FormFieldSelectDB.go
- FormFieldStringDB.go
- FormFieldTimeDB.go
- FormGroupDB.go
- FormSortAssocButtonDB.go
- OptionDB.go
- RowDB.go
- TableDB.go
- back_repo.go
- back_repo_data.go
- db.go
- get_instance_db_from_instance.go
- int_slice.go