Index
All Classes and Interfaces|All Packages|Serialized Form
A
- Action - Interface in passport.application.desktop.contracts
- add(String, String) - Method in class passport.application.desktop.ui.event.Comments
- addCapacity(Integer) - Method in class passport.domain.models.events.Event
-
Adds capacity to the event's box office.
- AdminRegistering - Class in passport.domain.contexts.user
-
Context for registering an admin user.
- AdminRegistering(Users) - Constructor for class passport.domain.contexts.user.AdminRegistering
-
Constructor that initializes the repository.
- amount() - Method in class passport.domain.models.purchases.PaymentDetails
-
Returns the formatted payment amount as a string.
- App - Class in passport.application.desktop
-
Main class of the PassPort application that extends
Application
. - App() - Constructor for class passport.application.desktop.App
- asAdmin() - Method in class passport.domain.models.users.User
-
Promotes the user to admin.
- attributes() - Method in class passport.domain.models.email.Html
-
Sets the attributes of the HTML element.
- author() - Method in class passport.domain.models.evaluations.Evaluation
-
Returns the user ID of the author of the evaluation.
- available() - Method in class passport.domain.models.events.BoxOffice
-
Returns the number of available tickets.
- AvailableEvents - Class in passport.application.desktop.ui.main.events
-
Displays available events and provides filters to search and sort them.
- AvailableEvents(PassPort) - Constructor for class passport.application.desktop.ui.main.events.AvailableEvents
- AvailableEventsListing - Class in passport.domain.contexts.events
-
Context for listing available events starting from today.
- AvailableEventsListing(Events) - Constructor for class passport.domain.contexts.events.AvailableEventsListing
-
Constructor with the specified events repository.
- availableFor() - Method in class passport.domain.models.events.Ticket
-
Returns the number of persons the ticket is available for.
- availableOn(LocalDate) - Method in class passport.infra.json.EventsJson
- availableOn(LocalDate) - Method in class passport.infra.virtual.EventsInMemory
- availableOn(LocalDate) - Method in interface passport.roles.repositories.Events
-
Lists all events available on a specific date.
- availables() - Method in class passport.domain.contexts.events.AvailableEventsListing
-
Retrieves the list of available events starting from the set date.
B
- Ballerina - Class in passport.infra.placeholders.events
- Ballerina() - Constructor for class passport.infra.placeholders.events.Ballerina
- beingToday(LocalDate) - Method in class passport.domain.contexts.events.AvailableEventsListing
-
Sets the current date for the context.
- body() - Method in class passport.domain.models.email.EmailDocument
-
Returns the body content of the email as a string.
- boxOffice() - Method in class passport.domain.models.events.Event
-
Returns the box office details of the event.
- boxOffice() - Static method in class passport.infra.placeholders.events.FromZero
- BoxOffice - Class in passport.domain.models.events
-
Represents a box office for selling and refunding event tickets.
- BoxOffice(Ticket) - Constructor for class passport.domain.models.events.BoxOffice
-
Constructs a new BoxOffice with the specified ticket sample and default capacity and sales.
- BoxOffice(Ticket, Integer, Integer) - Constructor for class passport.domain.models.events.BoxOffice
-
Constructs a new BoxOffice with the specified ticket sample, capacity, and sales.
- br() - Static method in class passport.domain.models.email.Html
-
Creates an empty HTML line break element.
- buy() - Method in class passport.application.desktop.ui.event.EventPopup
-
Initiates the purchase process for the event.
- buy(Integer) - Method in class passport.domain.contexts.purchases.TicketBuying
-
Executes the ticket purchase.
- buyer - Variable in class passport.domain.contexts.purchases.internal.Purchase
- buyTicket(Ticket) - Method in class passport.domain.models.users.User
-
Buys a ticket and adds it to the user's bought tickets.
- by(User) - Method in class passport.domain.contexts.events.EventRegistering
-
Sets the author of the event.
- by(UserId) - Method in class passport.domain.contexts.events.EventEvaluation
-
Sets the author ID for the evaluation.
- by(UserId) - Method in class passport.domain.contexts.purchases.TicketBuying
-
Sets the customer who is buying the tickets.
- byId(EventId) - Method in class passport.infra.json.EventsJson
- byId(EventId) - Method in class passport.infra.virtual.EventsInMemory
- byId(EventId) - Method in interface passport.roles.repositories.Events
-
Retrieves an event by its ID.
- byId(UserId) - Method in class passport.infra.json.UsersJson
- byId(UserId) - Method in class passport.infra.virtual.UsersInMemory
- byId(UserId) - Method in interface passport.roles.repositories.Users
-
Retrieves an user by their ID.
C
- CantRegisterPastEvent - Exception Class in passport.domain.exceptions
-
Exception thrown when attempting to register an event scheduled for a past date.
- CantRegisterPastEvent() - Constructor for exception class passport.domain.exceptions.CantRegisterPastEvent
-
Constructs a new CantRegisterPastEvent with no detail message.
- capacity() - Method in class passport.domain.models.events.BoxOffice
-
Returns the capacity of the event.
- category() - Method in class passport.domain.models.events.Poster
-
Returns the category of the event.
- category() - Static method in class passport.infra.placeholders.events.Ballerina
- category() - Static method in class passport.infra.placeholders.events.FromZero
- category() - Static method in class passport.infra.placeholders.events.JohnWick4
- category() - Static method in class passport.infra.placeholders.events.RockInRio
- changing() - Method in class passport.domain.contexts.user.UserEditing
-
Prepares to change the specified user.
- CINE - Enum constant in enum class passport.domain.models.events.EventCategory
- code() - Method in enum class passport.application.desktop.system.Language
-
Gets the language code.
- ColdEvents - Class in passport.infra.placeholders
- ColdEvents() - Constructor for class passport.infra.placeholders.ColdEvents
- ColdUsers - Class in passport.infra.placeholders
- ColdUsers() - Constructor for class passport.infra.placeholders.ColdUsers
- comment() - Method in class passport.domain.models.evaluations.Evaluation
-
Returns the evaluation comment.
- comment(String) - Method in class passport.application.desktop.ui.event.EventPopup
-
Adds a comment to the event.
- Comment(String, String) - Constructor for record class passport.domain.contexts.events.EvaluationListing.Comment
-
Creates an instance of a
Comment
record class. - CommentForm - Class in passport.application.desktop.ui.event
- CommentForm(PassPort, Consumer<String>) - Constructor for class passport.application.desktop.ui.event.CommentForm
- Comments - Class in passport.application.desktop.ui.event
- Comments(PassPort, Event, Consumer<String>) - Constructor for class passport.application.desktop.ui.event.Comments
- Components - Class in passport.application.desktop.ui.purchase
- Components(PassPort, PurchaseWindow, Double) - Constructor for class passport.application.desktop.ui.purchase.Components
- CONFERENCE - Enum constant in enum class passport.domain.models.events.EventCategory
- content() - Method in record class passport.domain.contexts.events.EvaluationListing.Comment
-
Returns the value of the
content
record component. - content(String) - Method in class passport.domain.models.email.Html
-
Sets the content of the HTML element.
- Context - Interface in passport.roles
-
Marker interface for contexts within the application, aligning with DDD and Clean Architecture principles.
- copy() - Method in class passport.domain.models.events.Ticket
-
Creates a copy of the current ticket.
- copy() - Method in class passport.domain.models.users.User
- cpf() - Method in class passport.domain.models.users.Person
-
Returns the CPF of the person.
- cpf() - Static method in class passport.infra.placeholders.users.RickAdm
- cpf() - Static method in class passport.infra.placeholders.users.RickB
- cpf(String) - Method in class passport.domain.contexts.user.forms.PersonalInformation
-
Sets the CPF for the personal information.
- cpf(String) - Method in class passport.domain.contexts.user.UserEditing.EditingWithTarget
-
Updates the user's CPF.
- cpnj() - Method in class passport.domain.models.purchases.EventManagementBusiness
-
Returns the CNPJ of the Event Management Business.
- CredentialsStep - Class in passport.application.desktop.ui.welcome.signup
- CredentialsStep(PassPort) - Constructor for class passport.application.desktop.ui.welcome.signup.CredentialsStep
- creditCardForm(PassPort, PurchaseWindow, Double) - Static method in class passport.application.desktop.ui.purchase.Forms
- current() - Method in class passport.domain.contexts.user.UserLogin
- current(int) - Method in class passport.application.desktop.ui.components.ProgressIndicator
D
- date() - Method in class passport.domain.models.events.Poster
-
Returns the schedule date of the event.
- date() - Static method in class passport.infra.placeholders.events.Ballerina
- date() - Static method in class passport.infra.placeholders.events.FromZero
- date() - Static method in class passport.infra.placeholders.events.JohnWick4
- date() - Static method in class passport.infra.placeholders.events.RockInRio
- description() - Method in class passport.domain.models.events.Poster
-
Returns the description of the event.
- description() - Static method in class passport.infra.placeholders.events.Ballerina
- description() - Static method in class passport.infra.placeholders.events.FromZero
- description() - Static method in class passport.infra.placeholders.events.JohnWick4
- description() - Static method in class passport.infra.placeholders.events.RockInRio
- description(String) - Method in class passport.domain.contexts.events.forms.EventInformation
-
Sets the description of the event.
- DisabledEmailService - Class in passport.infra
-
A mock implementation of the EmailService interface used for testing purposes.
- DisabledEmailService() - Constructor for class passport.infra.DisabledEmailService
- Drawer - Class in passport.application.desktop.ui.main
-
Represents the drawer in the main window, providing navigation buttons.
- Drawer(PassPort, Action, Action) - Constructor for class passport.application.desktop.ui.main.Drawer
-
Constructs the drawer with the given application instance and actions.
E
- edit() - Method in class passport.domain.contexts.user.UserEditing.EditingWithTarget
-
Commits the changes to the user.
- EditingWithTarget(Users, User) - Constructor for class passport.domain.contexts.user.UserEditing.EditingWithTarget
-
Constructs an EditingWithTarget instance with the specified repository and user.
- EditProfile - Class in passport.application.desktop.ui.profile
-
Manages the profile editing window.
- EditProfile(PassPort) - Constructor for class passport.application.desktop.ui.profile.EditProfile
- email() - Method in class passport.application.desktop.ui.welcome.signup.CredentialsStep
- email() - Method in class passport.domain.models.purchases.EventManagementBusiness
-
Returns the email of the Event Management Business.
- email() - Method in class passport.domain.models.purchases.Participant
-
Returns the email of the participant.
- email() - Method in class passport.domain.models.users.Login
-
Returns the email address of the user.
- email() - Method in class passport.infra.DisabledEmailService
-
Returns the captured email document.
- email() - Static method in class passport.infra.placeholders.users.RickAdm
- email() - Static method in class passport.infra.placeholders.users.RickB
- email(String) - Method in class passport.domain.contexts.user.forms.LoginInformation
-
Sets the email for the login information.
- email(String) - Method in class passport.domain.contexts.user.UserEditing.EditingWithTarget
-
Updates the user's email.
- EmailAddress - Record Class in passport.domain.models.users.values
- EmailAddress(String) - Constructor for record class passport.domain.models.users.values.EmailAddress
-
Creates an instance of a
EmailAddress
record class. - EmailAlreadyExists - Exception Class in passport.domain.exceptions
-
Exception thrown when attempting to register an email that already exists in the system.
- EmailAlreadyExists() - Constructor for exception class passport.domain.exceptions.EmailAlreadyExists
-
Constructs a new EmailAlreadyExists exception with no detail message.
- EmailDocument - Class in passport.domain.models.email
-
Represents an email document, including metadata and the body content.
- EmailDocument(EmailMetadata, Html) - Constructor for class passport.domain.models.email.EmailDocument
-
Constructs a new EmailDocument with the specified metadata and body.
- EmailMetadata - Class in passport.domain.models.email
-
Represents the metadata of an email, including sender, recipient, and subject.
- EmailMetadata(EmailAddress, EmailAddress, String) - Constructor for class passport.domain.models.email.EmailMetadata
-
Constructs a new EmailMetadata with the specified sender, recipient, and subject.
- emailService() - Method in record class passport.application.desktop.system.Infra
-
Returns the value of the
emailService
record component. - EmailService - Interface in passport.roles
-
Interface for sending emails within the application.
- empty() - Method in class passport.domain.models.email.Html
-
Creates an empty HTML element.
- ENGLISH - Enum constant in enum class passport.application.desktop.system.Language
- Entity<Id> - Interface in passport.roles
-
Represents a generic entity within the domain.
- EntityId - Class in passport.roles
-
Represents the unique identifier for an entity within the domain.
- EntityId() - Constructor for class passport.roles.EntityId
-
Constructs a new EntityId with a randomly generated UUID.
- EntityId(UUID) - Constructor for class passport.roles.EntityId
-
Constructs a new EntityId with the specified UUID.
- equals(Object) - Method in record class passport.application.desktop.system.Infra
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class passport.application.desktop.system.PassPort
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class passport.application.desktop.system.Services
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class passport.application.desktop.ui.purchase.PurchaseWindow.Properties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class passport.domain.contexts.events.EvaluationListing.Comment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class passport.domain.models.users.Login
- equals(Object) - Method in class passport.domain.models.users.Person
-
Checks if the current object is equal to another object.
- equals(Object) - Method in class passport.domain.models.users.User
- equals(Object) - Method in record class passport.domain.models.users.values.EmailAddress
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class passport.domain.models.users.values.Password
- equals(Object) - Method in class passport.roles.EntityId
- equals(String) - Method in record class passport.domain.models.users.values.EmailAddress
- equals(String) - Method in class passport.domain.models.users.values.Password
- equals(Login) - Method in class passport.domain.models.users.Login
- equals(Person) - Method in class passport.domain.models.users.Person
-
Checks if the current person is equal to another person.
- equals(User) - Method in class passport.domain.models.users.User
- error(String) - Method in class passport.application.desktop.system.PassPort.Warning
-
Displays an error alert with the specified message key.
- evaluateWith(String) - Method in class passport.domain.contexts.events.EventEvaluation
-
Submits the evaluation with the given comment.
- evaluation() - Method in record class passport.application.desktop.system.Services
-
Returns the value of the
evaluation
record component. - Evaluation - Class in passport.domain.models.evaluations
-
Represents an evaluation of an event, including the event ID, author ID, and comment.
- Evaluation(EvaluationId, EventId, UserId, String) - Constructor for class passport.domain.models.evaluations.Evaluation
-
Constructs a new Evaluation with the specified evaluation ID, event ID, author ID, and comment.
- Evaluation(EventId, UserId, String) - Constructor for class passport.domain.models.evaluations.Evaluation
-
Constructs a new Evaluation with the specified event ID, author ID, and comment.
- EvaluationId - Class in passport.domain.models.evaluations
- EvaluationId() - Constructor for class passport.domain.models.evaluations.EvaluationId
- evaluationListing() - Method in record class passport.application.desktop.system.Services
-
Returns the value of the
evaluationListing
record component. - EvaluationListing - Class in passport.domain.contexts.events
-
Context for evaluating an event.
- EvaluationListing(Users) - Constructor for class passport.domain.contexts.events.EvaluationListing
-
Constructor with the specified users repository.
- EvaluationListing.Comment - Record Class in passport.domain.contexts.events
- evaluations() - Method in class passport.domain.models.events.Event
-
Returns the list of evaluations for the event.
- evaluations() - Static method in class passport.infra.placeholders.events.FromZero
- event - Variable in class passport.domain.contexts.purchases.internal.Purchase
- event() - Method in class passport.domain.models.evaluations.Evaluation
-
Returns the event ID being evaluated.
- event() - Method in class passport.domain.models.events.Ticket
-
Returns the event ID associated with the ticket.
- event() - Static method in class passport.infra.placeholders.events.Ballerina
- event() - Static method in class passport.infra.placeholders.events.FromZero
- event() - Static method in class passport.infra.placeholders.events.JohnWick4
- event() - Static method in class passport.infra.placeholders.events.RockInRio
- event(String, LocalDate) - Method in class passport.infra.json.EventsJson
- event(String, LocalDate) - Method in class passport.infra.virtual.EventsInMemory
- event(String, LocalDate) - Method in interface passport.roles.repositories.Events
-
Retrieves an event by its title and date.
- Event - Class in passport.domain.models.events
-
Represents an event with its poster, box office details, and evaluations.
- Event(EventId, Poster, Double) - Constructor for class passport.domain.models.events.Event
-
Constructs a new Event with the specified poster and ticket price.
- Event(EventId, Poster, BoxOffice, List<Evaluation>) - Constructor for class passport.domain.models.events.Event
- Event(Poster) - Constructor for class passport.domain.models.events.Event
-
Constructs a new Event with the specified poster and a default ticket price.
- Event(Poster, Double) - Constructor for class passport.domain.models.events.Event
-
Constructs a new Event with the specified poster and ticket price.
- EventAlreadyRegistered - Exception Class in passport.domain.exceptions
-
Exception thrown when attempting to register an event that is already registered.
- EventAlreadyRegistered() - Constructor for exception class passport.domain.exceptions.EventAlreadyRegistered
-
Constructs a new EventAlreadyRegistered exception with no detail message.
- EventCategory - Enum Class in passport.domain.models.events
- EventDetails - Class in passport.application.desktop.ui.event
- EventDetails(PassPort, Event) - Constructor for class passport.application.desktop.ui.event.EventDetails
- EventEvaluation - Class in passport.domain.contexts.events
-
Context for evaluating an event.
- EventEvaluation(Events, LocalDate) - Constructor for class passport.domain.contexts.events.EventEvaluation
-
Constructor with the specified events repository.
- eventId() - Method in record class passport.application.desktop.ui.purchase.PurchaseWindow.Properties
-
Returns the value of the
eventId
record component. - EventId - Class in passport.domain.models.events
- EventId() - Constructor for class passport.domain.models.events.EventId
- EventInformation - Class in passport.domain.contexts.events.forms
-
Represents the information required for an event, including the title, description, and schedule.
- EventInformation() - Constructor for class passport.domain.contexts.events.forms.EventInformation
- EventItem - Class in passport.application.desktop.ui.main.events
- EventItem - Class in passport.application.desktop.ui.main.owned
-
Represents an event item button in the user's owned events list.
- EventManagementBusiness - Class in passport.domain.models.purchases
-
Represents constant information for the Event Management Business, including email, CNPJ, and company name.
- EventManagementBusiness() - Constructor for class passport.domain.models.purchases.EventManagementBusiness
- EventPopup - Class in passport.application.desktop.ui.event
-
Manages the popup window for event details, comments, and purchasing.
- EventPopup(PassPort, Event) - Constructor for class passport.application.desktop.ui.event.EventPopup
- EventRegistering - Class in passport.domain.contexts.events
-
Context for registering an event.
- EventRegistering(Events) - Constructor for class passport.domain.contexts.events.EventRegistering
-
Constructor with the specified events repository.
- events() - Method in record class passport.application.desktop.system.Infra
-
Returns the value of the
events
record component. - Events - Interface in passport.roles.repositories
-
Interface for managing Event entities.
- EventsInMemory - Class in passport.infra.virtual
-
In-memory implementation of the Events repository.
- EventsInMemory() - Constructor for class passport.infra.virtual.EventsInMemory
-
Constructs a new EventsInMemory with an empty list of events.
- EventsInMemory(List<Event>) - Constructor for class passport.infra.virtual.EventsInMemory
-
Constructs a new EventsInMemory with a list of events.
- EventsJson - Class in passport.infra.json
-
Implementation of the Events repository using JSON for persistence.
- EventsJson(JsonFile) - Constructor for class passport.infra.json.EventsJson
-
Constructor initializing the repository with a file path.
- EventsJson(JsonFile, EventsInMemory) - Constructor for class passport.infra.json.EventsJson
-
Constructor initializing the repository with a file and in-memory repository.
- eventsListing() - Method in record class passport.application.desktop.system.Services
-
Returns the value of the
eventsListing
record component. - exec() - Method in interface passport.application.desktop.contracts.Action
F
- FESTIVAL - Enum constant in enum class passport.domain.models.events.EventCategory
- Forms - Class in passport.application.desktop.ui.purchase
- Forms() - Constructor for class passport.application.desktop.ui.purchase.Forms
- forPurchasing() - Method in class passport.application.desktop.ui.event.EventPopup
-
Sets up the UI for purchasing tickets.
- forReviewing() - Method in class passport.application.desktop.ui.event.EventPopup
-
Sets up the UI for allowing reviewing.
- FromZero - Class in passport.infra.placeholders.events
- FromZero() - Constructor for class passport.infra.placeholders.events.FromZero
G
- getPassword() - Method in class passport.application.desktop.ui.welcome.signup.CredentialsStep
H
- has(String, LocalDate) - Method in class passport.infra.json.EventsJson
- has(String, LocalDate) - Method in class passport.infra.virtual.EventsInMemory
- has(String, LocalDate) - Method in interface passport.roles.repositories.Events
-
Checks if an event exists by its title and date.
- has(EventId) - Method in class passport.infra.json.EventsJson
- has(EventId) - Method in class passport.infra.virtual.EventsInMemory
- has(EventId) - Method in interface passport.roles.repositories.Events
-
Checks if an event exists by its ID.
- has(EmailAddress) - Method in class passport.infra.json.UsersJson
- has(EmailAddress) - Method in class passport.infra.virtual.UsersInMemory
- has(EmailAddress) - Method in interface passport.roles.repositories.Users
-
Checks if an user exists by their email.
- hashCode() - Method in record class passport.application.desktop.system.Infra
-
Returns a hash code value for this object.
- hashCode() - Method in record class passport.application.desktop.system.PassPort
-
Returns a hash code value for this object.
- hashCode() - Method in record class passport.application.desktop.system.Services
-
Returns a hash code value for this object.
- hashCode() - Method in record class passport.application.desktop.ui.purchase.PurchaseWindow.Properties
-
Returns a hash code value for this object.
- hashCode() - Method in record class passport.domain.contexts.events.EvaluationListing.Comment
-
Returns a hash code value for this object.
- hashCode() - Method in class passport.domain.models.users.Login
- hashCode() - Method in class passport.domain.models.users.Person
-
Returns the hash code of the person.
- hashCode() - Method in class passport.domain.models.users.User
- hashCode() - Method in record class passport.domain.models.users.values.EmailAddress
-
Returns a hash code value for this object.
- hashCode() - Method in class passport.domain.models.users.values.Password
- hashCode() - Method in class passport.roles.EntityId
- Hero - Class in passport.application.desktop.ui.welcome
-
"Hero" pane of the welcome window.
- Hero() - Constructor for class passport.application.desktop.ui.welcome.Hero
-
Initializes the component's interface.
- html() - Method in class passport.domain.models.purchases.PaymentDetails
-
Returns the HTML representation of the payment method.
- html() - Method in class passport.domain.models.purchases.PaymentMethod
-
Returns the HTML representation of the payment method.
- Html - Class in passport.domain.models.email
-
Represents an HTML element with tag, content, attributes, and closure information.
I
- id() - Method in class passport.domain.models.evaluations.Evaluation
-
Returns the evaluation ID.
- id() - Method in class passport.domain.models.events.Event
-
Returns the event ID.
- id() - Method in class passport.domain.models.purchases.Transaction
-
Returns the transaction ID.
- id() - Method in class passport.domain.models.users.User
-
Returns the user ID.
- id() - Static method in class passport.infra.placeholders.events.Ballerina
- id() - Static method in class passport.infra.placeholders.events.FromZero
- id() - Static method in class passport.infra.placeholders.events.JohnWick4
- id() - Static method in class passport.infra.placeholders.events.RockInRio
- id() - Static method in class passport.infra.placeholders.users.RickAdm
- id() - Static method in class passport.infra.placeholders.users.RickB
- id() - Method in interface passport.roles.Entity
-
Returns the unique identifier of the entity.
- including(String) - Method in class passport.domain.contexts.events.AvailableEventsListing
-
Sets the filter by exact name.
- InexistentUser - Exception Class in passport.domain.exceptions
-
Exception thrown when an operation is attempted on a user that does not exist.
- InexistentUser() - Constructor for exception class passport.domain.exceptions.InexistentUser
-
Constructs a new InexistentUser exception with no detail message.
- Infra - Record Class in passport.application.desktop.system
-
Represents the infrastructure layer of the PassPort application.
- Infra(Users, Events, EmailService, Session) - Constructor for record class passport.application.desktop.system.Infra
-
Creates an instance of a
Infra
record class. - intoInterval(LocalDate, LocalDate) - Method in class passport.domain.contexts.events.AvailableEventsListing
-
Sets the filter by date range.
- InvalidRefundDueToInactiveEvent - Exception Class in passport.domain.exceptions
- InvalidRefundDueToInactiveEvent() - Constructor for exception class passport.domain.exceptions.InvalidRefundDueToInactiveEvent
- isActive() - Method in class passport.infra.Session
-
Checks if a user is currently logged in.
- isAdmin() - Method in class passport.domain.models.users.User
-
Checks if the user is an admin.
- isAvailableFor(LocalDate) - Method in class passport.domain.models.events.Event
-
Checks if the event is available on the specified date.
- isLoggedAs(String) - Method in class passport.domain.contexts.user.UserLogin
- isOwnerOf(Login) - Method in class passport.domain.models.users.User
-
Checks if the user owns the specified login.
- isSoldOut() - Method in class passport.domain.models.events.BoxOffice
-
Checks if the event is sold out.
J
- JAPANESE - Enum constant in enum class passport.application.desktop.system.Language
- JohnWick4 - Class in passport.infra.placeholders.events
- JohnWick4() - Constructor for class passport.infra.placeholders.events.JohnWick4
- JsonFile - Class in passport.infra.json
- JsonFile(String, String) - Constructor for class passport.infra.json.JsonFile
L
- language() - Method in class passport.application.desktop.Translator
-
Returns the current language.
- language() - Method in class passport.application.desktop.ui.components.LanguageSelector
- language(Language) - Method in class passport.application.desktop.Translator
-
Sets the current language and loads its respective ResourceBundle.
- language(Language) - Method in class passport.application.desktop.ui.components.LanguageSelector
- Language - Enum Class in passport.application.desktop.system
-
Represents the supported languages for the PassPort application.
- languageProp() - Method in class passport.application.desktop.Translator
-
Current language as an ObjectProperty.
- LanguageSelector - Class in passport.application.desktop.ui.components
- LanguageSelector(PassPort) - Constructor for class passport.application.desktop.ui.components.LanguageSelector
- list - Static variable in class passport.infra.placeholders.ColdEvents
- list - Static variable in class passport.infra.placeholders.ColdUsers
- list() - Method in class passport.domain.contexts.user.ListTickets
-
Retrieves the list of tickets owned by the user.
- list() - Method in class passport.infra.json.EventsJson
- list() - Method in class passport.infra.json.UsersJson
- list() - Method in class passport.infra.virtual.EventsInMemory
- list() - Method in class passport.infra.virtual.UsersInMemory
-
Returns a list of all users.
- list() - Method in interface passport.roles.repositories.Events
-
Lists all events.
- list() - Method in interface passport.roles.repositories.Users
-
Lists all users.
- ListTickets - Class in passport.domain.contexts.user
-
Context for listing tickets owned by a user.
- logAs(Login) - Method in class passport.domain.contexts.user.UserLogin
-
Logs in the user with the specified email and password.
- loggedAs(User) - Static method in class passport.infra.Session
-
Creates a session logged in as the specified user.
- loggedUser() - Method in class passport.infra.Session
-
Returns the currently logged-in user.
- login() - Method in record class passport.application.desktop.system.Services
-
Returns the value of the
login
record component. - login() - Method in class passport.domain.models.users.User
-
Returns the login details.
- login(Login) - Method in class passport.domain.contexts.user.AdminRegistering
-
Sets the login information for the admin user.
- login(Login) - Method in class passport.domain.contexts.user.SigningUp
-
Sets the login information for the user.
- Login - Class in passport.domain.models.users
-
Represents the login information for a user, including email and password.
- Login(String, String) - Constructor for class passport.domain.models.users.Login
- Login(EmailAddress, Password) - Constructor for class passport.domain.models.users.Login
-
Constructs a new Login with the specified email and password.
- logInAs(User) - Method in class passport.infra.Session
-
Logs in as the specified user.
- LoginForm - Class in passport.application.desktop.ui.welcome.login
-
Handles the login form in the welcome window.
- LoginForm(PassPort, Action) - Constructor for class passport.application.desktop.ui.welcome.login.LoginForm
-
Constructs the login form.
- LoginInformation - Class in passport.domain.contexts.user.forms
-
Represents the login information for a user, including email and password.
- LoginInformation() - Constructor for class passport.domain.contexts.user.forms.LoginInformation
- logOut() - Method in class passport.domain.contexts.user.UserLogin
-
Logs out the current session.
- logOut() - Method in class passport.infra.Session
-
Logs out the current user.
M
- main(String[]) - Static method in class passport.application.desktop.App
-
Main method that starts the application.
- MainWindow - Class in passport.application.desktop.ui.main
-
Represents the main window of the application, providing access to available events and owned events.
- MainWindow(PassPort) - Constructor for class passport.application.desktop.ui.main.MainWindow
-
Constructs the main window with the given application instance.
- makeOf(Integer) - Method in class passport.domain.contexts.purchases.internal.Purchase
-
Makes a purchase of a specified amount of tickets.
- metadata() - Method in class passport.domain.models.email.EmailDocument
-
Returns the metadata of the email.
- MUSIC - Enum constant in enum class passport.domain.models.events.EventCategory
- MyEvents - Class in passport.application.desktop.ui.main.owned
-
Represents the list of events owned by the user.
- MyEvents(PassPort) - Constructor for class passport.application.desktop.ui.main.owned.MyEvents
N
- name() - Method in record class passport.domain.contexts.events.EvaluationListing.Comment
-
Returns the value of the
name
record component. - name() - Method in class passport.domain.models.purchases.EventManagementBusiness
-
Returns the company name of the Event Management Business.
- name() - Method in class passport.domain.models.users.Person
-
Returns the name of the person.
- name() - Static method in class passport.infra.placeholders.users.RickAdm
- name() - Static method in class passport.infra.placeholders.users.RickB
- name(String) - Method in class passport.domain.contexts.user.forms.PersonalInformation
-
Sets the name for the personal information.
- name(String) - Method in class passport.domain.contexts.user.UserEditing.EditingWithTarget
-
Updates the user's name.
- next() - Method in class passport.application.desktop.ui.welcome.signup.SignupStepPane
-
Advances to the next step.
- node(String) - Static method in class passport.domain.models.email.Html
-
Creates an HTML element with the specified tag.
- NOT_PROVIDED - Enum constant in enum class passport.domain.models.events.EventCategory
- Notification - Class in passport.application.desktop.ui.components
- Notification(String, String) - Constructor for class passport.application.desktop.ui.components.Notification
- notify(String, String) - Method in class passport.application.desktop.system.PassPort.Warning
-
Displays a notification with the specified title and message.
O
- of(int) - Method in class passport.application.desktop.ui.components.ProgressIndicator
- of(String, String) - Static method in class passport.domain.models.users.Login
- of(Purchase) - Method in class passport.domain.contexts.purchases.internal.PurchaseMail
-
Sets the purchase details for the email.
- of(Event) - Method in class passport.domain.contexts.events.EvaluationListing
-
Sets the event ID for the evaluation.
- of(EventId) - Method in class passport.domain.contexts.events.EventEvaluation
-
Sets the event ID for the evaluation.
- of(EventId) - Method in class passport.domain.contexts.purchases.TicketBuying
-
Sets the event for which tickets are being bought.
- of(User) - Method in class passport.domain.contexts.user.UserEditing
-
Specifies the user to be edited.
- ofCapacity(Integer) - Method in class passport.domain.models.events.BoxOffice
-
Creates a BoxOffice with the specified capacity.
- on(LocalDate) - Method in class passport.domain.contexts.events.EventRegistering
-
Sets the current day for the context.
- ownedBy(User) - Static method in class passport.domain.contexts.user.ListTickets
-
Static factory method for creating a ListTickets context for a specific user.
- ownedBy(User) - Method in class passport.domain.contexts.user.SubscribedEventsListing
-
Retrieves the list of events subscribed by the user.
- ownerOf(Login) - Method in class passport.infra.json.UsersJson
- ownerOf(Login) - Method in class passport.infra.virtual.UsersInMemory
- ownerOf(Login) - Method in interface passport.roles.repositories.Users
-
Retrieves an user by their email and password.
- owning(Ticket) - Method in class passport.domain.contexts.purchases.TicketRefund
-
Sets the ticket to be refunded.
P
- packedFor(Integer) - Method in class passport.domain.models.events.Ticket
-
Creates a ticket for the specified number of persons.
- Participant - Class in passport.domain.models.purchases
-
Represents a participant in a transaction, including email, name, and tax ID.
- Participant(String, String, String) - Constructor for class passport.domain.models.purchases.Participant
- Participant(User) - Constructor for class passport.domain.models.purchases.Participant
-
Constructs a new Participant based on a user's information.
- PassPort - Record Class in passport.application.desktop.system
-
The PassPort class acts as a controller in the MVC architecture.
- PassPort(Stage, Services, Translator) - Constructor for record class passport.application.desktop.system.PassPort
-
Creates an instance of a
PassPort
record class. - PassPort(Services) - Constructor for record class passport.application.desktop.system.PassPort
-
Constructs a PassPort controller with the given services.
- passport.application.desktop - package passport.application.desktop
- passport.application.desktop.contracts - package passport.application.desktop.contracts
- passport.application.desktop.system - package passport.application.desktop.system
- passport.application.desktop.ui.components - package passport.application.desktop.ui.components
- passport.application.desktop.ui.event - package passport.application.desktop.ui.event
- passport.application.desktop.ui.main - package passport.application.desktop.ui.main
- passport.application.desktop.ui.main.events - package passport.application.desktop.ui.main.events
- passport.application.desktop.ui.main.owned - package passport.application.desktop.ui.main.owned
- passport.application.desktop.ui.profile - package passport.application.desktop.ui.profile
- passport.application.desktop.ui.purchase - package passport.application.desktop.ui.purchase
- passport.application.desktop.ui.welcome - package passport.application.desktop.ui.welcome
- passport.application.desktop.ui.welcome.login - package passport.application.desktop.ui.welcome.login
- passport.application.desktop.ui.welcome.signup - package passport.application.desktop.ui.welcome.signup
- passport.domain.contexts.events - package passport.domain.contexts.events
- passport.domain.contexts.events.forms - package passport.domain.contexts.events.forms
- passport.domain.contexts.purchases - package passport.domain.contexts.purchases
- passport.domain.contexts.purchases.internal - package passport.domain.contexts.purchases.internal
- passport.domain.contexts.user - package passport.domain.contexts.user
- passport.domain.contexts.user.forms - package passport.domain.contexts.user.forms
- passport.domain.exceptions - package passport.domain.exceptions
- passport.domain.models.email - package passport.domain.models.email
- passport.domain.models.evaluations - package passport.domain.models.evaluations
- passport.domain.models.events - package passport.domain.models.events
- passport.domain.models.purchases - package passport.domain.models.purchases
- passport.domain.models.users - package passport.domain.models.users
- passport.domain.models.users.values - package passport.domain.models.users.values
- passport.infra - package passport.infra
- passport.infra.json - package passport.infra.json
- passport.infra.placeholders - package passport.infra.placeholders
- passport.infra.placeholders.events - package passport.infra.placeholders.events
- passport.infra.placeholders.users - package passport.infra.placeholders.users
- passport.infra.virtual - package passport.infra.virtual
- passport.roles - package passport.roles
- passport.roles.repositories - package passport.roles.repositories
- PassPort.Warning - Class in passport.application.desktop.system
-
The Warning class provides methods for displaying alerts and notifications.
- password() - Static method in class passport.infra.placeholders.users.RickAdm
- password() - Static method in class passport.infra.placeholders.users.RickB
- password(String) - Method in class passport.domain.contexts.user.forms.LoginInformation
-
Sets the password for the login information.
- password(String) - Method in class passport.domain.contexts.user.UserEditing.EditingWithTarget
-
Updates the user's password.
- Password - Class in passport.domain.models.users.values
- Password(String) - Constructor for class passport.domain.models.users.values.Password
- PaymentDetails - Class in passport.domain.models.purchases
-
Represents the details of a payment, including the payment method and amount.
- PaymentDetails(PaymentMethod, Double) - Constructor for class passport.domain.models.purchases.PaymentDetails
-
Constructs a new PaymentDetails object with the specified payment method and amount.
- PaymentMethod - Class in passport.domain.models.purchases
-
Represents a payment method with details, and provides HTML representation for display.
- PaymentMethod(String, String) - Constructor for class passport.domain.models.purchases.PaymentMethod
-
Constructs a new PaymentMethod with the specified method and details.
- PermissionDenied - Exception Class in passport.domain.exceptions
-
Exception thrown when a user attempts to perform an operation without the necessary permissions.
- PermissionDenied(String) - Constructor for exception class passport.domain.exceptions.PermissionDenied
-
Constructs a new PermissionDenied exception with the specified detail message.
- person() - Method in class passport.domain.models.users.User
-
Returns the personal details.
- person(Person) - Method in class passport.domain.contexts.user.AdminRegistering
-
Sets the personal information for the admin user.
- person(Person) - Method in class passport.domain.contexts.user.SigningUp
-
Sets the personal information for the user.
- Person - Class in passport.domain.models.users
-
Represents a person with a name and CPF.
- Person(String, String) - Constructor for class passport.domain.models.users.Person
-
Constructs a new Person with the specified name and CPF.
- PersonalInformation - Class in passport.domain.contexts.user.forms
-
Represents the personal information for a user, including name and CPF.
- PersonalInformation() - Constructor for class passport.domain.contexts.user.forms.PersonalInformation
- PersonalInfoStep - Class in passport.application.desktop.ui.welcome.signup
- PersonalInfoStep(PassPort, Action) - Constructor for class passport.application.desktop.ui.welcome.signup.PersonalInfoStep
- pixForm(PassPort, PurchaseWindow, Double) - Static method in class passport.application.desktop.ui.purchase.Forms
- PORTUGUESE - Enum constant in enum class passport.application.desktop.system.Language
- poster() - Method in class passport.domain.models.events.Event
-
Returns the event poster.
- poster() - Static method in class passport.infra.placeholders.events.FromZero
- poster(Poster) - Method in class passport.domain.contexts.events.EventRegistering
-
Sets the poster for the event.
- Poster - Class in passport.domain.models.events
-
Represents an event poster with a title, description, and schedule date.
- Poster(String, String, LocalDate) - Constructor for class passport.domain.models.events.Poster
- Poster(String, String, LocalDate, EventCategory) - Constructor for class passport.domain.models.events.Poster
-
Constructs a new Poster with the specified title, description, and schedule date.
- prev() - Method in class passport.application.desktop.ui.welcome.signup.SignupStepPane
-
Returns to the previous step.
- price() - Method in record class passport.application.desktop.ui.purchase.PurchaseWindow.Properties
-
Returns the value of the
price
record component. - price() - Method in class passport.domain.models.events.Ticket
-
Returns the total price of the ticket based on availability.
- price() - Static method in class passport.infra.placeholders.events.Ballerina
- price() - Static method in class passport.infra.placeholders.events.FromZero
- price() - Static method in class passport.infra.placeholders.events.JohnWick4
- price() - Static method in class passport.infra.placeholders.events.RockInRio
- profileEditing() - Method in record class passport.application.desktop.system.Services
-
Returns the value of the
profileEditing
record component. - ProgressIndicator - Class in passport.application.desktop.ui.components
- ProgressIndicator(Translator) - Constructor for class passport.application.desktop.ui.components.ProgressIndicator
- Properties(EventId, UserId, Double) - Constructor for record class passport.application.desktop.ui.purchase.PurchaseWindow.Properties
-
Creates an instance of a
Properties
record class. - Purchase - Class in passport.domain.contexts.purchases.internal
-
Represents a purchase transaction, including buying and refunding tickets.
- Purchase() - Constructor for class passport.domain.contexts.purchases.internal.Purchase
- PurchaseForInactiveEvent - Exception Class in passport.domain.exceptions
- PurchaseForInactiveEvent() - Constructor for exception class passport.domain.exceptions.PurchaseForInactiveEvent
- purchaseMail() - Method in class passport.domain.contexts.purchases.internal.PurchaseMail
-
Creates an email document for the purchase.
- PurchaseMail - Class in passport.domain.contexts.purchases.internal
-
Manages the creation of purchase and refund emails.
- PurchaseMail() - Constructor for class passport.domain.contexts.purchases.internal.PurchaseMail
- PurchaseWindow - Class in passport.application.desktop.ui.purchase
-
Manages the purchase window for event tickets.
- PurchaseWindow(PassPort, Event, User) - Constructor for class passport.application.desktop.ui.purchase.PurchaseWindow
-
Initializes the purchase window with the given event and user.
- PurchaseWindow.Properties - Record Class in passport.application.desktop.ui.purchase
-
Holds properties related to the purchase, including event and user IDs, and ticket price.
- purchasing() - Method in record class passport.application.desktop.system.Services
-
Returns the value of the
purchasing
record component.
R
- receiveEvaluation(Evaluation) - Method in class passport.domain.models.events.Event
-
Receives an evaluation and adds it to the event.
- recipient() - Method in class passport.domain.models.email.EmailMetadata
-
Returns the recipient's email address.
- refund() - Method in class passport.domain.contexts.purchases.internal.Purchase
-
Refunds the purchased ticket.
- refund() - Method in class passport.domain.contexts.purchases.TicketRefund
-
Executes the refund process.
- refund(Ticket) - Method in class passport.domain.models.events.BoxOffice
-
Refunds the specified ticket.
- refundMail() - Method in class passport.domain.contexts.purchases.internal.PurchaseMail
-
Creates an email document for the refund.
- register() - Method in class passport.domain.contexts.events.EventRegistering
-
Registers the event.
- register() - Method in class passport.domain.contexts.user.AdminRegistering
-
Registers the admin user.
- register() - Method in class passport.domain.contexts.user.SigningUp
-
Registers the user in the repository.
- register(Event) - Method in class passport.infra.json.EventsJson
- register(Event) - Method in class passport.infra.virtual.EventsInMemory
- register(Event) - Method in interface passport.roles.repositories.Events
-
Registers a new event.
- register(User) - Method in class passport.infra.json.UsersJson
- register(User) - Method in class passport.infra.virtual.UsersInMemory
- register(User) - Method in interface passport.roles.repositories.Users
-
Registers a new user.
- resources() - Method in class passport.application.desktop.Translator
-
Returns the current ResourceBundle.
- resourcesProp() - Method in class passport.application.desktop.Translator
-
ResourceBundle as an ObjectProperty.
- returnTicket(Ticket) - Method in class passport.domain.models.users.User
-
Returns a ticket and removes it from the user's bought tickets.
- RickAdm - Class in passport.infra.placeholders.users
- RickAdm() - Constructor for class passport.infra.placeholders.users.RickAdm
- RickB - Class in passport.infra.placeholders.users
- RickB() - Constructor for class passport.infra.placeholders.users.RickB
- RockInRio - Class in passport.infra.placeholders.events
- RockInRio() - Constructor for class passport.infra.placeholders.events.RockInRio
- root() - Method in class passport.application.desktop.ui.purchase.Components
S
- sales() - Method in class passport.domain.models.events.BoxOffice
-
Returns the number of tickets sold.
- sameEvent(Ticket) - Method in class passport.domain.models.events.Ticket
-
Checks if the ticket is for the same event as another ticket.
- scheduledFor(LocalDate) - Method in class passport.domain.contexts.events.forms.EventInformation
-
Sets the schedule date of the event.
- self() - Static method in class passport.domain.models.purchases.Participant
-
Creates a Participant representing the Event Management Business itself.
- sell(Ticket) - Method in class passport.domain.models.events.BoxOffice
-
Sells the specified ticket.
- send(EmailDocument) - Method in class passport.infra.DisabledEmailService
-
Captures the email document instead of sending it.
- send(EmailDocument) - Method in interface passport.roles.EmailService
-
Sends an email document.
- sender() - Method in class passport.domain.models.email.EmailMetadata
-
Returns the sender's email address.
- services() - Method in record class passport.application.desktop.system.PassPort
-
Returns the value of the
services
record component. - Services - Record Class in passport.application.desktop.system
-
Provides access to various services within the PassPort application.
- Services(SigningUp, UserLogin, AvailableEventsListing, SubscribedEventsListing, EvaluationListing, EventEvaluation, TicketBuying, UserEditing) - Constructor for record class passport.application.desktop.system.Services
-
Creates an instance of a
Services
record class. - session() - Method in record class passport.application.desktop.system.Infra
-
Returns the value of the
session
record component. - Session - Class in passport.infra
-
Manages the session state for a logged-in user.
- Session() - Constructor for class passport.infra.Session
-
Constructs an empty session.
- shouldBeSellable() - Method in class passport.domain.contexts.purchases.internal.Purchase
-
Ensures that the purchase is sellable.
- shouldBeSold() - Method in class passport.domain.contexts.purchases.internal.Purchase
-
Ensures that the ticket has been sold.
- shouldOwnTicket() - Method in class passport.domain.contexts.purchases.internal.Purchase
-
Ensures that the buyer owns the ticket.
- SigningUp - Class in passport.domain.contexts.user
-
Allows sign-up a User into a Repository.
- SigningUp(Users) - Constructor for class passport.domain.contexts.user.SigningUp
-
Constructor that initializes the repository.
- signup() - Method in record class passport.application.desktop.system.Services
-
Returns the value of the
signup
record component. - SignupForm - Class in passport.application.desktop.ui.welcome.signup
-
Manages the signup form in the welcome window.
- SignupForm(PassPort, Action) - Constructor for class passport.application.desktop.ui.welcome.signup.SignupForm
- SignupStep - Class in passport.application.desktop.ui.welcome.signup
- SignupStep() - Constructor for class passport.application.desktop.ui.welcome.signup.SignupStep
- SignupStepPane - Class in passport.application.desktop.ui.welcome.signup
-
Manages and navigates multiple signup steps.
- SignupStepPane(SignupStep...) - Constructor for class passport.application.desktop.ui.welcome.signup.SignupStepPane
- SoldOut - Exception Class in passport.domain.exceptions
-
Exception thrown when an event is sold out.
- SoldOut() - Constructor for exception class passport.domain.exceptions.SoldOut
-
Constructs a new SoldOut exception with no detail message.
- sortedByDate() - Method in class passport.domain.contexts.events.AvailableEventsListing
-
Sets the sorter by date.
- sortedByTitle() - Method in class passport.domain.contexts.events.AvailableEventsListing
-
Sets the sorter by name.
- SPANISH - Enum constant in enum class passport.application.desktop.system.Language
- SPORTS - Enum constant in enum class passport.domain.models.events.EventCategory
- stage() - Method in record class passport.application.desktop.system.PassPort
-
Gets the current stage of the application.
- start(Stage) - Method in class passport.application.desktop.App
-
UI startup method.
- subject() - Method in class passport.domain.models.email.EmailMetadata
-
Returns the subject of the email.
- submit() - Method in class passport.domain.contexts.events.forms.EventInformation
-
Submits the event information and returns a Poster object containing the title, description, and schedule.
- submit() - Method in class passport.domain.contexts.user.forms.LoginInformation
-
Submits the login information and returns a Login object.
- submit() - Method in class passport.domain.contexts.user.forms.PersonalInformation
-
Submits the personal information and returns a Person object.
- subscribedEvents() - Method in record class passport.application.desktop.system.Services
-
Returns the value of the
subscribedEvents
record component. - SubscribedEventsListing - Class in passport.domain.contexts.user
-
Context for listing subscribed events by a user.
- SubscribedEventsListing(Events) - Constructor for class passport.domain.contexts.user.SubscribedEventsListing
-
Private constructor for creating a SubscribedEventsListing context.
- success(String) - Method in class passport.application.desktop.system.PassPort.Warning
-
Displays a success alert with the specified message key.
- switchToLogin() - Method in class passport.application.desktop.ui.welcome.WelcomeWindow
-
Switches to the Login form.
- switchToLogon() - Method in class passport.application.desktop.ui.welcome.WelcomeWindow
-
Switches to the Signup form.
T
- THEATRE - Enum constant in enum class passport.domain.models.events.EventCategory
- ticket - Variable in class passport.domain.contexts.purchases.internal.Purchase
- ticket() - Method in class passport.domain.models.events.BoxOffice
- ticket() - Static method in class passport.infra.placeholders.events.FromZero
- ticket(Integer) - Method in class passport.domain.models.events.BoxOffice
-
Creates a ticket with the specified amount of available seats.
- Ticket - Class in passport.domain.models.events
-
Represents a ticket for an event, including event ID, price, and availability.
- Ticket(EventId) - Constructor for class passport.domain.models.events.Ticket
-
Constructs a new Ticket with the specified event ID and a default price of 0.0.
- Ticket(EventId, Double) - Constructor for class passport.domain.models.events.Ticket
-
Constructs a new Ticket with the specified event ID and price.
- TicketBuying - Class in passport.domain.contexts.purchases
-
Context for buying tickets for an event.
- TicketBuying(EmailService, Events, Users, LocalDate) - Constructor for class passport.domain.contexts.purchases.TicketBuying
-
Constructor with specified email service.
- TicketBuying(Events, Users, LocalDate) - Constructor for class passport.domain.contexts.purchases.TicketBuying
-
Constructor with default email service.
- TicketRefund - Class in passport.domain.contexts.purchases
-
Context for processing ticket refunds.
- TicketRefund(EmailService, Events, Users, LocalDate) - Constructor for class passport.domain.contexts.purchases.TicketRefund
-
Constructor with specified email service.
- TicketRefund(Events, Users, LocalDate) - Constructor for class passport.domain.contexts.purchases.TicketRefund
-
Constructor with default email service.
- tickets() - Method in class passport.domain.models.users.User
-
Returns the list of bought tickets.
- title() - Method in class passport.domain.models.events.Poster
-
Returns the title of the event.
- title() - Static method in class passport.infra.placeholders.events.Ballerina
- title() - Static method in class passport.infra.placeholders.events.FromZero
- title() - Static method in class passport.infra.placeholders.events.JohnWick4
- title() - Static method in class passport.infra.placeholders.events.RockInRio
- title(String) - Method in class passport.domain.contexts.events.forms.EventInformation
-
Sets the title of the event.
- to(UserId) - Method in class passport.domain.contexts.purchases.TicketRefund
-
Sets the customer who will receive the refund.
- toEmail() - Method in class passport.domain.models.purchases.Transaction
-
Converts the transaction details to an email document.
- toEventPurchase(Event) - Method in record class passport.application.desktop.system.PassPort
-
Opens the event purchase popup for the specified event.
- toEventReview(Event) - Method in record class passport.application.desktop.system.PassPort
-
Opens the event review popup for the specified event.
- toMain() - Method in record class passport.application.desktop.system.PassPort
-
Navigates to the main window.
- toProfileEditing() - Method in record class passport.application.desktop.system.PassPort
-
Opens the profile editing window.
- toPurchaseOf(Event) - Method in record class passport.application.desktop.system.PassPort
-
Opens the purchase window for the specified event.
- toScene(Scene) - Method in record class passport.application.desktop.system.PassPort
-
Sets the specified scene on the current stage.
- toString() - Method in record class passport.application.desktop.system.Infra
-
Returns a string representation of this record class.
- toString() - Method in enum class passport.application.desktop.system.Language
-
Returns the display name of the language.
- toString() - Method in record class passport.application.desktop.system.PassPort
-
Returns a string representation of this record class.
- toString() - Method in record class passport.application.desktop.system.Services
-
Returns a string representation of this record class.
- toString() - Method in record class passport.application.desktop.ui.purchase.PurchaseWindow.Properties
-
Returns a string representation of this record class.
- toString() - Method in record class passport.domain.contexts.events.EvaluationListing.Comment
-
Returns a string representation of this record class.
- toString() - Method in class passport.domain.models.email.Html
- toString() - Method in enum class passport.domain.models.events.EventCategory
- toString() - Method in class passport.domain.models.purchases.Participant
- toString() - Method in record class passport.domain.models.users.values.EmailAddress
-
Returns a string representation of this record class.
- toWelcome() - Method in record class passport.application.desktop.system.PassPort
-
Navigates to the welcome window.
- Transaction - Class in passport.domain.models.purchases
-
Represents a transaction including payer, recipient, payment details, and description.
- Transaction(Participant, Participant, PaymentDetails, String) - Constructor for class passport.domain.models.purchases.Transaction
-
Constructs a new Transaction with the specified payer, recipient, payment details, and description.
- Transaction(TransactionId, Participant, Participant, PaymentDetails, String) - Constructor for class passport.domain.models.purchases.Transaction
-
Constructs a new Transaction with the specified ID, payer, recipient, payment details, and description.
- TransactionId - Class in passport.domain.models.purchases
- TransactionId() - Constructor for class passport.domain.models.purchases.TransactionId
- TransactionId(UUID) - Constructor for class passport.domain.models.purchases.TransactionId
- translateFrom(Consumer<String>, String) - Method in class passport.application.desktop.Translator
-
Sets up the translation of a text, using a consumer to apply the translation.
- translationOf(String) - Method in class passport.application.desktop.Translator
-
Returns the translation of the specified property.
- translator() - Method in record class passport.application.desktop.system.PassPort
-
Returns the value of the
translator
record component. - Translator - Class in passport.application.desktop
-
Responsible for managing string translations at runtime.
- Translator() - Constructor for class passport.application.desktop.Translator
-
Initializes with the English language by default.
- TryingToEvaluateActiveEvent - Exception Class in passport.domain.exceptions
- TryingToEvaluateActiveEvent() - Constructor for exception class passport.domain.exceptions.TryingToEvaluateActiveEvent
U
- update(Event) - Method in class passport.infra.json.EventsJson
- update(Event) - Method in class passport.infra.virtual.EventsInMemory
- update(Event) - Method in interface passport.roles.repositories.Events
-
Updates an existing event.
- update(User, User) - Method in class passport.infra.json.UsersJson
- update(User, User) - Method in class passport.infra.virtual.UsersInMemory
- update(User, User) - Method in interface passport.roles.repositories.Users
-
Updates an existing user.
- updateEvents(List<Event>) - Method in class passport.application.desktop.ui.main.events.AvailableEvents
-
Updates the events list with new events.
- updateEvents(List<Event>) - Method in class passport.application.desktop.ui.main.owned.MyEvents
- user() - Static method in class passport.infra.placeholders.users.RickAdm
- user() - Static method in class passport.infra.placeholders.users.RickB
- User - Class in passport.domain.models.users
-
Represents a user, including login details, personal details, and purchased tickets.
- User(Login, Person) - Constructor for class passport.domain.models.users.User
-
Constructor for creating a new user with login and personal details.
- User(UserId, Login, Person) - Constructor for class passport.domain.models.users.User
-
Constructor for creating a new user with a specified ID, login, and personal details.
- User(UserId, Login, Person, boolean, List<Ticket>) - Constructor for class passport.domain.models.users.User
-
Private constructor for creating a new user with all details.
- UserEditing - Class in passport.domain.contexts.user
-
Context for editing user details.
- UserEditing(Users) - Constructor for class passport.domain.contexts.user.UserEditing
-
Constructs a UserEditing context with the specified user repository.
- UserEditing.EditingWithTarget - Class in passport.domain.contexts.user
-
Inner class representing the editing operations for a specific user.
- userId() - Method in record class passport.application.desktop.ui.purchase.PurchaseWindow.Properties
-
Returns the value of the
userId
record component. - UserId - Class in passport.domain.models.users
- UserId() - Constructor for class passport.domain.models.users.UserId
- UserId(UUID) - Constructor for class passport.domain.models.users.UserId
- UserLogin - Class in passport.domain.contexts.user
-
Context for managing user login operations.
- UserLogin(Session, Users) - Constructor for class passport.domain.contexts.user.UserLogin
- UserLogin(Users) - Constructor for class passport.domain.contexts.user.UserLogin
-
Constructs a UserLogin context with the specified user repository.
- users() - Method in record class passport.application.desktop.system.Infra
-
Returns the value of the
users
record component. - Users - Interface in passport.roles.repositories
-
Interface for managing User entities.
- UsersInMemory - Class in passport.infra.virtual
-
In-memory implementation of the Users repository.
- UsersInMemory() - Constructor for class passport.infra.virtual.UsersInMemory
-
Constructs a new UsersInMemory with an empty list of users.
- UsersInMemory(List<User>) - Constructor for class passport.infra.virtual.UsersInMemory
-
Constructs a new UsersInMemory with a list of users.
- UsersJson - Class in passport.infra.json
-
Implementation of the Users repository using JSON for persistence.
- UsersJson(JsonFile) - Constructor for class passport.infra.json.UsersJson
-
Constructor initializing the repository with a file path.
- UsersJson(JsonFile, UsersInMemory) - Constructor for class passport.infra.json.UsersJson
-
Constructor initializing the repository with a file and in-memory repository.
V
- validate() - Method in class passport.application.desktop.ui.welcome.signup.CredentialsStep
- validate() - Method in class passport.application.desktop.ui.welcome.signup.PersonalInfoStep
- validate() - Method in class passport.application.desktop.ui.welcome.signup.SignupStep
- value() - Method in record class passport.domain.models.users.values.EmailAddress
-
Returns the value of the
value
record component. - value() - Method in class passport.roles.EntityId
-
Returns the UUID value of the entity ID.
- valueOf(String) - Static method in enum class passport.application.desktop.system.Language
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class passport.domain.models.events.EventCategory
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class passport.application.desktop.system.Language
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class passport.domain.models.events.EventCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- via(PaymentMethod) - Method in class passport.domain.contexts.purchases.internal.PurchaseMail
-
Sets the payment method for the email.
- via(PaymentMethod) - Method in class passport.domain.contexts.purchases.TicketBuying
-
Sets the payment method for the purchase.
- via(PaymentMethod) - Method in class passport.domain.contexts.purchases.TicketRefund
-
Sets the payment method for the refund.
W
- warn() - Method in record class passport.application.desktop.system.PassPort
-
Gets the Warning instance for displaying alerts and notifications.
- Warning() - Constructor for class passport.application.desktop.system.PassPort.Warning
- WelcomeWindow - Class in passport.application.desktop.ui.welcome
-
Class responsible for setting up the welcome window of the application.
- WelcomeWindow(PassPort) - Constructor for class passport.application.desktop.ui.welcome.WelcomeWindow
-
Initializes the welcome window.
- widget() - Method in class passport.application.desktop.ui.components.LanguageSelector
- with(Login) - Method in class passport.domain.models.users.User
-
Sets the login details for the user.
- with(Person) - Method in class passport.domain.models.users.User
-
Sets the personal details for the user.
- with(EmailAddress) - Method in class passport.domain.models.users.Login
- with(Password) - Method in class passport.domain.models.users.Login
- withCategory(EventCategory) - Method in class passport.domain.contexts.events.AvailableEventsListing
-
Sets the filter by category.
- withCpf(String) - Method in class passport.domain.models.users.Person
-
Creates a new Person with the specified CPF, keeping the current name.
- withDate(LocalDate) - Method in class passport.domain.contexts.events.AvailableEventsListing
-
Sets the filter by date.
- withForms() - Method in class passport.application.desktop.ui.event.Comments
- withName(String) - Method in class passport.domain.models.users.Person
-
Creates a new Person with the specified name, keeping the current CPF.
- withSession(Session) - Method in class passport.domain.contexts.user.UserLogin
-
Associates the current login context with a session.
- withStage(Stage) - Method in record class passport.application.desktop.system.PassPort
-
Returns a new PassPort instance with the specified stage.
- withTickets(List<Ticket>) - Method in class passport.domain.models.users.User
-
Sets the tickets for the user.
- WORKSHOP - Enum constant in enum class passport.domain.models.events.EventCategory
All Classes and Interfaces|All Packages|Serialized Form