Pandoro Resources Manager

interface PandoroResourcesManager : ResourcesManager

Inheritors

Properties

Link copied to clipboard
GROUP_LOGOS_DIRECTORY the folder where the group logos will be saved
Link copied to clipboard
val PROFILES_DIRECTORY: String = "profiles"
Link copied to clipboard
PROJECT_ICONS_DIRECTORY the folder where the project icons will be saved
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 createGroupLogoResource(resource: MultipartFile, resourceId: String): String
Method to create the pathname for a group logo
Link copied to clipboard
open fun createProfileResource(resource: MultipartFile, resourceId: String): String
Link copied to clipboard
open fun createProjectIconResource(resource: MultipartFile, resourceId: String): String
Method to create the pathname for a project icon
Link copied to clipboard
open fun createResource(resource: MultipartFile, resourcesDirectory: String, resourceId: String): String
Link copied to clipboard
Method to delete a group logo
Link copied to clipboard
Link copied to clipboard
Method to delete a project icon
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)