public class InterfaceParametersProviderDefaultImpl extends Object implements InterfaceParametersProvider
| Constructor and Description |
|---|
InterfaceParametersProviderDefaultImpl() |
InterfaceParametersProviderDefaultImpl(Map<String,String> parameters) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllCustomParameters, getCurrentOperator, getPOSId, storeIntegerParameter, storeLongParameter, storeStringParameterpublic InterfaceParametersProviderDefaultImpl()
public Map<String,String> getInterfaceParameters()
getInterfaceParameters in interface InterfaceParametersProviderpublic String getUrl()
getUrl in interface InterfaceParametersProviderpublic String getLogin()
getLogin in interface InterfaceParametersProviderpublic String getPassword()
getPassword in interface InterfaceParametersProviderpublic boolean isDummyMode()
isDummyMode in interface InterfaceParametersProviderpublic Locale getLocale()
getLocale in interface InterfaceParametersProviderpublic String getInstitutionCode()
getInstitutionCode in interface InterfaceParametersProviderpublic Integer getBatchSize()
getBatchSize in interface InterfaceParametersProviderpublic int readIntegerParameter(String paramKey, int defaultValue)
readIntegerParameter in interface InterfaceParametersProviderpublic String readStringParameter(String paramKey, String defaultValue)
readStringParameter in interface InterfaceParametersProviderpublic List<String> readStringListParameter(String paramKey, List<String> defaultValue)
readStringListParameter in interface InterfaceParametersProviderpublic long readLongParameter(String paramKey, long defaultValue)
readLongParameter in interface InterfaceParametersProviderpublic boolean getBooleanParameter(String paramKey, boolean defaultValue)
getBooleanParameter in interface InterfaceParametersProviderpublic String getOrganizationCode()
getOrganizationCode in interface InterfaceParametersProviderpublic Long getOrganizationId()
getOrganizationId in interface InterfaceParametersProviderpublic Optional<List<String>> readUploadedFileContent(String charset)
readUploadedFileContent in interface InterfaceParametersProviderpublic Optional<String> readUploadedFileName()
readUploadedFileName in interface InterfaceParametersProviderpublic boolean isFileProvidedForBatch()
isFileProvidedForBatch in interface InterfaceParametersProviderpublic Date readLastSuccessfullExecutionDateForCurrentBatch(boolean considerSchedule)
InterfaceParametersProviderreadLastSuccessfullExecutionDateForCurrentBatch in interface InterfaceParametersProviderconsiderSchedule - if set to true, the date of last execution will only consider the current schedule. Recommandation: set to true if you do not know what to put.public Date readLastSuccessfullOrWarningExecutionDateForCurrentBatch(boolean considerSchedule)
InterfaceParametersProviderreadLastSuccessfullOrWarningExecutionDateForCurrentBatch in interface InterfaceParametersProviderconsiderSchedule - if set to true, the date of last execution will only consider the current schedule. Recommandation: set to true if you do not know what to put.public Long getCurrentInterfaceId()
getCurrentInterfaceId in interface InterfaceParametersProviderpublic Long getCurrentExecutionId()
getCurrentExecutionId in interface InterfaceParametersProviderpublic Long getCurrentScheduleId()
getCurrentScheduleId in interface InterfaceParametersProviderpublic TimeZone getOrganizationTimeZone()
InterfaceParametersProvidergetOrganizationTimeZone in interface InterfaceParametersProviderpublic Date readExecutionDateForCurrentBatch()
readExecutionDateForCurrentBatch in interface InterfaceParametersProviderpublic String getFullUrl()
getFullUrl in interface InterfaceParametersProviderpublic String getEncoding()
getEncoding in interface InterfaceParametersProviderCopyright © 2021. All rights reserved.