Versions in this module Expand all Collapse all v0 v0.2.0 Feb 5, 2021 v0.1.9 Feb 1, 2021 Changes in this version type Action + Data map[string]interface{} + ReportFile string + ReportName string + ReportType string type ActionType + const ActionReport + const ActionURL type Collection + func (ar *Collection) GetByID(id int64) (*Action, bool) v0.1.8 Jan 20, 2021 v0.1.7 Jan 18, 2021 Changes in this version + func BootStrap() + func LoadFromEtree(element *etree.Element) + type Action struct + ActViewType ActionViewType + AutoRefresh bool + AutoSearch bool + Context *types.Context + Domain string + Filter bool + Flags map[string]interface{} + Groups []string + Help string + HelpXML actionHelp + ID int64 + Limit int64 + ManualSearch bool + Method string + Model string + Multi bool + Name string + ResID int64 + SearchView views.ViewRef + SrcModel string + Tag string + Target string + Type ActionType + Usage string + View views.ViewRef + ViewMode string + Views []views.ViewTuple + XMLID string + func (a *Action) Sanitize() + func (a Action) ActionString() ActionString + func (a Action) TranslatedName(lang string) string + type ActionRef [2]string + func MakeActionRef(id string) ActionRef + func (ar *ActionRef) Scan(src interface{}) error + func (ar *ActionRef) UnmarshalJSON(data []byte) error + func (ar ActionRef) ID() string + func (ar ActionRef) IsNull() bool + func (ar ActionRef) MarshalJSON() ([]byte, error) + func (ar ActionRef) Name() string + func (ar ActionRef) Value() (driver.Value, error) + type ActionString struct + ID int64 + Type string + func (as ActionString) MarshalJSON() ([]byte, error) + type ActionType string + const ActionActWindow + const ActionClient + const ActionCloseWindow + const ActionServer + type ActionViewType string + const ActionViewTypeForm + const ActionViewTypeTree + type Collection struct + var Registry *Collection + func NewCollection() *Collection + func (ar *Collection) Add(a *Action) + func (ar *Collection) GetActionLinksForModel(modelName string) []*Action + func (ar *Collection) GetAll() []*Action + func (ar *Collection) GetById(id int64) *Action + func (ar *Collection) GetByXMLID(id string) *Action + func (ar *Collection) LoadFromEtree(element *etree.Element) + func (ar *Collection) MustGetById(id int64) *Action + func (ar *Collection) MustGetByXMLID(id string) *Action