public abstract class AuditDataset extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AuditDataset.HumanUser |
Constructor and Description |
---|
AuditDataset(boolean serverSide) |
Modifier and Type | Method and Description |
---|---|
abstract String |
getDestinationUserId() |
String |
getEventOutcomeDescription()
Description of the overall outcome of the transaction that causes this audit event
|
EventOutcomeIndicator |
getEventOutcomeIndicator()
Overall outcome of the transaction that causes this audit event
|
abstract List<AuditDataset.HumanUser> |
getHumanUsers() |
abstract String |
getLocalAddress()
Returns the local address.
|
abstract String |
getRemoteAddress() |
abstract String |
getSourceUserId() |
String |
getSourceUserName()
Source User Name, e.g.
|
boolean |
isDestinationUserIsRequestor() |
boolean |
isServerSide()
whether we audit on server (true) or on client (false)
|
boolean |
isSourceUserIsRequestor() |
void |
setEventOutcomeDescription(String eventOutcomeDescription)
Description of the overall outcome of the transaction that causes this audit event
|
void |
setEventOutcomeIndicator(EventOutcomeIndicator eventOutcomeIndicator)
Overall outcome of the transaction that causes this audit event
|
void |
setSourceUserName(String sourceUserName)
Source User Name, e.g.
|
String |
toString() |
public AuditDataset(boolean serverSide)
serverSide
- specifies whether this audit dataset will be used on the
server side (true
) or on the client side
(false
)public abstract String getSourceUserId()
public abstract String getDestinationUserId()
public abstract String getLocalAddress()
AuditUtils.getLocalIPAddress()
if not explicitly setpublic abstract String getRemoteAddress()
public abstract List<AuditDataset.HumanUser> getHumanUsers()
public boolean isSourceUserIsRequestor()
public boolean isDestinationUserIsRequestor()
@Generated(value="lombok") public boolean isServerSide()
@Generated(value="lombok") public EventOutcomeIndicator getEventOutcomeIndicator()
@Generated(value="lombok") public void setEventOutcomeIndicator(EventOutcomeIndicator eventOutcomeIndicator)
@Generated(value="lombok") public String getEventOutcomeDescription()
@Generated(value="lombok") public void setEventOutcomeDescription(String eventOutcomeDescription)
@Generated(value="lombok") public String getSourceUserName()
@Generated(value="lombok") public void setSourceUserName(String sourceUserName)
Copyright © 2018 Open eHealth Foundation. All rights reserved.