public class Invitation extends BaseEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
Invitation.Builder |
| Constructor and Description |
|---|
Invitation(String email,
HawkularUser invitedBy,
Organization organization,
Role role) |
Invitation(String id,
String email,
HawkularUser invitedBy,
Organization organization,
Role role) |
Invitation(UUID id,
ZonedDateTime createdAt,
ZonedDateTime updatedAt,
String email,
ZonedDateTime acceptedAt,
ZonedDateTime dispatchedAt,
HawkularUser invitedBy,
HawkularUser acceptedBy,
Organization organization,
Role role) |
| Modifier and Type | Method and Description |
|---|---|
ZonedDateTime |
getAcceptedAt() |
HawkularUser |
getAcceptedBy() |
ZonedDateTime |
getDispatchedAt() |
String |
getEmail() |
HawkularUser |
getInvitedBy() |
Organization |
getOrganization() |
Role |
getRole() |
String |
getToken() |
void |
setAccepted()
Sets the invitation as accepted as of 'now'.
|
void |
setAcceptedAt(ZonedDateTime acceptedAt) |
void |
setAcceptedBy(HawkularUser acceptedBy) |
void |
setDispatched()
Sets the invitation as accepted as of 'now'.
|
void |
setDispatchedAt(ZonedDateTime dispatchedAt) |
equals, getCreatedAt, getId, getIdAsUUID, getUpdatedAt, hashCode, setUpdatedAt, toStringpublic Invitation(String email, HawkularUser invitedBy, Organization organization, Role role)
public Invitation(String id, String email, HawkularUser invitedBy, Organization organization, Role role)
public Invitation(UUID id, ZonedDateTime createdAt, ZonedDateTime updatedAt, String email, ZonedDateTime acceptedAt, ZonedDateTime dispatchedAt, HawkularUser invitedBy, HawkularUser acceptedBy, Organization organization, Role role)
public String getToken()
public HawkularUser getInvitedBy()
public Organization getOrganization()
public Role getRole()
public String getEmail()
public ZonedDateTime getAcceptedAt()
public void setAcceptedAt(ZonedDateTime acceptedAt)
public ZonedDateTime getDispatchedAt()
public void setDispatchedAt(ZonedDateTime dispatchedAt)
public void setAccepted()
public void setDispatched()
public HawkularUser getAcceptedBy()
public void setAcceptedBy(HawkularUser acceptedBy)
Copyright © 2015 Red Hat, Inc.. All rights reserved.