Package org.keycloak.models.jpa.entities
Class OrganizationInvitationEntity
java.lang.Object
org.keycloak.models.jpa.entities.OrganizationInvitationEntity
- All Implemented Interfaces:
OrganizationInvitationModel
@Entity
public class OrganizationInvitationEntity
extends Object
implements OrganizationInvitationModel
JPA entity for organization invitations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.OrganizationInvitationModel
OrganizationInvitationModel.Filter, OrganizationInvitationModel.InvitationStatus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns the timestamp when this invitation was created.getEmail()Returns the email address of the invited user.intReturns the timestamp when this invitation expires.Returns the first name of the invited user.getId()Returns the unique identifier of this invitation.Returns the invitation link.Returns the last name of the invited user.Returns the organization ID this invitation belongs to.Returns the current status of this invitation.inthashCode()voidsetCreatedAt(int createdAt) voidSets the email address of the invited user.voidsetExpiresAt(int expiresAt) Sets the timestamp when this invitation expires.voidsetFirstName(String firstName) Sets the first name of the invited user.voidvoidsetInviteLink(String inviteLink) Sets the invitation link.voidsetLastName(String lastName) Sets the last name of the invited user.voidsetOrganizationId(String organizationId) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.OrganizationInvitationModel
isExpired
-
Constructor Details
-
OrganizationInvitationEntity
public OrganizationInvitationEntity() -
OrganizationInvitationEntity
-
-
Method Details
-
getId
Description copied from interface:OrganizationInvitationModelReturns the unique identifier of this invitation.- Specified by:
getIdin interfaceOrganizationInvitationModel- Returns:
- the unique identifier
-
setId
-
getOrganizationId
Description copied from interface:OrganizationInvitationModelReturns the organization ID this invitation belongs to.- Specified by:
getOrganizationIdin interfaceOrganizationInvitationModel- Returns:
- the organization ID
-
setOrganizationId
-
getEmail
Description copied from interface:OrganizationInvitationModelReturns the email address of the invited user.- Specified by:
getEmailin interfaceOrganizationInvitationModel- Returns:
- the email address
-
setEmail
Description copied from interface:OrganizationInvitationModelSets the email address of the invited user.- Specified by:
setEmailin interfaceOrganizationInvitationModel- Parameters:
email- the email address
-
getFirstName
Description copied from interface:OrganizationInvitationModelReturns the first name of the invited user.- Specified by:
getFirstNamein interfaceOrganizationInvitationModel- Returns:
- the first name
-
setFirstName
Description copied from interface:OrganizationInvitationModelSets the first name of the invited user.- Specified by:
setFirstNamein interfaceOrganizationInvitationModel- Parameters:
firstName- the first name
-
getLastName
Description copied from interface:OrganizationInvitationModelReturns the last name of the invited user.- Specified by:
getLastNamein interfaceOrganizationInvitationModel- Returns:
- the last name
-
setLastName
Description copied from interface:OrganizationInvitationModelSets the last name of the invited user.- Specified by:
setLastNamein interfaceOrganizationInvitationModel- Parameters:
lastName- the last name
-
getCreatedAt
public int getCreatedAt()Description copied from interface:OrganizationInvitationModelReturns the timestamp when this invitation was created.- Specified by:
getCreatedAtin interfaceOrganizationInvitationModel- Returns:
- the creation timestamp
-
setCreatedAt
public void setCreatedAt(int createdAt) -
getExpiresAt
public int getExpiresAt()Description copied from interface:OrganizationInvitationModelReturns the timestamp when this invitation expires.- Specified by:
getExpiresAtin interfaceOrganizationInvitationModel- Returns:
- the expiration timestamp, or null if no expiration
-
setExpiresAt
public void setExpiresAt(int expiresAt) Description copied from interface:OrganizationInvitationModelSets the timestamp when this invitation expires.- Specified by:
setExpiresAtin interfaceOrganizationInvitationModel- Parameters:
expiresAt- the expiration timestamp
-
getInviteLink
Description copied from interface:OrganizationInvitationModelReturns the invitation link.- Specified by:
getInviteLinkin interfaceOrganizationInvitationModel- Returns:
- the invitation link
-
setInviteLink
Description copied from interface:OrganizationInvitationModelSets the invitation link.- Specified by:
setInviteLinkin interfaceOrganizationInvitationModel- Parameters:
inviteLink- the invitation link
-
getStatus
Description copied from interface:OrganizationInvitationModelReturns the current status of this invitation.- Specified by:
getStatusin interfaceOrganizationInvitationModel- Returns:
- the invitation status
-
equals
-
hashCode
public int hashCode()
-