public NetworkEntryBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventTypeCode eventTypeCode) { super(); setEventIdentification(outcome, eventOutcomeDescription, EventActionCode.Read, EventIdCode.NetworkEntry, eventTypeCode, (PurposeOfUse[]) null ); }
/** * Add an Application Starter Active Participant to this message. This participant describes persons or processes * that started or stopped the application. * * @param userId The person or process starting or stopping the Application * @return this */ public T addApplicationStarterParticipant(String userId) { return addApplicationStarterParticipant(userId, null, null, null); }
/** * @param userId The identity of the local user or process importing the data. * @param altUserId Alternate UserID * @param userName UserName * @param networkAccessPointId Network Access Point ID * @param userIsRequestor A single user (either local or remote) shall be identified as the requestor, i.e., * UserIsRequestor with a value of TRUE. This accommodates both push and pull transfer models for media * @return this */ public DataImportBuilder addImportingParticipant(String userId, String altUserId, String userName, String networkAccessPointId, boolean userIsRequestor) { return addDestinationActiveParticipant(userId, altUserId, userName, networkAccessPointId, userIsRequestor); }
/** * Sets a {@link org.openehealth.ipf.commons.audit.model.AuditSourceIdentificationType} for a given Audit Source ID * * @param sourceId The Audit Source ID to use * @return this */ public T setAuditSource(String sourceId) { return setAuditSource(sourceId, null); }
/** * @param userId UserID * @param altUserId Alternate UserID * @param userName UserName * @param networkAccessPointId Network Access Point ID * @param userIsRequestor A single user (either local or remote) shall be identified as the requestor, i.e., * UserIsRequestor with a value of TRUE. This accommodates both push and pull transfer models for media * @return this */ public DataImportBuilder addSourceParticipant(String userId, String altUserId, String userName, String networkAccessPointId, boolean userIsRequestor) { return super.addSourceActiveParticipant(userId, altUserId, userName, networkAccessPointId, userIsRequestor); }
/** * Create and set a Type Value Pair instance for a given type and value * * @param type the type to set * @param value the value to set * @return the Type Value Pair instance */ default TypeValuePairType getTypeValuePair(String type, Object value) { return getTypeValuePair(type, value, null); }
public DicomStudyDeletedBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventType eventType, PurposeOfUse... purposesOfUse) { super(); setEventIdentification(outcome, eventOutcomeDescription, EventActionCode.Delete, EventIdCode.DICOMStudyDeleted, eventType, purposesOfUse ); }
public ApplicationActivityBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventType type) { super(); setEventIdentification(outcome, eventOutcomeDescription, EventActionCode.Execute, EventIdCode.ApplicationActivity, type, (PurposeOfUse[]) null ); }
/** * @return the audit message being built as only element in an array */ default AuditMessage[] getMessages() { return new AuditMessage[]{getMessage()}; }
public AuditLogUsedBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription) { super(); setEventIdentification(outcome, eventOutcomeDescription, EventActionCode.Read, EventIdCode.AuditLogUsed, null ); }
public PatientRecordBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode action, EventType eventType, PurposeOfUse... purposesOfUse) { super(); setEventIdentification(outcome, eventOutcomeDescription, action, EventIdCode.PatientRecord, eventType, purposesOfUse ); }
public PatientRecordBuilder addPatient(String patientId, String patientName, List<TypeValuePairType> details, ParticipantObjectDataLifeCycle lifeCycle) { return addPatientParticipantObject(patientId, patientName, details, lifeCycle); }
public UserAuthenticationBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventTypeCode eventTypeCode, PurposeOfUse... purposesOfUse) { super(); setEventIdentification(outcome, eventOutcomeDescription, EventActionCode.Execute, EventIdCode.UserAuthentication, eventTypeCode, purposesOfUse ); }
public QueryBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventType eventType, PurposeOfUse... purposesOfUse) { super(); setEventIdentification(outcome, eventOutcomeDescription, EventActionCode.Execute, EventIdCode.Query, eventType, purposesOfUse ); }
public CustomAuditMessageBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode eventActionCode, EventId eventId, EventType eventType, PurposeOfUse... purposesOfUse) { super(); setEventIdentification(outcome, eventOutcomeDescription, eventActionCode, eventId, eventType, purposesOfUse ); }
@Override public void validate() { delegate.validate(); }
/** * Sets a {@link org.openehealth.ipf.commons.audit.model.AuditSourceIdentificationType} for a given Audit Source ID, * Audit Source Enterprise Site ID, and a list of audit source type codes * * @param sourceId The Audit Source ID to use * @param enterpriseSiteId The Audit Enterprise Site ID to use * @param typeCodes The RFC 3881 Audit Source Type codes to use * @return this */ public T setAuditSource(String sourceId, String enterpriseSiteId, AuditSource... typeCodes) { return setAuditSourceIdentification(sourceId, enterpriseSiteId, typeCodes); }
public DicomInstancesTransferredBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode eventActionCode, EventType eventType, PurposeOfUse... purposesOfUse) { super(); setEventIdentification(outcome, eventOutcomeDescription, eventActionCode, EventIdCode.DICOMInstancesTransferred, eventType, purposesOfUse ); }
/** * Sets a {@link org.openehealth.ipf.commons.audit.model.AuditSourceIdentificationType} for a given Audit Source ID * and Audit Source Enterprise Site ID * * @param sourceId The Audit Source ID to use * @param enterpriseSiteId The Audit Enterprise Site ID to use * @return this */ public T setAuditSource(String sourceId, String enterpriseSiteId) { return setAuditSource(sourceId, enterpriseSiteId, (AuditSource[]) null); }
/** * Create and set a Type Value Pair instance for a given type and value * * @param type the type to set * @param value the value to set * @return the Type Value Pair instance */ default TypeValuePairType getTypeValuePair(String type, byte[] value) { return getTypeValuePair(type, value, (byte[])null); }