Package de.gematik.ti.epa.vzd.gem.api
Class GemDirectoryEntryAdministrationApi
- java.lang.Object
-
- de.gematik.ti.epa.vzd.client.api.DirectoryEntryAdministrationApi
-
- de.gematik.ti.epa.vzd.gem.api.GemDirectoryEntryAdministrationApi
-
public class GemDirectoryEntryAdministrationApi extends DirectoryEntryAdministrationApi
Overrides all functions of DirectoryEntryAdministration api that build calls for the different commands to add the OAuth2 Token to the header
-
-
Constructor Summary
Constructors Constructor Description GemDirectoryEntryAdministrationApi(GemApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description okhttp3.CalladdDirectoryEntryCall(CreateDirectoryEntry createDirectoryEntry, ApiCallback _callback)Build call for addDirectoryEntryokhttp3.CalldeleteDirectoryEntryCall(java.lang.String uid, ApiCallback _callback)Build call for deleteDirectoryEntryokhttp3.CallmodifyDirectoryEntryCall(java.lang.String uid, BaseDirectoryEntry baseDirectoryEntry, ApiCallback _callback)Build call for modifyDirectoryEntryokhttp3.CallreadDirectoryEntryCall(java.lang.String uid, java.lang.String givenName, java.lang.String sn, java.lang.String cn, java.lang.String displayName, java.lang.String streetAddress, java.lang.String postalCode, java.lang.String localityName, java.lang.String stateOrProvienceName, java.lang.String title, java.lang.String organization, java.lang.String otherName, java.lang.String specialization, java.lang.String domainID, java.lang.String personalEntry, java.lang.String dataFromAuthority, ApiCallback _callback)Build call for readDirectoryEntry-
Methods inherited from class de.gematik.ti.epa.vzd.client.api.DirectoryEntryAdministrationApi
addDirectoryEntry, addDirectoryEntryAsync, addDirectoryEntryWithHttpInfo, deleteDirectoryEntry, deleteDirectoryEntryAsync, deleteDirectoryEntryWithHttpInfo, getApiClient, modifyDirectoryEntry, modifyDirectoryEntryAsync, modifyDirectoryEntryWithHttpInfo, readDirectoryEntry, readDirectoryEntryAsync, readDirectoryEntryWithHttpInfo, setApiClient
-
-
-
-
Constructor Detail
-
GemDirectoryEntryAdministrationApi
public GemDirectoryEntryAdministrationApi(GemApiClient apiClient)
-
-
Method Detail
-
addDirectoryEntryCall
public okhttp3.Call addDirectoryEntryCall(CreateDirectoryEntry createDirectoryEntry, ApiCallback _callback) throws ApiException
Description copied from class:DirectoryEntryAdministrationApiBuild call for addDirectoryEntry- Overrides:
addDirectoryEntryCallin classDirectoryEntryAdministrationApi- Parameters:
createDirectoryEntry- Datensatz für den neuen Eintrag. Die Attribute müssen wie folgt belegt sein dn.* Leer/nicht vorhanden (wird vom Verzeichnisdienst belegt) givenName Nicht vorhanden (wird vom Verzeichnisdienst belegt) sn Nicht vorhanden (wird vom Verzeichnisdienst belegt) cn Nicht vorhanden (wird vom Verzeichnisdienst belegt) displayName Kann optional belegt werden. streetAddress Kann optional belegt werden. postalCode Kann optional belegt werden. localityName Kann optional belegt werden. stateOrProvinceName Kann optional belegt werden. title Kann optional belegt werden. organization Kann optional belegt werden. otherName Kann optional belegt werden. specialization Kann optional belegt werden. domainID Kann optional belegt werden. personalEntry Nicht vorhanden (wird vom Verzeichnisdienst belegt) dataFromAuthority Nicht vorhanden (wird vom Verzeichnisdienst belegt) userCertificates Kann optional belegt werden. dn.uid Leer/nicht vorhanden (wird vom Verzeichnisdienst belegt) dn.dc Leer/nicht vorhanden (wird vom Verzeichnisdienst belegt) dn.ou Leer/nicht vorhanden (wird vom Verzeichnisdienst belegt) dn.cn Leer/nicht vorhanden (wird vom Verzeichnisdienst belegt) telematikID Kann optional belegt werden. Wird telematikID und userCertificate angegeben, dann muss diese telematikID mit der telematikID im userCertificate übereinstimmen. Bei unterschiedlichen telematikID wird die Operation mit Fehlercode 422 abgelehnt. entryType Nicht vorhanden (wird vom Verzeichnisdienst belegt) professionOID Nicht vorhanden (wird vom Verzeichnisdienst belegt) usage Kann optional belegt werden. userCertificate Kann optional belegt werden (Format DER, Base64 kodiert) description Kann optional belegt werden. Entsprechend gemSpec_VZD wird ein Teil der Attribute durch den Verzeichnisdienst automatisch mit Werten aus dem Zertifikat gefüllt. Wenn in dieser Operation Attribute - für die dies erlaubt ist - mit einem Wert belegt werden, wird dieser Wert im Verzeichniseintrag gespeichert (auch wenn der Wert durch den Verzeichnisdienst aus dem Zertifikat entnommen werden kann). (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteDirectoryEntryCall
public okhttp3.Call deleteDirectoryEntryCall(java.lang.String uid, ApiCallback _callback) throws ApiExceptionDescription copied from class:DirectoryEntryAdministrationApiBuild call for deleteDirectoryEntry- Overrides:
deleteDirectoryEntryCallin classDirectoryEntryAdministrationApi- Parameters:
uid- ID von dem zu löschenden Verzeichniseintrag Gelöscht werden der Basis Verzeichniseintrag sowie alle dazugehörenden Zertifikate und Fachdaten. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
modifyDirectoryEntryCall
public okhttp3.Call modifyDirectoryEntryCall(java.lang.String uid, BaseDirectoryEntry baseDirectoryEntry, ApiCallback _callback) throws ApiExceptionDescription copied from class:DirectoryEntryAdministrationApiBuild call for modifyDirectoryEntry- Overrides:
modifyDirectoryEntryCallin classDirectoryEntryAdministrationApi- Parameters:
uid- ID von dem Verzeichniseintrag (required)baseDirectoryEntry- Datensatz für die Aktualisierung des Eintrags Die Attribute müssen wie folgt belegt sein dn.* Nicht vorhanden (Adressierung erfolgt über uid in Path). givenName Nicht vorhanden. sn Nicht vorhanden. cn Nicht vorhanden. displayName Kann optional belegt werden. streetAddress Kann optional belegt werden. postalCode Kann optional belegt werden. localityName Kann optional belegt werden. stateOrProvinceName Kann optional belegt werden. title Kann optional belegt werden. organization Kann optional belegt werden. otherName Nicht vorhanden. specialization Kann optional belegt werden. domainID Kann optional belegt werden. personalEntry Nicht vorhanden. dataFromAuthority Nicht vorhanden (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
readDirectoryEntryCall
public okhttp3.Call readDirectoryEntryCall(java.lang.String uid, java.lang.String givenName, java.lang.String sn, java.lang.String cn, java.lang.String displayName, java.lang.String streetAddress, java.lang.String postalCode, java.lang.String localityName, java.lang.String stateOrProvienceName, java.lang.String title, java.lang.String organization, java.lang.String otherName, java.lang.String specialization, java.lang.String domainID, java.lang.String personalEntry, java.lang.String dataFromAuthority, ApiCallback _callback) throws ApiExceptionDescription copied from class:DirectoryEntryAdministrationApiBuild call for readDirectoryEntry- Overrides:
readDirectoryEntryCallin classDirectoryEntryAdministrationApi- Parameters:
uid- ID von dem Verzeichniseintrag (distinguishedName.uid) (optional)givenName- Erlaubt die Suche mit Hilfe des Attributs givenName. (optional)sn- Erlaubt die Suche mit Hilfe des Attributs sn. (optional)cn- Erlaubt die Suche mit Hilfe des Attributs cn. (optional)displayName- Erlaubt die Suche mit Hilfe des Attributs displayName. (optional)streetAddress- Erlaubt die Suche mit Hilfe des Attributs streetAddress. (optional)postalCode- Erlaubt die Suche mit Hilfe des Attributs postalCode. (optional)localityName- Erlaubt die Suche mit Hilfe des Attributs localityName. (optional)stateOrProvienceName- Erlaubt die Suche mit Hilfe des Attributs stateOrProvinceName. (optional)title- Erlaubt die Suche mit Hilfe des Attributs title. (optional)organization- Erlaubt die Suche mit Hilfe des Attributs organization. (optional)otherName- Erlaubt die Suche mit Hilfe des Attributs otherName. (optional)specialization- Erlaubt die Suche mit Hilfe des Attributs specialization. Der Verzeichniseintrag wird selektiert, wenn die angegebene domainID im Attribut domainID (array) des Verzeichniseintrags enthalten ist. (optional)domainID- Erlaubt die Suche mit Hilfe des Attributs domainID. Der Verzeichniseintrag wird selektiert, wenn die angegebene domainID im Attribut domainID (array) des Verzeichniseintrags enthalten ist. (optional)personalEntry- Erlaubt die Suche mit Hilfe des Attributs personalEntry. (optional)dataFromAuthority- Erlaubt die Suche mit Hilfe des Attributs dataFromAuthority. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
-