public interface AuditLog
| Modifier and Type | Method and Description |
|---|---|
void |
addLogMessage(String message)
Creates an Audit log record for the caller.
|
String |
getCallerId()
Return setting for the callerId.
|
String |
getCallerName()
Return setting for the callerName.
|
String |
getCallerType()
Return setting of the callerType.
|
String |
getContextId()
Returns the current context id associated with the Audit log.
|
String |
getProperty(String propertyName)
Retrieve a property stored in the Audit log.
|
List<String> |
getPropertyNames()
Request a list of property names stored in the Audit log.
|
String |
getResourceId()
Return setting for the resourceId.
|
String |
getResourceName()
Return setting for the resourceName.
|
String |
getResourceType()
Return setting of the resourceType.
|
void |
setCallerId(String newCallerId)
Set up the identifier of the caller.
|
void |
setCallerName(String newCallerName)
Set up a meaningful name for the caller.
|
void |
setCallerType(String newCallerType)
Set up the type of caller.
|
void |
setContextId(String newContextId)
Set a context id for the activity that the Audit log relates to.
|
void |
setProperty(String newPropertyName,
String newPropertyValue)
Add or update a property in the Audit log.
|
void |
setResourceId(String newResourceId)
Set up the identifier of the related resource, such as the connector to access data.
|
void |
setResourceName(String newResourceName)
Set up a meaningful name for the related resource.
|
void |
setResourceType(String newResourceType)
Set up the type of the related resource.
|
void setCallerId(String newCallerId)
newCallerId - - guid of the callerString getCallerId()
void setCallerName(String newCallerName)
newCallerName - - meaningful name of the caller - such as the name of the application using the Audit log.String getCallerName()
void setCallerType(String newCallerType)
newCallerType - - meaningful descriptive type name - such as the type of the application using the Audit log.String getCallerType()
void setResourceId(String newResourceId)
newResourceId - - guid of the callerString getResourceId()
void setResourceName(String newResourceName)
newResourceName - - meaningful name of the resource - may be class name or (preferably) a name from related
metadata entity.String getResourceName()
void setResourceType(String newResourceType)
newResourceType - - meaningful descriptive type name - such as "connector".String getResourceType()
List<String> getPropertyNames()
void setProperty(String newPropertyName, String newPropertyValue)
newPropertyName - - name of the property - if the property exists, it will update; otherwise add a new
propertynewPropertyValue - - value to associate with the property name. If null is passed the property is deleted.String getProperty(String propertyName)
propertyName - - name of property to return.void setContextId(String newContextId)
newContextId - - identifier for the current activity.String getContextId()
void addLogMessage(String message)
message - - log record contentCopyright © 2018–2020 ODPi. All rights reserved.