Add support for a new entity in general report

Genral entity report is a tool which enables users to export data tables from CzechIdM. If you want you entity to support this feature, you need to meet these requirements:

Enabling general entity report is a matter of extending either of the following two abstract classes

Here is an example of such implementation for Roles:

@Component
@Enabled(RptModuleDescriptor.MODULE_ID)
public class IdmRoleGeneralEntityExport extends AbstractFormableEntityExport<IdmRoleDto, IdmRoleFilter>{
	public IdmRoleGeneralEntityExport(ReadWriteDtoService<IdmRoleDto, IdmRoleFilter> service,
									  RptReportService reportService, AttachmentManager attachmentManager, ObjectMapper mapper, FormService formService) {
		super(service, reportService, attachmentManager, mapper, formService);
	}
}

If you want to further extend the report functionality, you can override method

protected Map<String, String> tramsformToMap(D dto)

. This method allows you to add additional atributes to result report.