BuildingBlock "Dataspects::InterfaceRequest < DataspectsRequest"

From SMW CindyKate - Main
Component1205890686
Jump to: navigation, search

Content

IsRelevantFor UseCase "Manage dataspects Search Results Design and Functionality"

https://github.com/dataspects/dataspects/blob/master/lib/dataspects/dataspects_request/interface_request.rb

graph TD classDef dsClass fill:#eee,stroke-width:4px; classDef dsVariable fill:#eee,stroke-width:0px; classDef dsMethod fill:#abc,stroke-width:0px; classDef dsEndpoint fill:#abc,stroke-width:0px; C013("dataspectsSearchHTMLInterface") C000("DataspectsMainAPI") C013-->|AjaxRequest|C000 C000-->|params|E000 E000("POST /_interface
load_plugins") E000-->|"makes
@hSearchConfigOnServer
@hParamsFromRequest

available in"|C004 E000-->|"oInterfaceRequest.html"|C013 C004("InterfaceRequest < DataspectsRequest
super
.select_interface") C004-->M002 C004---|".html returns the fully configured
interface
"|M006 M006(".html
return @oInterface.html") M002(".select_interface
@oInterface = instance of class named
@hParamsFromRequest['sInterface']
") C015("DataspectsStandardSearchInterface < DataspectsInterface
super") M008(".html
DESIGN HERE using
  • DataspectsInterface::privateMethods
  • @oInterfaceRequest
") M002-->|"makes
@oInterfaceRequest
available in"|C015 C015-->M008 class C000,C001,C002,C003,C004,C005,C006,C007 dsClass; class C008,C009,C010,C011,C012,C014,C015 dsClass; class none dsVariable; class M000,M001,M002,M003,M004,M005,M006,M007 dsMethod; class M008,M009 dsMethod; class E000,E001,E002,E003 dsEndpoint;