protected ActiveParticipantType addActiveParticipant ( String userID , String altUserID , String userName , Boolean userIsRequestor , List < CodedValueType > roleIdCodes , String networkAccessPointID , RFC3881NetworkAccessPointTypeCodes networkAccessPointTypeCode ) { ActiveParticipantType activeParticipantBlock = new ActiveParticipantType ( ) ; activeParticipantBlock . setUserID ( userID ) ; activeParticipantBlock . setAlternativeUserID ( altUserID ) ; activeParticipantBlock . setUserName ( userName ) ; activeParticipantBlock . setUserIsRequestor ( userIsRequestor ) ; if ( ! EventUtils . isEmptyOrNull ( roleIdCodes , true ) ) { activeParticipantBlock . getRoleIDCode ( ) . addAll ( roleIdCodes ) ; } activeParticipantBlock . setNetworkAccessPointID ( networkAccessPointID ) ; if ( ! EventUtils . isEmptyOrNull ( networkAccessPointTypeCode ) ) { activeParticipantBlock . setNetworkAccessPointTypeCode ( networkAccessPointTypeCode . getCode ( ) ) ; } getAuditMessage ( ) . getActiveParticipant ( ) . add ( activeParticipantBlock ) ; return activeParticipantBlock ; }
Create and add an Active Participant block to this audit event message