Password Events Service

@Service
open class PasswordEventsService

The PasswordEventsService class is useful to manage all the password events database operations

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@Autowired
private open var eventsRepository: PasswordEventsRepository
eventsRepository instance used to manage the database operations for the events

Functions

Link copied to clipboard
Method used to register the COPIED event
Link copied to clipboard
Method used to register the EDITED event
Link copied to clipboard
open fun registerGeneratedPasswordEvent(password: Password, generationDate: Long)
Method used to register the GENERATED event
Link copied to clipboard
open fun registerInsertedPasswordEvent(password: Password, insertionDate: Long)
Method used to register the INSERTED event
Link copied to clipboard
private open fun registerPasswordEvent(password: Password, type: PasswordEventType)
private open fun registerPasswordEvent(password: Password, eventDate: Long, type: PasswordEventType)
Method used to register an event of a password
Link copied to clipboard
Method used to register the REFRESHED event