Class MembersWorkspaceModule.Invitation
- java.lang.Object
-
- org.ametys.plugins.workspaces.members.MembersWorkspaceModule.Invitation
-
- Enclosing class:
- MembersWorkspaceModule
public class MembersWorkspaceModule.Invitation extends Object
Bean representing a invitation by email
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String,String>_allowedProfileByModulesprivate UserIdentity_authorprivate Date_dateprivate String_emailprivate String_projectName
-
Constructor Summary
Constructors Constructor Description Invitation(String email, Date date, UserIdentity author, Map<String,String> allowedProfileByModules, String projectName)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAllowedProfileByModules()Get the allowed profile for each moduleUserIdentitygetAuthor()Get the author of invitationDategetDate()Get the date of invitationStringgetEmail()Get the emailStringgetProjectName()Get the parent project nameStringtoString()
-
-
-
Field Detail
-
_author
private UserIdentity _author
-
_allowedProfileByModules
private Map<String,String> _allowedProfileByModules
-
_projectName
private String _projectName
-
-
Constructor Detail
-
Invitation
public Invitation(String email, Date date, UserIdentity author, Map<String,String> allowedProfileByModules, String projectName)
Constructor- Parameters:
email- The emaildate- The date of invitationauthor- The author of invitationallowedProfileByModules- The rightsprojectName- the name of parent project
-
-
Method Detail
-
getAuthor
public UserIdentity getAuthor()
Get the author of invitation- Returns:
- the author of invitation
-
getAllowedProfileByModules
public Map<String,String> getAllowedProfileByModules()
Get the allowed profile for each module- Returns:
- the allowed profile for each module
-
getProjectName
public String getProjectName()
Get the parent project name- Returns:
- the parent project name
-
-