Public Member Functions

Koo::Common::Api::KooApi Class Reference

KooApi class provides an interface several Koo components relay on being available for their proper use. More...

List of all members.

Public Member Functions

def execute
 Executes the given actionId (which can be a report, keword, etc.
def executeReport
 Executes the server action to open a report.
def executeAction
 Executes the given server action (which can ba report, keyword, etc.
def executeKeyword
 Executes the given server keyword action.
def createWindow
 Opens a new window (a new tab with Koo application) with the given model.
def createWebWindow
 Opens a new window (a new tab with Koo application) with the given url.
def windowCreated
 This callback function is (should be) executed each time a new window (tab in Koo) is opened.

Detailed Description

KooApi class provides an interface several Koo components relay on being available for their proper use.

Definition at line 30 of file Api.py.


Member Function Documentation

def Koo::Common::Api::KooApi::createWebWindow (   self,
  url,
  title 
)

Opens a new window (a new tab with Koo application) with the given url.

Definition at line 54 of file Api.py.

def Koo::Common::Api::KooApi::createWindow (   self,
  view_ids,
  model,
  res_id = False,
  domain = None,
  view_type = 'form',
  window = None,
  context = None,
  mode = None,
  name = False,
  autoReload = False,
  target = 'current' 
)

Opens a new window (a new tab with Koo application) with the given model.

Definition at line 48 of file Api.py.

def Koo::Common::Api::KooApi::execute (   self,
  actionId,
  data = {},
  type = None,
  context = {} 
)

Executes the given actionId (which can be a report, keword, etc.

).

Definition at line 32 of file Api.py.

def Koo::Common::Api::KooApi::executeAction (   self,
  action,
  data = {},
  context = {} 
)

Executes the given server action (which can ba report, keyword, etc.

).

Definition at line 40 of file Api.py.

def Koo::Common::Api::KooApi::executeKeyword (   self,
  keyword,
  data = {},
  context = {} 
)

Executes the given server keyword action.

Definition at line 44 of file Api.py.

def Koo::Common::Api::KooApi::executeReport (   self,
  name,
  data = {},
  context = {} 
)

Executes the server action to open a report.

Definition at line 36 of file Api.py.

def Koo::Common::Api::KooApi::windowCreated (   self,
  window,
  target 
)

This callback function is (should be) executed each time a new window (tab in Koo) is opened.

Definition at line 58 of file Api.py.


The documentation for this class was generated from the following file:
Generated by Doxygen