public interface InterfaceParametersProvider
Modifier and Type | Method and Description |
---|---|
default Map<String,String> |
getAllCustomParameters()
Returns all the custom parameters (defined in the custom parameters field of the interface)
|
Integer |
getBatchSize() |
boolean |
getBooleanParameter(String paramKey,
boolean defaultValue) |
default Long |
getCurrentExecutionId() |
default Long |
getCurrentInterfaceId() |
default String |
getCurrentOperator()
Returns the code of the current logged in operator in S-360.
|
default Long |
getCurrentScheduleId() |
default String |
getEncoding() |
default String |
getFullUrl() |
String |
getInstitutionCode() |
Map<String,String> |
getInterfaceParameters()
Deprecated.
|
Locale |
getLocale() |
String |
getLogin() |
default String |
getOrganizationCode() |
default Long |
getOrganizationId() |
default TimeZone |
getOrganizationTimeZone()
Get the organization time zone.
|
String |
getPassword() |
default Long |
getPOSId() |
String |
getUrl() |
boolean |
isDummyMode() |
default boolean |
isFileProvidedForBatch() |
default Date |
readExecutionDateForCurrentBatch() |
int |
readIntegerParameter(String paramKey,
int defaultValue) |
default Date |
readLastSuccessfullExecutionDateForCurrentBatch(boolean considerSchedule)
Returns the last successfull execution date for the current batch.
|
default Date |
readLastSuccessfullOrWarningExecutionDateForCurrentBatch(boolean considerSchedule)
Returns the last successfull or with warning execution date for the current batch.
|
long |
readLongParameter(String paramKey,
long defaultValue) |
List<String> |
readStringListParameter(String paramKey,
List<String> defaultValue) |
String |
readStringParameter(String paramKey,
String defaultValue) |
default Optional<List<String>> |
readUploadedFileContent(String charset) |
default Optional<String> |
readUploadedFileName() |
default void |
storeIntegerParameter(String paramKey,
int value) |
default void |
storeLongParameter(String paramKey,
long value) |
default void |
storeStringParameter(String paramKey,
String value) |
@Deprecated Map<String,String> getInterfaceParameters()
String getUrl()
String getLogin()
String getPassword()
boolean isDummyMode()
Locale getLocale()
String getInstitutionCode()
Integer getBatchSize()
int readIntegerParameter(String paramKey, int defaultValue)
List<String> readStringListParameter(String paramKey, List<String> defaultValue)
long readLongParameter(String paramKey, long defaultValue)
boolean getBooleanParameter(String paramKey, boolean defaultValue)
default String getOrganizationCode()
default Long getOrganizationId()
default boolean isFileProvidedForBatch()
default Long getPOSId()
default void storeIntegerParameter(String paramKey, int value)
default void storeLongParameter(String paramKey, long value)
default Date readLastSuccessfullExecutionDateForCurrentBatch(boolean considerSchedule)
considerSchedule
- 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.default Date readLastSuccessfullOrWarningExecutionDateForCurrentBatch(boolean considerSchedule)
considerSchedule
- 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.default String getCurrentOperator()
default Long getCurrentInterfaceId()
default Long getCurrentExecutionId()
default Long getCurrentScheduleId()
default TimeZone getOrganizationTimeZone()
default Date readExecutionDateForCurrentBatch()
default String getFullUrl()
default String getEncoding()
Copyright © 2021. All rights reserved.