Projects
Helper
The ProjectsHelper
class is useful to
manage all the projects database operations
Author
N7ghtm4r3 - Tecknobit
See also
Properties
Link copied to clipboard
Link copied to clipboard
changelogsCreator
the
changelogs creator helper
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
GROUP_LOGOS_DIRECTORY
the folder where the group logos will be saved
Link copied to clipboard
groupMembersRepository
instance for the group members repository
Link copied to clipboard
groupsRepository
instance for
the groups repository
Link copied to clipboard
notesRepository
instance for
the notes repository
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
PROJECT_ICONS_DIRECTORY
the folder where the project icons will be saved
Link copied to clipboard
PROJECT_NAME_PATTERN
the pattern to validate the project names values
Link copied to clipboard
PROJECT_NAME_REGEX
regex to
validate the project name
Link copied to clipboard
PROJECT_VERSION_PATTERN
the pattern to validate the project version
Link copied to clipboard
PROJECT_VERSION_REGEX
regex to validate the project version
Link copied to clipboard
projectsRepository
instance
for the projects repository
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
updatesRepository
instance
for the updates repository
Functions
Link copied to clipboard
Method to add a change note to an update
Link copied to clipboard
Method to add groups list to a project
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Method to check whether a change note
exists
Link copied to clipboard
Method to create the pathname for a group
logo
Link copied to clipboard
Link copied to clipboard
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 change note
Link copied to clipboard
Method to delete a group logo
Link copied to clipboard
Link copied to clipboard
Method to delete a user's project
Link copied to clipboard
Method to delete a project icon
Link copied to clipboard
Link copied to clipboard
Method to delete an update
Link copied to clipboard
Method to edit an existing change note of an
update
Link copied to clipboard
Link copied to clipboard
Method to get the user's authored projects
list
Link copied to clipboard
open fun getInDevelopmentProjects(userId: String, page: Int, pageSize: Int, filters: Set<String>): PaginatedResponse<Project>
Method to get the user's IN_DEVELOPMENT
projects list
Link copied to clipboard
Method to get the user's project by its id
Link copied to clipboard
Method to get the user's project by its id
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Method to mark as done a change note
Link copied to clipboard
Method to mark as to-do a change note
Link copied to clipboard
Method to publish an existing update
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Method to start an existing update
Link copied to clipboard
Method to check whether an update with the
target project_version inserted already exists
Link copied to clipboard
Method to fetch and check if an update
exists
Link copied to clipboard
Method to work with a project, add or edit
operation are executed