private GMAuditMetadataLogEntity createCommonGMAMLE(Configuration conf, TSentryResponseStatus responseStatus, String userName, String requestClassName, String component) { GMAuditMetadataLogEntity gmamle = new GMAuditMetadataLogEntity(); setCommAttrForAMLE(gmamle, conf, responseStatus, userName, requestClassName); gmamle.setComponent(component); return gmamle; }
private GMAuditMetadataLogEntity createCommonGMAMLE(Configuration conf, TSentryResponseStatus responseStatus, String userName, String requestClassName, String component) { GMAuditMetadataLogEntity gmamle = new GMAuditMetadataLogEntity(); setCommAttrForAMLE(gmamle, conf, responseStatus, userName, toOperationType(requestClassName), toObjectType(requestClassName)); gmamle.setComponent(component); return gmamle; }