public class ClientExampleImpl extends Object implements ClientExample, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
ClientExampleImpl() |
public void setMessageSource(org.springframework.context.MessageSource messageSource)
public org.springframework.context.MessageSource getMessageSource()
public void setClientStorage(ClientStorage clientStorage)
public ClientStorage getClientStorage()
public void setClientBackend(ClientBackend clientBackend)
public ClientBackend getClientBackend()
public void setEbtTransfer(EbtTransfer ebtTransfer)
public EbtTransfer getEbtTransfer()
public void setFrom(String from)
public String getFrom()
public void setOnBehalfOf(String onBehalfOf)
public String getOnBehalfOf()
public void setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
public org.springframework.transaction.PlatformTransactionManager getPlatformTransactionManager()
public void setCompatibilityLogic(ImportBusinessMessageForUploadLogic compatibilityLogic)
public ImportBusinessMessageForUploadLogic getCompatibilityLogic()
public void setMigrationLogic(MigrationLogic migrationLogic)
public MigrationLogic getMigrationLogic()
public void setShutdown(boolean shutdown)
public boolean isShutdown()
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic BackendConstants.StatusCode connectionTest()
ClientExampleconnectionTest in interface ClientExamplepublic BackendConstants.StatusCode download(String channelName)
ClientExampledownload in interface ClientExamplepublic BackendConstants.StatusCode processDownloaded(String channelName)
ClientExampleprocessDownloaded in interface ClientExampleA feldolgozás során üzenetenként tranzakcióban kell a folyamatokat meghívni.
public BackendConstants.StatusCode prepareForUpload(String channelName)
ClientExampleprepareForUpload in interface ClientExampleA feldolgozás során üzenetenként tranzakcióban kell a folyamatokat meghívni.
public BackendConstants.StatusCode upload(String channelName)
ClientExampleupload in interface ClientExamplepublic BackendConstants.StatusCode uploadImport()
ClientExample
Akkor kell az importálás funkciót használni, ha a feltöltendő üzenet adatait csak fájlrendszeren keresztül tudja átadni
a szakmai rendszer, tehát nem képes a ClientStorage.saveUploadableBusinessMessage
meghívására, vagy az adatbázisban történő beszúrásra.
uploadImport in interface ClientExamplepublic BackendConstants.StatusCode signTest(String channelName)
ClientExamplesignTest in interface ClientExamplepublic BackendConstants.StatusCode encryptTest(String channelName)
ClientExampleencryptTest in interface ClientExamplepublic BackendConstants.StatusCode downloadCertificates(String channelName)
ClientExampledownloadCertificates in interface ClientExamplepublic BackendConstants.StatusCode clientStorageTest()
ClientExampleClientStorage implementáció kapcsolati tesztje
A teszt ellenőrzi, hogy az adatbázishoz való kapcsolódás sikerül-e.
clientStorageTest in interface ClientExamplepublic BackendConstants.StatusCode clientBackendTest()
ClientExampleClientBackend implementáció kapcsolati tesztje
A teszt ellenőrzi, hogy az adatbázishoz való kapcsolódás sikerül-e.
clientBackendTest in interface ClientExamplepublic BackendConstants.StatusCode migrate()
ClientExample
Akkor kell a migrálás funkciót használni, ha nem saját ClientBackend és ClientStorage
implementációkat használnak, hanem az alapértelmezett fájlrendszeres adattárolást megvalósítót, melynek adatait az új relációs adatbázis alapú implementációkba kell migrálni.
migrate in interface ClientExampleCopyright © 2026. All rights reserved.