public class AuditLogHandler extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addLogMessageToAsset(String userId,
String assetGUID,
String connectorInstanceId,
String connectionName,
String connectorType,
String contextId,
String message)
Creates an Audit log record for the asset.
|
public void addLogMessageToAsset(String userId, String assetGUID, String connectorInstanceId, String connectionName, String connectorType, String contextId, String message) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - String - userId of user making request.assetGUID - String - unique id for the asset.connectorInstanceId - String - (optional) id of connector in use (if any).connectionName - String - (optional) name of the connection (extracted from the connector).connectorType - String - (optional) type of connector in use (if any).contextId - String - (optional) function name, or processId of the activity that the caller is performing.message - log record content.InvalidParameterException - one of the parameters is null or invalid.PropertyServerException - There is a problem adding the asset properties to
the property server.UserNotAuthorizedException - the requesting user is not authorized to issue this request.Copyright © 2017–2018 ODPi. All rights reserved.