/** * Create an instance of {@link ActiveParticipant } * */ public ActiveParticipant createActiveParticipant() { return new ActiveParticipant(); }
/** * Create an instance of {@link ActiveParticipant } * */ public ActiveParticipant createActiveParticipant() { return new ActiveParticipant(); }
public ActiveParticipant createActiveParticipant( boolean requestor, String userID, String alternativeUserID, String userName, String hostName, RoleIDCode... roleIDs) { ActiveParticipant ap = new ActiveParticipant(); ap.setUserID(userID); ap.setAlternativeUserID(alternativeUserID); ap.setUserName(userName); ap.setUserIsRequestor(requestor); ap.setNetworkAccessPointID(hostName); ap.setNetworkAccessPointTypeCode(AuditMessages.isIP(hostName) ? AuditMessages.NetworkAccessPointTypeCode.IPAddress : AuditMessages.NetworkAccessPointTypeCode.MachineName); for (RoleIDCode roleID : roleIDs) ap.getRoleIDCode().add(roleID); return ap; }
public ActiveParticipant createActiveParticipant( boolean requestor, String userID, String alternativeUserID, String userName, String hostName, RoleIDCode... roleIDs) { ActiveParticipant ap = new ActiveParticipant(); ap.setUserID(userID); ap.setAlternativeUserID(alternativeUserID); ap.setUserName(userName); ap.setUserIsRequestor(requestor); ap.setNetworkAccessPointID(hostName); ap.setNetworkAccessPointTypeCode(AuditMessages.isIP(hostName) ? AuditMessages.NetworkAccessPointTypeCode.IPAddress : AuditMessages.NetworkAccessPointTypeCode.MachineName); for (RoleIDCode roleID : roleIDs) ap.getRoleIDCode().add(roleID); return ap; }
private static ActiveParticipant toActiveParticipant(ActiveParticipantBuilder activeParticipantBuilder) { ActiveParticipant ap = new ActiveParticipant(); ap.setUserID(activeParticipantBuilder.userID); ap.setUserIDTypeCode(activeParticipantBuilder.userIDTypeCode); ap.setUserTypeCode(activeParticipantBuilder.userTypeCode); ap.setAlternativeUserID(activeParticipantBuilder.altUserID); ap.setUserName(activeParticipantBuilder.userName); ap.setUserIsRequestor(activeParticipantBuilder.requester); ap.setNetworkAccessPointID(activeParticipantBuilder.napID); ap.setNetworkAccessPointTypeCode(activeParticipantBuilder.napTypeCode); ap.setMediaType(activeParticipantBuilder.mediaType); for (RoleIDCode roleID : activeParticipantBuilder.roleIDCode) ap.getRoleIDCode().add(roleID); return ap; }
private static ActiveParticipant toActiveParticipant(ActiveParticipantBuilder activeParticipantBuilder) { ActiveParticipant ap = new ActiveParticipant(); ap.setUserID(activeParticipantBuilder.userID); ap.setUserIDTypeCode(activeParticipantBuilder.userIDTypeCode); ap.setUserTypeCode(activeParticipantBuilder.userTypeCode); ap.setAlternativeUserID(activeParticipantBuilder.altUserID); ap.setUserName(activeParticipantBuilder.userName); ap.setUserIsRequestor(activeParticipantBuilder.requester); ap.setNetworkAccessPointID(activeParticipantBuilder.napID); ap.setNetworkAccessPointTypeCode(activeParticipantBuilder.napTypeCode); ap.setMediaType(activeParticipantBuilder.mediaType); for (RoleIDCode roleID : activeParticipantBuilder.roleIDCode) ap.getRoleIDCode().add(roleID); return ap; }