Ametista Resources Manager

interface AmetistaResourcesManager : ResourcesManager

The AmetistaResourcesManager interface is useful to create and manage the resources files

Author

N7ghtm4r3 - Tecknobit

See also

ResourcesManager

Inheritors

Properties

Link copied to clipboard
APPLICATION_ICONS_FOLDER the folder where the icons pics will be saved
Link copied to clipboard
val PROFILES_DIRECTORY: String = "profiles"
Link copied to clipboard
val RESOURCES_KEY: String = "resources"
Link copied to clipboard
val RESOURCES_PATH: String = "resources/"

Functions

Link copied to clipboard
open fun createAppIcon(icon: MultipartFile, applicationId: String): String
Method to create the pathname for an icon pic
Link copied to clipboard
open fun createProfileResource(resource: MultipartFile, resourceId: String): String
Link copied to clipboard
open fun createResource(resource: MultipartFile, resourcesDirectory: String, resourceId: String): String
Link copied to clipboard
open fun deleteAppIcon(applicationId: String): Boolean
Method to delete an icon pic
Link copied to clipboard
Link copied to clipboard
open fun deleteResource(resourcesDirectory: String, resourceId: String): Boolean
Link copied to clipboard
open fun getSuffixResource(resource: MultipartFile): String
Link copied to clipboard
open fun saveResource(resource: MultipartFile, path: String)