ReleasesHelper
The ReleasesHelper
class is useful to manage all the release database operations
Author
N7ghtm4r3 - Tecknobit
See also
Properties
Link copied to clipboard
ASSETS_DIRECTORY
the assets directory where are stored the assets of the releases uploadedLink copied to clipboard
LOGOS_DIRECTORY
the logos directory where are stored the logos of the projectsLink copied to clipboard
notificationsRepository
instance useful to manage the notificationsLink copied to clipboard
Link copied to clipboard
releaseEventsRepository
instance for the events of releases repositoryLink copied to clipboard
releasesRepository
instance for the releases repositoryLink copied to clipboard
releaseTagRepository
instance for the tags of releases repositoryLink copied to clipboard
REPORTS_DIRECTORY
the reports directory where are stored the reports of the releases createdLink copied to clipboard
Link copied to clipboard
Link copied to clipboard
RESOURCES_REPORTS_PATH
the complete reports path from resources directoryFunctions
Link copied to clipboard
Link copied to clipboard
Method to approve a release assets
Link copied to clipboard
Method to create the pathname for an asset
Link copied to clipboard
Method to create the pathname for a project logo
Link copied to clipboard
Link copied to clipboard
Method to create the pathname for a report
Link copied to clipboard
open fun createResource(resource: MultipartFile, resourcesDirectory: String, resourceId: String): String
Link copied to clipboard
Method to delete an asset
Link copied to clipboard
Method to delete a project logo
Link copied to clipboard
Link copied to clipboard
Method to delete a release and all the data related to it
Link copied to clipboard
Method to delete a report
Link copied to clipboard
Link copied to clipboard
Method to edit an existing release
Link copied to clipboard
Method to get a release
Link copied to clipboard
Link copied to clipboard
Method to insert a comment to a RejectedTag
Link copied to clipboard
Method to read all the notifications related to a specific Release for a user
Link copied to clipboard
open fun rejectAsset(requesterUser: String, project: Project, releaseId: String, eventId: String, reasons: String, tags: ArrayList<ReleaseEvent.ReleaseTag>)
Method reject a release assets
Link copied to clipboard
Link copied to clipboard
Method to set the Alpha status
Link copied to clipboard
Method to set the Approved status
Link copied to clipboard
Method to set the Beta status
Link copied to clipboard
Link copied to clipboard
Method to set the Rejected status
Link copied to clipboard
private open fun setReleaseStatus(requesterUser: String, project: Project, releaseId: String, status: Release.ReleaseStatus)
Method to change the status of a release
Link copied to clipboard
Method to set the Verifying status
Link copied to clipboard