RefyResourcesManager

interface RefyResourcesManager : ResourcesManager

The RefyResourcesManager interface is useful to create and manage the resources files of the Refy's system

Author

N7ghtm4r3 - Tecknobit

See also

ResourcesManager

Inheritors

Properties

Link copied to clipboard
val LOGOS_DIRECTORY: String = "logos"
LOGOS_DIRECTORY the key of the logos folder where the logos of the team 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 createLogoResource(resource: MultipartFile, resourceId: String): String
Method to create the pathname for a logo picture of a team
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 deleteLogoResource(teamId: String): Boolean
Method to delete a logo picture of a team
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)