public class AuditSuppressCriteria extends Object
EventIdentification and optional also for
ActiveParticipants of AuditMessages which shall be suppressed.
Only Audit Messages which match all specified criteria will be suppressed.
Audit Messages without any ActiveParticipant will only match an
AuditSuppressCriteria with does not specify criteria for
ActiveParticipants.
Audit Messages with multiple ActiveParticipants will match if one
of the ActiveParticipants match all ActiveParticipant
specific criteria.| Modifier and Type | Field and Description |
|---|---|
private String[] |
alternativeUserIDs |
private String |
commonName |
private String[] |
eventActionCodes |
private EventID[] |
eventIDs |
private String[] |
eventOutcomeIndicators |
private EventTypeCode[] |
eventTypeCodes |
private String[] |
networkAccessPointIDs |
private RoleIDCode[] |
roleIDCodes |
private String[] |
userIDs |
private Boolean |
userIsRequestor |
| Constructor and Description |
|---|
AuditSuppressCriteria() |
AuditSuppressCriteria(String cn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsActiveParticipantCriteria() |
private boolean |
equals(Object o1,
Object o2) |
String[] |
getAlternativeUserIDs() |
String |
getCommonName() |
String[] |
getEventActionCodes() |
EventID[] |
getEventIDs() |
String[] |
getEventIDsAsStringArray() |
String[] |
getEventOutcomeIndicators() |
EventTypeCode[] |
getEventTypeCodes() |
String[] |
getEventTypeCodesAsStringArray() |
String[] |
getNetworkAccessPointIDs() |
String[] |
getUserIDs() |
Boolean |
getUserIsRequestor() |
RoleIDCode[] |
getUserRoleIDCodes() |
String[] |
getUserRoleIDCodesAsStringArray() |
private boolean |
isEmptyOrContains(String[] ss,
String o) |
private boolean |
match(ActiveParticipant ap) |
boolean |
match(AuditMessage msg) |
private boolean |
match(EventIdentification eventIdentification) |
private boolean |
match(List<ActiveParticipant> aps) |
private boolean |
matchEventID(EventID o) |
private boolean |
matchEventTypeCodes(List<EventTypeCode> list) |
private boolean |
matchRoleIDCodes(List<RoleIDCode> list) |
void |
setAlternativeUserIDs(String... altUserID)
Specifies values of
AlternativeUserID of ActiveParticipants of
messages which shall be suppressed. |
void |
setCommonName(String commonName) |
void |
setEventActionCodes(String... eventActionCodes)
Specifies values of
EventActionCode of the EventIdentification
of messages which shall be suppressed. |
void |
setEventIDs(EventID... eventIDs)
Specifies values of
EventID of the EventIdentification
of messages which shall be suppressed. |
void |
setEventIDsAsStringArray(String[] ss) |
void |
setEventOutcomeIndicators(String... eventOutcomeIndicators)
Specifies values of
EventOutcomeIndicator of the EventIdentification
of messages which shall be suppressed. |
void |
setEventTypeCodes(EventTypeCode... eventTypeCodes)
Specifies values of
EventTypeCode of the EventIdentification
of messages which shall be suppressed. |
void |
setEventTypeCodesAsStringArray(String... ss) |
void |
setNetworkAccessPointIDs(String... networkAccessPointIDs)
Specifies values of
NetworkAccessPointID of ActiveParticipants of
messages which shall be suppressed. |
void |
setUserIDs(String... userIDs)
Specifies values of
UserID of ActiveParticipants of
messages which shall be suppressed. |
void |
setUserIsRequestor(Boolean userIsRequestor)
Specifies value of
UserIsRequestor of ActiveParticipants of
messages which shall be suppressed. |
void |
setUserRoleIDCodes(RoleIDCode... roleIDCodes)
Specifies values of
RoleIDCode of ActiveParticipants of
messages which shall be suppressed. |
void |
setUserRoleIDCodesAsStringArray(String... ss) |
private static EventID[] |
toEventIDArray(String... ss) |
private static EventTypeCode[] |
toEventTypeCodeArray(String... ss) |
private static RoleIDCode[] |
toRoleIDCodeArray(String... ss) |
private static String[] |
toStringArray(EventID... a) |
private static String[] |
toStringArray(EventTypeCode... a) |
private static String[] |
toStringArray(RoleIDCode... a) |
private String commonName
private EventTypeCode[] eventTypeCodes
private String[] eventActionCodes
private String[] eventOutcomeIndicators
private String[] alternativeUserIDs
private RoleIDCode[] roleIDCodes
private String[] networkAccessPointIDs
private Boolean userIsRequestor
public AuditSuppressCriteria()
public AuditSuppressCriteria(String cn)
public void setCommonName(String commonName)
public String getCommonName()
public EventID[] getEventIDs()
public void setEventIDs(EventID... eventIDs)
EventID of the EventIdentification
of messages which shall be suppressed.
If no value is specified, the EventID of the EventIdentification
of a message will not be concerned by this AuditSuppressCriteria.eventIDs - values of EventID of the EventIdentification
of messages which shall be suppressed.public String[] getEventIDsAsStringArray()
public void setEventIDsAsStringArray(String[] ss)
public EventTypeCode[] getEventTypeCodes()
public void setEventTypeCodes(EventTypeCode... eventTypeCodes)
EventTypeCode of the EventIdentification
of messages which shall be suppressed.
If no value is specified, the EventTypeCode of the EventIdentification
of a message will not be concerned by this AuditSuppressCriteria.
If values are specified, Audit Messages without EventTypeCodes
will not match this AuditSuppressCriteria.
Audit Messages with multiple EventTypeCodes will match if one
of the EventTypeCode match one of the specified values.eventTypeCodes - values of EventTypeCode of the EventIdentification
of messages which shall be suppressed.public String[] getEventTypeCodesAsStringArray()
public void setEventTypeCodesAsStringArray(String... ss)
public String[] getEventActionCodes()
public void setEventActionCodes(String... eventActionCodes)
EventActionCode of the EventIdentification
of messages which shall be suppressed.
If no value is specified, the EventActionCode of the EventIdentification
of a message will not be concerned by this AuditSuppressCriteria.
If values are specified, Audit Messages without EventActionCode
will not match this AuditSuppressCriteria.eventActionCodes - values of EventActionCode of the EventIdentification
of messages which shall be suppressed.public String[] getEventOutcomeIndicators()
public void setEventOutcomeIndicators(String... eventOutcomeIndicators)
EventOutcomeIndicator of the EventIdentification
of messages which shall be suppressed.
If no value is specified, the EventOutcomeIndicator of the EventIdentification
of a message will not be concerned by this AuditSuppressCriteria.eventOutcomeIndicators - values of EventOutcomeIndicator of the EventIdentification
of messages which shall be suppressed.public String[] getUserIDs()
public void setUserIDs(String... userIDs)
UserID of ActiveParticipants of
messages which shall be suppressed.
If no value is specified, the UserID of ActiveParticipants
of a message will not be concerned by this AuditSuppressCriteria.userIDs - values of UserID of the ActiveParticipants
of messages which shall be suppressed.public String[] getAlternativeUserIDs()
public void setAlternativeUserIDs(String... altUserID)
AlternativeUserID of ActiveParticipants of
messages which shall be suppressed.
ActiveParticipants with multiple EventTypeCodes will match if one
of the EventTypeCode match one of the specified values.
If no value is specified, the AlternativeUserID of ActiveParticipants
of a message will not be concerned by this AuditSuppressCriteria.
If values are specified, ActiveParticipants without AlternativeUserID
will not match this AuditSuppressCriteria.altUserID - values of AlternativeUserID of the ActiveParticipants
of messages which shall be suppressed.public RoleIDCode[] getUserRoleIDCodes()
public void setUserRoleIDCodes(RoleIDCode... roleIDCodes)
RoleIDCode of ActiveParticipants of
messages which shall be suppressed.
If no value is specified, the RoleIDCode of ActiveParticipants
of a message will not be concerned by this AuditSuppressCriteria.
If values are specified, ActiveParticipants without RoleIDCodes
will not match this AuditSuppressCriteria.
ActiveParticipants with multiple RoleIDCodes will match if one
of the RoleIDCode match one of the specified values.roleIDCodes - values of RoleIDCode of the ActiveParticipants
of messages which shall be suppressed.public String[] getUserRoleIDCodesAsStringArray()
public void setUserRoleIDCodesAsStringArray(String... ss)
public String[] getNetworkAccessPointIDs()
public void setNetworkAccessPointIDs(String... networkAccessPointIDs)
NetworkAccessPointID of ActiveParticipants of
messages which shall be suppressed.
If no value is specified, the NetworkAccessPointID of ActiveParticipants
of a message will not be concerned by this AuditSuppressCriteria.
If values are specified, ActiveParticipants without NetworkAccessPointIDs
will not match this AuditSuppressCriteria.networkAccessPointIDs - values of NetworkAccessPointID of the ActiveParticipants
of messages which shall be suppressed.public Boolean getUserIsRequestor()
public void setUserIsRequestor(Boolean userIsRequestor)
UserIsRequestor of ActiveParticipants of
messages which shall be suppressed.
If null is specified, the value of UserIsRequestor of ActiveParticipants
of a message will not be concerned by this AuditSuppressCriteria.userIsRequestor - value of UserIsRequestor of the ActiveParticipants
of messages which shall be suppressed or null.public boolean match(AuditMessage msg)
private boolean match(EventIdentification eventIdentification)
private boolean matchEventID(EventID o)
private boolean matchEventTypeCodes(List<EventTypeCode> list)
private boolean match(List<ActiveParticipant> aps)
private boolean match(ActiveParticipant ap)
private boolean matchRoleIDCodes(List<RoleIDCode> list)
public boolean containsActiveParticipantCriteria()
private boolean isEmptyOrContains(String[] ss, String o)
private static String[] toStringArray(EventID... a)
private static String[] toStringArray(EventTypeCode... a)
private static String[] toStringArray(RoleIDCode... a)
private static EventID[] toEventIDArray(String... ss)
private static EventTypeCode[] toEventTypeCodeArray(String... ss)
private static RoleIDCode[] toRoleIDCodeArray(String... ss)
Copyright © 2017 dcm4che.org. All rights reserved.