Class Invitation
java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.core.api.Auditable
cz.metacentrum.perun.registrar.model.Invitation
- All Implemented Interfaces:
Serializable
,Comparable<PerunBean>
- Direct Known Subclasses:
InvitationWithSender
Invitation to a group sent via email. User accepting the invitation creates a pre-approved application.
- Author:
- David Flor invalid input: '<'493294@mail.muni.cz>
- See Also:
-
Constructor Summary
ConstructorDescriptionInvitation
(int id, int voId, int groupId, int senderId, String receiverName, String receiverEmail, String redirectUrl, Locale language, LocalDate expiration) Invitation
(int id, int voId, int groupId, int senderId, String receiverName, String receiverEmail, Locale language, LocalDate expiration) Invitation
(int id, int voId, int groupId, Integer applicationId, int senderId, String receiverName, String receiverEmail, String redirectUrl, UUID token, Locale language, LocalDate expiration, InvitationStatus status) Invitation
(int id, int voId, int groupId, Integer applicationId, int senderId, String receiverName, String receiverEmail, String redirectUrl, UUID token, Locale language, LocalDate expiration, InvitationStatus status, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid) Invitation
(int voId, int groupId, String receiverName, String receiverEmail, String redirectUrl, Locale language, LocalDate expiration) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
getToken()
int
getVoId()
int
hashCode()
void
setApplicationId
(Integer applicationId) void
setExpiration
(LocalDate expiration) void
setGroupId
(int groupId) void
setLanguage
(Locale language) void
setReceiverEmail
(String receiverEmail) void
setReceiverName
(String receiverName) void
setRedirectUrl
(String redirectUrl) void
setSenderId
(int senderId) void
setStatus
(InvitationStatus status) void
void
setVoId
(int voId) toString()
Methods inherited from class cz.metacentrum.perun.core.api.Auditable
getCreatedAt, getCreatedBy, getCreatedByUid, getModifiedAt, getModifiedBy, getModifiedByUid, setCreatedAt, setCreatedBy, setCreatedByUid, setModifiedAt, setModifiedBy, setModifiedByUid
Methods inherited from class cz.metacentrum.perun.core.api.PerunBean
compareTo, getBeanName, getId, setId
-
Constructor Details
-
Invitation
-
Invitation
-
Invitation
-
Invitation
-
Invitation
public Invitation(int id, int voId, int groupId, Integer applicationId, int senderId, String receiverName, String receiverEmail, String redirectUrl, UUID token, Locale language, LocalDate expiration, InvitationStatus status, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
serializeToString
- Overrides:
serializeToString
in classAuditable
-
toString
-
getVoId
public int getVoId() -
setVoId
public void setVoId(int voId) -
getGroupId
public int getGroupId() -
setGroupId
public void setGroupId(int groupId) -
getApplicationId
-
setApplicationId
-
getSenderId
public int getSenderId() -
setSenderId
public void setSenderId(int senderId) -
getReceiverName
-
setReceiverName
-
getReceiverEmail
-
setReceiverEmail
-
getRedirectUrl
-
setRedirectUrl
-
getToken
-
setToken
-
getLanguage
-
setLanguage
-
getExpiration
-
setExpiration
-
getStatus
-
setStatus
-