Class ExternalSubjectInviteBean
java.lang.Object
edu.internet2.middleware.grouper.externalSubjects.ExternalSubjectInviteBean
bean to hold invite
-
Constructor Summary
ConstructorDescriptionmake a bean based on the owner attribute assignExternalSubjectInviteBean
(AttributeAssign ownerAttributeAssign) make a bean based on the owner attribute assign -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
clone()
clone this objectboolean
delete this from the databasestatic List<ExternalSubjectInviteBean>
findByEmailAddress
(String emailAddress) static List<ExternalSubjectInviteBean>
static ExternalSubjectInviteBean
findByUuid
(String uuid) find an external subject invite bean by uuidgetEmail()
email that was sent to the user (well, the first 2000 chars)email address invite beans sent tolist of emails to send to when the registration happenswhen this expires: millis since 1970, or null if doesnt expirelist of group ids to provision to when the user registerslong
when the invite was sent out, millis since 1970member id who invited the usergetUuid()
uuid in the email sent to the inviteeboolean
if this invite expiredvoid
email that was sent to the user (well, the first 2000 chars)void
setEmailAddress
(String emailAddress1) email address invite beans sent tovoid
setEmailsWhenRegistered
(Set<String> emailsWhenRegistered1) list of emails to send to when the registration happensvoid
setExpireDate
(Long expireDate1) when this expires: millis since 1970, or null if doesnt expirevoid
setGroupIds
(Set<String> groupIds1) list of group ids to provision to when the user registersvoid
setInviteDate
(long inviteDate1) when the invite was sent out, millis since 1970void
setMemberId
(String memberId1) member id who invited the uservoid
uuid in the email sent to the inviteevoid
store this to the DB, must have open root sessiontoString()
-
Constructor Details
-
ExternalSubjectInviteBean
public ExternalSubjectInviteBean()make a bean based on the owner attribute assign- Parameters:
ownerAttributeAssign
-
-
ExternalSubjectInviteBean
make a bean based on the owner attribute assign- Parameters:
ownerAttributeAssign
-
-
-
Method Details
-
isExpired
public boolean isExpired()if this invite expired- Returns:
- true if expired
-
clone
clone this object- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
getEmailAddress
email address invite beans sent to- Returns:
- email address
-
setEmailAddress
email address invite beans sent to- Parameters:
emailAddress1
-
-
getInviteDate
public long getInviteDate()when the invite was sent out, millis since 1970- Returns:
- invite date
-
setInviteDate
public void setInviteDate(long inviteDate1) when the invite was sent out, millis since 1970- Parameters:
inviteDate1
-
-
getExpireDate
when this expires: millis since 1970, or null if doesnt expire- Returns:
- expire date
-
setExpireDate
when this expires: millis since 1970, or null if doesnt expire- Parameters:
expireDate1
-
-
getEmail
email that was sent to the user (well, the first 2000 chars)- Returns:
- the email
-
setEmail
email that was sent to the user (well, the first 2000 chars)- Parameters:
email1
-
-
getEmailsWhenRegistered
list of emails to send to when the registration happens- Returns:
- list of emails
-
setEmailsWhenRegistered
list of emails to send to when the registration happens- Parameters:
emailsWhenRegistered1
-
-
getGroupIds
list of group ids to provision to when the user registers- Returns:
- group ids
-
setGroupIds
list of group ids to provision to when the user registers- Parameters:
groupIds1
-
-
getMemberId
member id who invited the user- Returns:
- member id
-
setMemberId
member id who invited the user- Parameters:
memberId1
-
-
getUuid
uuid in the email sent to the invitee- Returns:
- the uuid
-
setUuid
uuid in the email sent to the invitee- Parameters:
uuid1
-
-
deleteFromDb
public boolean deleteFromDb()delete this from the database- Returns:
- true if deleted, false if not there
-
storeToDb
public void storeToDb()store this to the DB, must have open root session -
findByUuid
find an external subject invite bean by uuid- Parameters:
uuid
-- Returns:
- the beans
-
findByEmailAddress
- Parameters:
emailAddress
-- Returns:
- the beans
-
findByEmailAddressViaUuid
- Parameters:
uuid
-- Returns:
- the beans
-
toString
-