Basic Customization > User Interface Customization > Gathering the Data for the UI > Acquiring Data via Info*Engine > Solution > Procedure – Implementing the Component Data Builder
  
Procedure – Implementing the Component Data Builder
Your ComponentDataBuilder should return a well populated IeTaskInfo object. It takes the action name as the constructor which gives information of the task that need to be executed to get the data For example, the following code snippet demonstrates the use of the “jca-Search” task .
public class MyDataBuilderWithIETask implements ComponentDataBuilder {

@Override
public Object buildComponentData(ComponentConfig config,
ComponentParams params) throws WTException {

//pass the task name as constructor
IeTaskInfo taskInfo = new IeTaskInfo("jca-Search");
……..
return taskInfo;
}
}
You can provide parameters to the “Get-Model” webject using the setParam(Param param) method on the IeTaskInfo. In addition if you want to pass parameters to the underlying task using FORM group, can use addFormParam(String name, Object data) method.