├── .devcontainer ├── Dockerfile ├── devcontainer.json └── settings.xml ├── .editorconfig ├── .github ├── CODEOWNERS └── workflows │ ├── Build.yml │ ├── cache-redis-tests.yml │ ├── call-beta-bot.yml │ ├── cloud-storage-tests.yml │ ├── code-scanning.yml │ └── codeql-analysis.yml ├── .gitignore ├── CONTRIBUTION.md ├── LICENSE ├── README.md ├── android ├── pom.xml └── src │ └── main │ └── java │ └── com │ ├── artech │ ├── base │ │ ├── helpers │ │ │ └── ReflectionAPIHelper.java │ │ ├── services │ │ │ ├── AndroidContext.java │ │ │ ├── IAndroidImageUtil.java │ │ │ ├── IAndroidSession.java │ │ │ ├── IBluetoothPrinter.java │ │ │ ├── IContext.java │ │ │ ├── IEntity.java │ │ │ ├── IEntityList.java │ │ │ ├── IGxBusinessComponent.java │ │ │ ├── IGxDataProvider.java │ │ │ ├── IGxProcedure.java │ │ │ ├── IGxUri.java │ │ │ └── IPropertiesObject.java │ │ └── synchronization │ │ │ ├── GXOfflineDatabase.java │ │ │ ├── bc │ │ │ ├── PendingEventHelper.java │ │ │ ├── SdtGxPendingEvent.java │ │ │ └── gxpendingevent_bc.java │ │ │ ├── dbcreate │ │ │ ├── Reorganization.java │ │ │ └── reorg.java │ │ │ └── dps │ │ │ ├── SdtGxSynchroEventSDT_GxSynchroEventSDTItem.java │ │ │ ├── deletependingeventsbyid.java │ │ │ ├── getpendingeventandcheckpointsbytimestamp.java │ │ │ ├── getpendingeventbytimestamp.java │ │ │ └── markpendingeventsbyid.java │ ├── events │ │ └── IEventsExecutor.java │ └── synchronization │ │ └── ISynchronizationHelper.java │ └── genexus │ ├── AndroidLog.java │ ├── Application.java │ ├── ClientPreferences.java │ ├── ConfigFileFinder.java │ ├── GXDbFile.java │ ├── GXGeospatial.java │ ├── GXProcedure.java │ ├── GXReorganization.java │ ├── GXutil.java │ ├── GxImageUtil.java │ ├── Preferences.java │ ├── PrivateUtilities.java │ ├── ServerPreferences.java │ ├── Version.java │ ├── cryptography │ ├── GXAsymEncryption.java │ └── GXSymEncryption.java │ ├── db │ ├── DBConnection.java │ ├── DBConnectionManager.java │ ├── DataStoreHelperBase.java │ ├── DataStoreProvider.java │ ├── DataStoreProviderBase.java │ ├── DefaultExceptionErrorHandler.java │ ├── ForEachCursor.java │ ├── LocalDBConnectionManager.java │ ├── LocalUserInformation.java │ ├── Namespace.java │ ├── SQLAndroidBlobFileHelper.java │ ├── SQLAndroidSQLiteHelper.java │ ├── SQLExceptionErrorHandler.java │ ├── UserInformation.java │ └── driver │ │ ├── DataSource.java │ │ ├── ExternalProviderMetadata.java │ │ ├── FreeStatementList.java │ │ ├── GXCallableStatement.java │ │ ├── GXConnection.java │ │ ├── GXDBDebug.java │ │ ├── GXDBMSsqlite.java │ │ ├── GXPreparedStatement.java │ │ ├── GXResultSet.java │ │ ├── GXStatement.java │ │ └── PreparedStatementCache.java │ ├── diagnostics │ └── core │ │ └── provider │ │ └── AndroidLogger.java │ ├── dummy │ └── GXSDPanel.java │ ├── internet │ ├── HttpAjaxContext.java │ ├── HttpContext.java │ ├── HttpContextNull.java │ ├── HttpRequest.java │ └── HttpResponse.java │ ├── platform │ └── NativeFunctions.java │ ├── reports │ └── GXReportText.java │ ├── specific │ └── android │ │ ├── AndroidJSONSerialization.java │ │ ├── AndroidJSONTokenerWrapper.java │ │ ├── AndroidModelContextExtension.java │ │ ├── Application.java │ │ ├── Connect.java │ │ ├── CryptoAlghorithms.java │ │ ├── FileUtils.java │ │ ├── GXDirectory.java │ │ ├── GXExternalFileInfo.java │ │ ├── GXSilentTrnSdt.java │ │ ├── GXSmartCacheProvider.java │ │ ├── GXutil.java │ │ ├── HttpClient.java │ │ ├── ImagesPath.java │ │ ├── LocalUtil.java │ │ ├── LogManager.java │ │ ├── Messages.java │ │ ├── NativeFunctions.java │ │ ├── PictureFormatter.java │ │ ├── SdtMessages_Message.java │ │ └── UserLog.java │ ├── util │ ├── DoubleLinkedQueue.java │ ├── GXFile.java │ ├── GxJsonReader.java │ ├── LinkedQueue.java │ ├── Rijndael_Algorithm.java │ ├── SubmitThreadPool.java │ ├── ThreadedCommandQueue.java │ └── Twofish_Algorithm.java │ ├── webpanels │ ├── BlobsCleaner.java │ └── GXWebObjectStub.java │ └── wrapper │ └── GXCollectionWrapper.java ├── androidreports ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── reports │ ├── ConstAndroid.java │ ├── GXReport.java │ ├── GXReportMetadata.java │ └── PDFReportItext.java ├── common ├── pom.xml └── src │ └── main │ └── java │ ├── HTTPClient │ ├── AuthSchemeNotImplException.java │ ├── AuthorizationHandler.java │ ├── AuthorizationInfo.java │ ├── AuthorizationModule.java │ ├── AuthorizationPrompter.java │ ├── BufferedInputStream.java │ ├── CIHashtable.java │ ├── ChunkedInputStream.java │ ├── Codecs.java │ ├── ContentEncodingModule.java │ ├── ContentMD5Module.java │ ├── Cookie.java │ ├── Cookie2.java │ ├── CookieModule.java │ ├── CookiePolicyHandler.java │ ├── DESAlgorithm.java │ ├── DefaultAuthHandler.java │ ├── DefaultModule.java │ ├── DefaultSSLConnection.java │ ├── FileConnection.java │ ├── FilenameMangler.java │ ├── GlobalConstants.java │ ├── HTTPClientModule.java │ ├── HTTPClientModuleConstants.java │ ├── HTTPConnection.java │ ├── HTTPResponse.java │ ├── HashVerifier.java │ ├── HttpHeaderElement.java │ ├── HttpOutputStream.java │ ├── HttpURLConnection.java │ ├── ISSLConnection.java │ ├── IdempotentSequence.java │ ├── JSSESSLConnection.java │ ├── LinkedList.java │ ├── Log.java │ ├── MD4.java │ ├── MD5.java │ ├── MD5InputStream.java │ ├── ModuleException.java │ ├── NVPair.java │ ├── ParseException.java │ ├── ProtocolNotSuppException.java │ ├── RedirectionModule.java │ ├── Request.java │ ├── RespInputStream.java │ ├── Response.java │ ├── ResponseHandler.java │ ├── RetryException.java │ ├── RetryModule.java │ ├── RoRequest.java │ ├── RoResponse.java │ ├── SSLManager.java │ ├── SSLSocketException.java │ ├── SocksClient.java │ ├── SocksException.java │ ├── StreamDemultiplexor.java │ ├── TLSConnection.java │ ├── TransferEncodingModule.java │ ├── URI.java │ ├── UncompressInputStream.java │ ├── Util.java │ ├── http │ │ └── Handler.java │ ├── https │ │ └── Handler.java │ └── shttp │ │ └── Handler.java │ └── com │ └── genexus │ ├── ApplicationContext.java │ ├── BaseProvider.java │ ├── BatchErrorManager.java │ ├── ClientContext.java │ ├── ClientInformation.java │ ├── CommonUtil.java │ ├── DateUtils.java │ ├── DebugFlag.java │ ├── DecimalUtil.java │ ├── DefaultErrorHandler.java │ ├── ErrorManager.java │ ├── ErrorManagerConstants.java │ ├── ExecuteDirectSQL.java │ ├── GXBCCollection.java │ ├── GXBCLevelCollection.java │ ├── GXBaseCollection.java │ ├── GXBaseList.java │ ├── GXDBException.java │ ├── GXDaemon.java │ ├── GXDomains.java │ ├── GXExternalCollection.java │ ├── GXFormatNumber.java │ ├── GXImageList.java │ ├── GXJarClassLoader.java │ ├── GXObjectHelper.java │ ├── GXObservable.java │ ├── GXParameterPacker.java │ ├── GXParameterUnpacker.java │ ├── GXPicture.java │ ├── GXRemoteException.java │ ├── GXRuntime.java │ ├── GXRuntimeException.java │ ├── GXSimpleCollection.java │ ├── GXSmartCacheProvider.java │ ├── GXTransactionMethods.java │ ├── GXTransactionMethodsConstants.java │ ├── GXTypeConstants.java │ ├── Globals.java │ ├── GxGenericCollectionItem.java │ ├── GxJsonArray.java │ ├── GxKey.java │ ├── GxRegex.java │ ├── GxRegexMatch.java │ ├── GxSeudo.java │ ├── GxSilentTrnSdt.java │ ├── GxUnknownObjectCollection.java │ ├── GxUpload.java │ ├── HTMLDocType.java │ ├── HTMLElement.java │ ├── IApplicationServerContext.java │ ├── ICacheService.java │ ├── ICacheService2.java │ ├── ICleanedup.java │ ├── IDelimitedFilesSafe.java │ ├── IErrorHandler.java │ ├── IGXAssigned.java │ ├── IGXFTPSafe.java │ ├── IGXMailer.java │ ├── IGxSilentTrn.java │ ├── IGxSilentTrnGridItem.java │ ├── IHttpContext.java │ ├── ISessionInstances.java │ ├── ISubmitteable.java │ ├── IXMLWriter.java │ ├── ImagesPath.java │ ├── LoadLibrary.java │ ├── LocalUtil.java │ ├── Messages.java │ ├── ModelContext.java │ ├── PictureFormatter.java │ ├── ProcessInterruptedException.java │ ├── ResourceReader.java │ ├── RunnableThrows.java │ ├── SDServerAPI.java │ ├── SdtMessages_Message.java │ ├── StructSdtMessages_Message.java │ ├── TypeConstants.java │ ├── TypeConstantsConstants.java │ ├── URLRouter.java │ ├── com │ └── IHttpResponse.java │ ├── common │ ├── classes │ │ ├── AbstractDataSource.java │ │ ├── AbstractDataStoreProviderBase.java │ │ ├── AbstractGXConnection.java │ │ ├── AbstractGXDbFile.java │ │ ├── AbstractGXFile.java │ │ ├── AbstractModelContext.java │ │ ├── AbstractNamespace.java │ │ ├── AbstractPreferences.java │ │ ├── AbstractUserInformation.java │ │ └── IGXPreparedStatement.java │ └── interfaces │ │ ├── IClientPreferences.java │ │ ├── ICryptoAlhorithms.java │ │ ├── IExtensionApplication.java │ │ ├── IExtensionBatchUpdateCursor.java │ │ ├── IExtensionCursor.java │ │ ├── IExtensionDynamicExecute.java │ │ ├── IExtensionFileUtils.java │ │ ├── IExtensionGXDirectory.java │ │ ├── IExtensionGXExternalFileInfo.java │ │ ├── IExtensionGXSilentTrnSdt.java │ │ ├── IExtensionGXSmartCacheProvider.java │ │ ├── IExtensionGXXMLSerializable.java │ │ ├── IExtensionGXXMLSerializer.java │ │ ├── IExtensionGXutil.java │ │ ├── IExtensionHTTPConnection.java │ │ ├── IExtensionHttpClient.java │ │ ├── IExtensionHttpCookie.java │ │ ├── IExtensionImagesPath.java │ │ ├── IExtensionJSONSerialization.java │ │ ├── IExtensionLocalUtil.java │ │ ├── IExtensionLogManager.java │ │ ├── IExtensionMessages.java │ │ ├── IExtensionModelContext.java │ │ ├── IExtensionNativeFunctions.java │ │ ├── IExtensionPictureFormatter.java │ │ ├── IExtensionSdtMessages_Message.java │ │ ├── IExtensionUserLog.java │ │ ├── IGXSmartCacheProvider.java │ │ ├── IGXWSAddressing.java │ │ ├── IGXWSAddressingEndPoint.java │ │ ├── IGXWSEncryption.java │ │ ├── IGXWSSecurity.java │ │ ├── IGXWSSecurityKeyStore.java │ │ ├── IGXWSSignature.java │ │ ├── IGXWebGrid.java │ │ ├── IGXWebRow.java │ │ ├── IGXWindow.java │ │ ├── IGxEjbContext.java │ │ ├── IHttpContextNull.java │ │ ├── IPendingEventHelper.java │ │ ├── IPreferences.java │ │ ├── IReorganization.java │ │ └── SpecificImplementation.java │ ├── cryptography │ ├── Constants.java │ ├── GXHashing.java │ ├── Utils.java │ └── hashing │ │ ├── IGXHashing.java │ │ ├── IGXIncrementalHashing.java │ │ ├── IncrementalDigestProvider.java │ │ ├── KeyedHashProvider.java │ │ └── MessageDigestProvider.java │ ├── db │ ├── BatchUpdateCursor.java │ ├── BatchUpdateStmt.java │ ├── BlobUpdateCursor.java │ ├── BufferIFieldGetter.java │ ├── CachedIFieldGetter.java │ ├── CallCursor.java │ ├── CommonDataStoreHelperBase.java │ ├── ConnectionInformation.java │ ├── Cursor.java │ ├── DefaultConnectionProvider.java │ ├── DirectStatement.java │ ├── DynamicExecute.java │ ├── GxCacheFrequency.java │ ├── IConnectionProvider.java │ ├── IDataStoreHelper.java │ ├── IDataStoreProvider.java │ ├── IFieldGetter.java │ ├── IFieldSetter.java │ ├── IForEachCursor.java │ ├── IGXCallableStatement.java │ ├── IGXResultSet.java │ ├── ILocalDataStoreHelper.java │ ├── ReturnInErrorHandlerException.java │ ├── SentenceProvider.java │ ├── UpdateCursor.java │ └── driver │ │ ├── ExternalProvider.java │ │ ├── ExternalProviderCommon.java │ │ ├── JDBCLogConfig.java │ │ └── ResourceAccessControlList.java │ ├── diagnostics │ ├── GXDebugInfo.java │ ├── GXDebugManager.java │ ├── Log.java │ ├── LogLevel.java │ ├── UserLog.java │ └── core │ │ ├── ILogger.java │ │ └── LogManager.java │ ├── internet │ ├── BASE64Encoder.java │ ├── CharacterEncoder.java │ ├── DummyOutputStream.java │ ├── GXHttpClient.java │ ├── GXInternetConstants.java │ ├── GXJSONObject.java │ ├── GXNavigationHelper.java │ ├── HttpClient.java │ ├── HttpClientManual.java │ ├── HttpCookie.java │ ├── IGxJSONAble.java │ ├── IGxJSONSerializable.java │ ├── IHttpClient.java │ ├── IHttpRequest.java │ ├── JapaneseMimeDecoder.java │ ├── Location.java │ ├── LocationCollection.java │ ├── MimeEncoder.java │ ├── Msg.java │ ├── MsgList.java │ ├── RFC822EndReader.java │ └── StringCollection.java │ ├── json │ ├── JSONArrayWrapper.java │ ├── JSONObjectWrapper.java │ └── JSONTokenerWrapper.java │ ├── opentelemetry │ └── OpenTelemetryHelper.java │ ├── platform │ ├── INativeFunctions.java │ └── NativeFunctions11.java │ ├── properties │ ├── GXObjectProperties.java │ └── GXObjectsConfiguration.java │ ├── reports │ ├── Const.java │ ├── IGXReportViewerImpl.java │ ├── IReportHandler.java │ └── ParseINI.java │ ├── search │ └── GXContentInfo.java │ ├── security │ ├── GXResult.java │ ├── NoSecurityProvider.java │ ├── OutData.java │ └── SecurityProvider.java │ ├── services │ ├── ServiceConfigurationException.java │ └── ServiceSettingsReader.java │ ├── util │ ├── Base64.java │ ├── CSSHelper.java │ ├── CallResult.java │ ├── Codecs.java │ ├── Comparator.java │ ├── Comparer.java │ ├── DESAlgorithm.java │ ├── DelimitedFilesSafe.java │ ├── Dictionary.java │ ├── Encoder.java │ ├── Encryption.java │ ├── EnvVarReader.java │ ├── ExpressionEvaluator.java │ ├── FastByteArrayOutputStream.java │ ├── FastVector.java │ ├── FileUtilities.java │ ├── FixedBufferedInputStream.java │ ├── GUIContextNull.java │ ├── GXDirectory.java │ ├── GXDirectoryCollection.java │ ├── GXExternalFileInfo.java │ ├── GXFileCollection.java │ ├── GXFileInfo.java │ ├── GXGeolocation.java │ ├── GXMap.java │ ├── GXProperties.java │ ├── GXProperty.java │ ├── GXService.java │ ├── GXSimpleDateFormat.java │ ├── GXThreadLocal.java │ ├── GXTimeZone.java │ ├── GxFileInfoSourceType.java │ ├── HexUtil.java │ ├── ICommandQueue.java │ ├── IGUIContext.java │ ├── IGXFileInfo.java │ ├── IThreadLocal.java │ ├── IThreadLocalInitializer.java │ ├── IniFile.java │ ├── IniFileMultiple.java │ ├── LDAPAttributes.java │ ├── LinkedNode.java │ ├── MemoLines.java │ ├── NameValuePair.java │ ├── NullOutputStream.java │ ├── PropertiesManager.java │ ├── Quicksort.java │ ├── ReorgSubmitThreadPool.java │ ├── Rijndael_Properties.java │ ├── Semaphore.java │ ├── StorageUtils.java │ ├── SwappedDataInputStream.java │ ├── Template.java │ ├── TemporaryFiles.java │ ├── ThemeData.java │ ├── ThemeHelper.java │ ├── Twofish_Properties.java │ └── XSLT.java │ └── xml │ ├── ElementNode.java │ ├── EndTagNode.java │ ├── EntityDeclaration.java │ ├── GXXMLSerializable.java │ ├── GXXMLSerializer.java │ ├── NamedBasic.java │ ├── Node.java │ ├── NodesQueue.java │ ├── PInstructionNode.java │ ├── Pool.java │ ├── ValuedNode.java │ ├── XMLReader.java │ └── XMLWriter.java ├── docker-run.ps1 ├── gxawsserverless ├── GXApplicationClasses.txt ├── client.cfg ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ └── cloud │ │ └── serverless │ │ ├── aws │ │ ├── LambdaHandler.java │ │ └── handler │ │ │ ├── AwsGxServletResponse.java │ │ │ ├── LambdaApplicationHelper.java │ │ │ ├── LambdaBaseEventHandler.java │ │ │ ├── LambdaEventBridgeHandler.java │ │ │ ├── LambdaFunctionConfiguration.java │ │ │ ├── LambdaFunctionConfigurationHelper.java │ │ │ ├── LambdaHttpApiHandler.java │ │ │ ├── LambdaSQSHandler.java │ │ │ └── internal │ │ │ ├── GxAwsHttpApiV2HttpServletRequestReader.java │ │ │ └── GxJerseyLambdaContainerHandlerFactory.java │ │ └── exception │ │ ├── FunctionConfigurationException.java │ │ └── FunctionRuntimeException.java │ └── test │ └── java │ ├── com │ ├── amazonaws │ │ └── serverless │ │ │ └── proxy │ │ │ └── test │ │ │ └── jersey │ │ │ └── model │ │ │ ├── MapResponseModel.java │ │ │ └── SingleValueModel.java │ ├── genexus │ │ ├── cloud │ │ │ └── aws │ │ │ │ └── events │ │ │ │ ├── MockContext.java │ │ │ │ ├── TestLambdaEventBridgeHandler.java │ │ │ │ └── TestLambdaSQSHandler.java │ │ ├── genexusserverlessapi │ │ │ ├── SdtEventMessage.java │ │ │ ├── SdtEventMessageProperty.java │ │ │ ├── SdtEventMessageResponse.java │ │ │ ├── SdtEventMessages.java │ │ │ ├── SdtEventMessagesList.java │ │ │ ├── StructSdtEventMessage.java │ │ │ ├── StructSdtEventMessageProperty.java │ │ │ ├── StructSdtEventMessageResponse.java │ │ │ ├── StructSdtEventMessages.java │ │ │ └── StructSdtEventMessagesList.java │ │ └── serverless │ │ │ └── proxy │ │ │ └── test │ │ │ └── jersey │ │ │ ├── EchoJerseyResource.java │ │ │ ├── GeneXusAppAwsHttpApiProxyTest.java │ │ │ ├── GeneXusAppAwsProxyTest.java │ │ │ └── JerseyAwsProxyTest.java │ ├── gx │ │ └── serverless │ │ │ └── test │ │ │ ├── GXApplication.java │ │ │ ├── GXcfg.java │ │ │ ├── Images.txt │ │ │ ├── SdtItem.java │ │ │ ├── SdtItem_RESTInterface.java │ │ │ ├── SoapParm.java │ │ │ ├── StructSdtItem.java │ │ │ ├── StructSdtLinkList_LinkItem.java │ │ │ ├── client.cfg │ │ │ ├── messages.eng.txt │ │ │ ├── receivenumber.java │ │ │ ├── receivenumber_services_rest.java │ │ │ ├── sessionset.java │ │ │ ├── sessionset_RESTInterfaceIN.java │ │ │ ├── sessionset_services_rest.java │ │ │ ├── sethttpresponseheaders.java │ │ │ ├── test.java │ │ │ └── test_services_rest.java │ └── unittest │ │ └── eventdriven │ │ ├── SdtUser.java │ │ ├── StructSdtUser.java │ │ ├── dummy │ │ ├── handlerruntimeexception.java │ │ ├── handlesimplenoparmsevent.java │ │ ├── handlesimplesqsevent.java │ │ └── handlesimplesqsevent2.java │ │ └── queue │ │ ├── handlesimplesqsevent.java │ │ └── handlesimplesqsevent2.java │ └── log4j2.xml ├── gxazureserverless ├── client.cfg ├── gxazmappings.json ├── log4j2.xml ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ └── cloud │ │ └── serverless │ │ ├── azure │ │ └── handler │ │ │ ├── AzureBlobStorageHandler.java │ │ │ ├── AzureCosmosDBHandler.java │ │ │ ├── AzureEventGridCloudHandler.java │ │ │ ├── AzureEventGridHandler.java │ │ │ ├── AzureEventHandler.java │ │ │ ├── AzureFunctionConfiguration.java │ │ │ ├── AzureFunctionConfigurationHelper.java │ │ │ ├── AzureQueueHandler.java │ │ │ ├── AzureServiceBusQueueHandler.java │ │ │ ├── AzureServiceBusQueueSingleMsgHandler.java │ │ │ ├── AzureServiceBusTopicHandler.java │ │ │ ├── AzureServiceBusTopicSingleMsgHandler.java │ │ │ └── AzureTimerHandler.java │ │ ├── exception │ │ └── FunctionConfigurationException.java │ │ └── helpers │ │ ├── GlobalConfigurationCache.java │ │ ├── ServiceBusBatchMessageProcessor.java │ │ ├── ServiceBusProcessedMessage.java │ │ └── ServiceBusSingleMessageProcessor.java │ └── test │ └── java │ ├── com │ ├── genexus │ │ ├── cloud │ │ │ └── azure │ │ │ │ └── events │ │ │ │ ├── MockExecutionContext.java │ │ │ │ ├── TestAzureCosmosDBHandler.java │ │ │ │ ├── TestAzureEventGrid.java │ │ │ │ ├── TestAzureEventGridCloud.java │ │ │ │ ├── TestAzureQueueHandler.java │ │ │ │ ├── TestAzureServiceBusSingleMessageHandler.java │ │ │ │ └── TestAzureTimerHandler.java │ │ └── genexusserverlessapi │ │ │ ├── SdtEventMessage.java │ │ │ ├── SdtEventMessageProperty.java │ │ │ ├── SdtEventMessageResponse.java │ │ │ ├── SdtEventMessages.java │ │ │ ├── SdtEventMessagesList.java │ │ │ ├── StructSdtEventMessage.java │ │ │ ├── StructSdtEventMessageProperty.java │ │ │ ├── StructSdtEventMessageResponse.java │ │ │ ├── StructSdtEventMessages.java │ │ │ └── StructSdtEventMessagesList.java │ ├── gx │ │ └── serverless │ │ │ └── test │ │ │ ├── GXApplication.java │ │ │ └── GXcfg.java │ └── unittest │ │ └── eventdriven │ │ ├── SdtUser.java │ │ ├── StructSdtUser.java │ │ ├── cosmosdb │ │ └── handlecosmosdbazure.java │ │ ├── eventgrid │ │ └── handleeventgridazure.java │ │ ├── eventgridcloud │ │ └── handleeventgridcloudazure.java │ │ ├── queue │ │ ├── handlequeueazureevent.java │ │ └── handlequeueazureevent2.java │ │ ├── servicebus │ │ ├── handlesbqueueazureevent.java │ │ └── handlesbqueueazureevent2.java │ │ └── timer │ │ └── handletimerazureevent.java │ └── log4j2.xml ├── gxcache-memcached ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── cache │ └── memcached │ └── Memcached.java ├── gxcache-redis ├── client.cfg ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ └── cache │ │ └── redis │ │ └── RedisClient.java │ └── test │ └── java │ └── com │ └── genexus │ ├── sampleapp │ └── GXcfg.java │ └── test │ └── cache │ └── redis │ └── TestRedisCacheClient.java ├── gxcloudstorage-awss3-v1 ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── db │ └── driver │ └── ExternalProviderS3V1.java ├── gxcloudstorage-awss3-v2 ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── db │ └── driver │ └── ExternalProviderS3V2.java ├── gxcloudstorage-azureblob ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── db │ └── driver │ └── ExternalProviderAzureStorage.java ├── gxcloudstorage-common ├── README.md ├── pom.xml ├── resources │ ├── test │ │ └── text.txt │ └── text.txt └── src │ └── main │ └── java │ └── com │ └── genexus │ └── db │ └── driver │ ├── ExternalProviderBase.java │ ├── ExternalProviderHelper.java │ └── ExternalProviderMetadata.java ├── gxcloudstorage-googlecloudstorage ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── db │ └── driver │ └── ExternalProviderGoogle.java ├── gxcloudstorage-ibmcos ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── db │ └── driver │ └── ExternalProviderIBM.java ├── gxcloudstorage-tests ├── README.md ├── pom.xml ├── resources │ ├── test │ │ └── text.txt │ └── text.txt └── src │ └── test │ └── java │ └── com │ └── genexus │ └── db │ └── driver │ ├── TestExternalProvider.java │ ├── TestExternalProviderAzure.java │ ├── TestExternalProviderGoogleCloudStorage.java │ ├── TestExternalProviderIBM.java │ ├── TestExternalProviderMinio.java │ ├── TestExternalProviderOracle.java │ ├── TestExternalProviderS3V1.java │ └── TestExternalProviderS3V2.java ├── gxcosmosdb ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── db │ └── cosmosdb │ ├── CosmosDBConnection.java │ ├── CosmosDBDriver.java │ ├── CosmosDBHelper.java │ ├── CosmosDBPreparedStatement.java │ ├── CosmosDBQuery.java │ ├── CosmosDBResultSet.java │ └── DataStoreHelperCosmosDB.java ├── gxcryptocommon ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── cryptography │ ├── GXCertificate.java │ ├── GXSigning.java │ ├── GXXMLDsig.java │ ├── encryption │ ├── asymmetric │ │ ├── CipherAsymProvider.java │ │ └── IGXAsymEncryption.java │ └── symmetric │ │ ├── CipherSymProvider.java │ │ └── IGXSymEncryption.java │ ├── exception │ ├── AlgorithmNotSupportedException.java │ ├── EncryptionException.java │ ├── InvalidKeyLengthException.java │ ├── PrivateKeyNotFoundException.java │ ├── PublicKeyNotFoundException.java │ └── SignatureException.java │ └── signing │ ├── IPkcsSign.java │ ├── standards │ ├── PKCS1Signature.java │ └── PKCS7Signature.java │ └── xml │ └── Canonicalizer.java ├── gxcryptography ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ └── cryptography │ │ ├── asymmetric │ │ ├── AsymmetricCipher.java │ │ ├── AsymmetricSigner.java │ │ ├── StandardSigner.java │ │ └── utils │ │ │ ├── AsymmetricEncryptionAlgorithm.java │ │ │ ├── AsymmetricEncryptionPadding.java │ │ │ ├── AsymmetricSigningAlgorithm.java │ │ │ ├── SignatureStandard.java │ │ │ └── SignatureStandardOptions.java │ │ ├── checksum │ │ ├── ChecksumCreator.java │ │ └── utils │ │ │ ├── CRCParameters.java │ │ │ ├── ChecksumAlgorithm.java │ │ │ └── ChecksumInputType.java │ │ ├── commons │ │ ├── AsymmetricCipherObject.java │ │ ├── AsymmetricSignerObject.java │ │ ├── ChecksumObject.java │ │ ├── CmacObject.java │ │ ├── HashObject.java │ │ ├── HmacObject.java │ │ ├── PasswordDerivationObject.java │ │ ├── StandardSignerObject.java │ │ ├── SymmectricStreamCipherObject.java │ │ └── SymmetricBlockCipherObject.java │ │ ├── config │ │ └── CryptographyEncodingUtil.java │ │ ├── hash │ │ ├── Hashing.java │ │ └── utils │ │ │ └── HashAlgorithm.java │ │ ├── mac │ │ ├── Cmac.java │ │ └── Hmac.java │ │ ├── passwordDerivation │ │ ├── Argon2HashType.java │ │ ├── Argon2Version.java │ │ ├── PasswordDerivation.java │ │ └── PasswordDerivationAlgorithm.java │ │ └── symmetric │ │ ├── SymmetricBlockCipher.java │ │ ├── SymmetricStreamCipher.java │ │ └── utils │ │ ├── SymmetricBlockAlgorithm.java │ │ ├── SymmetricBlockMode.java │ │ ├── SymmetricBlockPadding.java │ │ └── SymmetricStreamAlgorithm.java │ └── test │ ├── java │ └── com │ │ └── genexus │ │ └── cryptography │ │ └── test │ │ ├── asymmetric │ │ ├── AsymmetricDomainSpacesTest.java │ │ ├── ECDSASigningTest.java │ │ ├── RSAEncryptionTest.java │ │ ├── RSASigningTest.java │ │ └── RSAStandardSigningTest.java │ │ ├── checksum │ │ ├── ChecksumFileTest.java │ │ └── ChecksumTest.java │ │ ├── hash │ │ ├── HashDomainSpacesTest.java │ │ └── HashingTest.java │ │ ├── mac │ │ ├── CmacTest.java │ │ └── HmacTest.java │ │ ├── passwordDerivation │ │ ├── PasswordDerivationDomainSpacesTest.java │ │ └── PasswordDerivationTest.java │ │ └── symmetric │ │ ├── BlockEncryptionFilesTest.java │ │ ├── BlockEncryptionTest.java │ │ ├── StreamEncryptionTest.java │ │ └── SymmetricDomainSpacesTest.java │ └── resources │ ├── bookSample.xml │ ├── dummycerts │ ├── ECDSA_sha1 │ │ ├── sha1_cert.crt │ │ ├── sha1_cert.p12 │ │ ├── sha1_cert.pem │ │ ├── sha1_key.pem │ │ └── sha1_pubkey.pem │ ├── ECDSA_sha256 │ │ ├── sha256_cert.crt │ │ ├── sha256_cert.p12 │ │ ├── sha256_cert.pem │ │ ├── sha256_key.pem │ │ └── sha256_pubkey.pem │ ├── RSA_sha1_1024 │ │ ├── sha1_cert.crt │ │ ├── sha1_cert.p12 │ │ ├── sha1_cert.pem │ │ ├── sha1_cert.pkcs12 │ │ ├── sha1_key.pem │ │ ├── sha1_pubkey.pem │ │ ├── sha1d_key.key │ │ ├── sha1d_key.pem │ │ └── sha1e_cert.p12 │ ├── RSA_sha256_1024 │ │ ├── sha256_cert.crt │ │ ├── sha256_cert.p12 │ │ ├── sha256_cert.pem │ │ ├── sha256_key.pem │ │ ├── sha256_pubkey.pem │ │ ├── sha256d_key.pem │ │ └── sha256e_cert.p12 │ ├── RSA_sha256_2048 │ │ ├── sha256_cert.crt │ │ ├── sha256_cert.p12 │ │ ├── sha256_cert.pem │ │ ├── sha256_key.pem │ │ ├── sha256_pubkey.pem │ │ ├── sha256d_key.pem │ │ └── sha256e_cert.p12 │ └── RSA_sha512_2048 │ │ ├── sha512_cert.crt │ │ ├── sha512_cert.p12 │ │ ├── sha512_cert.pem │ │ ├── sha512_key.pem │ │ ├── sha512_pubkey.pem │ │ ├── sha512d_key.pem │ │ └── sha512e_cert.p12 │ └── flag.jpg ├── gxdynamiccall ├── client.cfg ├── pom.xml ├── server.cfg └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ └── gxdynamiccall │ │ ├── GXDynCallMethodConf.java │ │ ├── GXDynCallProperties.java │ │ └── GXDynamicCall.java │ └── test │ └── java │ └── com │ └── genexus │ └── gxdynamiccall │ └── test │ ├── DynamicCallExternalTestProcedure.java │ ├── DynamicCallTestProcedure.java │ ├── GXcfg.java │ └── GxDynamicCallTest.java ├── gxdynamodb ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── db │ └── dynamodb │ ├── DataStoreHelperDynamoDB.java │ ├── DynamoDBConnection.java │ ├── DynamoDBDriver.java │ ├── DynamoDBErrors.java │ ├── DynamoDBHelper.java │ ├── DynamoDBMap.java │ ├── DynamoDBPreparedStatement.java │ ├── DynamoDBResultSet.java │ ├── DynamoQuery.java │ └── DynamoScan.java ├── gxftps ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ ├── commons │ └── ftps │ │ └── FtpsClientObject.java │ └── ftps │ ├── FtpsClient.java │ ├── FtpsOptions.java │ └── utils │ ├── FtpConnectionMode.java │ ├── FtpEncoding.java │ ├── FtpEncryptionMode.java │ └── FtpsProtocol.java ├── gxgeospatial ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── GXGeospatial.java ├── gxjwt ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ ├── JWT │ │ ├── JWTCreator.java │ │ ├── claims │ │ │ ├── Claim.java │ │ │ ├── Claims.java │ │ │ ├── HeaderParameters.java │ │ │ ├── PrivateClaims.java │ │ │ ├── PublicClaims.java │ │ │ ├── RegisteredClaim.java │ │ │ └── RegisteredClaims.java │ │ └── utils │ │ │ ├── DateUtil.java │ │ │ ├── GUID.java │ │ │ ├── JWTAlgorithm.java │ │ │ ├── RevocationList.java │ │ │ └── UnixTimestampCreator.java │ │ └── commons │ │ ├── DateUtilObject.java │ │ ├── GUIDObject.java │ │ ├── JWTObject.java │ │ └── JWTOptions.java │ └── test │ ├── java │ └── com │ │ └── genexus │ │ └── test │ │ └── jwt │ │ ├── asymmetric │ │ ├── AsymmetricJwtTest.java │ │ ├── CreateWithoutCertTest.java │ │ └── PublicKeyAsymmetricJwtTest.java │ │ ├── features │ │ ├── CreateFromJSONTest.java │ │ ├── JwtDiverseDataTypesTest.java │ │ ├── JwtHeaderParametersTest.java │ │ ├── JwtNestedClaimsTest.java │ │ ├── JwtRevocationListTest.java │ │ ├── JwtVerifyJustSignatureTest.java │ │ └── UnixTimeStampCreatorTest.java │ │ ├── other │ │ ├── Issue84142Test.java │ │ ├── JwtDomainSpacesTest.java │ │ ├── JwtOtherFunctionsTest.java │ │ ├── issue102482Test.java │ │ ├── issue103626Test.java │ │ ├── issue84141Test.java │ │ ├── issue84859Test.java │ │ └── issue86867Test.java │ │ ├── resources │ │ └── TestUtils.java │ │ └── symmetric │ │ └── SymmetricJwtTest.java │ └── resources │ └── dummycerts │ ├── JWT_ECDSA │ └── prime_test │ │ ├── cert.pem │ │ ├── cert_sha256.pem │ │ ├── cert_sha384.pem │ │ ├── cert_sha512.pem │ │ ├── key.pem │ │ └── prime_test.zip │ ├── RSA_sha1_1024 │ ├── sha1_cert.crt │ ├── sha1_cert.p12 │ ├── sha1_cert.pem │ ├── sha1_cert.pkcs12 │ ├── sha1_key.pem │ ├── sha1_pubkey.pem │ ├── sha1d_key.key │ ├── sha1d_key.pem │ └── sha1e_cert.p12 │ ├── RSA_sha256_1024 │ ├── sha256_cert.crt │ ├── sha256_cert.p12 │ ├── sha256_cert.pem │ ├── sha256_key.pem │ ├── sha256_pubkey.pem │ ├── sha256d_key.pem │ └── sha256e_cert.p12 │ ├── RSA_sha256_2048 │ ├── sha256_cert.crt │ ├── sha256_cert.p12 │ ├── sha256_cert.pem │ ├── sha256_key.pem │ ├── sha256_pubkey.pem │ ├── sha256d_key.pem │ └── sha256e_cert.p12 │ └── RSA_sha512_2048 │ ├── sha512_cert.crt │ ├── sha512_cert.p12 │ ├── sha512_cert.pem │ ├── sha512_key.pem │ ├── sha512_pubkey.pem │ ├── sha512d_key.pem │ └── sha512e_cert.p12 ├── gxmail ├── pom.xml └── src │ ├── main │ └── java │ │ ├── com │ │ └── genexus │ │ │ └── internet │ │ │ ├── Base64Decoder.java │ │ │ ├── DummyDecoder.java │ │ │ ├── GXMailException.java │ │ │ ├── GXMailMessage.java │ │ │ ├── GXMailer.java │ │ │ ├── GXPOP3Session.java │ │ │ ├── GXSMTPSession.java │ │ │ ├── IMailImplementation.java │ │ │ ├── IMailImplementationFactory.java │ │ │ ├── IPOP3Session.java │ │ │ ├── ISMTPSession.java │ │ │ ├── InternetMail.java │ │ │ ├── MailMessage.java │ │ │ ├── MailProperties.java │ │ │ ├── MailReader.java │ │ │ ├── MailRecipient.java │ │ │ ├── MailRecipientCollection.java │ │ │ ├── MimeDecoder.java │ │ │ ├── POP3Session.java │ │ │ ├── POP3SessionJavaMail.java │ │ │ ├── QuotedPrintableDecoder.java │ │ │ ├── RFC822Reader.java │ │ │ ├── SMTPSession.java │ │ │ └── SMTPSessionJavaMail.java │ │ └── gxmail │ │ └── Configuration.java │ └── test │ └── java │ └── com │ └── genexus │ └── internet │ └── test │ └── MailTest.java ├── gxmaps ├── pom.xml └── src │ └── main │ └── java │ ├── com │ └── genexus │ │ └── gxmaps │ │ ├── GXMaps.java │ │ └── LocationInfo.java │ └── gxmaps │ └── Configuration.java ├── gxobservability ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── opentelemetry │ ├── GXSpanContext.java │ ├── GXTraceContext.java │ ├── OtelSpan.java │ └── OtelTracer.java ├── gxodata ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── db │ └── odata │ ├── ComplexHashMap.java │ ├── CurrentOf.java │ ├── CurrentOfManager.java │ ├── DataStoreHelperOData.java │ ├── ModelInfo.java │ ├── ODataClientHelper.java │ ├── ODataConnection.java │ ├── ODataDriver.java │ ├── ODataMapDomain.java │ ├── ODataPreparedStatement.java │ ├── ODataQuery.java │ ├── ODataResultSet.java │ └── ODataServiceContext.java ├── gxoffice ├── .gitignore ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ ├── gxoffice │ │ ├── Constants.java │ │ ├── ExcelCells.java │ │ ├── ExcelDoc.java │ │ ├── ExcelDocument.java │ │ ├── GxExcel.java │ │ ├── GxMail.java │ │ ├── GxOffice.java │ │ ├── GxWord.java │ │ ├── IExcelCells.java │ │ ├── IExcelDocument.java │ │ ├── IGxError.java │ │ ├── IOfficeMail.java │ │ ├── IWordDocument.java │ │ ├── MAPISession.java │ │ ├── OutlookSession.java │ │ ├── WordDoc.java │ │ ├── WordDocument.java │ │ ├── ooffice │ │ │ ├── BasicMacroTools.java │ │ │ ├── MacroListener.java │ │ │ ├── OOfficeConnectionManager.java │ │ │ └── WordDocument.java │ │ └── poi │ │ │ ├── hssf │ │ │ ├── ColorManager.java │ │ │ ├── ExcelCells.java │ │ │ ├── ExcelDocument.java │ │ │ └── StylesCache.java │ │ │ ├── sxssf │ │ │ ├── ExcelCells.java │ │ │ └── ExcelDocument.java │ │ │ └── xssf │ │ │ ├── ExcelCells.java │ │ │ ├── ExcelDocument.java │ │ │ └── StylesCache.java │ │ ├── internet │ │ ├── OfficeMail.java │ │ └── OfficeMailerFactory.java │ │ └── msoffice │ │ └── excel │ │ ├── Constants.java │ │ ├── ErrorCodes.java │ │ ├── ExcelFactory.java │ │ ├── ExcelSpreadsheetGXWrapper.java │ │ ├── IExcelCellRange.java │ │ ├── IExcelSpreadsheet.java │ │ ├── IExcelWorksheet.java │ │ ├── IGXError.java │ │ ├── exception │ │ ├── ExcelDocumentNotSupported.java │ │ ├── ExcelException.java │ │ ├── ExcelReadonlyException.java │ │ └── ExcelTemplateNotFoundException.java │ │ ├── poi │ │ └── xssf │ │ │ ├── ExcelCells.java │ │ │ ├── ExcelSpreadsheet.java │ │ │ ├── ExcelWorksheet.java │ │ │ └── StylesCache.java │ │ └── style │ │ ├── ExcelAlignment.java │ │ ├── ExcelBorder.java │ │ ├── ExcelCellBorder.java │ │ ├── ExcelColor.java │ │ ├── ExcelFill.java │ │ ├── ExcelFont.java │ │ ├── ExcelStyle.java │ │ └── ExcelStyleDimension.java │ └── test │ └── java │ └── com │ └── genexus │ └── msoffice │ └── excel │ └── ExcelSpreadsheetTest.java ├── gxqueue-awssqs ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ ├── genexus │ │ └── messaging │ │ │ └── queue │ │ │ └── aws │ │ │ ├── AWSBasicCredentials.java │ │ │ ├── AWSCredentials.java │ │ │ ├── AWSQueue.java │ │ │ └── AWSQueueFactory.java │ │ └── genexusmessaging │ │ └── awscore │ │ └── SdtAWSBasicCredentials.java │ └── test │ └── java │ └── com │ └── genexus │ └── messaging │ └── queue │ └── aws │ ├── TestAWSQueue.java │ └── TestQueueBase.java ├── gxqueue-azure ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── messaging │ └── queue │ └── azure │ └── AzureQueueFactory.java ├── gxqueue ├── pom.xml └── src │ └── main │ └── java │ └── com │ ├── genexus │ └── messaging │ │ └── queue │ │ ├── Convert.java │ │ ├── IQueue.java │ │ ├── QueueBase.java │ │ ├── SimpleMessageQueue.java │ │ ├── exceptions │ │ └── GeneralQueueException.java │ │ └── model │ │ ├── DeleteMessageResult.java │ │ ├── MessageId.java │ │ ├── MessageQueueOptions.java │ │ ├── SendMessageResult.java │ │ └── SimpleQueueMessage.java │ └── genexusmessaging │ └── genexusmessagingqueue │ └── simplequeue │ ├── SdtMessage.java │ ├── SdtMessageOptions.java │ ├── SdtMessageProperty.java │ └── SdtMessageResult.java ├── gxsearch ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── search │ ├── Action.java │ ├── ActionBuffer.java │ ├── CleanUpFile.java │ ├── DocumentHandler.java │ ├── EmptySearchResult.java │ ├── IDocumentHandler.java │ ├── ISearchResultCollection.java │ ├── ISearchResultItem.java │ ├── IndexRecord.java │ ├── Indexer.java │ ├── JTidyHTMLHandler.java │ ├── PdfHandler.java │ ├── SearchException.java │ ├── SearchResult.java │ ├── SearchResultCollection.java │ ├── SearchResultItem.java │ ├── Searcher.java │ ├── Settings.java │ ├── Spelling.java │ ├── TextHandler.java │ └── TextWordDocHandler.java ├── gxserverlesscommon ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── cloud │ └── serverless │ ├── GXProcedureExecutor.java │ ├── JSONHelper.java │ ├── ServerlessBaseEventHandler.java │ ├── ServerlessFunctionConfiguration.java │ ├── exception │ └── FunctionConfigurationException.java │ └── model │ ├── EventMessage.java │ ├── EventMessageProperty.java │ ├── EventMessageResponse.java │ ├── EventMessageSourceType.java │ ├── EventMessages.java │ └── EventMessagesList.java ├── gxsftp ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ ├── commons │ └── sftp │ │ └── SftpClientObject.java │ └── sftp │ ├── SftpClient.java │ └── SftpOptions.java ├── gxspringboot ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ └── springboot │ ├── GAMServletsDefinition.java │ ├── GXConfig.java │ ├── GXImportSelector.java │ ├── GXMultiCall.java │ ├── GXServletContextInitializer.java │ ├── GxSpringBootRestService.java │ └── jaxws │ └── GXWSServletContextListener.java ├── gxweb ├── pom.xml └── src │ └── main │ └── java │ └── com │ ├── genexus │ ├── GxEjbContext.java │ ├── internet │ │ ├── GXWebProgressIndicator.java │ │ ├── GXWebProgressIndicatorInfo.java │ │ └── HttpAjaxContext.java │ ├── security │ │ └── web │ │ │ ├── SecureToken.java │ │ │ ├── SecureTokenHelper.java │ │ │ ├── WebSecureToken.java │ │ │ ├── WebSecurityHelper.java │ │ │ └── jose │ │ │ └── jwt │ │ │ ├── Algorithm.java │ │ │ ├── JWTAlgorithmException.java │ │ │ ├── JWTAudienceException.java │ │ │ ├── JWTExpiredException.java │ │ │ ├── JWTIssuerException.java │ │ │ ├── JWTSigner.java │ │ │ ├── JWTVerifier.java │ │ │ ├── JWTVerifyException.java │ │ │ └── pem │ │ │ ├── PemFileReader.java │ │ │ ├── PemFileWriter.java │ │ │ ├── PemReader.java │ │ │ ├── PemWriter.java │ │ │ └── X509CertUtils.java │ ├── usercontrols │ │ ├── UserControlFactoryImpl.java │ │ └── UserControlGenerator.java │ └── webpanels │ │ ├── DynAjaxEventContext.java │ │ ├── GXDataArea.java │ │ ├── GXDataAreaControl.java │ │ ├── GXMasterPage.java │ │ ├── GXUserControl.java │ │ ├── GXWebColumn.java │ │ ├── GXWebComponent.java │ │ ├── GXWebComponentNull.java │ │ ├── GXWebForm.java │ │ ├── GXWebGrid.java │ │ ├── GXWebObjectBase.java │ │ ├── GXWebPanel.java │ │ ├── GXWebPanelStub.java │ │ ├── GXWebRow.java │ │ ├── GXWebStdMethods.java │ │ ├── GXWindow.java │ │ ├── HTMLCheckbox.java │ │ ├── HTMLChoice.java │ │ ├── HTMLLabel.java │ │ ├── HTMLListBox.java │ │ ├── HTMLObject.java │ │ ├── ICheckbox.java │ │ ├── IChoice.java │ │ ├── IDynAjaxEventContext.java │ │ ├── IHTMLObject.java │ │ ├── ILabel.java │ │ ├── IListbox.java │ │ ├── NoneMasterPage.java │ │ ├── UIFactory.java │ │ ├── WebFrontendUtils.java │ │ ├── WebWrapper.java │ │ └── gridstate │ │ └── GXGridStateHandler.java │ └── genexuscore │ └── genexus │ └── common │ ├── SdtGridState.java │ ├── SdtGridState_InputValuesItem.java │ ├── StructSdtGridState.java │ └── StructSdtGridState_InputValuesItem.java ├── gxwebsocket ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ ├── internet │ └── websocket │ │ ├── GXWebSocket.java │ │ └── ServletAwareConfig.java │ └── websocket │ └── Session.java ├── gxwebsocketjakarta ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ ├── internet │ └── websocket │ │ ├── GXWebSocket.java │ │ └── ServletAwareConfig.java │ └── websocket │ └── Session.java ├── gxxmlsignature ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ ├── commons │ │ ├── DSigOptions.java │ │ └── XmlDSigSignerObject.java │ │ ├── config │ │ └── Config.java │ │ ├── dsig │ │ └── XmlDSigSigner.java │ │ └── utils │ │ ├── AsymmetricSigningAlgorithm.java │ │ ├── CanonicalizerWrapper.java │ │ ├── KeyInfoType.java │ │ ├── MessageDigestAlgorithmWrapper.java │ │ ├── SignatureElementType.java │ │ ├── SignatureUtils.java │ │ ├── TransformsWrapper.java │ │ └── XMLSignatureWrapper.java │ └── test │ ├── java │ └── com │ │ └── genexus │ │ └── xmlsignature │ │ └── test │ │ ├── Base64CertificateTest.java │ │ ├── Base64PublicKeyTest.java │ │ └── dsig │ │ ├── FindIDTest.java │ │ ├── PublicKeyRSASigningTest.java │ │ ├── RSASigningTest.java │ │ └── XmlSignatureDomainSpacesTest.java │ └── resources │ ├── bookSample.xml │ ├── dummycerts │ ├── Base64Tests │ │ ├── sha1_cert.crt │ │ ├── sha1_cert.p12 │ │ ├── sha1_cert.pem │ │ ├── sha1_cert.pfx │ │ ├── sha1_key.pem │ │ └── sha1d_key.pem │ ├── RSA_sha1_1024 │ │ ├── sha1_cert.crt │ │ ├── sha1_cert.p12 │ │ ├── sha1_cert.pem │ │ ├── sha1_cert.pkcs12 │ │ ├── sha1_key.pem │ │ ├── sha1_pubkey.pem │ │ ├── sha1d_key.key │ │ ├── sha1d_key.pem │ │ └── sha1e_cert.p12 │ ├── RSA_sha256_1024 │ │ ├── sha256_cert.crt │ │ ├── sha256_cert.p12 │ │ ├── sha256_cert.pem │ │ ├── sha256_key.pem │ │ ├── sha256_pubkey.pem │ │ ├── sha256d_key.pem │ │ └── sha256e_cert.p12 │ ├── RSA_sha256_2048 │ │ ├── sha256_cert.crt │ │ ├── sha256_cert.p12 │ │ ├── sha256_cert.pem │ │ ├── sha256_key.pem │ │ ├── sha256_pubkey.pem │ │ ├── sha256d_key.pem │ │ └── sha256e_cert.p12 │ └── RSA_sha512_2048 │ │ ├── sha512_cert.crt │ │ ├── sha512_cert.p12 │ │ ├── sha512_cert.pem │ │ ├── sha512_key.pem │ │ ├── sha512_pubkey.pem │ │ ├── sha512d_key.pem │ │ └── sha512e_cert.p12 │ ├── tosign.xml │ ├── xmlID.xml │ └── xmlIDSchema.xsd ├── java ├── CloudServices.config ├── client.cfg ├── client.cfg.dev ├── client.cfg.prod ├── pom.xml ├── sample.db └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ ├── Application.java │ │ ├── CacheFactory.java │ │ ├── ClientConfig.java │ │ ├── ClientPreferences.java │ │ ├── ConfigFileFinder.java │ │ ├── GXDataGridProcedure.java │ │ ├── GXDbFile.java │ │ ├── GXJTA.java │ │ ├── GXObjectBase.java │ │ ├── GXPictureFix.java │ │ ├── GXProcedure.java │ │ ├── GXReorganization.java │ │ ├── GXWebReport.java │ │ ├── GXutil.java │ │ ├── GxImageUtil.java │ │ ├── GxRestService.java │ │ ├── GxUserType.java │ │ ├── LoginValidator.java │ │ ├── PasswordChanger.java │ │ ├── Preferences.java │ │ ├── PrivateUtilities.java │ │ ├── ServerConfig.java │ │ ├── ServerPreferences.java │ │ ├── SessionInstances.java │ │ ├── Store.java │ │ ├── ToolsPrograms.java │ │ ├── Version.java │ │ ├── configuration │ │ ├── ConfigurationManager.java │ │ └── ExternalStorage.java │ │ ├── cryptography │ │ ├── GXAsymEncryption.java │ │ └── GXSymEncryption.java │ │ ├── db │ │ ├── CacheKey.java │ │ ├── CacheValue.java │ │ ├── DBConnection.java │ │ ├── DBConnectionManager.java │ │ ├── DataStoreHelperBase.java │ │ ├── DataStoreProvider.java │ │ ├── DataStoreProviderBase.java │ │ ├── DefaultExceptionErrorHandler.java │ │ ├── EncryptedDataSourceFactory.java │ │ ├── ForEachCursor.java │ │ ├── GXEmbedding.java │ │ ├── IRemoteDataStoreHelper.java │ │ ├── IRemoteServerDataStoreProvider.java │ │ ├── IServerDataStoreProvider.java │ │ ├── InProcessCache.java │ │ ├── LocalDBConnectionManager.java │ │ ├── LocalUserInformation.java │ │ ├── Namespace.java │ │ ├── OracleConnectionProvider.java │ │ ├── RemoteCursor.java │ │ ├── SQLExceptionErrorHandler.java │ │ ├── ServerConnectionManager.java │ │ ├── ServerDBConnectionManager.java │ │ ├── ServerUserInformation.java │ │ ├── ServiceCursor.java │ │ ├── ServiceCursorBase.java │ │ ├── ServiceCursorUpd.java │ │ ├── UserInformation.java │ │ ├── UtilConnectionManager.java │ │ ├── UtilUserInformation.java │ │ ├── driver │ │ │ ├── ConnectionPool.java │ │ │ ├── ConnectionPoolState.java │ │ │ ├── CursorFactory.java │ │ │ ├── CursorFactoryConstants.java │ │ │ ├── DataSource.java │ │ │ ├── DataSourceConnectionPool.java │ │ │ ├── DirectConnectionPool.java │ │ │ ├── DirectPreparedStatement.java │ │ │ ├── FreeStatementList.java │ │ │ ├── GXCallableStatement.java │ │ │ ├── GXConnection.java │ │ │ ├── GXDBDebug.java │ │ │ ├── GXDBMS.java │ │ │ ├── GXDBMSaccess.java │ │ │ ├── GXDBMSas400.java │ │ │ ├── GXDBMScloudscape.java │ │ │ ├── GXDBMSdameng.java │ │ │ ├── GXDBMSdb2.java │ │ │ ├── GXDBMShana.java │ │ │ ├── GXDBMSinformix.java │ │ │ ├── GXDBMSmysql.java │ │ │ ├── GXDBMSoracle7.java │ │ │ ├── GXDBMSpostgresql.java │ │ │ ├── GXDBMSservice.java │ │ │ ├── GXDBMSsqlite.java │ │ │ ├── GXDBMSsqlserver.java │ │ │ ├── GXPreparedStatement.java │ │ │ ├── GXResultSet.java │ │ │ ├── GXStatement.java │ │ │ ├── IConnectionPool.java │ │ │ ├── IPreparedStatementCache.java │ │ │ ├── PoolDBConnectionState.java │ │ │ ├── PreparedStatementCache.java │ │ │ ├── ReadOnlyConnectionPool.java │ │ │ └── ReadWriteConnectionPool.java │ │ └── service │ │ │ ├── GXType.java │ │ │ ├── IODataMap.java │ │ │ ├── IODataMapExt.java │ │ │ ├── IODataMapName.java │ │ │ ├── IOMap.java │ │ │ ├── IOServiceContext.java │ │ │ ├── IQuery.java │ │ │ ├── IServiceHelper.java │ │ │ ├── IServicePreparedStatement.java │ │ │ ├── Query.java │ │ │ ├── QueryType.java │ │ │ ├── ServiceConnection.java │ │ │ ├── ServiceDataStoreHelper.java │ │ │ ├── ServiceError.java │ │ │ ├── ServiceException.java │ │ │ ├── ServicePreparedStatement.java │ │ │ ├── ServiceResultSet.java │ │ │ └── VarValue.java │ │ ├── filters │ │ ├── APIObjectFilter.java │ │ ├── AddResponseHeaderFilter.java │ │ ├── CustomFilter.java │ │ ├── ExpiresFilter.java │ │ ├── InternalRestServicesFilter.java │ │ ├── SecureCookieHttpServletResponseWrapper.java │ │ ├── SecuredRemoteAddressFilter.java │ │ ├── SessionFilter.java │ │ └── XForwardedFilter.java │ │ ├── internet │ │ ├── GXFTPSafe.java │ │ ├── GXRestAPIClient.java │ │ ├── GXWebNotification.java │ │ ├── GXWebNotificationInfo.java │ │ ├── HttpClientJavaLib.java │ │ ├── HttpContext.java │ │ ├── HttpContextNull.java │ │ ├── HttpGXServletRequest.java │ │ ├── HttpRequest.java │ │ ├── HttpRequestNull.java │ │ ├── HttpRequestWeb.java │ │ ├── HttpResponse.java │ │ ├── IFTPClient.java │ │ ├── NetComponentsFTPClient.java │ │ └── websocket │ │ │ ├── GXWebSocketService.java │ │ │ ├── GXWebSocketSession.java │ │ │ ├── GXWebSocketSessionCollection.java │ │ │ └── SendResponseType.java │ │ ├── management │ │ ├── CacheItemJMX.java │ │ ├── CacheItemJMXMBean.java │ │ ├── CacheJMX.java │ │ ├── CacheJMXMBean.java │ │ ├── ConnectionJMX.java │ │ ├── ConnectionJMXMBean.java │ │ ├── ConnectionPoolJMX.java │ │ ├── ConnectionPoolJMXMBean.java │ │ ├── DataSourceJMX.java │ │ ├── DataSourceJMXMBean.java │ │ ├── HTTPConnectionJMX.java │ │ ├── HTTPConnectionJMXBean.java │ │ ├── HTTPPoolJMX.java │ │ ├── HTTPPoolJMXMBean.java │ │ ├── LocalUserInformationJMX.java │ │ ├── LocalUserInformationJMXMBean.java │ │ ├── MBeanUtils.java │ │ ├── NamespaceJMX.java │ │ ├── NamespaceJMXMBean.java │ │ ├── ServerUserInformationJMX.java │ │ └── ServerUserInformationJMXMBean.java │ │ ├── mock │ │ ├── GXMockProvider.java │ │ └── IGXMock.java │ │ ├── performance │ │ ├── DataStoreProviderInfo.java │ │ ├── DataStoreProviderJMX.java │ │ ├── DataStoreProviderJMXMBean.java │ │ ├── DataStoreProvidersJMX.java │ │ ├── DataStoreProvidersJMXMBean.java │ │ ├── MBeanUtils.java │ │ ├── ProcedureInfo.java │ │ ├── ProcedureJMX.java │ │ ├── ProcedureJMXMBean.java │ │ ├── ProceduresInfo.java │ │ ├── SentenceInfo.java │ │ ├── SentenceJMX.java │ │ └── SentenceJMXMBean.java │ │ ├── platform │ │ └── NativeFunctions.java │ │ ├── reports │ │ ├── GXReport.java │ │ ├── GXReportMetadata.java │ │ ├── GXReportPDFCommons.java │ │ ├── GXReportText.java │ │ ├── GXReportViewerThreaded.java │ │ ├── GXcfg.java │ │ ├── PDFReportItext2.java │ │ ├── PDFReportItext8.java │ │ ├── PDFReportPDFBox.java │ │ ├── ReportsUtil.java │ │ ├── SunGXReportViewer.java │ │ └── fonts │ │ │ ├── PDFFont.java │ │ │ ├── PDFFontDescriptor.java │ │ │ ├── TrueTypeFontCache.java │ │ │ ├── Type1FontMetrics.java │ │ │ └── Utilities.java │ │ ├── sap │ │ ├── DestinationProvider.java │ │ ├── DocumentClient.java │ │ ├── DocumentReceiver.java │ │ ├── DocumentSender.java │ │ ├── EnterpriseConnect.java │ │ ├── ServerConnection.java │ │ └── SessionManager.java │ │ ├── security │ │ └── GXSecurityProvider.java │ │ ├── specific │ │ └── java │ │ │ ├── Application.java │ │ │ ├── BatchUpdateCursor.java │ │ │ ├── Connect.java │ │ │ ├── CryptoAlghorithms.java │ │ │ ├── Cursor.java │ │ │ ├── DynamicExecute.java │ │ │ ├── FileUtils.java │ │ │ ├── GXDirectory.java │ │ │ ├── GXExternalFileInfo.java │ │ │ ├── GXSilentTrnSdt.java │ │ │ ├── GXSmartCacheProvider.java │ │ │ ├── GXXMLSerializable.java │ │ │ ├── GXutil.java │ │ │ ├── HTTPConnection.java │ │ │ ├── HttpClient.java │ │ │ ├── HttpConnectMethod.java │ │ │ ├── HttpCookie.java │ │ │ ├── HttpDeleteWithBody.java │ │ │ ├── HttpGetWithBody.java │ │ │ ├── HttpHeadWithBody.java │ │ │ ├── HttpOptionsWithBody.java │ │ │ ├── ImagesPath.java │ │ │ ├── JavaModelContextExtension.java │ │ │ ├── LocalUtil.java │ │ │ ├── Messages.java │ │ │ ├── NativeFunctions.java │ │ │ ├── PictureFormatter.java │ │ │ └── UserLog.java │ │ ├── util │ │ ├── CacheAPI.java │ │ ├── ChatResult.java │ │ ├── DoubleLinkedQueue.java │ │ ├── GXDataInitialization.java │ │ ├── GXFile.java │ │ ├── GXHashMap.java │ │ ├── GXQueue.java │ │ ├── GXQueueMessage.java │ │ ├── GXServices.java │ │ ├── GXStorageProvider.java │ │ ├── GxUtilsLoader.java │ │ ├── ICleanupFile.java │ │ ├── JavaInspector.java │ │ ├── LDAPClient.java │ │ ├── Rijndael_Algorithm.java │ │ ├── SubmitThreadPool.java │ │ ├── ThreadedCommandQueue.java │ │ ├── Twofish_Algorithm.java │ │ └── saia │ │ │ ├── ContentDeserializer.java │ │ │ ├── ContentSerializer.java │ │ │ ├── OpenAIRequest.java │ │ │ ├── OpenAIResponse.java │ │ │ └── SaiaService.java │ │ ├── webpanels │ │ ├── BlobsCleaner.java │ │ ├── ContextPath.java │ │ ├── ContextPathNew.java │ │ ├── ContextPathOld.java │ │ ├── FileItem.java │ │ ├── FileItemCollection.java │ │ ├── GXMultiCall.java │ │ ├── GXOAuthAccessToken.java │ │ ├── GXOAuthAccessTokenDummy.java │ │ ├── GXOAuthLogout.java │ │ ├── GXOAuthLogoutDummy.java │ │ ├── GXOAuthUserInfo.java │ │ ├── GXOAuthUserInfoDummy.java │ │ ├── GXObjectUploadServices.java │ │ ├── GXWebObjectStub.java │ │ ├── GXWebProcedure.java │ │ ├── HttpContextWeb.java │ │ ├── HttpUtils.java │ │ ├── IContextPath.java │ │ ├── LOGOUTDummy.java │ │ ├── SSODummy.java │ │ ├── ServletEventListener.java │ │ ├── SessionEventListener.java │ │ ├── WebApplicationStartup.java │ │ ├── WebSession.java │ │ ├── WebUtils.java │ │ ├── agamextauthinputDummy.java │ │ ├── agamoauth20getaccesstokenDummy.java │ │ ├── agamoauth20getaccesstoken_v20Dummy.java │ │ ├── agamoauth20getuserinfoDummy.java │ │ ├── agamoauth20getuserinfo_v20Dummy.java │ │ ├── agamssorestrequesttokenanduserinfo_v20Dummy.java │ │ ├── agamstsauthappgetaccesstokenDummy.java │ │ ├── agamstsauthappvalidaccesstokenDummy.java │ │ └── gxver.java │ │ └── ws │ │ ├── addressing │ │ ├── GXWSAddressing.java │ │ └── GXWSAddressingEndPoint.java │ │ └── security │ │ ├── GXWSEncryption.java │ │ ├── GXWSSecurity.java │ │ ├── GXWSSecurityKeyIdentifierTypeConstants.java │ │ ├── GXWSSecurityKeyStore.java │ │ ├── GXWSSecurityKeyStoreConstants.java │ │ └── GXWSSignature.java │ └── test │ ├── java │ └── com │ │ ├── genexus │ │ ├── TestCommonUtil.java │ │ ├── TestGxImageUtil.java │ │ ├── TestGxReadEnvVar.java │ │ ├── agent │ │ │ ├── Agent.java │ │ │ └── TestAgent.java │ │ ├── configuration │ │ │ └── TestConfigurationOverride.java │ │ ├── db │ │ │ └── driver │ │ │ │ ├── GXDBMSGxTest.java │ │ │ │ ├── TestExternalProviderCommon.java │ │ │ │ ├── TestMockDataAccess.java │ │ │ │ └── TestServerNowNullProvider.java │ │ ├── embedding │ │ │ └── GXEmbeddingTest.java │ │ ├── internet │ │ │ └── TestHttpClient.java │ │ ├── sampleapp │ │ │ └── GXcfg.java │ │ ├── util │ │ │ ├── TestDateMethods.java │ │ │ ├── TestEncryption.java │ │ │ └── TestFileMethods.java │ │ ├── webpanels │ │ │ └── TestWebUtils.java │ │ └── xml │ │ │ └── GXXMLSerializableTest.java │ │ ├── mockdata │ │ ├── TestMockData.java │ │ ├── TestMockDataClass.java │ │ ├── TestMockDataProvider.java │ │ └── TestOriginalClass.java │ │ └── mockdb │ │ ├── ausemockdataaccess.java │ │ └── usemockdataaccess.java │ └── resources │ └── bird-thumbnail.jpg ├── pom.xml ├── securityapicommons ├── pom.xml └── src │ ├── main │ └── java │ │ └── com │ │ └── genexus │ │ └── securityapicommons │ │ ├── commons │ │ ├── Certificate.java │ │ ├── Error.java │ │ ├── Key.java │ │ ├── PrivateKey.java │ │ ├── PublicKey.java │ │ └── SecurityAPIObject.java │ │ ├── config │ │ ├── AvailableEncoding.java │ │ ├── EncodingUtil.java │ │ └── Global.java │ │ ├── encoders │ │ ├── Base64Encoder.java │ │ ├── Base64UrlEncoder.java │ │ └── HexaEncoder.java │ │ ├── keys │ │ ├── CertificateX509.java │ │ ├── PrivateKeyManager.java │ │ ├── SymmetricKeyGenerator.java │ │ └── SymmetricKeyType.java │ │ └── utils │ │ ├── ExtensionsWhiteList.java │ │ └── SecurityUtils.java │ └── test │ ├── java │ └── com │ │ └── genexus │ │ └── test │ │ ├── commons │ │ └── SecurityAPITestObject.java │ │ ├── encoders │ │ ├── Base64Test.java │ │ ├── Base64UrlTest.java │ │ └── HexaTest.java │ │ ├── keys │ │ ├── Base64CertificateTest.java │ │ ├── Base64PrivateKeyTest.java │ │ ├── Base64PublicKeyTest.java │ │ ├── LoadPKCS12First.java │ │ └── PublicKeyFromJwksTest.java │ │ └── utils │ │ └── WhiteListTest.java │ └── resources │ ├── dummycerts │ └── RSA_sha256_1024 │ │ └── sha256_cert.p12 │ ├── sha256_cert.pem │ ├── sha256_pubkey.pem │ └── sha256d_key.pem ├── site.png ├── wrappercommon ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ ├── WrapperUtils.java │ ├── cors │ └── CORSHelper.java │ ├── diagnostics │ └── core │ │ └── provider │ │ └── Log4J2Logger.java │ ├── fileupload │ ├── IFileItemIterator.java │ ├── IFileItemStream.java │ └── servlet │ │ └── IServletFileUpload.java │ ├── servlet │ ├── IFilterChain.java │ ├── IRequestDispatcher.java │ ├── IServletContext.java │ ├── IServletInputStream.java │ ├── IServletOutputStream.java │ ├── IServletRequest.java │ ├── IServletResponse.java │ └── http │ │ ├── ICookie.java │ │ ├── IHttpServletRequest.java │ │ ├── IHttpServletRequestWrapper.java │ │ ├── IHttpServletResponse.java │ │ ├── IHttpServletResponseWrapper.java │ │ └── IHttpSession.java │ ├── specific │ └── java │ │ └── LogManager.java │ ├── websocket │ └── ISession.java │ └── ws │ └── rs │ └── core │ ├── IResponseBuilder.java │ └── IUriInfo.java ├── wrapperjakarta ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── genexus │ ├── GXRestServiceWrapper.java │ ├── SdtMessages_Message_RESTInterface.java │ ├── fileupload │ ├── FileItemIterator.java │ ├── FileItemStream.java │ └── servlet │ │ └── ServletFileUpload.java │ ├── servlet │ ├── CorsFilter.java │ ├── Filter.java │ ├── FilterChain.java │ ├── RequestDispatcher.java │ ├── ServletContext.java │ ├── ServletContextListener.java │ ├── ServletException.java │ ├── ServletInputStream.java │ ├── ServletOutputStream.java │ ├── ServletRequest.java │ ├── ServletResponse.java │ └── http │ │ ├── Cookie.java │ │ ├── HttpServlet.java │ │ ├── HttpServletRequest.java │ │ ├── HttpServletRequestWrapper.java │ │ ├── HttpServletResponse.java │ │ ├── HttpServletResponseWrapper.java │ │ ├── HttpSession.java │ │ ├── HttpSessionBindingEvent.java │ │ ├── HttpSessionEvent.java │ │ └── SessionEventListenerWrapper.java │ ├── specific │ └── java │ │ └── GXXMLserializer.java │ ├── wrapper │ └── GXCollectionWrapper.java │ ├── ws │ ├── GXContainerResponseFilter.java │ ├── GXHandlerChain.java │ ├── GXHandlerConsumerChain.java │ ├── GXRestException.java │ ├── GXRestJsonMappingException.java │ ├── JAXRSCorsFilter.java │ ├── JAXRSObjectMapper.java │ ├── RestReaderInterceptor.java │ └── rs │ │ └── core │ │ ├── Application.java │ │ ├── GenericEntity.java │ │ ├── Response.java │ │ └── UriInfo.java │ └── xml │ └── ws │ ├── BindingProvider.java │ ├── Holder.java │ ├── Service.java │ ├── WebServiceContext.java │ └── handler │ └── MessageContext.java └── wrapperjavax ├── pom.xml └── src └── main └── java └── com └── genexus ├── GXRestServiceWrapper.java ├── SdtMessages_Message_RESTInterface.java ├── fileupload ├── FileItemIterator.java ├── FileItemStream.java └── servlet │ └── ServletFileUpload.java ├── servlet ├── CorsFilter.java ├── Filter.java ├── FilterChain.java ├── RequestDispatcher.java ├── ServletContext.java ├── ServletContextListener.java ├── ServletException.java ├── ServletInputStream.java ├── ServletOutputStream.java ├── ServletRequest.java ├── ServletResponse.java └── http │ ├── Cookie.java │ ├── HttpServlet.java │ ├── HttpServletRequest.java │ ├── HttpServletRequestWrapper.java │ ├── HttpServletResponse.java │ ├── HttpServletResponseWrapper.java │ ├── HttpSession.java │ ├── HttpSessionBindingEvent.java │ ├── HttpSessionEvent.java │ └── SessionEventListenerWrapper.java ├── specific └── java │ └── GXXMLserializer.java ├── wrapper └── GXCollectionWrapper.java ├── ws ├── GXContainerResponseFilter.java ├── GXHandlerChain.java ├── GXHandlerConsumerChain.java ├── GXRestException.java ├── GXRestJsonMappingException.java ├── JAXRSCorsFilter.java ├── JAXRSObjectMapper.java ├── RestReaderInterceptor.java └── rs │ └── core │ ├── Application.java │ ├── GenericEntity.java │ ├── Response.java │ └── UriInfo.java └── xml └── ws ├── BindingProvider.java ├── Holder.java ├── Service.java ├── WebServiceContext.java └── handler └── MessageContext.java /.editorconfig: -------------------------------------------------------------------------------- 1 | [*] 2 | charset=utf-8 3 | end_of_line=crlf 4 | insert_final_newline=false 5 | indent_style=space 6 | indent_size=4 7 | 8 | [*.json] 9 | indent_style=space 10 | indent_size=2 11 | 12 | [*.java] 13 | indent_style=tab 14 | tab_width=4 15 | 16 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | /.github/ @genexuslabs/workflow-codeowners 2 | -------------------------------------------------------------------------------- /.github/workflows/call-beta-bot.yml: -------------------------------------------------------------------------------- 1 | name: Call Beta Bot 2 | 3 | on: 4 | # Triggers the workflow on push to beta branch or changes in a pull request to main branch 5 | push: 6 | branches: [ "beta" ] 7 | pull_request: 8 | types: [ opened, synchronize, reopened, ready_for_review, closed, labeled, unlabeled ] 9 | branches: [ "master" ] 10 | 11 | # Allows you to run this workflow manually from the Actions tab 12 | workflow_dispatch: 13 | 14 | jobs: 15 | call-workflow: 16 | if: github.repository_owner == 'genexuslabs' 17 | uses: genexuslabs/build-genexus-reusable-workflow/.github/workflows/run-beta-bot.yml@main 18 | secrets: inherit 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Maven 2 | log/ 3 | target/ 4 | 5 | # Intellij IDEA 6 | .idea/ 7 | *.iml 8 | 9 | # Mac OS 10 | .DS_Store 11 | 12 | .vscode/ 13 | 14 | .project 15 | .factorypath 16 | .classpath 17 | .settings 18 | *.versionsBackup 19 | .flattened-pom.xml 20 | 21 | *.xlsx 22 | 23 | PublicTempStorage/ 24 | PrivateTempStorage/ 25 | gxexternalproviders/resources/ 26 | .devcontainer/.env 27 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/base/services/AndroidContext.java: -------------------------------------------------------------------------------- 1 | package com.artech.base.services; 2 | 3 | public class AndroidContext { 4 | 5 | public static IContext ApplicationContext = null; 6 | } 7 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/base/services/IAndroidSession.java: -------------------------------------------------------------------------------- 1 | package com.artech.base.services; 2 | 3 | public interface IAndroidSession 4 | { 5 | public void setValue(String key, String value); 6 | public String getValue(String key); 7 | public void clear(); 8 | public void destroy(); 9 | public void remove(String key); 10 | 11 | //new for store values as Objects 12 | public void setObject(String key, Object value); 13 | public Object getObject(String key); 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/base/services/IBluetoothPrinter.java: -------------------------------------------------------------------------------- 1 | package com.artech.base.services; 2 | 3 | import java.io.FileInputStream; 4 | 5 | public interface IBluetoothPrinter 6 | { 7 | public boolean print( FileInputStream in); 8 | 9 | public void cleanUp(); 10 | 11 | 12 | } 13 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/base/services/IEntity.java: -------------------------------------------------------------------------------- 1 | package com.artech.base.services; 2 | 3 | 4 | public interface IEntity extends IPropertiesObject 5 | { 6 | 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/base/services/IEntityList.java: -------------------------------------------------------------------------------- 1 | package com.artech.base.services; 2 | 3 | 4 | public interface IEntityList 5 | { 6 | void add(IEntity entity); 7 | } 8 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/base/services/IGxDataProvider.java: -------------------------------------------------------------------------------- 1 | package com.artech.base.services; 2 | 3 | public interface IGxDataProvider 4 | { 5 | //use to call dp with data with no list 6 | // use GxUri: getParameters() , getOrder(), getSearchText() to get parameters 7 | public IPropertiesObject execute(IGxUri gxUri, int sessionId, int start, int count); 8 | } 9 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/base/services/IGxProcedure.java: -------------------------------------------------------------------------------- 1 | package com.artech.base.services; 2 | 3 | public interface IGxProcedure 4 | { 5 | public boolean execute(IPropertiesObject parameters); 6 | } 7 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/base/services/IGxUri.java: -------------------------------------------------------------------------------- 1 | package com.artech.base.services; 2 | 3 | public interface IGxUri 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/base/services/IPropertiesObject.java: -------------------------------------------------------------------------------- 1 | package com.artech.base.services; 2 | 3 | public interface IPropertiesObject 4 | { 5 | public Object getProperty(String name); 6 | public boolean setProperty(String name, Object value); 7 | public String optStringProperty(String name); 8 | } 9 | -------------------------------------------------------------------------------- /android/src/main/java/com/artech/events/IEventsExecutor.java: -------------------------------------------------------------------------------- 1 | package com.artech.events; 2 | 3 | import com.artech.base.services.IPropertiesObject; 4 | 5 | public interface IEventsExecutor 6 | { 7 | 8 | // Call to UI 9 | public boolean run(String name, IPropertiesObject entity) ; 10 | 11 | // change property of a control 12 | public boolean setControlProperty(String name, String property, Object value) ; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/Version.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | public class Version 3 | { 4 | public static final String version = "16.3.131546"; 5 | public static final String nameSpace = "Genexus X Evolution 2 Java Applications"; 6 | 7 | public static final String getFullVersion() 8 | { 9 | return version; 10 | } 11 | 12 | public static void main(String arg[]) 13 | { 14 | System.out.println("Using GeneXus Standard Classes version " + getFullVersion()); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/db/SQLExceptionErrorHandler.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import java.sql.SQLException; 4 | import com.genexus.ModelContext; 5 | import com.genexus.IErrorHandler; 6 | import com.genexus.GXRuntimeException; 7 | 8 | public class SQLExceptionErrorHandler 9 | { 10 | public void handleError(IErrorHandler errorHandler, SQLException e, ModelContext context, int remoteHandle, DataStoreHelperBase helper, int cursorStatus, String table, int oper) 11 | { 12 | if (errorHandler == null) 13 | throw new GXRuntimeException(e); 14 | 15 | 16 | 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/specific/android/GXExternalFileInfo.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.android; 2 | 3 | import com.genexus.common.interfaces.IExtensionGXExternalFileInfo; 4 | import com.genexus.util.GXFileCollection; 5 | 6 | public class GXExternalFileInfo implements IExtensionGXExternalFileInfo { 7 | 8 | @Override 9 | public GXFileCollection listFiles(String filter, Object provider, String name) { 10 | return new GXFileCollection (); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/specific/android/GXSmartCacheProvider.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.android; 2 | 3 | import com.genexus.common.interfaces.IExtensionGXSmartCacheProvider; 4 | import com.genexus.common.interfaces.IGXSmartCacheProvider; 5 | 6 | public class GXSmartCacheProvider implements IExtensionGXSmartCacheProvider { 7 | 8 | @Override 9 | public IGXSmartCacheProvider createCache() { 10 | return new AndroidSmartCacheProvider(); 11 | } 12 | 13 | class AndroidSmartCacheProvider extends com.genexus.BaseProvider 14 | { 15 | 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/specific/android/LogManager.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.android; 2 | 3 | import com.genexus.common.interfaces.IExtensionLogManager; 4 | import com.genexus.diagnostics.core.ILogger; 5 | 6 | public class LogManager implements IExtensionLogManager { 7 | 8 | @Override 9 | public ILogger getLogger(Class clazz) { 10 | return new com.genexus.diagnostics.core.provider.AndroidLogger(); 11 | } 12 | 13 | @Override 14 | public ILogger getLogger(String className) { 15 | return new com.genexus.diagnostics.core.provider.AndroidLogger(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/specific/android/Messages.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.android; 2 | 3 | import java.io.InputStream; 4 | 5 | import com.artech.base.services.AndroidContext; 6 | import com.genexus.common.interfaces.IExtensionMessages; 7 | 8 | 9 | public class Messages implements IExtensionMessages { 10 | 11 | @Override 12 | public InputStream getInputStream(String resourceName) { 13 | String androidResourceName = resourceName.replace(".", "_").toLowerCase(); // $NON-NLS-1$ $NON-NLS-2$ 14 | return AndroidContext.ApplicationContext.getResourceStream(androidResourceName, "raw"); // $NON-NLS-1$ 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/specific/android/PictureFormatter.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.android; 2 | 3 | import com.genexus.common.interfaces.IExtensionPictureFormatter; 4 | 5 | public class PictureFormatter implements IExtensionPictureFormatter { 6 | 7 | @Override 8 | public String format(String value, String picture) { 9 | return value; 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/specific/android/UserLog.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.android; 2 | 3 | import com.genexus.common.interfaces.IExtensionUserLog; 4 | 5 | public class UserLog implements IExtensionUserLog { 6 | 7 | @Override 8 | public String GetLogName() { 9 | return "GeneXusUserLog"; 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/webpanels/BlobsCleaner.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | import java.util.Hashtable; 4 | 5 | public class BlobsCleaner 6 | { 7 | private static BlobsCleaner instance = null; 8 | 9 | //Blobs archived by websession id 10 | private Hashtable blobsTable; 11 | 12 | private BlobsCleaner() 13 | { 14 | } 15 | 16 | public static BlobsCleaner getInstance() 17 | { 18 | if(instance == null) 19 | { 20 | instance = new BlobsCleaner(); 21 | } 22 | return instance; 23 | } 24 | 25 | public static void endBlobCleaner() 26 | { 27 | } 28 | 29 | public synchronized void addBlobFile(String filePath) 30 | { 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/webpanels/GXWebObjectStub.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | public abstract class GXWebObjectStub 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /android/src/main/java/com/genexus/wrapper/GXCollectionWrapper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.wrapper; 2 | 3 | import java.util.List; 4 | 5 | public class GXCollectionWrapper { 6 | 7 | List list; 8 | 9 | public GXCollectionWrapper() { 10 | } 11 | 12 | public GXCollectionWrapper(List listItems) { 13 | list = listItems; 14 | } 15 | 16 | public GXCollectionWrapper(Object obj) { 17 | list = (List) obj; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /androidreports/src/main/java/com/genexus/reports/ConstAndroid.java: -------------------------------------------------------------------------------- 1 | package com.genexus.reports; 2 | 3 | public class ConstAndroid 4 | { 5 | 6 | public static final String DEFAULT_LEFT_MARGIN = "0"; 7 | public static final String DEFAULT_TOP_MARGIN = "0"; 8 | public static final String DEFAULT_BOTTOM_MARGIN = "0"; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/HTTPClient/SSLSocketException.java: -------------------------------------------------------------------------------- 1 | package HTTPClient; 2 | 3 | import java.io.IOException; 4 | public class SSLSocketException extends IOException 5 | { 6 | public SSLSocketException() { super(); } 7 | public SSLSocketException(String msg) { super(msg); } 8 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/BatchErrorManager.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus; 3 | 4 | public class BatchErrorManager implements ErrorManager 5 | { 6 | private int retries = 0; 7 | 8 | public void reset() 9 | { 10 | retries = 0; 11 | } 12 | 13 | public int runtimeError(int handle, Throwable e, String description, String detail, int retryCount) 14 | { 15 | System.err.println("Runtime Error Handle: " + handle); 16 | System.err.println("Description: " + description); 17 | System.err.println("Detail: " + detail); 18 | if(e.getMessage() != null)System.err.println(e); 19 | if (retries++ < retryCount) 20 | { 21 | System.err.println("Retrying..."); 22 | return RETRY; 23 | } 24 | 25 | return QUIT; 26 | } 27 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/DebugFlag.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import com.genexus.ModelContext; 4 | import com.genexus.diagnostics.UserLog; 5 | 6 | public class DebugFlag 7 | { 8 | public static boolean DEBUG = false; 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/DefaultErrorHandler.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus; 3 | 4 | 5 | public class DefaultErrorHandler 6 | { 7 | public void handleError(ModelContext context, int remoteHandle) 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/ErrorManager.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public interface ErrorManager 4 | { 5 | int NO_RETRY = 0; 6 | 7 | int RETRY = 1; 8 | int QUIT = 2; 9 | 10 | public int runtimeError(int handle, Throwable e, String description, String detail, int retryCount); 11 | void reset(); 12 | } 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/ErrorManagerConstants.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public class ErrorManagerConstants 4 | { 5 | public static final int NO_RETRY = ErrorManager.NO_RETRY; 6 | public static final int RETRY = ErrorManager.RETRY; 7 | public static final int QUIT = ErrorManager.QUIT; 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/GXObservable.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus; 3 | 4 | public class GXObservable extends java.util.Observable 5 | { 6 | public void forceNotify() 7 | { 8 | setChanged(); 9 | notifyObservers(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/GXRemoteException.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus; 3 | 4 | public class GXRemoteException extends Exception 5 | { 6 | public GXRemoteException(String txt) 7 | { 8 | super(txt); 9 | } 10 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/GXTransactionMethods.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public interface GXTransactionMethods 4 | { 5 | byte FIRST = 1; 6 | byte BACK = 2; 7 | byte NEXT = 3; 8 | byte LAST = 4; 9 | 10 | byte ENTER = 5; 11 | byte DELETE = 6; 12 | 13 | byte SA_STARTUP = 7; 14 | byte GETEQ = 8; 15 | byte GETEQ_NOMOD = 9; 16 | byte SA_NOMOD = 10; 17 | byte PREVIOUS = 11; 18 | byte GET = 12; 19 | byte SA_MOD = 13; 20 | 21 | byte AFTER_LEVEL = 20; 22 | 23 | byte CLEANUP = 30; 24 | 25 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/GXTypeConstants.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public final class GXTypeConstants 4 | { 5 | public static int NUMERIC = 1; 6 | public static int DATE = 2; 7 | public static int DATETIME = 3; 8 | public static int CHAR = 4; 9 | public static int VARCHAR = 5; 10 | public static int LONGVARCHAR = 6; 11 | 12 | public static boolean isCharacter(int type) 13 | { 14 | return (type == CHAR || type == VARCHAR || type == LONGVARCHAR); 15 | } 16 | 17 | public static boolean isNumeric (int type) 18 | { 19 | return (type == NUMERIC); 20 | } 21 | 22 | public static boolean isJavaDate(int type) 23 | { 24 | return (type == DATE || type == DATETIME); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/GxJsonArray.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public class GxJsonArray 4 | { 5 | public GxJsonArray(String jsonSTR) 6 | { 7 | this.jsonSTR = jsonSTR; 8 | } 9 | 10 | private String jsonSTR; 11 | 12 | public String toJson() 13 | { 14 | return jsonSTR; 15 | } 16 | 17 | public void fromJson(String jsonSTR) 18 | { 19 | this.jsonSTR = jsonSTR; 20 | } 21 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/GxKey.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import java.lang.annotation.*; 4 | 5 | @Retention(RetentionPolicy.RUNTIME) 6 | @Target(ElementType.METHOD) 7 | public @interface GxKey { } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/GxRegexMatch.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import com.genexus.internet.*; 4 | 5 | public class GxRegexMatch 6 | { 7 | private String value; 8 | private StringCollection gropus = new StringCollection(); 9 | 10 | public GxRegexMatch() 11 | { 12 | this("", new StringCollection()); 13 | } 14 | 15 | public GxRegexMatch(String value, StringCollection gropus) 16 | { 17 | this.value = value; 18 | this.gropus = gropus; 19 | } 20 | 21 | public String getValue() 22 | { 23 | return value; 24 | } 25 | 26 | public StringCollection getGroups() 27 | { 28 | return gropus; 29 | } 30 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/GxSeudo.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import java.lang.annotation.*; 4 | 5 | @Retention(RetentionPolicy.RUNTIME) 6 | @Target(ElementType.METHOD) 7 | public @interface GxSeudo { } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/GxUpload.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import java.lang.annotation.*; 4 | 5 | @Retention(RetentionPolicy.RUNTIME) 6 | @Target(ElementType.METHOD) 7 | public @interface GxUpload { } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/HTMLDocType.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | public enum HTMLDocType 3 | { 4 | HTML4, 5 | HTML4S, 6 | XHTML1, 7 | HTML5, 8 | NONE, 9 | UNDEFINED 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/HTMLElement.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | public enum HTMLElement 3 | { 4 | IMG, 5 | SPAN, 6 | INPUT, 7 | META, 8 | LINK, 9 | OPTION 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/IApplicationServerContext.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | package com.genexus; 4 | 5 | public interface IApplicationServerContext 6 | { 7 | void stopServer(); 8 | void restartServer(); 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/ICacheService.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import java.util.List; 4 | /** 5 | * @deprecated Use {@link ICacheService2} instead 6 | */ 7 | @Deprecated 8 | public interface ICacheService 9 | { 10 | boolean containtsKey(String cacheid, String key); 11 | T get(String cacheid, String key, Class type); 12 | void set(String cacheid, String key, T value); 13 | void set(String cacheid, String key, T value, int duration); 14 | void clear(String cacheid, String key); 15 | void clearCache(String cacheid); 16 | void clearKey(String key); 17 | void clearAllCaches(); 18 | } 19 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/ICacheService2.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import java.util.List; 4 | 5 | public interface ICacheService2 extends ICacheService 6 | { 7 | List getAll(String cacheid, String[] keys, Class type); 8 | void setAll(String cacheid, String[] keys, T[] values, int expirationSeconds); 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/ICleanedup.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public interface ICleanedup 4 | { 5 | void cleanup(); 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/IErrorHandler.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public interface IErrorHandler 4 | { 5 | void handleError(); 6 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/IGXAssigned.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | public interface IGXAssigned 3 | { 4 | boolean getIsAssigned(); 5 | void setIsAssigned(boolean bAssigned); 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/IGXFTPSafe.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public interface IGXFTPSafe { 4 | 5 | void lastError(int[] lastError); 6 | int getLastError(); 7 | void connect(final String host, final String user, final String password); 8 | void disconnect(); 9 | void status(String[] status); 10 | String getStatus(); 11 | void get(final String source, final String target, final String mode); 12 | void put(final String source, final String target, final String mode); 13 | void delete(final String source); 14 | void mkdir(final String mkpath); 15 | void command(final String cmd); 16 | void setPassive(boolean passive); 17 | } 18 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/IGxSilentTrnGridItem.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus; 3 | 4 | public interface IGxSilentTrnGridItem 5 | { 6 | short getgxTpr_Modified(); 7 | void setgxTpr_Modified(int GXTpr_Modified); 8 | void setgxTpr_Mode(String setGXTpr_Mode); 9 | String getgxTpr_Mode(); 10 | } 11 | 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/ISessionInstances.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public interface ISessionInstances { 4 | IGXMailer getMailer(); 5 | IGXFTPSafe getFTP(); 6 | IXMLWriter getXMLWriter(); 7 | IDelimitedFilesSafe getDelimitedFiles(); 8 | void cleanup(); 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/ISubmitteable.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import java.sql.SQLException; 4 | 5 | import com.genexus.ModelContext; 6 | 7 | public interface ISubmitteable 8 | { 9 | public void submit(int submitId, Object []submitParms, ModelContext ctx); 10 | public void submit(int submitId, Object []submitParms); 11 | public void submitReorg(int submitId, Object []submitParms) throws SQLException; 12 | } 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/ProcessInterruptedException.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public class ProcessInterruptedException extends RuntimeException 4 | { 5 | public ProcessInterruptedException(String exc) 6 | { 7 | super(exc); 8 | } 9 | 10 | public ProcessInterruptedException() 11 | { 12 | super(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/RunnableThrows.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus; 3 | 4 | public interface RunnableThrows 5 | { 6 | Object run() throws Exception; 7 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/SDServerAPI.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import com.genexus.GXSmartCacheProvider; 4 | 5 | public class SDServerAPI 6 | { 7 | 8 | static public void invalidateCache() 9 | { 10 | GXSmartCacheProvider.invalidateAll(); 11 | } 12 | 13 | static public void invalidateCacheItem(String item) 14 | { 15 | GXSmartCacheProvider.invalidate(item); 16 | } 17 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/TypeConstants.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus; 3 | 4 | public class TypeConstants 5 | { 6 | public static final int BYTE = 1; 7 | public static final int SHORT = 2; 8 | public static final int INT = 3; 9 | public static final int LONG = 4; 10 | public static final int FLOAT = 5; 11 | public static final int DOUBLE = 6; 12 | public static final int STRING = 7; 13 | public static final int DATE = 8; 14 | public static final int DECIMAL= 9; 15 | public static final int BOOLEAN= 10; 16 | public static final int BLOB = 11; 17 | public static final int OBJECT_COLLECTION = 12; 18 | public static final int UUID = 13; 19 | public static final int ARRAY = 1 << 15; 20 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/com/IHttpResponse.java: -------------------------------------------------------------------------------- 1 | package com.genexus.com; 2 | 3 | import java.io.IOException; 4 | import java.io.OutputStream; 5 | 6 | public interface IHttpResponse { 7 | 8 | OutputStream getOutputStream() throws IOException; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/classes/AbstractDataSource.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.classes; 2 | 3 | public abstract class AbstractDataSource { 4 | public String name; 5 | public String getName() { return name; } 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/classes/AbstractDataStoreProviderBase.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.classes; 2 | 3 | import java.sql.SQLException; 4 | 5 | import com.genexus.db.IDataStoreHelper; 6 | 7 | 8 | public abstract class AbstractDataStoreProviderBase { 9 | 10 | public abstract AbstractGXConnection getConnection() throws SQLException; 11 | 12 | public abstract IDataStoreHelper getHelper() ; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/classes/AbstractGXDbFile.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.classes; 2 | 3 | public abstract class AbstractGXDbFile { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/classes/AbstractNamespace.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.classes; 2 | 3 | public abstract class AbstractNamespace { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/classes/AbstractPreferences.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.classes; 2 | 3 | public abstract class AbstractPreferences { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/classes/AbstractUserInformation.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.classes; 2 | 3 | public abstract class AbstractUserInformation { 4 | 5 | public abstract void setLocalUtil(char decimalPoint, String dateFormat, String timeFormat, int firstYear2K, String language); 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionBatchUpdateCursor.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | 4 | 5 | public interface IExtensionBatchUpdateCursor { 6 | boolean supportsSavePoint(Object ds); 7 | } 8 | 9 | 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionCursor.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IExtensionCursor { 4 | 5 | int getCacheableLevel(int cacheableLvl); 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionDynamicExecute.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IExtensionDynamicExecute { 4 | boolean getIsWebContext(Object context); 5 | } 6 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionGXDirectory.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IExtensionGXDirectory { 4 | 5 | String getApplicationDataPath(); 6 | 7 | String getTemporaryFilesPath(); 8 | 9 | String getExternalFilesPath(); 10 | 11 | String getCacheFilesPath(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionGXExternalFileInfo.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | 4 | 5 | public interface IExtensionGXExternalFileInfo { 6 | 7 | Object listFiles(String filter, Object provider, String name); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionGXSilentTrnSdt.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IExtensionGXSilentTrnSdt { 4 | 5 | IPendingEventHelper CreatePendingEventHelper(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionGXSmartCacheProvider.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IExtensionGXSmartCacheProvider { 4 | 5 | IGXSmartCacheProvider createCache(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionGXXMLSerializable.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | 4 | 5 | public interface IExtensionGXXMLSerializable { 6 | 7 | void addExternalSoapHandler(int remoteHandle, Object context, String serviceName, Object objProvider); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionGXXMLSerializer.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IExtensionGXXMLSerializer { 4 | 5 | String serialize(boolean includeHeader, Object instance, Class[] classes); 6 | 7 | String serialize(boolean includeHeader, Object instance, String name, Class[] classes); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionHTTPConnection.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | import HTTPClient.HTTPConnection; 4 | import HTTPClient.ProtocolNotSuppException; 5 | 6 | public interface IExtensionHTTPConnection { 7 | 8 | void createHttpConnectionFromApplet(Object applet, HTTPConnection httpConnection) throws ProtocolNotSuppException; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionHttpClient.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | import com.genexus.internet.IHttpClient; 4 | 5 | import javax.net.ssl.SSLSocket; 6 | import java.util.Hashtable; 7 | 8 | 9 | 10 | public interface IExtensionHttpClient { 11 | 12 | void addSDHeaders(String host, String baseURL, Hashtable headersToSend); 13 | 14 | String normalizeEncodingName(String charset, String string); 15 | 16 | String beforeAddFile(String fileName); 17 | 18 | void initializeHttpClient(Object client); 19 | 20 | void prepareSSLSocket(SSLSocket sock); 21 | 22 | IHttpClient initHttpClientImpl(); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionHttpCookie.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | 4 | public interface IExtensionHttpCookie { 5 | 6 | boolean getHttpOnly(); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionImagesPath.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | import java.io.InputStream; 4 | 5 | public interface IExtensionImagesPath { 6 | 7 | InputStream getInputStream(String kBId); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionJSONSerialization.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | import com.genexus.json.JSONObjectWrapper; 4 | import org.json.JSONTokener; 5 | 6 | import java.util.Iterator; 7 | import java.util.Map; 8 | 9 | public interface IExtensionJSONSerialization { 10 | Iterator> getJSONObjectIterator(JSONObjectWrapper obj); 11 | JSONTokener getJSONTokener(String s); 12 | public Map getJSONObjectMap(JSONObjectWrapper obj); 13 | } 14 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionLocalUtil.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IExtensionLocalUtil { 4 | 5 | String getLanguage(String language); 6 | 7 | boolean IsBlankEmptyDate(); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionLogManager.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | import com.genexus.diagnostics.core.ILogger; 4 | 5 | public interface IExtensionLogManager { 6 | 7 | ILogger getLogger(Class clazz); 8 | 9 | ILogger getLogger(String className); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionMessages.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | import java.io.InputStream; 4 | 5 | public interface IExtensionMessages { 6 | 7 | InputStream getInputStream(String resourceName); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionNativeFunctions.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | import com.genexus.platform.INativeFunctions; 4 | import com.genexus.util.IThreadLocal; 5 | import com.genexus.util.IThreadLocalInitializer; 6 | 7 | public interface IExtensionNativeFunctions { 8 | 9 | IThreadLocal newThreadLocal(IThreadLocalInitializer initializer); 10 | 11 | INativeFunctions getInstance(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionPictureFormatter.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IExtensionPictureFormatter { 4 | 5 | String format(String value, String picture); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionSdtMessages_Message.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | 4 | 5 | public interface IExtensionSdtMessages_Message { 6 | 7 | void sdttoentity(Object sdt, Object androidEntity); 8 | 9 | void entitytosdt(Object androidEntity, Object sdt); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IExtensionUserLog.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IExtensionUserLog { 4 | 5 | String GetLogName(); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXSmartCacheProvider.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | import java.util.Date; 4 | import java.util.Vector; 5 | import java.util.concurrent.ConcurrentHashMap; 6 | 7 | 8 | public interface IGXSmartCacheProvider { 9 | 10 | Object getUpdatedTables(); 11 | 12 | boolean isEnabled(); 13 | 14 | void invalidateAll(); 15 | 16 | void invalidate(String item); 17 | 18 | void recordUpdates(int handle); 19 | 20 | void setUpdated(String table, int handle); 21 | 22 | void discardUpdates(int handle); 23 | 24 | Object CheckDataStatus(String queryId, Date dateLastModified, Date[] dateUpdated_arr); 25 | 26 | ConcurrentHashMap> queryTables(); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXWSAddressing.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IGXWSAddressing 4 | { 5 | 6 | String getTo(); 7 | void setTo(String to); 8 | String getAction(); 9 | void setAction(String action); 10 | String getMessageID(); 11 | void setMessageID(String messageID); 12 | String getRelatesTo(); 13 | void setRelatesTo(String relatesTo); 14 | IGXWSAddressingEndPoint getFrom(); 15 | void setFrom(IGXWSAddressingEndPoint from); 16 | IGXWSAddressingEndPoint getReplyTo(); 17 | void setReplyTo(IGXWSAddressingEndPoint replyTo); 18 | IGXWSAddressingEndPoint getFaultTo(); 19 | void setFaultTo(IGXWSAddressingEndPoint faultTo); 20 | } 21 | 22 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXWSAddressingEndPoint.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IGXWSAddressingEndPoint 4 | { 5 | String getAddress(); 6 | void setAddress(String address); 7 | String getPortType(); 8 | void setPortType(String portType); 9 | String getServiceName(); 10 | void setServiceName(String serviceName); 11 | String getProperties(); 12 | void setProperties(String properties); 13 | String getParameters(); 14 | void setParameters(String parameters); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXWSEncryption.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IGXWSEncryption 4 | { 5 | String getAlias(); 6 | void setAlias(String alias); 7 | IGXWSSecurityKeyStore getKeystore(); 8 | void setKeystore(IGXWSSecurityKeyStore keystore); 9 | int getKeyIdentifierType(); 10 | void setKeyIdentifierType(int keyIdentifierType); 11 | } 12 | 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXWSSecurity.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IGXWSSecurity 4 | { 5 | public IGXWSSignature getSignature(); 6 | void setSignature(IGXWSSignature signature); 7 | IGXWSEncryption getEncryption(); 8 | void setEncryption(IGXWSEncryption encryption); 9 | int getExpirationTimeout(); 10 | void setExpirationTimeout(int expiresTimeout); 11 | } 12 | 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXWSSecurityKeyStore.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IGXWSSecurityKeyStore 4 | { 5 | String getType(); 6 | void setType(String type); 7 | String getPassword(); 8 | void setPassword(String password); 9 | String getSource(); 10 | void setSource(String source); 11 | } 12 | 13 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXWSSignature.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IGXWSSignature 4 | { 5 | String getAlias(); 6 | void setAlias(String alias); 7 | IGXWSSecurityKeyStore getKeystore(); 8 | void setKeystore(IGXWSSecurityKeyStore keystore); 9 | int getKeyIdentifierType(); 10 | void setKeyIdentifierType(int keyIdentifierType); 11 | String getCanonicalizationalgorithm(); 12 | void setCanonicalizationalgorithm(String algorithm); 13 | String getDigest(); 14 | void setDigest(String digest); 15 | String getSignaturealgorithm(); 16 | void setSignaturealgorithm(String algorithm); 17 | } 18 | 19 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXWebGrid.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | import org.json.JSONArray; 4 | 5 | public interface IGXWebGrid { 6 | Object GetJSONObject(); 7 | JSONArray GetValues(); 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXWebRow.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IGXWebRow { 4 | IGXWebGrid getParentGrid(); 5 | void AddHidden(String name, Object value); 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGXWindow.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IGXWindow { 4 | Object GetJSONObject(); 5 | void setUrl(String url); 6 | void setReturnParms(Object[] retParms); 7 | String getUrl(); 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IGxEjbContext.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IGxEjbContext { 4 | String getUserId(); 5 | void setRollback(); 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IHttpContextNull.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IHttpContextNull { 4 | } 5 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IPendingEventHelper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | 4 | 5 | public interface IPendingEventHelper { 6 | 7 | void prePendingEvents(Object trn, Object t); 8 | 9 | void postPendingEvents(Object trn, Object t); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IPreferences.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IPreferences { 4 | 5 | String getBLOB_PATH(); 6 | 7 | int getSUBMIT_POOL_SIZE(); 8 | 9 | byte getREMOTE_CALLS(); 10 | 11 | com.genexus.util.IniFile getIniFile(); 12 | 13 | String getNAME_SPACE(); 14 | 15 | String getNAME_HOST(); 16 | 17 | String getServerKey(); 18 | 19 | String getSiteKey(); 20 | 21 | String getEvent(String after_connect); 22 | 23 | String getProperty(String server_name, String s); 24 | 25 | boolean propertyExists(String drawGridsAtServer); 26 | 27 | String getORQ_SERVER_DIR(); 28 | 29 | String getORQ_CLIENT_URL(); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/common/interfaces/IReorganization.java: -------------------------------------------------------------------------------- 1 | package com.genexus.common.interfaces; 2 | 3 | public interface IReorganization { 4 | 5 | boolean executedBefore(String statement); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/cryptography/hashing/IGXHashing.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.hashing; 2 | 3 | import java.security.InvalidKeyException; 4 | import java.security.SignatureException; 5 | 6 | 7 | public interface IGXHashing { 8 | String computeHash(String text); 9 | String computeHashKey(String text, String key) throws SignatureException, InvalidKeyException; 10 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/cryptography/hashing/IGXIncrementalHashing.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.hashing; 2 | 3 | public interface IGXIncrementalHashing { 4 | 5 | void initData(String text); 6 | void appendRawData(String text); 7 | void appendData(String text); 8 | String getHashRaw(); 9 | String getHash(); 10 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/BatchUpdateStmt.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import com.genexus.common.classes.IGXPreparedStatement; 4 | 5 | 6 | public class BatchUpdateStmt { 7 | IGXPreparedStatement stmt; 8 | 9 | public BatchUpdateStmt() { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/CommonDataStoreHelperBase.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | public abstract class CommonDataStoreHelperBase 4 | { 5 | public static final int GX_ROLLBACKSAVEPOINT = 64; 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/ConnectionInformation.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import com.genexus.common.classes.AbstractGXConnection; 4 | 5 | 6 | public class ConnectionInformation 7 | { 8 | AbstractGXConnection roConnection; 9 | public AbstractGXConnection rwConnection; 10 | String user; 11 | String password; 12 | 13 | ConnectionInformation() 14 | { 15 | } 16 | 17 | ConnectionInformation(AbstractGXConnection rwConnection, AbstractGXConnection roConnection, String user, String password) 18 | { 19 | this.rwConnection = rwConnection; 20 | this.roConnection = roConnection; 21 | this.user = user; 22 | this.password = password; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/DefaultConnectionProvider.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import com.genexus.common.classes.AbstractGXConnection; 4 | import com.genexus.ModelContext; 5 | import com.genexus.common.interfaces.SpecificImplementation; 6 | 7 | import java.sql.SQLException; 8 | 9 | public class DefaultConnectionProvider implements IConnectionProvider 10 | { 11 | public AbstractGXConnection getConnection(ModelContext context, int remoteHandle, String dataStore, boolean readOnly, boolean sticky) throws SQLException 12 | { 13 | return SpecificImplementation.Application.getConnection(context, remoteHandle, dataStore, readOnly, sticky); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/GxCacheFrequency.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | public final class GxCacheFrequency { 4 | public static final int OFF = 0; 5 | public static final int TIME_TO_TIME = 1; 6 | public static final int HARDLY_EVER = 2; 7 | public static final int ALMOST_NEVER = 3; 8 | } 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/IConnectionProvider.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | 4 | import com.genexus.common.classes.AbstractGXConnection; 5 | import com.genexus.ModelContext; 6 | import java.sql.SQLException; 7 | 8 | public interface IConnectionProvider 9 | { 10 | public AbstractGXConnection getConnection(ModelContext context, int remoteHandle, String dataStore, boolean readOnly, boolean sticky) throws SQLException; 11 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/IDataStoreHelper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import com.genexus.IHttpContext; 4 | import com.genexus.ModelContext; 5 | 6 | 7 | public interface IDataStoreHelper 8 | { 9 | Cursor[] getCursors(); 10 | IConnectionProvider getConnectionProvider(); 11 | boolean needsReadOnlyConnection(); 12 | String getDataStoreName(); 13 | Object[] getDynamicStatement( int cursor , ModelContext context, int remoteHandle, IHttpContext httpContext, Object [] dynConstraints ); 14 | void setParametersRT(int cursor, IFieldSetter stmt, Object[] buffers); 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/IForEachCursor.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import com.genexus.common.classes.AbstractDataSource; 4 | import java.sql.SQLException; 5 | 6 | interface IForEachCursor 7 | { 8 | public void setStatus(int status); 9 | public Object[] getBuffers(); 10 | 11 | public boolean hasResult(); 12 | 13 | public IGXResultSet getResultSet(); 14 | 15 | public boolean next(AbstractDataSource dataSource) throws SQLException; 16 | 17 | public int getStatus(); 18 | 19 | public void setOutputBuffers(Object[] buffers); 20 | 21 | public void clearBuffers(); 22 | } 23 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/IGXCallableStatement.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | public interface IGXCallableStatement { 6 | 7 | void registerOutParameter(int i, int c) throws SQLException; 8 | 9 | String getString(int i) throws SQLException; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/IGXResultSet.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import java.sql.Blob; 4 | import java.sql.SQLException; 5 | 6 | public interface IGXResultSet { 7 | 8 | boolean next() throws SQLException; 9 | 10 | Blob getBlob(int index) throws SQLException; 11 | 12 | void close() throws SQLException; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/ILocalDataStoreHelper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import com.genexus.db.IFieldSetter; 4 | import com.genexus.common.classes.IGXPreparedStatement; 5 | import com.genexus.db.IFieldGetter; 6 | import java.sql.SQLException; 7 | 8 | public interface ILocalDataStoreHelper extends IDataStoreHelper 9 | { 10 | void setParameters(int cursor, IFieldSetter stmt, Object[] buffers) throws SQLException; 11 | void getResults(int cursor, IFieldGetter rslt, Object[] buffers) throws SQLException; 12 | void getErrorResults(int cursor, IFieldGetter rslt, Object[] buf) throws SQLException; 13 | } 14 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/db/ReturnInErrorHandlerException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | public class ReturnInErrorHandlerException extends RuntimeException{ 4 | public ReturnInErrorHandlerException() { 5 | super(); 6 | } 7 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/diagnostics/LogLevel.java: -------------------------------------------------------------------------------- 1 | package com.genexus.diagnostics; 2 | 3 | public class LogLevel { 4 | 5 | static final int OFF = 0; 6 | static final int TRACE = 1; 7 | static final int DEBUG = 5; 8 | static final int INFO = 10; 9 | static final int WARNING = 15; 10 | static final int ERROR = 20; 11 | static final int FATAL = 30; 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/diagnostics/core/LogManager.java: -------------------------------------------------------------------------------- 1 | package com.genexus.diagnostics.core; 2 | 3 | import com.genexus.common.interfaces.SpecificImplementation; 4 | 5 | public class LogManager { 6 | 7 | public static ILogger getLogger(final Class clazz) { 8 | if (SpecificImplementation.LogManager != null) 9 | return SpecificImplementation.LogManager.getLogger(clazz); 10 | 11 | return null; 12 | } 13 | 14 | public static ILogger getLogger(String className) { 15 | if (SpecificImplementation.LogManager != null) 16 | return SpecificImplementation.LogManager.getLogger(className); 17 | 18 | return null; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/internet/DummyOutputStream.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | import java.io.IOException; 4 | 5 | public class DummyOutputStream extends java.io.OutputStream { 6 | 7 | public void write(int arg0) throws IOException { 8 | 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/internet/IGxJSONAble.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | public interface IGxJSONAble 4 | { 5 | void tojson(); 6 | void AddObjectProperty(String name, Object prop); 7 | Object GetJSONObject(); 8 | Object GetJSONObject(boolean includeState); 9 | void FromJSONObject(Object obj); 10 | String ToJavascriptSource(); 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/internet/IGxJSONSerializable.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | import com.genexus.SdtMessages_Message; 3 | import com.genexus.GXBaseCollection; 4 | 5 | public interface IGxJSONSerializable 6 | { 7 | Object GetJSONObject(); 8 | String toJSonString(); 9 | boolean fromJSonString(String s); 10 | boolean fromJSonString(String s, GXBaseCollection messages); 11 | } 12 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/internet/IHttpRequest.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | 6 | public interface IHttpRequest { 7 | 8 | InputStream getInputStream() throws IOException; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/json/JSONArrayWrapper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.json; 2 | 3 | import org.json.JSONArray; 4 | 5 | import java.util.LinkedHashMap; 6 | 7 | public class JSONArrayWrapper extends JSONArray implements java.io.Serializable{ 8 | 9 | public JSONArrayWrapper() { 10 | super(); 11 | } 12 | 13 | public JSONArrayWrapper(String string) { 14 | super(string); 15 | } 16 | 17 | public JSONArrayWrapper(JSONArray array) { 18 | super(array); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/opentelemetry/OpenTelemetryHelper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.opentelemetry; 2 | 3 | import io.opentelemetry.api.trace.Span; 4 | 5 | public class OpenTelemetryHelper { 6 | 7 | public static void recordException(Span span, Throwable exc) { 8 | if (span != null && exc != null) { 9 | span.recordException(exc); 10 | } 11 | } 12 | 13 | public static void recordException(Throwable exc) { 14 | recordException(Span.current(), exc); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/properties/GXObjectsConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.genexus.properties; 2 | 3 | import java.util.HashMap; 4 | 5 | public class GXObjectsConfiguration { 6 | 7 | private HashMap properties = new HashMap(); 8 | 9 | public GXObjectProperties propertiesFor(String objName) 10 | { 11 | if (!properties.containsKey(objName)) 12 | properties.put(objName, new GXObjectProperties()); 13 | return properties.get(objName); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/security/GXResult.java: -------------------------------------------------------------------------------- 1 | package com.genexus.security; 2 | 3 | public class GXResult 4 | { 5 | String code; 6 | 7 | public String getCode() 8 | { 9 | return code; 10 | } 11 | 12 | public void setCode(String code) 13 | { 14 | this.code = code; 15 | } 16 | 17 | String description; 18 | 19 | public String getDescription() 20 | { 21 | return description; 22 | } 23 | 24 | public void setDescription(String description) 25 | { 26 | this.description = description; 27 | } 28 | 29 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/security/OutData.java: -------------------------------------------------------------------------------- 1 | package com.genexus.security; 2 | 3 | import java.util.HashMap; 4 | 5 | public class OutData extends HashMap 6 | { 7 | /** 8 | * 9 | */ 10 | private static final long serialVersionUID = 1L; 11 | String jsonString; 12 | 13 | public String getjsonString() 14 | { 15 | return jsonString; 16 | } 17 | 18 | public void setjsonString(String jsonString) 19 | { 20 | this.jsonString = jsonString; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/services/ServiceConfigurationException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.services; 2 | 3 | public class ServiceConfigurationException extends Throwable { 4 | public ServiceConfigurationException(String errorMessage) { 5 | super(errorMessage); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/CSSHelper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | 4 | import java.util.regex.Pattern; 5 | 6 | public class CSSHelper 7 | { 8 | private static Pattern multiSemicolonRegex = Pattern.compile(";{2,}"); 9 | 10 | public static String Prettify(String uglyCSS) 11 | { 12 | return CleanupSemicolons(uglyCSS); 13 | } 14 | 15 | public static String CleanupSemicolons(String uglyCSS) 16 | { 17 | if (uglyCSS.length() > 1) 18 | { 19 | String betterCSS = multiSemicolonRegex.matcher(uglyCSS).replaceAll(";"); 20 | return betterCSS.charAt(0) == ';' ? betterCSS.substring(1) : betterCSS; 21 | } 22 | return uglyCSS; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/Comparator.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public interface Comparator 4 | { 5 | int compare(Object o1, Object o2); 6 | } 7 | 8 | 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/Comparer.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public interface Comparer 4 | { 5 | int compare(Object o1, Object o2); 6 | } 7 | 8 | 9 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/FastByteArrayOutputStream.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | import java.io.*; 4 | 5 | public class FastByteArrayOutputStream extends ByteArrayOutputStream 6 | { 7 | public void writeToOutputStream(OutputStream o) throws IOException 8 | { 9 | o.write(buf, 0, count); 10 | } 11 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/FileUtilities.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | import java.io.*; 4 | 5 | public class FileUtilities 6 | { 7 | 8 | public static String getCurrentPath() 9 | { 10 | String fileWithPoint = new File(".").getAbsolutePath(); 11 | int length = fileWithPoint.length(); 12 | 13 | // Pone el '.' al final. 14 | if (length > 0 && fileWithPoint.charAt(length - 1) == '.') 15 | fileWithPoint = fileWithPoint.substring(0, length -1); 16 | 17 | // Devuelve un \\ al final si est� en el directorio raiz. 18 | if (fileWithPoint.endsWith(File.separator + File.separator)) 19 | fileWithPoint = fileWithPoint.substring(0, fileWithPoint.length() - 1); 20 | 21 | return fileWithPoint; 22 | } 23 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/GUIContextNull.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public class GUIContextNull implements IGUIContext 4 | { 5 | public void msgStatus(String msg) 6 | { 7 | System.out.println(msg); 8 | } 9 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/GXDirectoryCollection.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | import java.util.Vector; 4 | 5 | public class GXDirectoryCollection { 6 | private Vector vector = new Vector<>(); 7 | 8 | public GXDirectoryCollection() { 9 | } 10 | 11 | public void add(GXDirectory file) 12 | { 13 | vector.addElement(file); 14 | } 15 | 16 | public GXDirectory item(int idx) 17 | { 18 | return vector.elementAt(idx - 1); 19 | } 20 | 21 | public int getItemCount() 22 | { 23 | return vector.size(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/GXFileCollection.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | import java.util.Vector; 4 | 5 | import com.genexus.common.classes.AbstractGXFile; 6 | 7 | public class GXFileCollection { 8 | private Vector vector = new Vector(); 9 | 10 | public GXFileCollection() { 11 | } 12 | 13 | public void add(AbstractGXFile file) 14 | { 15 | vector.addElement(file); 16 | } 17 | 18 | public AbstractGXFile item(int idx) 19 | { 20 | Object o = vector.elementAt(idx - 1); 21 | return (AbstractGXFile) o; 22 | } 23 | 24 | public int getItemCount() 25 | { 26 | return vector.size(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/GXProperty.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public class GXProperty { 4 | public String name; 5 | public String value; 6 | 7 | public GXProperty() {} 8 | 9 | public GXProperty(String name, String value){ 10 | this.name = name; 11 | this.value = value; 12 | } 13 | 14 | public String getKey() 15 | { 16 | return name; 17 | } 18 | 19 | public String getValue() 20 | { 21 | return value; 22 | } 23 | 24 | public void setKey(String name) 25 | { 26 | this.name = name; 27 | } 28 | 29 | public void setValue(String value) 30 | { 31 | this.value = value; 32 | } 33 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/GXSimpleDateFormat.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | import java.text.*; 4 | import java.util.*; 5 | 6 | 7 | public class GXSimpleDateFormat extends SimpleDateFormat 8 | { 9 | public GXSimpleDateFormat(String format) 10 | { 11 | this(format, Locale.ENGLISH); 12 | } 13 | 14 | public GXSimpleDateFormat(String format, Locale locale) 15 | { 16 | super(format, locale); 17 | setLenient(false); 18 | } 19 | 20 | 21 | public String gxFormat(Date date) //tenemos que usar un nombre nuevo porque format es 'final' 22 | { 23 | return super.format(date); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/GXTimeZone.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | import java.util.*; 4 | 5 | public class GXTimeZone 6 | { 7 | private static TimeZone originalTimeZone; 8 | 9 | public static TimeZone getDefaultOriginal() 10 | { 11 | return GXTimeZone.getDefault(); 12 | } 13 | 14 | public static TimeZone getDefault() 15 | { 16 | TimeZone tz = TimeZone.getDefault(); 17 | return tz; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/GxFileInfoSourceType.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public enum GxFileInfoSourceType { 4 | Unknown, 5 | LocalFile, 6 | ExternalFile 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/ICommandQueue.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public interface ICommandQueue 4 | { 5 | void addCommand(Runnable cmd); 6 | } 7 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/IGUIContext.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public interface IGUIContext 4 | { 5 | public void msgStatus(String msg); 6 | } 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/IThreadLocal.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public interface IThreadLocal 4 | { 5 | Object get(); 6 | void set(Object value); 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/IThreadLocalInitializer.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus.util; 3 | 4 | public interface IThreadLocalInitializer 5 | { 6 | Object initialValue(); 7 | } 8 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/NameValuePair.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public class NameValuePair 4 | { 5 | public String name; 6 | public String value; 7 | 8 | public NameValuePair(String name, String value) 9 | { 10 | this.name = name; 11 | this.value = value; 12 | } 13 | } -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/util/NullOutputStream.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | import java.io.*; 4 | 5 | /** 6 | * Acts as a sink for bytes that should disappear. 7 | */ 8 | public class NullOutputStream extends OutputStream 9 | { 10 | public void write (int b) {} 11 | public void write(byte [] p) { ; } 12 | public void write(byte [] p, int i, int s) { ; } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/xml/EndTagNode.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus.xml; 3 | 4 | public class EndTagNode extends NamedBasic 5 | { 6 | public int getNodeType() 7 | { 8 | return END_TAG; 9 | } 10 | 11 | EndTagNode(String name, String prefix, String local, String uri) 12 | { 13 | super(name, prefix, local, uri); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/xml/Pool.java: -------------------------------------------------------------------------------- 1 | package com.genexus.xml; 2 | 3 | import java.util.Vector; 4 | import java.util.Stack; 5 | 6 | public class Pool 7 | { 8 | Vector usedObjects; 9 | Stack freeObjects; 10 | 11 | Pool() 12 | { 13 | usedObjects = new Vector<>(); 14 | freeObjects = new Stack<>(); 15 | } 16 | 17 | Object getFree() 18 | { 19 | if (!freeObjects.empty()) 20 | { 21 | return freeObjects.pop(); 22 | 23 | } 24 | else return null; 25 | 26 | } 27 | void add(Object element) 28 | { 29 | usedObjects.addElement(element); 30 | } 31 | 32 | void free(Object element) 33 | { 34 | freeObjects.push(element); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /common/src/main/java/com/genexus/xml/ValuedNode.java: -------------------------------------------------------------------------------- 1 | package com.genexus.xml; 2 | 3 | public class ValuedNode extends Node 4 | { 5 | String m_value; 6 | int m_nodetype; 7 | 8 | public ValuedNode(int nodeType, String value) 9 | { 10 | m_nodetype = nodeType; 11 | m_value = value; 12 | } 13 | 14 | public String getValue() 15 | { 16 | return m_value; 17 | } 18 | 19 | public void setValue(String value) 20 | { 21 | m_value = value; 22 | } 23 | 24 | 25 | public int getNodeType() 26 | { 27 | return m_nodetype; 28 | } 29 | 30 | public void setNodeType(int nodeType) 31 | { 32 | m_nodetype = nodeType; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /docker-run.ps1: -------------------------------------------------------------------------------- 1 | # Start a docker container with these files in the /usr/src folder 2 | # Follow the README file to compile (mvn compile) or package (mvn package) 3 | 4 | $containerName = (Get-Item -Path .\).Name 5 | $containers = docker ps --all --format='{{json .Names}}' 6 | 7 | if ($containers -Contains "`"$($containerName)`""){ 8 | docker start -i $containerName 9 | } 10 | else { 11 | docker run -it -v "$($pwd.Path):/usr/src" -w /usr/src --name $containerName maven:3.6.1-jdk-11-slim bash 12 | } 13 | 14 | # While at the container bash, type 'exit' to stop the container, running this script again will pick up where you left -------------------------------------------------------------------------------- /gxawsserverless/GXApplicationClasses.txt: -------------------------------------------------------------------------------- 1 | com.gx.serverless.test.test_services_rest 2 | com.gx.serverless.test.receivenumber_services_rest 3 | com.gx.serverless.test.sessionset_services_rest 4 | com.genexus.serverless.proxy.test.jersey.EchoJerseyResource -------------------------------------------------------------------------------- /gxawsserverless/src/main/java/com/genexus/cloud/serverless/aws/handler/AwsGxServletResponse.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.aws.handler; 2 | 3 | import com.amazonaws.serverless.proxy.model.AwsProxyResponse; 4 | 5 | public class AwsGxServletResponse { 6 | private AwsProxyResponse response; 7 | 8 | public AwsGxServletResponse(AwsProxyResponse response){ 9 | this.response = response; 10 | } 11 | public AwsGxServletResponse(){ 12 | } 13 | 14 | public boolean wasHandled(){ 15 | return response != null; 16 | } 17 | 18 | public AwsProxyResponse getAwsProxyResponse() { 19 | return response; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /gxawsserverless/src/main/java/com/genexus/cloud/serverless/exception/FunctionConfigurationException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.exception; 2 | 3 | public class FunctionConfigurationException extends Exception { 4 | public FunctionConfigurationException(String exceptionMessage) { 5 | super(exceptionMessage); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /gxawsserverless/src/main/java/com/genexus/cloud/serverless/exception/FunctionRuntimeException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.exception; 2 | 3 | public class FunctionRuntimeException extends RuntimeException { 4 | 5 | public FunctionRuntimeException(String errorMessage, Throwable e) { 6 | super(errorMessage, e); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /gxawsserverless/src/test/java/com/gx/serverless/test/GXApplication.java: -------------------------------------------------------------------------------- 1 | package com.gx.serverless.test; 2 | 3 | import java.util.*; 4 | import javax.ws.rs.core.Application; 5 | 6 | import com.genexus.webpanels.WebUtils; 7 | 8 | public final class GXApplication extends Application { 9 | public Set> getClasses() { 10 | Set> rrcs = new HashSet>(); 11 | WebUtils.getGXApplicationClasses(getClass(), rrcs); 12 | WebUtils.AddExternalServices(getClass(), rrcs); 13 | return rrcs; 14 | } 15 | 16 | } 17 | 18 | -------------------------------------------------------------------------------- /gxawsserverless/src/test/java/com/gx/serverless/test/GXcfg.java: -------------------------------------------------------------------------------- 1 | package com.gx.serverless.test; 2 | 3 | import com.genexus.*; 4 | 5 | public final class GXcfg { 6 | public static int strcmp(String Left, 7 | String Right) { 8 | return GXutil.rtrim(Left).compareTo(GXutil.rtrim(Right)); 9 | } 10 | 11 | } 12 | 13 | -------------------------------------------------------------------------------- /gxazureserverless/src/main/java/com/genexus/cloud/serverless/exception/FunctionConfigurationException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.exception; 2 | 3 | public class FunctionConfigurationException extends Exception { 4 | public FunctionConfigurationException(String exceptionMessage) { 5 | super(exceptionMessage); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /gxazureserverless/src/main/java/com/genexus/cloud/serverless/helpers/ServiceBusProcessedMessage.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.helpers; 2 | import com.genexus.cloud.serverless.model.EventMessages; 3 | 4 | public class ServiceBusProcessedMessage { 5 | private final EventMessages _eventMessages; 6 | private final String _rawMessage; 7 | 8 | public ServiceBusProcessedMessage(EventMessages eventMessages, String rawMessage) { 9 | this._eventMessages = eventMessages; 10 | this._rawMessage = rawMessage; 11 | } 12 | 13 | public EventMessages getEventMessages() { 14 | return _eventMessages; 15 | } 16 | 17 | public String getRawMessage() { 18 | return _rawMessage; 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /gxazureserverless/src/test/java/com/gx/serverless/test/GXApplication.java: -------------------------------------------------------------------------------- 1 | package com.gx.serverless.test; 2 | 3 | import com.genexus.webpanels.WebUtils; 4 | 5 | import javax.ws.rs.core.Application; 6 | import java.util.HashSet; 7 | import java.util.Set; 8 | 9 | public final class GXApplication extends Application { 10 | public Set> getClasses() { 11 | Set> rrcs = new HashSet>(); 12 | WebUtils.getGXApplicationClasses(getClass(), rrcs); 13 | WebUtils.AddExternalServices(getClass(), rrcs); 14 | return rrcs; 15 | } 16 | 17 | } 18 | 19 | -------------------------------------------------------------------------------- /gxazureserverless/src/test/java/com/gx/serverless/test/GXcfg.java: -------------------------------------------------------------------------------- 1 | package com.gx.serverless.test; 2 | 3 | import com.genexus.GXutil; 4 | 5 | public final class GXcfg { 6 | public static int strcmp(String Left, 7 | String Right) { 8 | return GXutil.rtrim(Left).compareTo(GXutil.rtrim(Right)); 9 | } 10 | 11 | } 12 | 13 | -------------------------------------------------------------------------------- /gxcache-redis/src/test/java/com/genexus/sampleapp/GXcfg.java: -------------------------------------------------------------------------------- 1 | package com.genexus.sampleapp; 2 | import com.genexus.*; 3 | 4 | public final class GXcfg 5 | { 6 | public static int strcmp( String Left , 7 | String Right ) 8 | { 9 | return GXutil.rtrim(Left).compareTo(GXutil.rtrim(Right)); 10 | } 11 | 12 | } 13 | 14 | -------------------------------------------------------------------------------- /gxcloudstorage-common/README.md: -------------------------------------------------------------------------------- 1 | | Branch | Status 2 | |---|--- 3 | |master |[![External Storage Tests](https://github.com/genexuslabs/JavaClasses/actions/workflows/External-Storage-Tests.yml/badge.svg?branch=master)](https://github.com/genexuslabs/JavaClasses/actions/workflows/External-Storage-Tests.yml) 4 | |beta |[![External Storage Tests](https://github.com/genexuslabs/JavaClasses/actions/workflows/External-Storage-Tests.yml/badge.svg?branch=beta)](https://github.com/genexuslabs/JavaClasses/actions/workflows/External-Storage-Tests.yml) 5 | 6 | # gxexternalproviders 7 | 8 | Implements service provider for IBM Cloud, Google, Azure, Amazon 9 | 10 | -------------------------------------------------------------------------------- /gxcloudstorage-common/resources/test/text.txt: -------------------------------------------------------------------------------- 1 | test upload IBM -------------------------------------------------------------------------------- /gxcloudstorage-common/resources/text.txt: -------------------------------------------------------------------------------- 1 | test upload IBM -------------------------------------------------------------------------------- /gxcloudstorage-tests/README.md: -------------------------------------------------------------------------------- 1 | | Branch | Status 2 | |---|--- 3 | |master |[![External Storage Tests](https://github.com/genexuslabs/JavaClasses/actions/workflows/External-Storage-Tests.yml/badge.svg?branch=master)](https://github.com/genexuslabs/JavaClasses/actions/workflows/External-Storage-Tests.yml) 4 | |beta |[![External Storage Tests](https://github.com/genexuslabs/JavaClasses/actions/workflows/External-Storage-Tests.yml/badge.svg?branch=beta)](https://github.com/genexuslabs/JavaClasses/actions/workflows/External-Storage-Tests.yml) 5 | 6 | # gxexternalproviders 7 | 8 | Implements service provider for IBM Cloud, Google, Azure, Amazon 9 | 10 | -------------------------------------------------------------------------------- /gxcloudstorage-tests/resources/test/text.txt: -------------------------------------------------------------------------------- 1 | test upload IBM -------------------------------------------------------------------------------- /gxcloudstorage-tests/resources/text.txt: -------------------------------------------------------------------------------- 1 | test upload IBM -------------------------------------------------------------------------------- /gxcloudstorage-tests/src/test/java/com/genexus/db/driver/TestExternalProviderAzure.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.driver; 2 | 3 | 4 | public class TestExternalProviderAzure extends TestExternalProvider { 5 | @Override 6 | public String getProviderName(){ 7 | return ExternalProviderAzureStorage.NAME; 8 | } 9 | 10 | @Override 11 | public ExternalProvider getExternalProvider() throws Exception { 12 | return new ExternalProviderAzureStorage(); 13 | } 14 | 15 | @Override 16 | public boolean supportsObjectAcls() { 17 | return false; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /gxcloudstorage-tests/src/test/java/com/genexus/db/driver/TestExternalProviderGoogleCloudStorage.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.driver; 2 | 3 | 4 | public class TestExternalProviderGoogleCloudStorage extends TestExternalProvider { 5 | @Override 6 | public String getProviderName(){ 7 | return ExternalProviderGoogle.NAME; 8 | } 9 | 10 | @Override 11 | public ExternalProvider getExternalProvider() throws Exception { 12 | return new ExternalProviderGoogle(); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /gxcloudstorage-tests/src/test/java/com/genexus/db/driver/TestExternalProviderIBM.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.driver; 2 | 3 | 4 | public class TestExternalProviderIBM extends TestExternalProvider { 5 | 6 | @Override 7 | public String getProviderName(){ 8 | return ExternalProviderIBM.NAME; 9 | } 10 | 11 | @Override 12 | public ExternalProvider getExternalProvider() throws Exception { 13 | return new ExternalProviderIBM(); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /gxcloudstorage-tests/src/test/java/com/genexus/db/driver/TestExternalProviderOracle.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.driver; 2 | 3 | 4 | public class TestExternalProviderOracle extends TestExternalProvider { 5 | 6 | @Override 7 | public String getProviderName(){ 8 | return ExternalProviderS3V1.NAME; 9 | } 10 | 11 | @Override 12 | public ExternalProvider getExternalProvider() throws Exception { 13 | return new ExternalProviderS3V1(); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /gxcloudstorage-tests/src/test/java/com/genexus/db/driver/TestExternalProviderS3V1.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.driver; 2 | 3 | public class TestExternalProviderS3V1 extends TestExternalProvider { 4 | @Override 5 | public String getProviderName(){ 6 | return ExternalProviderS3V1.NAME; 7 | } 8 | 9 | @Override 10 | public ExternalProvider getExternalProvider() throws Exception { 11 | return new ExternalProviderS3V1(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /gxcloudstorage-tests/src/test/java/com/genexus/db/driver/TestExternalProviderS3V2.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.driver; 2 | public class TestExternalProviderS3V2 extends TestExternalProvider { 3 | 4 | @Override 5 | public String getProviderName(){ 6 | return ExternalProviderS3V2.NAME; 7 | } 8 | 9 | @Override 10 | public ExternalProvider getExternalProvider() throws Exception { 11 | return new ExternalProviderS3V2(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /gxcryptocommon/src/main/java/com/genexus/cryptography/exception/AlgorithmNotSupportedException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.exception; 2 | 3 | public class AlgorithmNotSupportedException extends Exception { 4 | 5 | public AlgorithmNotSupportedException() { 6 | super(); 7 | } 8 | public AlgorithmNotSupportedException( Throwable t) { 9 | super( t); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /gxcryptocommon/src/main/java/com/genexus/cryptography/exception/EncryptionException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.exception; 2 | 3 | public class EncryptionException extends Exception { 4 | 5 | public EncryptionException(String message, Throwable t) { 6 | super(message, t); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /gxcryptocommon/src/main/java/com/genexus/cryptography/exception/InvalidKeyLengthException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.exception; 2 | 3 | public class InvalidKeyLengthException extends Exception { 4 | public InvalidKeyLengthException( Throwable t) { 5 | super( t); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /gxcryptocommon/src/main/java/com/genexus/cryptography/exception/PrivateKeyNotFoundException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.exception; 2 | 3 | public class PrivateKeyNotFoundException extends Exception { 4 | 5 | public PrivateKeyNotFoundException() { 6 | super(); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /gxcryptocommon/src/main/java/com/genexus/cryptography/exception/PublicKeyNotFoundException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.exception; 2 | 3 | public class PublicKeyNotFoundException extends Exception { 4 | public PublicKeyNotFoundException() { 5 | super(); 6 | } 7 | 8 | } 9 | -------------------------------------------------------------------------------- /gxcryptocommon/src/main/java/com/genexus/cryptography/exception/SignatureException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.exception; 2 | 3 | public class SignatureException extends Exception { 4 | 5 | public SignatureException(Throwable t) { 6 | super(t); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /gxcryptography/src/main/java/com/genexus/cryptography/commons/ChecksumObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.commons; 2 | 3 | import com.genexus.securityapicommons.commons.SecurityAPIObject; 4 | 5 | public abstract class ChecksumObject extends SecurityAPIObject { 6 | 7 | public ChecksumObject() { 8 | super(); 9 | } 10 | 11 | public abstract String generateChecksum(String input, String inputType, String checksumAlgorithm); 12 | 13 | public abstract boolean verifyChecksum(String input, String inputType, String checksumAlgorithm, String digest); 14 | } 15 | -------------------------------------------------------------------------------- /gxcryptography/src/main/java/com/genexus/cryptography/commons/CmacObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.commons; 2 | 3 | 4 | import com.genexus.securityapicommons.commons.SecurityAPIObject; 5 | 6 | public abstract class CmacObject extends SecurityAPIObject { 7 | 8 | public CmacObject() { 9 | super(); 10 | } 11 | 12 | public abstract String calculate(String plainText, String key, String algorithm, int macSize); 13 | 14 | public abstract boolean verify(String plainText, String key, String mac, String algorithm, int macSize); 15 | } 16 | -------------------------------------------------------------------------------- /gxcryptography/src/main/java/com/genexus/cryptography/commons/HashObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.commons; 2 | 3 | import com.genexus.securityapicommons.commons.SecurityAPIObject; 4 | 5 | public abstract class HashObject extends SecurityAPIObject { 6 | 7 | public HashObject() { 8 | super(); 9 | } 10 | 11 | public abstract String doHash(String hashAlgorithm, String txtToHash); 12 | } 13 | -------------------------------------------------------------------------------- /gxcryptography/src/main/java/com/genexus/cryptography/commons/HmacObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.commons; 2 | 3 | import com.genexus.securityapicommons.commons.SecurityAPIObject; 4 | 5 | public abstract class HmacObject extends SecurityAPIObject { 6 | 7 | public HmacObject() { 8 | super(); 9 | } 10 | 11 | public abstract String calculate(String plainText, String password, String algorithm); 12 | 13 | public abstract boolean verify(String plainText, String password, String mac, String algorithm); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /gxcryptography/src/main/java/com/genexus/cryptography/commons/StandardSignerObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.commons; 2 | 3 | import com.genexus.cryptography.asymmetric.utils.SignatureStandardOptions; 4 | import com.genexus.securityapicommons.commons.SecurityAPIObject; 5 | 6 | public abstract class StandardSignerObject extends SecurityAPIObject { 7 | 8 | public StandardSignerObject() { 9 | super(); 10 | } 11 | 12 | public abstract String sign(String plainText, SignatureStandardOptions options); 13 | 14 | public abstract boolean verify(String signed, String plainText, SignatureStandardOptions options); 15 | } 16 | -------------------------------------------------------------------------------- /gxcryptography/src/main/java/com/genexus/cryptography/commons/SymmectricStreamCipherObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.commons; 2 | 3 | import com.genexus.securityapicommons.commons.SecurityAPIObject; 4 | 5 | /** 6 | * @author sgrampone 7 | */ 8 | public abstract class SymmectricStreamCipherObject extends SecurityAPIObject { 9 | 10 | public SymmectricStreamCipherObject() { 11 | super(); 12 | } 13 | 14 | public abstract String doEncrypt(String symmetricStreamAlgorithm, String key, String IV, String plainText); 15 | 16 | public abstract String doDecrypt(String symmetricStreamAlgorithm, String key, String IV, String encryptedInput); 17 | } 18 | -------------------------------------------------------------------------------- /gxcryptography/src/main/java/com/genexus/cryptography/commons/SymmetricBlockCipherObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.commons; 2 | 3 | import com.genexus.securityapicommons.commons.SecurityAPIObject; 4 | 5 | public abstract class SymmetricBlockCipherObject extends SecurityAPIObject { 6 | 7 | public SymmetricBlockCipherObject() { 8 | super(); 9 | } 10 | 11 | public abstract String doEncrypt(String symmetricBlockAlgorithm, String symmetricBlockMode, 12 | String symmetricBlockPadding, String key, String IV, String plainText); 13 | 14 | public abstract String doDecrypt(String symmetricBlockAlgorithm, String symmetricBlockMode, 15 | String symmetricBlockPadding, String key, String IV, String encryptedInput); 16 | } 17 | -------------------------------------------------------------------------------- /gxcryptography/src/main/java/com/genexus/cryptography/config/CryptographyEncodingUtil.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cryptography.config; 2 | 3 | import com.genexus.securityapicommons.config.EncodingUtil; 4 | 5 | @SuppressWarnings("unused") 6 | public class CryptographyEncodingUtil extends EncodingUtil { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/ECDSA_sha1/sha1_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/ECDSA_sha1/sha1_cert.crt -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/ECDSA_sha1/sha1_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/ECDSA_sha1/sha1_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/ECDSA_sha1/sha1_key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MIGkAgEBBDDASNRqsB6xPRUMxp0HCrSiIL4kGuwR1EHi2rDciohQD5aEzipd6NpV 3 | fR4ndLNmpF+gBwYFK4EEACKhZANiAAQ6VOf6GrC07Pqz3CGEznEfeY7wIqNb6KXD 4 | uhrhPtEyY9Oon/pmPEmBOUY8MVxmhnGGZKP7pWO8MeXJIaDfuhwwNCi5ONzzZ7AK 5 | 93Up9ZNn/8N9kePlZnlFzA110sZm2Ns= 6 | -----END EC PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/ECDSA_sha1/sha1_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEOlTn+hqwtOz6s9whhM5xH3mO8CKjW+il 3 | w7oa4T7RMmPTqJ/6ZjxJgTlGPDFcZoZxhmSj+6VjvDHlySGg37ocMDQouTjc82ew 4 | Cvd1KfWTZ//DfZHj5WZ5RcwNddLGZtjb 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/ECDSA_sha256/sha256_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/ECDSA_sha256/sha256_cert.crt -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/ECDSA_sha256/sha256_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/ECDSA_sha256/sha256_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/ECDSA_sha256/sha256_key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MIGkAgEBBDAA0D8361/f9fjOjpsIDtiOMrmwXfHuCMQjwcIJ6H0nHIJgSzH8z6W6 3 | I1UPDpS4pKOgBwYFK4EEACKhZANiAATtTvl6nBuTUzfWthCvgoqK+abITZKnpq/R 4 | 7iDguJzUXzfBX1DsYCUURlGzPE0nvndg+y8nBTYBcEsaCwmHL7KajB+7DtcprPzo 5 | 4D/xn/EK5SkVP3tIzQXOiu8YYvU7/3s= 6 | -----END EC PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/ECDSA_sha256/sha256_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE7U75epwbk1M31rYQr4KKivmmyE2Sp6av 3 | 0e4g4Lic1F83wV9Q7GAlFEZRszxNJ753YPsvJwU2AXBLGgsJhy+ymowfuw7XKaz8 4 | 6OA/8Z/xCuUpFT97SM0FzorvGGL1O/97 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.crt -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.pkcs12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.pkcs12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha1_1024/sha1_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCr6OYBg0NsNL3mUg8XfpyXO8O8 3 | /yLPuIhoThLivQP1O9d0XwXV2Mdqa6fuwQJFKxmJvmekpF2eq+/E5eQ/y9qTXgOp 4 | 5+YHgqFh9SkhTpQLxJ413Br5HaPGyBPw2stz1hXXiBg/DLdG2nQKCDPtJurOY30r 5 | vTfKOCOFF/TuD6BMIQIDAQAB 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha1_1024/sha1e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha1_1024/sha1e_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.crt -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha256_1024/sha256_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGfJuH7SIX63boIuZBLM0Wa+SE 3 | bqhgy03sfgn1Z4ZwWF8kICV3giNHskWFAGzc8P/TD3RTf/6VdugF3h/2ozkVbtSV 4 | aDgAmXTTiDxZ8F14fKAcTcSwGJaqCtqwC/v7Z7PKyqqkuKfB0mrfbY9O01F57GCZ 5 | pm1yTP3gfeBMeug9WQIDAQAB 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha256_1024/sha256e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha256_1024/sha256e_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.crt -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha256_2048/sha256_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtc4GlPloet6fQzVqAMuu 3 | NudhL2YzePQGN8dEApwGvCTvT5O850MK8RBVCoGc79BhxGFu/l/rsia+wVuEwOn7 4 | iSfGoBP25mUWco3SY6LntBTC+n25gmfU7MacXuKc4rKclkPI2E+CpeCN33WTVEp+ 5 | F0onZwygSEngtOZq3HIQyoSJ6YmAyePNZbAeCUxLYt0uF8v06CsGOLemrbcOs+UA 6 | 4QXPmK6PmFKq7pYjgCqnH8m3vZNO48DArxVTNYa2GCe4cBw0haNzCsGdMtoMNMOk 7 | oFQcSxaPimD96ut2+cFYQ/Jc2kofvFHMohzNv8oxHo+xJ0Rc3XJU0jV0RTWoi5xF 8 | XQIDAQAB 9 | -----END PUBLIC KEY----- 10 | -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha256_2048/sha256e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha256_2048/sha256e_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.crt -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha512_2048/sha512_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyQXJ9VaFBni+DvG9BoZW 3 | gNlVHXUnkY4tO96BUjaP5HK2QrnU3KJL3zm+kAkC5V3FjKMaY2QOYaTh70YWNi6u 4 | u0gfw8X3dY5SZ2YWw0KPF38D6/8N2+4bR2PVokSfA+KgBL6oxdM9JDnDau3USMv9 5 | 8pXajL/Us1zDea1OToDVjyxTr+4kpt+5nkthiDXdQzrJdhlS2zGPqMTN499Z4gwo 6 | lmoFN5wf0zCQJb5W6chxRqA99wZpRsJRHQPfHkG7l2xcEW+H7REwrLwCvawClqL8 7 | FL3NsRZ1WnX2ilRiS6nvusdDegWlBfn7zjnTZioo2tcNWoqYC3GkzUmFuCGd42Tt 8 | EQIDAQAB 9 | -----END PUBLIC KEY----- 10 | -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/dummycerts/RSA_sha512_2048/sha512e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/dummycerts/RSA_sha512_2048/sha512e_cert.p12 -------------------------------------------------------------------------------- /gxcryptography/src/test/resources/flag.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxcryptography/src/test/resources/flag.jpg -------------------------------------------------------------------------------- /gxdynamiccall/src/main/java/com/genexus/gxdynamiccall/GXDynCallMethodConf.java: -------------------------------------------------------------------------------- 1 | package com.genexus.gxdynamiccall; 2 | 3 | public class GXDynCallMethodConf { 4 | private boolean isStatic; 5 | private String methodName; 6 | 7 | public GXDynCallMethodConf(){ 8 | isStatic=false; 9 | methodName="execute"; 10 | } 11 | 12 | public void setIsStatic(boolean is){ 13 | isStatic=is; 14 | } 15 | public boolean getIsStatic(){ 16 | return isStatic; 17 | } 18 | 19 | public void setMethodName(String mn){ 20 | methodName=mn; 21 | } 22 | 23 | public String getMethodName(){ 24 | return methodName; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /gxdynamiccall/src/main/java/com/genexus/gxdynamiccall/GXDynCallProperties.java: -------------------------------------------------------------------------------- 1 | package com.genexus.gxdynamiccall; 2 | 3 | public class GXDynCallProperties { 4 | private String externalName; 5 | private String packageName; 6 | 7 | public String getExternalName() { 8 | return externalName; 9 | } 10 | public void setExternalName(String name) { 11 | externalName = name; 12 | } 13 | public String getPackageName() { 14 | return packageName; 15 | } 16 | public void setPackageName(String packageN) { 17 | packageName = packageN; 18 | } 19 | 20 | 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /gxdynamiccall/src/test/java/com/genexus/gxdynamiccall/test/DynamicCallExternalTestProcedure.java: -------------------------------------------------------------------------------- 1 | package com.genexus.gxdynamiccall.test; 2 | 3 | public class DynamicCallExternalTestProcedure { 4 | private int multiplier = 1; 5 | public DynamicCallExternalTestProcedure(int multiplier){ 6 | this.multiplier=multiplier; 7 | } 8 | 9 | public String calculateAsString(int a, int b) { 10 | return String.valueOf((a + b )* multiplier); 11 | } 12 | 13 | public static String sumAsString(int a, int b){ 14 | return String.valueOf((a + b )); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /gxdynamiccall/src/test/java/com/genexus/gxdynamiccall/test/GXcfg.java: -------------------------------------------------------------------------------- 1 | package com.genexus.gxdynamiccall.test; 2 | import com.genexus.*; 3 | 4 | public final class GXcfg 5 | { 6 | public static int strcmp( String Left , 7 | String Right ) 8 | { 9 | return GXutil.rtrim(Left).compareTo(GXutil.rtrim(Right)); 10 | } 11 | 12 | } -------------------------------------------------------------------------------- /gxdynamodb/src/main/java/com/genexus/db/dynamodb/DynamoDBErrors.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.dynamodb; 2 | 3 | public class DynamoDBErrors 4 | { 5 | public static final String ValidationException = "ValidationException"; 6 | public static final CharSequence ValidationExceptionMessageKey = "The AttributeValue for a key attribute cannot contain an empty string value."; 7 | } 8 | -------------------------------------------------------------------------------- /gxdynamodb/src/main/java/com/genexus/db/dynamodb/DynamoScan.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.dynamodb; 2 | 3 | public class DynamoScan extends DynamoQuery { 4 | public DynamoScan(DataStoreHelperDynamoDB dataStoreHelperDynamoDB) { 5 | super(dataStoreHelperDynamoDB); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /gxjwt/src/main/java/com/genexus/JWT/claims/PublicClaims.java: -------------------------------------------------------------------------------- 1 | package com.genexus.JWT.claims; 2 | 3 | public final class PublicClaims extends Claims { 4 | 5 | public PublicClaims() { 6 | super(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /gxjwt/src/main/java/com/genexus/commons/DateUtilObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.commons; 2 | 3 | 4 | import com.genexus.securityapicommons.commons.SecurityAPIObject; 5 | 6 | public abstract class DateUtilObject extends SecurityAPIObject { 7 | 8 | public DateUtilObject() { 9 | super(); 10 | 11 | } 12 | 13 | public abstract String getCurrentDate(); 14 | 15 | public abstract String currentPlusSeconds(long seconds); 16 | 17 | @SuppressWarnings("unused") 18 | public abstract String currentMinusSeconds(long seconds); 19 | } 20 | -------------------------------------------------------------------------------- /gxjwt/src/main/java/com/genexus/commons/GUIDObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.commons; 2 | 3 | import com.genexus.securityapicommons.commons.SecurityAPIObject; 4 | 5 | public abstract class GUIDObject extends SecurityAPIObject { 6 | 7 | public GUIDObject() { 8 | super(); 9 | 10 | } 11 | 12 | public abstract String generate(); 13 | } 14 | -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/JWT_ECDSA/prime_test/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIDGQzJBv1o5loyF0p7kYFFegueeBuepCnnfUGnLg3wpeoAoGCCqGSM49 3 | AwEHoUQDQgAEq4RHf/AUVch0shHHz4ETr2xB8gQASiBJExIJUkdh0ST6FF5V5Nj6 4 | bLHqT2v8TPwWKM+E7/Hhddzm/y74RtacKA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/JWT_ECDSA/prime_test/prime_test.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/JWT_ECDSA/prime_test/prime_test.zip -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.crt -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.p12 -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.pkcs12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.pkcs12 -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha1_1024/sha1_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCr6OYBg0NsNL3mUg8XfpyXO8O8 3 | /yLPuIhoThLivQP1O9d0XwXV2Mdqa6fuwQJFKxmJvmekpF2eq+/E5eQ/y9qTXgOp 4 | 5+YHgqFh9SkhTpQLxJ413Br5HaPGyBPw2stz1hXXiBg/DLdG2nQKCDPtJurOY30r 5 | vTfKOCOFF/TuD6BMIQIDAQAB 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha1_1024/sha1e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha1_1024/sha1e_cert.p12 -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.crt -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.p12 -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha256_1024/sha256_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGfJuH7SIX63boIuZBLM0Wa+SE 3 | bqhgy03sfgn1Z4ZwWF8kICV3giNHskWFAGzc8P/TD3RTf/6VdugF3h/2ozkVbtSV 4 | aDgAmXTTiDxZ8F14fKAcTcSwGJaqCtqwC/v7Z7PKyqqkuKfB0mrfbY9O01F57GCZ 5 | pm1yTP3gfeBMeug9WQIDAQAB 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha256_1024/sha256e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha256_1024/sha256e_cert.p12 -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.crt -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.p12 -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha256_2048/sha256_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtc4GlPloet6fQzVqAMuu 3 | NudhL2YzePQGN8dEApwGvCTvT5O850MK8RBVCoGc79BhxGFu/l/rsia+wVuEwOn7 4 | iSfGoBP25mUWco3SY6LntBTC+n25gmfU7MacXuKc4rKclkPI2E+CpeCN33WTVEp+ 5 | F0onZwygSEngtOZq3HIQyoSJ6YmAyePNZbAeCUxLYt0uF8v06CsGOLemrbcOs+UA 6 | 4QXPmK6PmFKq7pYjgCqnH8m3vZNO48DArxVTNYa2GCe4cBw0haNzCsGdMtoMNMOk 7 | oFQcSxaPimD96ut2+cFYQ/Jc2kofvFHMohzNv8oxHo+xJ0Rc3XJU0jV0RTWoi5xF 8 | XQIDAQAB 9 | -----END PUBLIC KEY----- 10 | -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha256_2048/sha256e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha256_2048/sha256e_cert.p12 -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.crt -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.p12 -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha512_2048/sha512_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyQXJ9VaFBni+DvG9BoZW 3 | gNlVHXUnkY4tO96BUjaP5HK2QrnU3KJL3zm+kAkC5V3FjKMaY2QOYaTh70YWNi6u 4 | u0gfw8X3dY5SZ2YWw0KPF38D6/8N2+4bR2PVokSfA+KgBL6oxdM9JDnDau3USMv9 5 | 8pXajL/Us1zDea1OToDVjyxTr+4kpt+5nkthiDXdQzrJdhlS2zGPqMTN499Z4gwo 6 | lmoFN5wf0zCQJb5W6chxRqA99wZpRsJRHQPfHkG7l2xcEW+H7REwrLwCvawClqL8 7 | FL3NsRZ1WnX2ilRiS6nvusdDegWlBfn7zjnTZioo2tcNWoqYC3GkzUmFuCGd42Tt 8 | EQIDAQAB 9 | -----END PUBLIC KEY----- 10 | -------------------------------------------------------------------------------- /gxjwt/src/test/resources/dummycerts/RSA_sha512_2048/sha512e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxjwt/src/test/resources/dummycerts/RSA_sha512_2048/sha512e_cert.p12 -------------------------------------------------------------------------------- /gxmail/src/main/java/com/genexus/internet/DummyDecoder.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus.internet; 3 | 4 | import java.io.IOException; 5 | import java.io.OutputStream; 6 | 7 | class DummyDecoder implements MimeDecoder 8 | { 9 | public void decode(MailReader input, OutputStream out) throws IOException 10 | { 11 | String line; 12 | 13 | while ( (line = input.readLine()) != null) 14 | { 15 | out.write(line.getBytes(), 0, line.length()); 16 | out.write(GXInternetConstants.CRLFByteArray); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /gxmail/src/main/java/com/genexus/internet/GXMailException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | public class GXMailException extends Exception 4 | { 5 | private int errorCode; 6 | 7 | public GXMailException(String msg) 8 | { 9 | super(msg); 10 | } 11 | 12 | public GXMailException(String msg, int errorCode) 13 | { 14 | super(msg); 15 | this.errorCode = errorCode; 16 | } 17 | 18 | 19 | public int getErrorCode() 20 | { 21 | return errorCode; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /gxmail/src/main/java/com/genexus/internet/IMailImplementationFactory.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | public interface IMailImplementationFactory { 4 | IMailImplementation createImplementation(); 5 | } 6 | -------------------------------------------------------------------------------- /gxmail/src/main/java/com/genexus/internet/IPOP3Session.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | public interface IPOP3Session 4 | { 5 | public int getMessageCount() throws GXMailException; 6 | public void login(GXPOP3Session sessionInfo); 7 | public void logout(GXPOP3Session sessionInfo); 8 | public void skip(GXPOP3Session sessionInfo); 9 | public String getNextUID() throws GXMailException; 10 | public void receive(GXPOP3Session sessionInfo, GXMailMessage gxmessage); 11 | public void delete(GXPOP3Session sessionInfo); 12 | } -------------------------------------------------------------------------------- /gxmail/src/main/java/com/genexus/internet/ISMTPSession.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | public interface ISMTPSession 4 | { 5 | 6 | public void login(GXSMTPSession sessionInfo); 7 | 8 | public void send(GXSMTPSession sessionInfo, GXMailMessage msg); 9 | 10 | public void logout(GXSMTPSession sessionInfo); 11 | } -------------------------------------------------------------------------------- /gxmail/src/main/java/com/genexus/internet/MailReader.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | import java.io.IOException; 4 | 5 | interface MailReader 6 | { 7 | int read() throws IOException; 8 | String readLine() throws IOException; 9 | String getSeparator(); 10 | void setSeparator(String separator); 11 | } -------------------------------------------------------------------------------- /gxmail/src/main/java/com/genexus/internet/MimeDecoder.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | import java.io.IOException; 4 | import java.io.OutputStream; 5 | 6 | interface MimeDecoder 7 | { 8 | public void decode(MailReader in, OutputStream out) throws IOException; 9 | } 10 | -------------------------------------------------------------------------------- /gxmail/src/main/java/gxmail/Configuration.java: -------------------------------------------------------------------------------- 1 | package gxmail; 2 | 3 | import com.genexus.common.interfaces.IClientPreferences; 4 | 5 | public final class Configuration { 6 | 7 | public static IClientPreferences Preferences; 8 | } 9 | -------------------------------------------------------------------------------- /gxmaps/src/main/java/gxmaps/Configuration.java: -------------------------------------------------------------------------------- 1 | package gxmaps; 2 | 3 | import com.genexus.common.interfaces.IClientPreferences; 4 | 5 | public final class Configuration { 6 | 7 | public static IClientPreferences Preferences; 8 | } 9 | -------------------------------------------------------------------------------- /gxobservability/src/main/java/com/genexus/opentelemetry/GXTraceContext.java: -------------------------------------------------------------------------------- 1 | package com.genexus.opentelemetry; 2 | 3 | import io.opentelemetry.api.trace.Span; 4 | import io.opentelemetry.api.trace.Tracer; 5 | import io.opentelemetry.api.GlobalOpenTelemetry; 6 | import io.opentelemetry.api.OpenTelemetry; 7 | import io.opentelemetry.api.trace.StatusCode; 8 | import io.opentelemetry.context.Context; 9 | 10 | public class GXTraceContext 11 | { 12 | private Context context; 13 | public GXTraceContext(io.opentelemetry.context.Context context) 14 | { 15 | this.context = context; 16 | } 17 | public Context getTraceContext() 18 | { 19 | return this.context; 20 | } 21 | } -------------------------------------------------------------------------------- /gxodata/src/main/java/com/genexus/db/odata/CurrentOfManager.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.odata; 2 | 3 | import java.util.HashMap; 4 | 5 | public class CurrentOfManager 6 | { 7 | private final HashMap currentOfManager = new HashMap<>(); 8 | public void addQuery(String cursorId, ODataResultSet resultSet) 9 | { 10 | currentOfManager.put(cursorId, resultSet); 11 | } 12 | 13 | public void removeQuery(String cursorId) 14 | { 15 | currentOfManager.remove(cursorId); 16 | } 17 | 18 | public ODataResultSet getQuery(String cursorId) 19 | { 20 | return currentOfManager.get(cursorId); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /gxoffice/.gitignore: -------------------------------------------------------------------------------- 1 | *.xslx 2 | test-outputs -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/gxoffice/Constants.java: -------------------------------------------------------------------------------- 1 | package com.genexus.gxoffice; 2 | 3 | import com.genexus.db.driver.ResourceAccessControlList; 4 | 5 | public class Constants { 6 | public static ResourceAccessControlList EXTERNAL_UPLOAD_ACL = ResourceAccessControlList.Private; 7 | } 8 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/gxoffice/IGxError.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Created on 01/07/2005 3 | * 12/6 Willy: entran los fuentes al svn 4 | */ 5 | package com.genexus.gxoffice; 6 | 7 | /** 8 | * @author Diego 9 | * 10 | */ 11 | public interface IGxError { 12 | void setErrCod(short errCod); 13 | void setErrDes(String errDes); 14 | } -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/internet/OfficeMailerFactory.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | public class OfficeMailerFactory implements IMailImplementationFactory { 4 | 5 | public IMailImplementation createImplementation() { 6 | return new OfficeMail(); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/Constants.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel; 2 | 3 | public class Constants { 4 | public final static boolean EXTERNAL_PRIVATE_UPLOAD = true; 5 | } 6 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/ErrorCodes.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel; 2 | 3 | public class ErrorCodes 4 | { 5 | public static final int TEMPLATE_NOT_FOUND = 4; 6 | public static final int EXTENSION_NOT_SUPPORTED = 5; 7 | public static final int FILE_NOT_SAVED = 6; 8 | public static final int FILE_EXCEPTION = 7; 9 | } 10 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/IExcelWorksheet.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel; 2 | 3 | import com.genexus.msoffice.excel.exception.ExcelException; 4 | 5 | public interface IExcelWorksheet 6 | { 7 | public String getName(); 8 | 9 | public Boolean isHidden(); 10 | 11 | public Boolean rename(String newName); 12 | 13 | public Boolean copy(String newName) throws ExcelException; 14 | 15 | public void setProtected(String password); 16 | } 17 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/IGXError.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel; 2 | 3 | public interface IGXError { 4 | void setErrCod(short errCod); 5 | void setErrDes(String errDes); 6 | } 7 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/exception/ExcelDocumentNotSupported.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel.exception; 2 | 3 | import com.genexus.msoffice.excel.ErrorCodes; 4 | 5 | public class ExcelDocumentNotSupported extends ExcelException 6 | { 7 | public ExcelDocumentNotSupported() 8 | { 9 | super(ErrorCodes.EXTENSION_NOT_SUPPORTED, "File extension not supported"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/exception/ExcelException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel.exception; 2 | 3 | public class ExcelException extends Exception 4 | { 5 | 6 | private int _errorCode; 7 | private String _errDsc; 8 | 9 | public ExcelException(int errCode, String errDsc, Exception e) 10 | { 11 | super(e); 12 | _errorCode = errCode; 13 | _errDsc = errDsc; 14 | 15 | } 16 | 17 | public ExcelException(int errCode, String errDsc) 18 | { 19 | super(); 20 | _errorCode = errCode; 21 | _errDsc = errDsc; 22 | } 23 | 24 | public int get_errorCode() 25 | { 26 | return _errorCode; 27 | } 28 | 29 | public String get_errDsc() 30 | { 31 | return _errDsc; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/exception/ExcelReadonlyException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel.exception; 2 | 3 | public class ExcelReadonlyException extends ExcelException 4 | { 5 | public ExcelReadonlyException() 6 | { 7 | super(13, "Can not modify a readonly document"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/exception/ExcelTemplateNotFoundException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel.exception; 2 | 3 | import com.genexus.msoffice.excel.ErrorCodes; 4 | 5 | public class ExcelTemplateNotFoundException extends ExcelException 6 | { 7 | public ExcelTemplateNotFoundException() 8 | { 9 | super(ErrorCodes.TEMPLATE_NOT_FOUND, "Template not found"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/style/ExcelBorder.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel.style; 2 | 3 | public class ExcelBorder extends ExcelStyleDimension { 4 | private ExcelColor borderColor; 5 | private String borderStyle = ""; 6 | 7 | public String getBorder() { 8 | return borderStyle; 9 | } 10 | 11 | public void setBorder(String border) { 12 | this.borderStyle = border; 13 | setChanged(); 14 | } 15 | 16 | public ExcelBorder() { 17 | borderColor = new ExcelColor(); 18 | } 19 | 20 | public ExcelColor getBorderColor() { 21 | return borderColor; 22 | } 23 | 24 | public void setBorderColor(ExcelColor borderColor) { 25 | this.borderColor = borderColor; 26 | } 27 | 28 | 29 | } 30 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/style/ExcelFill.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel.style; 2 | 3 | public class ExcelFill extends ExcelStyleDimension 4 | { 5 | private ExcelColor cellBackColor; 6 | 7 | public ExcelFill() { 8 | 9 | cellBackColor = new ExcelColor(); 10 | } 11 | 12 | public ExcelColor getCellBackColor() { 13 | return cellBackColor; 14 | } 15 | 16 | @Override 17 | public boolean isDirty() { 18 | return super.isDirty() || cellBackColor.isDirty(); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /gxoffice/src/main/java/com/genexus/msoffice/excel/style/ExcelStyleDimension.java: -------------------------------------------------------------------------------- 1 | package com.genexus.msoffice.excel.style; 2 | 3 | public abstract class ExcelStyleDimension { 4 | 5 | private boolean isDirty = false; 6 | 7 | public boolean isDirty() { 8 | return isDirty; 9 | } 10 | 11 | public void setChanged() { 12 | isDirty = true; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /gxqueue-awssqs/src/main/java/com/genexus/messaging/queue/aws/AWSCredentials.java: -------------------------------------------------------------------------------- 1 | package com.genexus.messaging.queue.aws; 2 | 3 | public abstract class AWSCredentials { 4 | } 5 | -------------------------------------------------------------------------------- /gxqueue/src/main/java/com/genexus/messaging/queue/QueueBase.java: -------------------------------------------------------------------------------- 1 | package com.genexus.messaging.queue; 2 | 3 | public class QueueBase { 4 | } 5 | -------------------------------------------------------------------------------- /gxqueue/src/main/java/com/genexus/messaging/queue/exceptions/GeneralQueueException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.messaging.queue.exceptions; 2 | 3 | public class GeneralQueueException extends Throwable { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /gxqueue/src/main/java/com/genexus/messaging/queue/model/DeleteMessageResult.java: -------------------------------------------------------------------------------- 1 | package com.genexus.messaging.queue.model; 2 | 3 | public class DeleteMessageResult extends MessageId { 4 | public static String DELETED = "Deleted"; 5 | 6 | private String messageDeleteStatus = UNKNOWN; 7 | 8 | public String getMessageDeleteStatus() { 9 | return messageDeleteStatus; 10 | } 11 | 12 | public void setMessageDeleteStatus(String messageDeleteStatus) { 13 | this.messageDeleteStatus = messageDeleteStatus; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /gxqueue/src/main/java/com/genexus/messaging/queue/model/MessageId.java: -------------------------------------------------------------------------------- 1 | package com.genexus.messaging.queue.model; 2 | 3 | public abstract class MessageId { 4 | public static String FAILED = "Failed"; 5 | public static String UNKNOWN = "Unknown"; 6 | 7 | private String messageId; 8 | private String messageServerId; 9 | 10 | public String getMessageId() { 11 | return messageId; 12 | } 13 | 14 | public void setMessageId(String messageId) { 15 | this.messageId = messageId; 16 | } 17 | 18 | public String getMessageServerId() { 19 | return messageServerId; 20 | } 21 | 22 | public void setMessageServerId(String messageServerId) { 23 | this.messageServerId = messageServerId; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /gxqueue/src/main/java/com/genexus/messaging/queue/model/SendMessageResult.java: -------------------------------------------------------------------------------- 1 | package com.genexus.messaging.queue.model; 2 | 3 | public class SendMessageResult extends MessageId { 4 | public static String SENT = "Sent"; 5 | 6 | 7 | private String messageSentStatus = UNKNOWN; 8 | 9 | public String getMessageSentStatus() { 10 | return messageSentStatus; 11 | } 12 | 13 | public void setMessageSentStatus(String messageSentStatus) { 14 | this.messageSentStatus = messageSentStatus; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /gxsearch/src/main/java/com/genexus/search/Action.java: -------------------------------------------------------------------------------- 1 | package com.genexus.search; 2 | 3 | 4 | public class Action 5 | { 6 | public static final int INSERT = 0; 7 | public static final int UPDATE = 1; 8 | public static final int DELETE = 2; 9 | 10 | private int m_actionType; 11 | private IndexRecord m_record; 12 | 13 | protected Action(int actionType, IndexRecord record) 14 | { 15 | this.m_actionType = actionType; 16 | this.m_record = record; 17 | } 18 | 19 | protected int getActionType() 20 | { 21 | return this.m_actionType; 22 | } 23 | 24 | protected IndexRecord getRecord() 25 | { 26 | return this.m_record; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /gxsearch/src/main/java/com/genexus/search/CleanUpFile.java: -------------------------------------------------------------------------------- 1 | package com.genexus.search; 2 | 3 | import com.genexus.util.ICleanupFile; 4 | 5 | public class CleanUpFile implements ICleanupFile { 6 | 7 | public String htmlCleanFile(String absoluteName) { 8 | return DocumentHandler.htmlCleanFile(absoluteName); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /gxsearch/src/main/java/com/genexus/search/EmptySearchResult.java: -------------------------------------------------------------------------------- 1 | package com.genexus.search; 2 | 3 | 4 | public class EmptySearchResult extends SearchResult { 5 | 6 | public EmptySearchResult() { 7 | m_items = new SearchResultCollection(); 8 | } 9 | 10 | public int getCount() { 11 | return 0; 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /gxsearch/src/main/java/com/genexus/search/IDocumentHandler.java: -------------------------------------------------------------------------------- 1 | package com.genexus.search; 2 | 3 | public interface IDocumentHandler { 4 | String getText(String filename); 5 | } 6 | -------------------------------------------------------------------------------- /gxsearch/src/main/java/com/genexus/search/ISearchResultCollection.java: -------------------------------------------------------------------------------- 1 | package com.genexus.search; 2 | 3 | public interface ISearchResultCollection { 4 | int getItemCount(); 5 | 6 | SearchResultItem item(int index); // throws SearchException, IOException; 7 | } 8 | -------------------------------------------------------------------------------- /gxsearch/src/main/java/com/genexus/search/ISearchResultItem.java: -------------------------------------------------------------------------------- 1 | package com.genexus.search; 2 | 3 | import java.util.Date; 4 | import com.genexus.internet.StringCollection; 5 | 6 | public interface ISearchResultItem 7 | { 8 | String getId(); 9 | String getType(); 10 | Date getTimestamp(); 11 | float getScore(); 12 | StringCollection getKey(); 13 | } 14 | -------------------------------------------------------------------------------- /gxsearch/src/main/java/com/genexus/search/TextHandler.java: -------------------------------------------------------------------------------- 1 | package com.genexus.search; 2 | 3 | import java.io.*; 4 | 5 | public class TextHandler implements IDocumentHandler 6 | { 7 | public String getText(String filename) 8 | { 9 | try (FileReader rd = new FileReader(filename)) 10 | { 11 | File f = new File(filename); 12 | char[] buf = new char[(int)f.length()]; 13 | rd.read(buf); 14 | rd.close(); 15 | return new String(buf); 16 | } 17 | catch (IOException ex) 18 | { 19 | System.out.println(ex.getMessage()); 20 | return ""; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /gxserverlesscommon/src/main/java/com/genexus/cloud/serverless/ServerlessFunctionConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless; 2 | 3 | public abstract class ServerlessFunctionConfiguration { 4 | public ServerlessFunctionConfiguration() {} 5 | public abstract boolean isValidConfiguration(); 6 | public abstract String getGXClassName(); 7 | } 8 | -------------------------------------------------------------------------------- /gxserverlesscommon/src/main/java/com/genexus/cloud/serverless/exception/FunctionConfigurationException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.exception; 2 | 3 | public class FunctionConfigurationException extends Exception { 4 | public FunctionConfigurationException(String exceptionMessage) { 5 | super(exceptionMessage); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /gxserverlesscommon/src/main/java/com/genexus/cloud/serverless/model/EventMessageProperty.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | 5 | public class EventMessageProperty { 6 | 7 | public EventMessageProperty(String pId, String pValue) { 8 | propertyId = pId; 9 | propertyValue = pValue; 10 | } 11 | 12 | @JsonProperty("PropertyId") 13 | private String propertyId; 14 | 15 | @JsonProperty("PropertyValue") 16 | private String propertyValue; 17 | } 18 | -------------------------------------------------------------------------------- /gxserverlesscommon/src/main/java/com/genexus/cloud/serverless/model/EventMessageSourceType.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.model; 2 | 3 | public class EventMessageSourceType { 4 | public static String QUEUE_MESSAGE = "QueueMessage"; 5 | public static String SERVICE_BUS_MESSAGE = "ServiceBusMessage"; 6 | public static String TIMER = "Timer"; 7 | public static String STREAM_MESSAGE = "StreamMessage"; 8 | public static String BLOB = "Blob"; 9 | public static String COSMOSDB = "CosmosDB"; 10 | } 11 | -------------------------------------------------------------------------------- /gxserverlesscommon/src/main/java/com/genexus/cloud/serverless/model/EventMessages.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | public class EventMessages { 9 | @JsonProperty("EventMessage") 10 | List eventMessages = new ArrayList<>(); 11 | 12 | public void add(EventMessage msg) { 13 | eventMessages.add(msg); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /gxserverlesscommon/src/main/java/com/genexus/cloud/serverless/model/EventMessagesList.java: -------------------------------------------------------------------------------- 1 | package com.genexus.cloud.serverless.model; 2 | 3 | import com.fasterxml.jackson.annotation.JsonProperty; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | public class EventMessagesList { 9 | @JsonProperty("items") 10 | List items = new ArrayList(); 11 | 12 | public void addItem(String item) { 13 | items.add(item); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/security/web/jose/jwt/JWTAlgorithmException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.security.web.jose.jwt; 2 | 3 | /** 4 | * Represents Exception related to Algorithm - for example JWT header algorithm is unsupported / missing 5 | */ 6 | public class JWTAlgorithmException extends JWTVerifyException { 7 | public JWTAlgorithmException() {} 8 | 9 | public JWTAlgorithmException(final String message, final Throwable cause) { 10 | super(message, cause); 11 | } 12 | 13 | public JWTAlgorithmException(final String message) { 14 | super(message); 15 | } 16 | 17 | } 18 | 19 | -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/security/web/jose/jwt/JWTExpiredException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.security.web.jose.jwt; 2 | 3 | 4 | /** 5 | * Represents Exception related to Expiration - for example JWT token has expired 6 | */ 7 | public class JWTExpiredException extends JWTVerifyException { 8 | 9 | private long expiration; 10 | 11 | public JWTExpiredException(final long expiration) { 12 | this.expiration = expiration; 13 | } 14 | 15 | public JWTExpiredException(final String message, final long expiration) { 16 | super(message); 17 | this.expiration = expiration; 18 | } 19 | 20 | public long getExpiration() { 21 | return expiration; 22 | }; 23 | } 24 | -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/security/web/jose/jwt/JWTIssuerException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.security.web.jose.jwt; 2 | 3 | /** 4 | * Represents Exception related to Issuer - for example issuer mismatch / missing upon verification 5 | */ 6 | public class JWTIssuerException extends JWTVerifyException { 7 | 8 | private final String issuer; 9 | 10 | public JWTIssuerException(final String issuer) { 11 | this.issuer = issuer; 12 | } 13 | 14 | public JWTIssuerException(final String message, final String issuer) { 15 | super(message); 16 | this.issuer = issuer; 17 | } 18 | 19 | public String getIssuer() { 20 | return issuer; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/security/web/jose/jwt/JWTVerifyException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.security.web.jose.jwt; 2 | 3 | /** 4 | * Represents General Exception related to Verification 5 | */ 6 | public class JWTVerifyException extends Exception { 7 | 8 | public JWTVerifyException() {} 9 | 10 | public JWTVerifyException(final String message, final Throwable cause) { 11 | super(message, cause); 12 | } 13 | 14 | public JWTVerifyException(final String message) { 15 | super(message); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/webpanels/GXDataAreaControl.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | public class GXDataAreaControl 4 | { 5 | GXDataArea DataAreaObject; 6 | 7 | public GXDataAreaControl() 8 | { 9 | } 10 | 11 | public void setDataArea(GXDataArea DataAreaObject) 12 | { 13 | this.DataAreaObject = DataAreaObject; 14 | } 15 | 16 | public String getPgmname() 17 | { 18 | return DataAreaObject.getPgmname(); 19 | } 20 | 21 | public String getPgmdesc() 22 | { 23 | return DataAreaObject.getPgmdesc(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/webpanels/HTMLLabel.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | public class HTMLLabel extends HTMLObject implements ILabel 4 | { 5 | private String caption; 6 | private int autoresize; 7 | 8 | public HTMLLabel(GXWebPanel webPanel) 9 | { 10 | super(webPanel); 11 | } 12 | 13 | public String getCaption() 14 | { 15 | return caption; 16 | } 17 | 18 | public int getAutoresize() 19 | { 20 | return this.autoresize; 21 | } 22 | 23 | public void setAutoresize(int autoresize) 24 | { 25 | this.autoresize = autoresize; 26 | } 27 | 28 | public void setCaption(String caption) 29 | { 30 | this.caption = caption; 31 | } 32 | 33 | } -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/webpanels/HTMLListBox.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | public class HTMLListBox extends HTMLChoice implements IListbox 4 | { 5 | public HTMLListBox(GXWebPanel webPanel) 6 | { 7 | super(webPanel); 8 | } 9 | } -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/webpanels/ICheckbox.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | public interface ICheckbox extends IHTMLObject 4 | { 5 | void setCheckedValue(String checkedValue); 6 | String getCheckedValue(); 7 | void setCaption(String caption); 8 | String getCaption(); 9 | void setValue(String value); 10 | String getValue(); 11 | //void setBackstyle(int backstyle); 12 | //int getBackstyle(); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/webpanels/IDynAjaxEventContext.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | public interface IDynAjaxEventContext 4 | { 5 | void Clear(); 6 | void ClearParmsMetadata(); 7 | boolean isInputParm(String key); 8 | void SetParmHash(String fieldName, Object value); 9 | boolean isParmModified(String fieldName, Object value); 10 | 11 | } -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/webpanels/ILabel.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | public interface ILabel extends IHTMLObject 4 | { 5 | String getCaption(); 6 | int getAutoresize(); 7 | void setCaption(String caption); 8 | void setAutoresize(int autoresize); 9 | } 10 | -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/webpanels/IListbox.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | public interface IListbox extends IChoice 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /gxweb/src/main/java/com/genexus/webpanels/UIFactory.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | 3 | public final class UIFactory 4 | { 5 | public static int getColor(int r, int g, int b) 6 | { 7 | return (r * 256 * 256 ) + (g * 256) + b; 8 | } 9 | 10 | public static ILabel getLabel(GXWebPanel webPanel) 11 | { 12 | return new HTMLLabel(webPanel); 13 | } 14 | 15 | public static IChoice getChoice(GXWebPanel webPanel) 16 | { 17 | return new HTMLChoice(webPanel); 18 | } 19 | 20 | public static IListbox getListbox(GXWebPanel webPanel) 21 | { 22 | return new HTMLListBox(webPanel); 23 | } 24 | 25 | public static ICheckbox getCheckbox(GXWebPanel webPanel) 26 | { 27 | return new HTMLCheckbox(webPanel); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /gxwebsocket/src/main/java/com/genexus/internet/websocket/ServletAwareConfig.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet.websocket; 2 | 3 | import javax.servlet.http.HttpSession; 4 | import javax.websocket.HandshakeResponse; 5 | import javax.websocket.server.*; 6 | 7 | public class ServletAwareConfig extends ServerEndpointConfig.Configurator { 8 | 9 | @Override 10 | public void modifyHandshake(ServerEndpointConfig config, HandshakeRequest request, HandshakeResponse response) { 11 | 12 | HttpSession httpSession = (HttpSession) request.getHttpSession(); 13 | config.getUserProperties().put("httpSession", httpSession); 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /gxwebsocketjakarta/src/main/java/com/genexus/internet/websocket/ServletAwareConfig.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet.websocket; 2 | 3 | import jakarta.servlet.http.HttpSession; 4 | import jakarta.websocket.HandshakeResponse; 5 | import jakarta.websocket.server.*; 6 | 7 | public class ServletAwareConfig extends ServerEndpointConfig.Configurator { 8 | 9 | @Override 10 | public void modifyHandshake(ServerEndpointConfig config, HandshakeRequest request, HandshakeResponse response) { 11 | 12 | HttpSession httpSession = (HttpSession) request.getHttpSession(); 13 | config.getUserProperties().put("httpSession", httpSession); 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /gxxmlsignature/src/main/java/com/genexus/config/Config.java: -------------------------------------------------------------------------------- 1 | package com.genexus.config; 2 | 3 | @SuppressWarnings("unused") 4 | public final class Config { 5 | 6 | private static boolean GLOBAL_USELINEBREAKS; 7 | 8 | public static void setUseLineBreaks(boolean value) { 9 | GLOBAL_USELINEBREAKS = value; 10 | } 11 | 12 | public static boolean getUseLineBreaks() { 13 | return GLOBAL_USELINEBREAKS; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/Base64Tests/sha1_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/Base64Tests/sha1_cert.crt -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/Base64Tests/sha1_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/Base64Tests/sha1_cert.p12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/Base64Tests/sha1_cert.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/Base64Tests/sha1_cert.pfx -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.crt -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.p12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.pkcs12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha1_1024/sha1_cert.pkcs12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha1_1024/sha1_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCr6OYBg0NsNL3mUg8XfpyXO8O8 3 | /yLPuIhoThLivQP1O9d0XwXV2Mdqa6fuwQJFKxmJvmekpF2eq+/E5eQ/y9qTXgOp 4 | 5+YHgqFh9SkhTpQLxJ413Br5HaPGyBPw2stz1hXXiBg/DLdG2nQKCDPtJurOY30r 5 | vTfKOCOFF/TuD6BMIQIDAQAB 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha1_1024/sha1e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha1_1024/sha1e_cert.p12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.crt -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.p12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_1024/sha256_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGfJuH7SIX63boIuZBLM0Wa+SE 3 | bqhgy03sfgn1Z4ZwWF8kICV3giNHskWFAGzc8P/TD3RTf/6VdugF3h/2ozkVbtSV 4 | aDgAmXTTiDxZ8F14fKAcTcSwGJaqCtqwC/v7Z7PKyqqkuKfB0mrfbY9O01F57GCZ 5 | pm1yTP3gfeBMeug9WQIDAQAB 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_1024/sha256e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_1024/sha256e_cert.p12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.crt -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_2048/sha256_cert.p12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_2048/sha256_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtc4GlPloet6fQzVqAMuu 3 | NudhL2YzePQGN8dEApwGvCTvT5O850MK8RBVCoGc79BhxGFu/l/rsia+wVuEwOn7 4 | iSfGoBP25mUWco3SY6LntBTC+n25gmfU7MacXuKc4rKclkPI2E+CpeCN33WTVEp+ 5 | F0onZwygSEngtOZq3HIQyoSJ6YmAyePNZbAeCUxLYt0uF8v06CsGOLemrbcOs+UA 6 | 4QXPmK6PmFKq7pYjgCqnH8m3vZNO48DArxVTNYa2GCe4cBw0haNzCsGdMtoMNMOk 7 | oFQcSxaPimD96ut2+cFYQ/Jc2kofvFHMohzNv8oxHo+xJ0Rc3XJU0jV0RTWoi5xF 8 | XQIDAQAB 9 | -----END PUBLIC KEY----- 10 | -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_2048/sha256e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha256_2048/sha256e_cert.p12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.crt -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha512_2048/sha512_cert.p12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha512_2048/sha512_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyQXJ9VaFBni+DvG9BoZW 3 | gNlVHXUnkY4tO96BUjaP5HK2QrnU3KJL3zm+kAkC5V3FjKMaY2QOYaTh70YWNi6u 4 | u0gfw8X3dY5SZ2YWw0KPF38D6/8N2+4bR2PVokSfA+KgBL6oxdM9JDnDau3USMv9 5 | 8pXajL/Us1zDea1OToDVjyxTr+4kpt+5nkthiDXdQzrJdhlS2zGPqMTN499Z4gwo 6 | lmoFN5wf0zCQJb5W6chxRqA99wZpRsJRHQPfHkG7l2xcEW+H7REwrLwCvawClqL8 7 | FL3NsRZ1WnX2ilRiS6nvusdDegWlBfn7zjnTZioo2tcNWoqYC3GkzUmFuCGd42Tt 8 | EQIDAQAB 9 | -----END PUBLIC KEY----- 10 | -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/dummycerts/RSA_sha512_2048/sha512e_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/gxxmlsignature/src/test/resources/dummycerts/RSA_sha512_2048/sha512e_cert.p12 -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/tosign.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Ola mundo 5 | 6 | -------------------------------------------------------------------------------- /gxxmlsignature/src/test/resources/xmlID.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Tove 5 | Jani 6 | Reminder 7 | Don't forget me this weekend! 8 | 9 | 10 | Jani 11 | Tove 12 | Re: Reminder 13 | I will not 14 | 15 | -------------------------------------------------------------------------------- /java/CloudServices.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | GXTEST 5 | DataAccess 6 | com.genexus.db.driver.GXDBMSGxTest 7 | 8 | -------------------------------------------------------------------------------- /java/client.cfg.dev: -------------------------------------------------------------------------------- 1 | [Client] 2 | MY_CUSTOM_PTY=SAMPLE_VALUE_FOR_DEV 3 | -------------------------------------------------------------------------------- /java/client.cfg.prod: -------------------------------------------------------------------------------- 1 | [Client] 2 | MY_CUSTOM_PTY=SAMPLE_VALUE_FOR_PROD 3 | MY_CUSTOM_PTY_PROD=SHOULD_NOT_BE_READ 4 | -------------------------------------------------------------------------------- /java/sample.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/java/sample.db -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/ClientConfig.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import com.genexus.util.GxUtilsLoader; 4 | 5 | public class ClientConfig 6 | { 7 | 8 | public static void execute() 9 | { 10 | main(new String[] {}); 11 | } 12 | 13 | public static void main(String arg[]) 14 | { 15 | ClientContext.setModelContext(new ModelContext(ClientConfig.class)); 16 | ApplicationContext.getInstance().setGXUtility(true); 17 | 18 | String[] fileName = new String[1]; 19 | 20 | fileName[0] = (arg.length == 0)?"client.cfg":arg[0]; 21 | 22 | GxUtilsLoader.runClientConfig(fileName); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/LoginValidator.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | public interface LoginValidator 4 | { 5 | boolean login(java.util.Properties props); 6 | String getMessage(); 7 | } -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/ServerConfig.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import com.genexus.util.GxUtilsLoader; 4 | 5 | public class ServerConfig 6 | { 7 | public static void execute() 8 | { 9 | main(new String[] {}); 10 | } 11 | 12 | public static void main(String arg[]) 13 | { 14 | ClientContext.setModelContext(new ModelContext(ServerConfig.class)); 15 | ApplicationContext.getInstance().setGXUtility(true); 16 | 17 | String[] fileName = new String[1]; 18 | 19 | fileName[0] = (arg.length == 0)?"server.cfg":arg[0]; 20 | 21 | GxUtilsLoader.runServerConfig(fileName); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/Store.java: -------------------------------------------------------------------------------- 1 | package com.genexus; 2 | 3 | import java.util.Vector; 4 | 5 | public class Store 6 | { 7 | static public Vector getPurchasedProducts() 8 | { 9 | GxUnknownObjectCollection result = new GxUnknownObjectCollection(); 10 | result.fromJSonString(ModelContext.getModelContext().getHttpContext().getHeader("Purchased-Products")); 11 | return result; 12 | } 13 | 14 | static public boolean isEnabled(String productId) 15 | { 16 | Vector products = getPurchasedProducts(); 17 | for(int i=0; i< products.size(); i++) 18 | { 19 | if(((String)products.get(i)).toLowerCase().equals(productId.toLowerCase())) 20 | { 21 | return true; 22 | } 23 | } 24 | return false; 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/IRemoteDataStoreHelper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import java.sql.SQLException; 4 | 5 | import com.genexus.GXParameterPacker; 6 | import com.genexus.GXParameterUnpacker; 7 | 8 | public interface IRemoteDataStoreHelper extends IDataStoreHelper 9 | { 10 | void setParameters(int cursor, IFieldSetter stmt, GXParameterUnpacker unpacker) throws SQLException; 11 | void getResults(int cursor, IFieldGetter sent, GXParameterPacker packer) throws SQLException; 12 | int getReadBuffer(); 13 | } 14 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/IRemoteServerDataStoreProvider.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | public interface IRemoteServerDataStoreProvider 4 | { 5 | public byte[] execute(byte[] parms); 6 | public byte[] readNext(int cursor) ; 7 | public void close(int cursor) ; 8 | public void release(); 9 | } 10 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/IServerDataStoreProvider.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import com.genexus.GXDBException; 4 | 5 | public interface IServerDataStoreProvider 6 | { 7 | public byte[] execute(byte[] parms) throws GXDBException; 8 | public byte[] readNext(int cursor) throws GXDBException; 9 | public void close(int cursor) throws GXDBException; 10 | } 11 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/SQLExceptionErrorHandler.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db; 2 | 3 | import java.sql.SQLException; 4 | import com.genexus.ModelContext; 5 | import com.genexus.IErrorHandler; 6 | import com.genexus.GXRuntimeException; 7 | 8 | public class SQLExceptionErrorHandler 9 | { 10 | public void handleError(IErrorHandler errorHandler, SQLException e, ModelContext context, int remoteHandle, DataStoreHelperBase helper, int cursorStatus, String table, int oper) 11 | { 12 | if (errorHandler == null) 13 | throw new GXRuntimeException(e); 14 | 15 | 16 | 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/service/IODataMap.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.service; 2 | 3 | import java.util.HashMap; 4 | 5 | public interface IODataMap 6 | { 7 | Object getValue(IOServiceContext context, HashMap currentEntry); 8 | String getName(); 9 | void setValue(HashMap currentEntry, Object value); 10 | } 11 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/service/IOMap.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.service; 2 | 3 | import java.util.HashMap; 4 | 5 | public class IOMap implements IODataMap{ 6 | private final String name; 7 | 8 | public IOMap(String name) 9 | { 10 | this.name = name; 11 | } 12 | 13 | @Override 14 | public Object getValue(IOServiceContext context, HashMap currentEntry) { 15 | return null; 16 | } 17 | 18 | @Override 19 | public String getName() { 20 | return null; 21 | } 22 | 23 | @Override 24 | public void setValue(HashMap currentEntry, Object value) { 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/service/IOServiceContext.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.service; 2 | 3 | import java.sql.Connection; 4 | 5 | public interface IOServiceContext 6 | { 7 | public Connection getConnection(); 8 | public Object entity(String entity); 9 | } 10 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/service/IQuery.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.service; 2 | 3 | public interface IQuery 4 | { 5 | public QueryType getQueryType(); 6 | } 7 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/service/IServiceHelper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.service; 2 | 3 | import com.genexus.db.ServiceCursorBase; 4 | import com.genexus.db.driver.GXConnection; 5 | import com.genexus.db.driver.GXPreparedStatement; 6 | 7 | public interface IServiceHelper 8 | { 9 | public GXPreparedStatement getPreparedStatement(GXConnection con, IQuery query, ServiceCursorBase cursor, int cursorNum, boolean currentOf, Object[] parms); 10 | } 11 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/service/IServicePreparedStatement.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.service; 2 | 3 | import java.sql.PreparedStatement; 4 | 5 | public interface IServicePreparedStatement extends PreparedStatement 6 | { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/service/QueryType.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.service; 2 | 3 | public enum QueryType 4 | { 5 | QUERY("QUERY"), 6 | UPD("UPD"), 7 | INS("INS"), 8 | DLT("DLT"), 9 | LINK("LINK"), 10 | EXT("EXT"); 11 | 12 | private final String queryType; 13 | QueryType(String queryType) 14 | { 15 | this.queryType = queryType; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/db/service/VarValue.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.service; 2 | 3 | public class VarValue 4 | { 5 | public String name; 6 | public Object value; 7 | public GXType type; 8 | 9 | public VarValue(String name, GXType type, Object value) 10 | { 11 | this.name = name; 12 | this.type = type; 13 | this.value = value; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/internet/IFTPClient.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet; 2 | 3 | public interface IFTPClient 4 | { 5 | int connect(String host, String user, String password); 6 | int disconnect(); 7 | String status(); 8 | void status(String[] status); 9 | int get(String source, String target, String mode); 10 | int put(String source, String target, String mode); 11 | int command(String command); 12 | int delete(String source); 13 | int mkdir(String path); 14 | void lastError(int[] lastError); 15 | void setPassive(boolean passive); 16 | } -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/internet/websocket/GXWebSocketSession.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet.websocket; 2 | 3 | import com.genexus.websocket.ISession; 4 | 5 | public class GXWebSocketSession{ 6 | 7 | private String id; 8 | private ISession session; 9 | 10 | public String getId(){ 11 | return id; 12 | } 13 | public GXWebSocketSession(ISession session){ 14 | id = session.getId(); 15 | this.session = session; 16 | } 17 | public ISession getSession() 18 | { 19 | return session; 20 | } 21 | public boolean equals(Object obj){ 22 | return ((GXWebSocketSession)obj).session.equals(this.session); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/internet/websocket/SendResponseType.java: -------------------------------------------------------------------------------- 1 | package com.genexus.internet.websocket; 2 | 3 | public enum SendResponseType { 4 | SessionNotFound, 5 | SessionInvalid, 6 | OK, 7 | SendFailed 8 | } -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/management/CacheItemJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.management; 2 | 3 | public interface CacheItemJMXMBean 4 | { 5 | String getSQLSentence(); 6 | Object [] getParemeters(); 7 | long getSize(); 8 | int getHitCount(); 9 | int getExpiryHitsCount(); 10 | java.util.Date getExpiryTime(); 11 | java.util.Date getTimeCreated(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/management/CacheJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.management; 2 | 3 | public interface CacheJMXMBean 4 | { 5 | long getStorageSize(); 6 | long getCurrentSize(); 7 | boolean getEnabled(); 8 | void setEnabled(boolean value); 9 | int [] getTimeToLive(); 10 | void setTimeToLive(int [] value); 11 | int [] getHitsToLive(); 12 | void setHitsToLive(int [] value); 13 | 14 | void restart(); 15 | } 16 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/management/ConnectionJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.management; 2 | 3 | import java.util.Date; 4 | 5 | public interface ConnectionJMXMBean 6 | { 7 | int getId(); 8 | String getPhysicalId(); 9 | Date getCreateTime(); 10 | Date getLastAssignedTime(); 11 | int getLastUserAssigned(); 12 | boolean getError(); 13 | //boolean getInAssigment(); 14 | boolean getAvailable(); 15 | int getOpenCursorCount(); 16 | boolean getUncommitedChanges(); 17 | int getRequestCount(); 18 | Date getLastSQLStatementTime(); 19 | String getLastSQLStatement(); 20 | String getLastObject(); 21 | boolean getLastSQLStatementEnded(); 22 | 23 | void disconnect(); 24 | void dumpConnectionInformation(); 25 | } 26 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/management/DataSourceJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.management; 2 | 3 | public interface DataSourceJMXMBean 4 | { 5 | String getName(); 6 | String getUserName(); 7 | String getJDBCDriver(); 8 | String getJDBCURL(); 9 | int getMaxCursors(); 10 | //int getROPoolUsers(); 11 | //boolean getROPoolEnabled(); 12 | //boolean getROPoolRecycle(); 13 | //int getROPoolRecycleMins(); 14 | boolean getPoolEnabled(); 15 | boolean getPoolRecycleEnabled(); 16 | int getPoolRecyclePeriod(); 17 | boolean getConnectAtStartup(); 18 | 19 | //void ROPoolRecycle(); 20 | void RecyclePool(); 21 | } 22 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/management/HTTPConnectionJMXBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.management; 2 | 3 | public interface HTTPConnectionJMXBean { 4 | int getPort(); 5 | String getHost(); 6 | } -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/management/HTTPPoolJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.management; 2 | 3 | public interface HTTPPoolJMXMBean { 4 | int getNumberOfConnectionsInUse(); 5 | int getNumberOfRequestsWaiting(); 6 | int getNumberOfAvailableConnections(); 7 | int getMaxNumberOfConnections(); 8 | } -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/management/LocalUserInformationJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.management; 2 | 3 | public interface LocalUserInformationJMXMBean 4 | { 5 | int getId(); 6 | String getLastSQLStatement(); 7 | String getLastObject(); 8 | java.util.Date getLastSQLStatementTime(); 9 | boolean getWaitingForConnection(); 10 | java.util.Date getWaitingForConnectionTime(); 11 | int getLastConnectionId(); 12 | 13 | void disconnect(); 14 | } 15 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/management/NamespaceJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.management; 2 | 3 | public interface NamespaceJMXMBean 4 | { 5 | int getUserCount(); 6 | } 7 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/management/ServerUserInformationJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.management; 2 | 3 | public interface ServerUserInformationJMXMBean 4 | { 5 | int getId(); 6 | String getIP(); 7 | java.util.Date getConnectedTime(); 8 | long getIdleSeconds(); 9 | String getLastSQLStatement(); 10 | String getLastObject(); 11 | java.util.Date getLastSQLStatementTime(); 12 | boolean getWaitingForConnection(); 13 | java.util.Date getWaitingForConnectionTime(); 14 | int getLastConnectionId(); 15 | String getUserId(); 16 | 17 | void disconnect(); 18 | } 19 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/mock/GXMockProvider.java: -------------------------------------------------------------------------------- 1 | package com.genexus.mock; 2 | 3 | import com.genexus.diagnostics.core.ILogger; 4 | import com.genexus.diagnostics.core.LogManager; 5 | 6 | public class GXMockProvider { 7 | private static final ILogger logger = LogManager.getLogger(GXMockProvider.class); 8 | private static IGXMock provider; 9 | 10 | public static IGXMock getProvier() { 11 | return provider; 12 | } 13 | 14 | public static void setProvider(IGXMock mockProvider) { 15 | provider = mockProvider; 16 | if (mockProvider != null) 17 | logger.debug("Mock provider: " + mockProvider.getClass().getName()); 18 | else 19 | logger.debug("Mock provider set to null"); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/mock/IGXMock.java: -------------------------------------------------------------------------------- 1 | package com.genexus.mock; 2 | 3 | import com.genexus.ModelContext; 4 | 5 | public interface IGXMock { 6 | boolean handle(int remoteHandle , ModelContext context, Object gxObject, String[] parametersName); 7 | } 8 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/performance/DataStoreProviderJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.performance; 2 | 3 | public interface DataStoreProviderJMXMBean 4 | { 5 | long getTotalSQLStatementCount(); 6 | long getSelectSQLStatementCount(); 7 | long getUpdateSQLStatementCount(); 8 | long getDeleteSQLStatementCount(); 9 | long getInsertSQLStatementCount(); 10 | long getStoredProcedureCount(); 11 | long getSQLCommandCount(); 12 | 13 | void dumpDataStoreInformation(); 14 | } 15 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/performance/DataStoreProvidersJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.performance; 2 | 3 | public interface DataStoreProvidersJMXMBean 4 | { 5 | long getTotalSQLStatementCount(); 6 | long getSelectSQLStatementCount(); 7 | long getUpdateSQLStatementCount(); 8 | long getDeleteSQLStatementCount(); 9 | long getInsertSQLStatementCount(); 10 | long getStoredProcedureCount(); 11 | long getSQLCommandCount(); 12 | 13 | void dumpDataStoresInformation(); 14 | } 15 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/performance/ProcedureJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.performance; 2 | 3 | import java.util.Date; 4 | 5 | public interface ProcedureJMXMBean 6 | { 7 | long getCount(); 8 | Date getLastExecute(); 9 | long getTotalTime(); 10 | float getAverageTime(); 11 | long getWorstTime(); 12 | long getBestTime(); 13 | } 14 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/performance/SentenceJMXMBean.java: -------------------------------------------------------------------------------- 1 | package com.genexus.performance; 2 | 3 | import java.util.Date; 4 | 5 | public interface SentenceJMXMBean 6 | { 7 | long getCount(); 8 | String getSQLStatement(); 9 | Date getLastExecute(); 10 | long getTotalTime(); 11 | float getAverageTime(); 12 | long getWorstTime(); 13 | long getBestTime(); 14 | boolean getNotificationEnabled(); 15 | void setNotificationEnabled(boolean value); 16 | long getBeforeNotificationWaitTime(); 17 | void setBeforeNotificationWaitTime(long value); 18 | } 19 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/reports/GXcfg.java: -------------------------------------------------------------------------------- 1 | package com.genexus.reports ; 2 | 3 | public final class GXcfg 4 | { 5 | } 6 | 7 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/reports/ReportsUtil.java: -------------------------------------------------------------------------------- 1 | 2 | package com.genexus.reports; 3 | 4 | public class ReportsUtil 5 | { 6 | public static void gxsetfrm() 7 | { 8 | new GXReportViewerThreaded().GxPrnCfg("GXPRN.INI"); 9 | } 10 | } -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/Cursor.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import com.genexus.CacheFactory; 4 | import com.genexus.Preferences; 5 | import com.genexus.common.interfaces.IExtensionCursor; 6 | 7 | public class Cursor implements IExtensionCursor { 8 | 9 | @Override 10 | public int getCacheableLevel(int cacheableLvl) { 11 | if (CacheFactory.getForceHighestTimetoLive()) 12 | { 13 | return Preferences.CHANGE_ALMOST_NEVER; 14 | } 15 | else 16 | { 17 | return cacheableLvl; 18 | } 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/DynamicExecute.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import com.genexus.ModelContext; 4 | import com.genexus.common.interfaces.IExtensionDynamicExecute; 5 | 6 | public class DynamicExecute implements IExtensionDynamicExecute { 7 | 8 | @Override 9 | public boolean getIsWebContext(Object ctxt) { 10 | ModelContext context = (ModelContext) ctxt; 11 | if (context.getHttpContext() != null && context.getHttpContext() instanceof com.genexus.webpanels.HttpContextWeb) 12 | { 13 | return true; 14 | } 15 | return false; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/GXDirectory.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import com.genexus.common.interfaces.IExtensionGXDirectory; 4 | 5 | public class GXDirectory implements IExtensionGXDirectory { 6 | 7 | @Override 8 | public String getApplicationDataPath() { 9 | return System.getProperty("user.home"); 10 | } 11 | 12 | @Override 13 | public String getTemporaryFilesPath() { 14 | return System.getProperty("java.io.tmpdir"); 15 | } 16 | 17 | @Override 18 | public String getExternalFilesPath() { 19 | return getApplicationDataPath(); 20 | } 21 | 22 | @Override 23 | public String getCacheFilesPath() { 24 | return System.getProperty("java.io.tmpdir"); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/HttpConnectMethod.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import org.apache.http.client.methods.HttpRequestBase; 4 | 5 | import java.net.URI; 6 | 7 | public class HttpConnectMethod extends HttpRequestBase { 8 | public static final String METHOD_NAME = "CONNECT"; 9 | 10 | public HttpConnectMethod() { 11 | } 12 | 13 | public HttpConnectMethod(URI uri) { 14 | this.setURI(uri); 15 | } 16 | 17 | public HttpConnectMethod(String uri) { 18 | this.setURI(URI.create(uri)); 19 | } 20 | 21 | public String getMethod() { 22 | return METHOD_NAME; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/HttpCookie.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import com.genexus.common.interfaces.IExtensionHttpCookie; 4 | 5 | public class HttpCookie implements IExtensionHttpCookie { 6 | 7 | @Override 8 | public boolean getHttpOnly() { 9 | return com.genexus.Preferences.getDefaultPreferences().getcookie_httponly_default(); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/HttpDeleteWithBody.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import org.apache.http.client.methods.HttpEntityEnclosingRequestBase; 4 | 5 | import java.net.URI; 6 | 7 | public class HttpDeleteWithBody extends HttpEntityEnclosingRequestBase { 8 | public static final String METHOD_NAME = "DELETE"; 9 | 10 | public String getMethod() { 11 | return METHOD_NAME; 12 | } 13 | 14 | public HttpDeleteWithBody(final String uri) { 15 | super(); 16 | setURI(URI.create(uri)); 17 | } 18 | 19 | public HttpDeleteWithBody(final URI uri) { 20 | super(); 21 | setURI(uri); 22 | } 23 | 24 | public HttpDeleteWithBody() { 25 | super(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/HttpGetWithBody.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import org.apache.http.client.methods.HttpEntityEnclosingRequestBase; 4 | 5 | import java.net.URI; 6 | 7 | public class HttpGetWithBody extends HttpEntityEnclosingRequestBase { 8 | public static final String METHOD_NAME = "GET"; 9 | 10 | public String getMethod() { 11 | return METHOD_NAME; 12 | } 13 | 14 | public HttpGetWithBody(final String uri) { 15 | super(); 16 | setURI(URI.create(uri)); 17 | } 18 | 19 | public HttpGetWithBody(final URI uri) { 20 | super(); 21 | setURI(uri); 22 | } 23 | 24 | public HttpGetWithBody() { 25 | super(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/HttpHeadWithBody.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import org.apache.http.client.methods.HttpEntityEnclosingRequestBase; 4 | 5 | import java.net.URI; 6 | 7 | public class HttpHeadWithBody extends HttpEntityEnclosingRequestBase { 8 | public static final String METHOD_NAME = "HEAD"; 9 | 10 | public String getMethod() { 11 | return METHOD_NAME; 12 | } 13 | 14 | public HttpHeadWithBody(final String uri) { 15 | super(); 16 | setURI(URI.create(uri)); 17 | } 18 | 19 | public HttpHeadWithBody(final URI uri) { 20 | super(); 21 | setURI(uri); 22 | } 23 | 24 | public HttpHeadWithBody() { 25 | super(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/ImagesPath.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import java.io.InputStream; 4 | 5 | import com.genexus.ModelContext; 6 | import com.genexus.common.interfaces.IExtensionImagesPath; 7 | 8 | public class ImagesPath implements IExtensionImagesPath { 9 | 10 | @Override 11 | public InputStream getInputStream(String kBId) { 12 | Class gxcfg = ModelContext.getModelContextPackageClass(); 13 | return gxcfg.getResourceAsStream(kBId + com.genexus.ImagesPath.RESOURCENAME); 14 | 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/LocalUtil.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import com.genexus.Application; 4 | import com.genexus.common.interfaces.IExtensionLocalUtil; 5 | 6 | public class LocalUtil implements IExtensionLocalUtil { 7 | 8 | @Override 9 | public String getLanguage(String language) { 10 | return Application.getClientPreferences().getProperty("language|" + language, "culture", null); 11 | } 12 | 13 | @Override 14 | public boolean IsBlankEmptyDate() { 15 | return Application.getClientPreferences().getBLANK_EMPTY_DATE(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/PictureFormatter.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import com.genexus.CommonUtil; 4 | import com.genexus.GXPictureFix; 5 | import com.genexus.common.interfaces.IExtensionPictureFormatter; 6 | 7 | public class PictureFormatter implements IExtensionPictureFormatter { 8 | 9 | @Override 10 | public String format(String value, String picture) { 11 | if (picture.startsWith("@") && picture.indexOf('!') > 0) 12 | picture = CommonUtil.replicate("!", value.length()); 13 | 14 | GXPictureFix gx = new GXPictureFix(picture, picture.length()); 15 | 16 | return gx.formatValid(value); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/specific/java/UserLog.java: -------------------------------------------------------------------------------- 1 | package com.genexus.specific.java; 2 | 3 | import com.genexus.common.interfaces.IExtensionUserLog; 4 | 5 | public class UserLog implements IExtensionUserLog { 6 | 7 | @Override 8 | public String GetLogName() { 9 | return com.genexus.Preferences.getDefaultPreferences().getPropertyDefault("USER_LOG_NAMESPACE", "GeneXusUserLog"); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/util/ICleanupFile.java: -------------------------------------------------------------------------------- 1 | package com.genexus.util; 2 | 3 | public interface ICleanupFile { 4 | 5 | String htmlCleanFile(String absoluteName); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/webpanels/ContextPathNew.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | import com.genexus.servlet.http.IHttpServletRequest; 3 | 4 | public class ContextPathNew implements IContextPath 5 | { 6 | public String getContextPath(IHttpServletRequest request) 7 | { 8 | String path = request.getContextPath(); 9 | return path == null?"":path; 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/webpanels/ContextPathOld.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | import com.genexus.servlet.http.IHttpServletRequest; 3 | 4 | public class ContextPathOld implements IContextPath 5 | { 6 | public String getContextPath(IHttpServletRequest request) 7 | { 8 | try 9 | { 10 | return request.getRequestURI().substring(0, request.getRequestURI().length() - request.getServletPath().length()); 11 | }catch(Exception e) 12 | { 13 | return ""; 14 | } 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/webpanels/IContextPath.java: -------------------------------------------------------------------------------- 1 | package com.genexus.webpanels; 2 | import com.genexus.servlet.http.IHttpServletRequest; 3 | 4 | public interface IContextPath 5 | { 6 | public String getContextPath(IHttpServletRequest request); 7 | } 8 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/ws/security/GXWSSecurityKeyIdentifierTypeConstants.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.security; 2 | 3 | public class GXWSSecurityKeyIdentifierTypeConstants 4 | { 5 | public static final int BINARY_SECURITY_TOKEN = 1; 6 | public static final int ISSUER_SERIAL = 2; 7 | public static final int X509_KEY_IDENTIFIER = 3; 8 | public static final int SKI_KEY_IDENTIFIER = 4; 9 | public static final int THUMBPRINT_IDENTIFIER = 8; 10 | public static final int KEY_VALUE = 13; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /java/src/main/java/com/genexus/ws/security/GXWSSecurityKeyStoreConstants.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.security; 2 | 3 | public class GXWSSecurityKeyStoreConstants 4 | { 5 | public static final String JKS = "jks"; 6 | public static final String JCEKS = "jceks"; 7 | public static final String PKCS11 = "pkcs11"; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /java/src/test/java/com/genexus/db/driver/TestExternalProviderCommon.java: -------------------------------------------------------------------------------- 1 | package com.genexus.db.driver; 2 | 3 | import org.junit.Test; 4 | import static org.junit.Assert.assertEquals; 5 | 6 | public class TestExternalProviderCommon { 7 | 8 | @Test 9 | public void testGetProviderNormalizedUrl(){ 10 | com.genexus.specific.java.Connect.init(); 11 | 12 | String url = "http://myhost.com/base/myresource.png"; 13 | String result = ExternalProviderCommon.getProviderObjectAbsoluteUriSafe(null, url); 14 | assertEquals(result, url); 15 | 16 | url = "/serverRelativeUrl/myresource.png"; 17 | result = ExternalProviderCommon.getProviderObjectAbsoluteUriSafe(null, url); 18 | assertEquals(result, url); 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /java/src/test/java/com/genexus/sampleapp/GXcfg.java: -------------------------------------------------------------------------------- 1 | package com.genexus.sampleapp; 2 | import com.genexus.*; 3 | 4 | public final class GXcfg 5 | { 6 | public static int strcmp( String Left , 7 | String Right ) 8 | { 9 | return GXutil.rtrim(Left).compareTo(GXutil.rtrim(Right)); 10 | } 11 | 12 | } 13 | 14 | -------------------------------------------------------------------------------- /java/src/test/resources/bird-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/java/src/test/resources/bird-thumbnail.jpg -------------------------------------------------------------------------------- /securityapicommons/src/main/java/com/genexus/securityapicommons/commons/Certificate.java: -------------------------------------------------------------------------------- 1 | package com.genexus.securityapicommons.commons; 2 | 3 | public abstract class Certificate extends PublicKey { 4 | 5 | public Certificate() { 6 | super(); 7 | } 8 | 9 | public abstract boolean load(String path); 10 | public abstract boolean loadPKCS12(String path, String alias, String password); 11 | public abstract boolean fromBase64(String base64Data); 12 | public abstract String toBase64(); 13 | } 14 | -------------------------------------------------------------------------------- /securityapicommons/src/main/java/com/genexus/securityapicommons/commons/PrivateKey.java: -------------------------------------------------------------------------------- 1 | package com.genexus.securityapicommons.commons; 2 | 3 | public abstract class PrivateKey extends Key{ 4 | 5 | public PrivateKey() { 6 | super(); 7 | } 8 | 9 | public abstract boolean loadEncrypted(String privateKeyPath, String encryptionPassword); 10 | } 11 | -------------------------------------------------------------------------------- /securityapicommons/src/main/java/com/genexus/securityapicommons/commons/SecurityAPIObject.java: -------------------------------------------------------------------------------- 1 | package com.genexus.securityapicommons.commons; 2 | 3 | public abstract class SecurityAPIObject { 4 | 5 | protected Error error; 6 | 7 | public SecurityAPIObject() { 8 | error = new Error(); 9 | } 10 | 11 | public Error getError() { 12 | return error; 13 | } 14 | 15 | public boolean hasError() { 16 | return error.existsError(); 17 | } 18 | 19 | public String getErrorCode() { 20 | return error.getCode(); 21 | } 22 | 23 | public String getErrorDescription() { 24 | return error.getDescription(); 25 | } 26 | 27 | 28 | } 29 | -------------------------------------------------------------------------------- /securityapicommons/src/main/java/com/genexus/securityapicommons/config/Global.java: -------------------------------------------------------------------------------- 1 | package com.genexus.securityapicommons.config; 2 | 3 | public final class Global { 4 | 5 | private static String GLOBAL_ENCODING; 6 | 7 | public static void setGlobalEncoding(String val) { 8 | 9 | GLOBAL_ENCODING = val; 10 | 11 | } 12 | 13 | public static String getGlobalEncoding() { 14 | if (GLOBAL_ENCODING == null) { 15 | GLOBAL_ENCODING = "UTF_8"; 16 | } 17 | return GLOBAL_ENCODING; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /securityapicommons/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/securityapicommons/src/test/resources/dummycerts/RSA_sha256_1024/sha256_cert.p12 -------------------------------------------------------------------------------- /securityapicommons/src/test/resources/sha256_pubkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGfJuH7SIX63boIuZBLM0Wa+SE 3 | bqhgy03sfgn1Z4ZwWF8kICV3giNHskWFAGzc8P/TD3RTf/6VdugF3h/2ozkVbtSV 4 | aDgAmXTTiDxZ8F14fKAcTcSwGJaqCtqwC/v7Z7PKyqqkuKfB0mrfbY9O01F57GCZ 5 | pm1yTP3gfeBMeug9WQIDAQAB 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /site.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genexuslabs/JavaClasses/7df77fc55c95ec94a81ea2ed1c2e91aa31371d53/site.png -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/fileupload/IFileItemIterator.java: -------------------------------------------------------------------------------- 1 | package com.genexus.fileupload; 2 | 3 | 4 | public interface IFileItemIterator { 5 | 6 | boolean hasNext() throws Exception; 7 | 8 | IFileItemStream next() throws Exception; 9 | } 10 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/fileupload/IFileItemStream.java: -------------------------------------------------------------------------------- 1 | package com.genexus.fileupload; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | 6 | public interface IFileItemStream { 7 | 8 | String getName(); 9 | 10 | boolean isFormField(); 11 | 12 | InputStream openStream() throws IOException; 13 | 14 | String getFieldName(); 15 | } 16 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/fileupload/servlet/IServletFileUpload.java: -------------------------------------------------------------------------------- 1 | package com.genexus.fileupload.servlet; 2 | 3 | import com.genexus.fileupload.IFileItemIterator; 4 | import com.genexus.servlet.http.IHttpServletRequest; 5 | 6 | public interface IServletFileUpload { 7 | 8 | void setUploadHeaderEncoding(String encoding); 9 | 10 | IFileItemIterator getItemIterator(IHttpServletRequest request) throws Exception; 11 | } 12 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/servlet/IRequestDispatcher.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet; 2 | 3 | import com.genexus.servlet.http.IHttpServletRequest; 4 | import com.genexus.servlet.http.IHttpServletResponse; 5 | 6 | public interface IRequestDispatcher { 7 | void forward(IHttpServletRequest req, IHttpServletResponse resp) throws Exception; 8 | 9 | void forward(IServletRequest req, IServletResponse resp) throws Exception; 10 | } 11 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/servlet/IServletContext.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet; 2 | 3 | public interface IServletContext { 4 | String getRealPath(String path); 5 | String getServerInfo(); 6 | int getMajorVersion(); 7 | int getMinorVersion(); 8 | String getTEMPDIR(); 9 | Object getAttribute(String name); 10 | String getInitParameter(String name); 11 | } 12 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/servlet/IServletInputStream.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet; 2 | 3 | import java.io.InputStream; 4 | 5 | public interface IServletInputStream { 6 | InputStream getInputStream(); 7 | } 8 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/servlet/IServletRequest.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet; 2 | 3 | import com.genexus.servlet.http.IHttpServletRequest; 4 | 5 | public interface IServletRequest { 6 | boolean isHttpServletRequest(); 7 | IHttpServletRequest getHttpServletRequest(); 8 | boolean isSecure(); 9 | String getRemoteAddr(); 10 | } 11 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/servlet/IServletResponse.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet; 2 | 3 | import com.genexus.servlet.http.IHttpServletResponse; 4 | 5 | public interface IServletResponse { 6 | boolean isHttpServletResponse(); 7 | IHttpServletResponse getHttpServletResponse(); 8 | boolean isCommitted(); 9 | } 10 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/servlet/http/ICookie.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | public interface ICookie { 4 | 5 | boolean getSecure(); 6 | String getName(); 7 | String getValue(); 8 | void setSecure(boolean secure); 9 | void setPath(String path); 10 | void setMaxAge(int maxAge); 11 | void setDomain(String domain); 12 | void setHttpOnly(boolean httpOnly); 13 | } 14 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/servlet/http/IHttpServletRequestWrapper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | import com.genexus.servlet.IServletRequest; 4 | 5 | public interface IHttpServletRequestWrapper { 6 | 7 | IServletRequest getServletRequest(); 8 | } 9 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/servlet/http/IHttpServletResponseWrapper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | import java.io.IOException; 4 | import com.genexus.servlet.IServletOutputStream; 5 | 6 | public interface IHttpServletResponseWrapper { 7 | 8 | void addCookie(ICookie cookie); 9 | IServletOutputStream getWrappedOutputStream() throws IOException; 10 | } 11 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/servlet/http/IHttpSession.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | import java.util.Enumeration; 4 | 5 | public interface IHttpSession { 6 | Object getAttribute(String name); 7 | void setAttribute(String name, Object value); 8 | void removeAttribute(String name); 9 | Enumeration getAttributeNames(); 10 | String getId(); 11 | void invalidate(); 12 | } 13 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/websocket/ISession.java: -------------------------------------------------------------------------------- 1 | package com.genexus.websocket; 2 | 3 | import java.io.IOException; 4 | 5 | public interface ISession { 6 | Integer getHashCode(); 7 | String getId(); 8 | boolean isOpen(); 9 | void sendEndPointText(String message) throws IOException; 10 | } 11 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/ws/rs/core/IResponseBuilder.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.rs.core; 2 | 3 | public interface IResponseBuilder { 4 | Object build(); 5 | void type(String type); 6 | void entity(Object entity); 7 | IResponseBuilder status(short i); 8 | IResponseBuilder entityWrapped(Object entity); 9 | void header(String header, Object object); 10 | } 11 | -------------------------------------------------------------------------------- /wrappercommon/src/main/java/com/genexus/ws/rs/core/IUriInfo.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.rs.core; 2 | 3 | import java.net.URI; 4 | 5 | public interface IUriInfo { 6 | URI getAbsolutePath(); 7 | URI getRequestUri(); 8 | } 9 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/fileupload/FileItemIterator.java: -------------------------------------------------------------------------------- 1 | package com.genexus.fileupload; 2 | 3 | import jakarta.servlet.http.HttpServletRequest; 4 | import jakarta.servlet.http.Part; 5 | import java.util.Iterator; 6 | 7 | public class FileItemIterator implements IFileItemIterator{ 8 | 9 | Iterator parts = null; 10 | 11 | public FileItemIterator(HttpServletRequest request) throws Exception { 12 | parts = request.getParts().iterator(); 13 | } 14 | 15 | public boolean hasNext() throws Exception { 16 | return parts.hasNext(); 17 | } 18 | 19 | public FileItemStream next() throws Exception{ 20 | return new FileItemStream(parts.next()); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/servlet/ServletException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet; 2 | 3 | public class ServletException extends jakarta.servlet.ServletException{ 4 | 5 | public ServletException(String message){ 6 | super(message); 7 | } 8 | 9 | public ServletException(String message, RuntimeException e){ 10 | super(message, e); 11 | } 12 | public ServletException(Throwable e){ 13 | super(e); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/servlet/ServletInputStream.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet; 2 | 3 | import java.io.InputStream; 4 | 5 | public class ServletInputStream implements IServletInputStream{ 6 | jakarta.servlet.ServletInputStream is; 7 | 8 | public ServletInputStream(jakarta.servlet.ServletInputStream is) { 9 | this.is = is; 10 | } 11 | 12 | public InputStream getInputStream() { 13 | return is; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/servlet/http/Cookie.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | public class Cookie extends jakarta.servlet.http.Cookie implements ICookie{ 4 | 5 | public Cookie(String name, String value){ 6 | super(name, value); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/servlet/http/HttpServletRequestWrapper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | import com.genexus.servlet.IServletRequest; 4 | import com.genexus.servlet.ServletRequest; 5 | 6 | public class HttpServletRequestWrapper extends jakarta.servlet.http.HttpServletRequestWrapper implements jakarta.servlet.ServletRequest, IHttpServletRequestWrapper { 7 | 8 | public HttpServletRequestWrapper(IHttpServletRequest request) { 9 | super(((HttpServletRequest)request).getWrappedClass()); 10 | } 11 | 12 | public IServletRequest getServletRequest() { 13 | return new ServletRequest(this); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/servlet/http/HttpSessionBindingEvent.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | public class HttpSessionBindingEvent extends jakarta.servlet.http.HttpSessionBindingEvent { 4 | 5 | public HttpSessionBindingEvent(HttpSession session, String name) { 6 | super((jakarta.servlet.http.HttpSession)session, name); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/servlet/http/HttpSessionEvent.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | public class HttpSessionEvent{ 4 | jakarta.servlet.http.HttpSessionEvent hse; 5 | public HttpSessionEvent(jakarta.servlet.http.HttpSessionEvent hse) { 6 | this.hse = hse; 7 | } 8 | 9 | public IHttpSession getSession() { 10 | return new HttpSession(hse.getSession()); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/wrapper/GXCollectionWrapper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.wrapper; 2 | 3 | import java.util.List; 4 | 5 | import jakarta.xml.bind.annotation.XmlAnyElement; 6 | import jakarta.xml.bind.annotation.XmlRootElement; 7 | 8 | @XmlRootElement 9 | public class GXCollectionWrapper { 10 | 11 | @XmlAnyElement(lax = true) 12 | List list; 13 | 14 | public GXCollectionWrapper() { 15 | } 16 | 17 | public GXCollectionWrapper(List listItems) { 18 | list = listItems; 19 | } 20 | 21 | @SuppressWarnings("unchecked") 22 | public GXCollectionWrapper(Object obj) { 23 | list = (List) obj; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/ws/rs/core/Application.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.rs.core; 2 | 3 | public class Application extends jakarta.ws.rs.core.Application { 4 | } 5 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/ws/rs/core/GenericEntity.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.rs.core; 2 | 3 | public class GenericEntity extends jakarta.ws.rs.core.GenericEntity{ 4 | 5 | public GenericEntity(T entity) { 6 | super(entity); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/ws/rs/core/UriInfo.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.rs.core; 2 | 3 | import java.net.URI; 4 | 5 | public class UriInfo implements IUriInfo{ 6 | private jakarta.ws.rs.core.UriInfo ui; 7 | 8 | public UriInfo(jakarta.ws.rs.core.UriInfo ui) { 9 | this.ui = ui; 10 | } 11 | 12 | public URI getAbsolutePath() { 13 | return ui.getAbsolutePath(); 14 | } 15 | 16 | public URI getRequestUri() { 17 | return ui.getRequestUri(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/xml/ws/Holder.java: -------------------------------------------------------------------------------- 1 | package com.genexus.xml.ws; 2 | 3 | public class Holder{ 4 | jakarta.xml.ws.Holder holder; 5 | 6 | public Holder() { 7 | holder = new jakarta.xml.ws.Holder(); 8 | } 9 | 10 | public T getValue() { 11 | return holder.value; 12 | } 13 | 14 | public void setValue(T value) { 15 | holder.value = value; 16 | } 17 | 18 | public jakarta.xml.ws.Holder getWrappedClass() { 19 | return holder; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/xml/ws/Service.java: -------------------------------------------------------------------------------- 1 | package com.genexus.xml.ws; 2 | 3 | import java.net.URL; 4 | import javax.xml.namespace.QName; 5 | 6 | public class Service { 7 | jakarta.xml.ws.Service service; 8 | 9 | public Service(URL url, QName qname) { 10 | service = jakarta.xml.ws.Service.create(url, qname); 11 | } 12 | 13 | public jakarta.xml.ws.Service getWrappedClass() { 14 | return service; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /wrapperjakarta/src/main/java/com/genexus/xml/ws/WebServiceContext.java: -------------------------------------------------------------------------------- 1 | package com.genexus.xml.ws; 2 | 3 | public class WebServiceContext { 4 | jakarta.xml.ws.WebServiceContext webServiceContext; 5 | 6 | public WebServiceContext(jakarta.xml.ws.WebServiceContext webServiceContext) { 7 | this.webServiceContext = webServiceContext; 8 | } 9 | 10 | public jakarta.xml.ws.handler.MessageContext getMessageContext() { 11 | return webServiceContext.getMessageContext(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/fileupload/FileItemIterator.java: -------------------------------------------------------------------------------- 1 | package com.genexus.fileupload; 2 | 3 | import java.io.IOException; 4 | 5 | public class FileItemIterator implements IFileItemIterator{ 6 | 7 | private org.apache.commons.fileupload.FileItemIterator fii; 8 | 9 | public FileItemIterator(org.apache.commons.fileupload.FileItemIterator fii) { 10 | this.fii = fii; 11 | } 12 | 13 | public boolean hasNext() throws org.apache.commons.fileupload.FileUploadException, IOException { 14 | return fii.hasNext(); 15 | } 16 | 17 | public IFileItemStream next() throws org.apache.commons.fileupload.FileUploadException, IOException{ 18 | return new FileItemStream(fii.next()); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/servlet/ServletException.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet; 2 | 3 | public class ServletException extends javax.servlet.ServletException{ 4 | 5 | public ServletException(String message){ 6 | super(message); 7 | } 8 | 9 | public ServletException(String message, RuntimeException e){ 10 | super(message, e); 11 | } 12 | 13 | public ServletException(Throwable e){ 14 | super(e); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/servlet/ServletInputStream.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet; 2 | 3 | import java.io.InputStream; 4 | 5 | public class ServletInputStream implements IServletInputStream{ 6 | javax.servlet.ServletInputStream is; 7 | 8 | public ServletInputStream(javax.servlet.ServletInputStream is) { 9 | this.is = is; 10 | } 11 | 12 | public InputStream getInputStream() { 13 | return is; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/servlet/http/Cookie.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | public class Cookie extends javax.servlet.http.Cookie implements ICookie{ 4 | 5 | public Cookie(String name, String value){ 6 | super(name, value); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/servlet/http/HttpServletRequestWrapper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | import com.genexus.servlet.IServletRequest; 4 | import com.genexus.servlet.ServletRequest; 5 | 6 | public class HttpServletRequestWrapper extends javax.servlet.http.HttpServletRequestWrapper implements javax.servlet.ServletRequest, IHttpServletRequestWrapper { 7 | 8 | public HttpServletRequestWrapper(IHttpServletRequest request) { 9 | super(((HttpServletRequest)request).getWrappedClass()); 10 | } 11 | public IServletRequest getServletRequest() { 12 | return new ServletRequest(this); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/servlet/http/HttpSessionBindingEvent.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | public class HttpSessionBindingEvent extends javax.servlet.http.HttpSessionBindingEvent { 4 | 5 | public HttpSessionBindingEvent(HttpSession session, String name) { 6 | 7 | 8 | super((javax.servlet.http.HttpSession)session, name); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/servlet/http/HttpSessionEvent.java: -------------------------------------------------------------------------------- 1 | package com.genexus.servlet.http; 2 | 3 | 4 | public class HttpSessionEvent{ 5 | 6 | javax.servlet.http.HttpSessionEvent hse; 7 | 8 | public HttpSessionEvent(javax.servlet.http.HttpSessionEvent hse) { 9 | this.hse = hse; 10 | } 11 | 12 | public IHttpSession getSession() { 13 | return new HttpSession(hse.getSession()); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/wrapper/GXCollectionWrapper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.wrapper; 2 | 3 | import java.util.List; 4 | 5 | import javax.xml.bind.annotation.XmlAnyElement; 6 | import javax.xml.bind.annotation.XmlRootElement; 7 | 8 | @XmlRootElement 9 | public class GXCollectionWrapper { 10 | 11 | @XmlAnyElement(lax = true) 12 | List list; 13 | 14 | public GXCollectionWrapper() { 15 | } 16 | 17 | public GXCollectionWrapper(List listItems) { 18 | list = listItems; 19 | } 20 | 21 | @SuppressWarnings("unchecked") 22 | public GXCollectionWrapper(Object obj) { 23 | list = (List) obj; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/ws/GXContainerResponseFilter.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws; 2 | 3 | import java.io.IOException; 4 | import javax.ws.rs.container.ContainerRequestContext; 5 | import javax.ws.rs.container.ContainerResponseContext; 6 | import javax.ws.rs.container.ContainerResponseFilter; 7 | import javax.ws.rs.ext.Provider; 8 | import com.genexus.WrapperUtils; 9 | 10 | @Provider 11 | public class GXContainerResponseFilter implements ContainerResponseFilter{ 12 | 13 | @Override 14 | public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) throws IOException { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/ws/JAXRSObjectMapper.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws; 2 | 3 | import com.fasterxml.jackson.databind.ObjectMapper; 4 | import javax.ws.rs.ext.ContextResolver; 5 | import javax.ws.rs.ext.Provider; 6 | 7 | @Provider 8 | public class JAXRSObjectMapper implements ContextResolver { 9 | 10 | private final ObjectMapper mapper; 11 | 12 | public JAXRSObjectMapper() { 13 | this.mapper = createObjectMapper(); 14 | } 15 | 16 | @Override 17 | public ObjectMapper getContext(Class type) { 18 | return mapper; 19 | } 20 | 21 | private ObjectMapper createObjectMapper() { 22 | ObjectMapper mapper = new ObjectMapper(); 23 | return mapper; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/ws/rs/core/Application.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.rs.core; 2 | 3 | public class Application extends javax.ws.rs.core.Application { 4 | } 5 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/ws/rs/core/GenericEntity.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.rs.core; 2 | 3 | public class GenericEntity extends javax.ws.rs.core.GenericEntity{ 4 | 5 | public GenericEntity(T entity) { 6 | super(entity); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/ws/rs/core/UriInfo.java: -------------------------------------------------------------------------------- 1 | package com.genexus.ws.rs.core; 2 | 3 | import java.net.URI; 4 | 5 | public class UriInfo implements IUriInfo{ 6 | private javax.ws.rs.core.UriInfo ui; 7 | 8 | public UriInfo(javax.ws.rs.core.UriInfo ui) { 9 | this.ui = ui; 10 | } 11 | 12 | public URI getAbsolutePath() { 13 | return ui.getAbsolutePath(); 14 | } 15 | 16 | public URI getRequestUri() { 17 | return ui.getRequestUri(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/xml/ws/Holder.java: -------------------------------------------------------------------------------- 1 | package com.genexus.xml.ws; 2 | 3 | public class Holder{ 4 | javax.xml.ws.Holder holder; 5 | 6 | public Holder() { 7 | holder = new javax.xml.ws.Holder(); 8 | } 9 | 10 | public T getValue() { 11 | return holder.value; 12 | } 13 | 14 | public void setValue(T value) { 15 | holder.value = value; 16 | } 17 | 18 | public javax.xml.ws.Holder getWrappedClass() { 19 | return holder; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/xml/ws/Service.java: -------------------------------------------------------------------------------- 1 | package com.genexus.xml.ws; 2 | 3 | import java.net.URL; 4 | import javax.xml.namespace.QName; 5 | 6 | public class Service { 7 | javax.xml.ws.Service service; 8 | 9 | public Service(URL url, QName qname) { 10 | service = javax.xml.ws.Service.create(url, qname); 11 | } 12 | 13 | public javax.xml.ws.Service getWrappedClass() { 14 | return service; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /wrapperjavax/src/main/java/com/genexus/xml/ws/WebServiceContext.java: -------------------------------------------------------------------------------- 1 | package com.genexus.xml.ws; 2 | 3 | public class WebServiceContext { 4 | javax.xml.ws.WebServiceContext webServiceContext; 5 | 6 | public WebServiceContext(javax.xml.ws.WebServiceContext webServiceContext) { 7 | this.webServiceContext = webServiceContext; 8 | } 9 | 10 | public javax.xml.ws.handler.MessageContext getMessageContext() { 11 | return webServiceContext.getMessageContext(); 12 | } 13 | } 14 | --------------------------------------------------------------------------------