Changelogs Creator

@Service
open class ChangelogsCreator

The ChangelogsCreator class is useful to manage the creation and the queries to the database for the changelogs

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
@Service
open class ChangelogOperator : EquinoxItemsHelper<T>
The ChangelogOperator class is useful to manage the creation of the changelogs

Properties

Link copied to clipboard
@Autowired
private open var changelogRepository: ChangelogsRepository
changelogsRepository instance for the changelog project_repository

Functions

Link copied to clipboard
open fun addedGroupProject(projectId: String, userId: String)
Method to create a changelog when the project has been added to a Group
Link copied to clipboard
private open fun createGroupChangelog(event: ChangelogEvent, extraContent: String, groupId: String, memberId: String)
Method to create a changelog for a Group
Link copied to clipboard
private open fun createProjectChangelog(event: ChangelogEvent, targetVersion: String, projectId: String, userId: String)
Method to create a changelog for a Project
Link copied to clipboard
open fun groupDeleted(groupName: String, memberId: String)
Method to create a changelog when a Group has been deleted
Link copied to clipboard
open fun memberLeftGroup(groupId: String, memberId: String)
Method to create a changelog when the user changed left a Group
Link copied to clipboard
open fun newMemberJoined(groupId: String, memberId: String)
Method to create a changelog when the user joined in a Group
Link copied to clipboard
open fun removedGroupProject(projectId: String, userId: String)
Method to create a changelog when the project has been removed from a Group
Link copied to clipboard
open fun scheduledNewUpdate(targetVersion: String, projectId: String, userId: String)
Method to create a changelog when an update of project has been scheduled
Link copied to clipboard
open fun sendGroupInvite(groupId: String, groupName: String, memberId: String)
Method to create a changelog when the user has been invited in a Group
Link copied to clipboard
open fun updateDeleted(targetVersion: String, projectId: String, userId: String)
Method to create a changelog when an update of project has been deleted
Link copied to clipboard
open fun updatePublished(targetVersion: String, projectId: String, userId: String)
Method to create a changelog when an update of project has been published
Link copied to clipboard
open fun updateStarted(targetVersion: String, projectId: String, userId: String)
Method to create a changelog when an update of project has been started
Link copied to clipboard
open fun yourGroupRoleChanged(groupId: String, memberId: String, role: Role)
Method to create a changelog when the role of the user changed