lib/core/core_controller.rb
# controller_get call lorj framework to execute a controller get task
#
# parameters:
# - +object_type+: Lorj object type to use for the get.
# - +params+     : Parameters to use for get.
#
# returns:
# - Return a Lorj::Data representing the data retrieved by the controller.
controller_get call lorj framework to execute a controller get task
parameters:
+object_type+: Lorj object type to use for the get.
+params+     : Parameters to use for get.

Return a Lorj::Data representing the data retrieved by the controller.
controller_get call lorj framework to execute a controller get task parameters : + object_type + : Lorj object type to use for the get . + params + : Parameters to use for get . Return a Lorj :: Data representing the data retrieved by the controller .
def controller_get(sObjectType, sUniqId, params = nil)
      _add_instant_config(params)
      controller_params = _get_controller_params(sObjectType,
                                                 :get_e, :get)
      controller_obj = @controller.get(sObjectType, sUniqId, controller_params)
      data_obj = Lorj::Data.new
      data_obj.base = self
      data_obj.set(controller_obj, sObjectType) do |sObjType, oObject|
        begin
          _return_map(sObjType, oObject)
        rescue => e
          PrcLib.runtime_fail 'get %s.%s : %s',
                              @process.class, sObjectType, e.message
        end
      end
      @object_data.add data_obj
      _remove_instant_config(params)
      data_obj
    end
def controller_get ( sObjectType , sUniqId , params = nil ) _add_instant_config ( params ) controller_params = _get_controller_params ( sObjectType , :get_e , :get ) controller_obj = @controller . get ( sObjectType , sUniqId , controller_params ) data_obj = Lorj :: Data . new data_obj . base = self data_obj . set ( controller_obj , sObjectType ) do | sObjType , oObject | begin _return_map ( sObjType , oObject ) rescue => e PrcLib . runtime_fail 'get %s.%s : %s' , @process . class , sObjectType , e . message end end @object_data . add data_obj _remove_instant_config ( params ) data_obj end
controller_get call lorj framework to execute a controller get task
parameters:
 +object_type+: Lorj object type to use for the get.
controller_get call lorj framework to execute a controller get task parameters : + object_type + : Lorj object type to use for the get .
sObjectType
<not_specific>
sUniqId
<not_specific>
params
<not_specific>