PdfPrep.com

Which two objects should you create?

You need to implement the payroll application data process.

Which two objects should you create? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A . a data contract class that uses the DataContractAttribute attribute
B . a service class that has a public method which accepts a single parameter for a contract
C . a class that extends SysOperationServiceBase
D . an UIBuilder class that extends SysOperationAutomaticUIBuilder

Answer: A,C

Explanation:

Scenario: You must develop a process to import payroll journals into the system.

A: Data Contract: Data contract class is the model class defining attributes needed for batch operations. These attributes are provided by the user, in a dialog. DataContractAttribute attribute is needed for the class and the properties methods requires DataMemberAttribute attribute.

C: Service: Service class extends from the SysOperationServiceBase class and contains the business logic for the batch operation. Developers often tend to add the business logic in controller classes, which violates the Single responsibility principle.

Reference: http://daxingwitheshant.blogspot.com/2018/06/sysoperation-framework.html

Exit mobile version