Class InviteInfo
- java.lang.Object
-
- org.alfresco.repo.invitation.site.InviteInfo
-
- All Implemented Interfaces:
Serializable
public class InviteInfo extends Object implements Serializable
Holds properties pertaining to an invitation that has been sent out by a Site Manager (Inviter) to another person (Invitee) to join his/her Site- Author:
- glen dot johnson at alfresco dot com
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringINVITATION_STATUS_ACCEPTEDstatic StringINVITATION_STATUS_PENDINGstatic StringINVITATION_STATUS_REJECTED
-
Constructor Summary
Constructors Constructor Description InviteInfo(String invitationStatus, String inviterUserName, TemplateNode inviterPerson, String inviteeUserName, TemplateNode inviteePerson, String role, String siteShortName, SiteInfo siteInfo, Date sentInviteDate, String inviteId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInvitationStatus()Gets the invitation statusTemplateNodegetInviteePerson()Gets the invitee personStringgetInviteeUserName()Gets the invitee user nameStringgetInviteId()Gets the invite IDTemplateNodegetInviterPerson()Gets the inviter personStringgetInviterUserName()Gets the inviter user nameStringgetRole()Gets the role that invitee has been invited to the site asDategetSentInviteDate()Gets the sent invite dateSiteInfogetSiteInfo()StringgetSiteShortName()Gets the site short name
-
-
-
Field Detail
-
INVITATION_STATUS_PENDING
public static final String INVITATION_STATUS_PENDING
- See Also:
- Constant Field Values
-
INVITATION_STATUS_ACCEPTED
public static final String INVITATION_STATUS_ACCEPTED
- See Also:
- Constant Field Values
-
INVITATION_STATUS_REJECTED
public static final String INVITATION_STATUS_REJECTED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InviteInfo
public InviteInfo(String invitationStatus, String inviterUserName, TemplateNode inviterPerson, String inviteeUserName, TemplateNode inviteePerson, String role, String siteShortName, SiteInfo siteInfo, Date sentInviteDate, String inviteId)
-
-
Method Detail
-
getInviterUserName
public String getInviterUserName()
Gets the inviter user name- Returns:
- the inviterUserName
-
getInviteeUserName
public String getInviteeUserName()
Gets the invitee user name- Returns:
- the inviteeUserName
-
getSiteShortName
public String getSiteShortName()
Gets the site short name- Returns:
- the siteShortName
-
getInviteId
public String getInviteId()
Gets the invite ID- Returns:
- the inviteId
-
getInviteePerson
public TemplateNode getInviteePerson()
Gets the invitee person- Returns:
- the invitee person
-
getInviterPerson
public TemplateNode getInviterPerson()
Gets the inviter person- Returns:
- the inviter person
-
getSentInviteDate
public Date getSentInviteDate()
Gets the sent invite date- Returns:
- the sent invite date
-
getInvitationStatus
public String getInvitationStatus()
Gets the invitation status- Returns:
- the invitation status
-
getRole
public String getRole()
Gets the role that invitee has been invited to the site as- Returns:
- the role that the invitee has been invited to the site as
-
getSiteInfo
public SiteInfo getSiteInfo()
-
-