Class ExternalSubjectInviteBean
java.lang.Object
edu.internet2.middleware.grouper.externalSubjects.ExternalSubjectInviteBean
bean to hold invite
-
Constructor Summary
ConstructorsConstructorDescriptionmake a bean based on the owner attribute assignExternalSubjectInviteBean(AttributeAssign ownerAttributeAssign) make a bean based on the owner attribute assign -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()clone this objectbooleandelete this from the databasestatic List<ExternalSubjectInviteBean>findByEmailAddress(String emailAddress) static List<ExternalSubjectInviteBean>static ExternalSubjectInviteBeanfindByUuid(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 registerslongwhen the invite was sent out, millis since 1970member id who invited the usergetUuid()uuid in the email sent to the inviteebooleanif this invite expiredvoidemail that was sent to the user (well, the first 2000 chars)voidsetEmailAddress(String emailAddress1) email address invite beans sent tovoidsetEmailsWhenRegistered(Set<String> emailsWhenRegistered1) list of emails to send to when the registration happensvoidsetExpireDate(Long expireDate1) when this expires: millis since 1970, or null if doesnt expirevoidsetGroupIds(Set<String> groupIds1) list of group ids to provision to when the user registersvoidsetInviteDate(long inviteDate1) when the invite was sent out, millis since 1970voidsetMemberId(String memberId1) member id who invited the uservoiduuid in the email sent to the inviteevoidstore 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:
clonein 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
-