save Application

@Modifying(clearAutomatically = true )
@Query(value = "INSERT INTO " + APPLICATIONS_KEY + "(" + IDENTIFIER_KEY + "," + CREATION_DATE_KEY + "," + NAME_KEY + "," + DESCRIPTION_KEY + "," + APPLICATION_ICON_KEY + ")" + " VALUES " + " ( " + ":" + IDENTIFIER_KEY + "," + ":" + CREATION_DATE_KEY + "," + ":" + NAME_KEY + "," + ":" + DESCRIPTION_KEY + "," + ":" + APPLICATION_ICON_KEY + ")", nativeQuery = true )
abstract fun saveApplication(@Param(value = "id") applicationId: String, @Param(value = "creation_date") creationDate: Long, @Param(value = "name") name: String, @Param(value = "description") description: String, @Param(value = "icon") icon: String)

Method to save and register a new application in the system

Parameters

applicationId

The identifier of the application

creationDate

The creation date when the application has been registered

name

The name of the application

description

The description of the application

icon

The icon of the application