Groups
Service
The GroupsService class is useful to
manage all the groups database operations
Author
N7ghtm4r3 - Tecknobit
See also
EquinoxItemsHelper
Constructors
Link copied to clipboard
@Autowired
Constructor to init the service
Properties
Link copied to clipboard
changelogsNotifier instance
used to notify a changelog event
Link copied to clipboard
changelogsRepository
instance for the changelogs repository
Link copied to clipboard
Link copied to clipboard
GROUP_LOGOS_DIRECTORY
the folder where the group logos will be saved
Link copied to clipboard
groupsRepository instance for
the groups repository
Link copied to clipboard
membersRepository instance
for the members of a group repository
Link copied to clipboard
Link copied to clipboard
PROJECT_ICONS_DIRECTORY
the folder where the project icons will be saved
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
usersRepository instance for
the users repository
Functions
Link copied to clipboard
Method to accept a group invitation
Link copied to clipboard
Method to add a list of members to a group
Link copied to clipboard
protected open fun batchDelete(table: String, values: Collection<out Any>, columns: Array<@NotNull String>)
Link copied to clipboard
protected open fun <V> batchInsert(command: EquinoxItemsHelper.InsertCommand, table: String, batchQuery: EquinoxItemsHelper.BatchQuery<V>)
Link copied to clipboard
Method to change the role of a member
Link copied to clipboard
Method to create a group
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 decline a group invitation
Link copied to clipboard
Method to delete a group
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
Link copied to clipboard
Method to create a group
Link copied to clipboard
Link copied to clipboard
Method to edit the projects list of a
group
Link copied to clipboard
Method to get a group member
Link copied to clipboard
Link copied to clipboard
Method to check whether the user's group
exists
Link copied to clipboard
Method to leave from a group
Link copied to clipboard
Method to remove a member from a group
Link copied to clipboard