@Unstable public class MemberCandidacy extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MemberCandidacy.CandidateType
Type of the candidacy.
|
static class |
MemberCandidacy.Status
Status of the candidacy.
|
Constructor and Description |
---|
MemberCandidacy()
Constructor.
|
MemberCandidacy(String wikiId,
String userId,
MemberCandidacy.CandidateType type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAdminComment()
Message of the admin that goes along the invitation or about his acceptance/refusal of the request.
|
String |
getAdminId()
The admin is the person who has sent the invitation or who review the join request.
|
String |
getAdminPrivateComment()
Private message about the candidacy that only the admin can see.
|
Date |
getDateOfClosure() |
Date |
getDateOfCreation() |
int |
getId() |
MemberCandidacy.Status |
getStatus() |
MemberCandidacy.CandidateType |
getType() |
String |
getUserComment()
Message of the user which motivates his request or message about his acceptance/refusal of the invitation.
|
String |
getUserId()
The user is the person who ask or has been invited to join the wiki.
|
String |
getWikiId() |
void |
setAdminComment(String adminComment) |
void |
setAdminId(String adminId) |
void |
setAdminPrivateComment(String adminPrivateComment) |
void |
setDateOfClosure(Date dateOfClosure) |
void |
setDateOfCreation(Date dateOfCreation) |
void |
setId(int id) |
void |
setStatus(MemberCandidacy.Status status) |
void |
setType(MemberCandidacy.CandidateType type) |
void |
setUserComment(String userComment) |
void |
setUserId(String userId) |
void |
setWikiId(String wikiId) |
public MemberCandidacy()
public MemberCandidacy(String wikiId, String userId, MemberCandidacy.CandidateType type)
wikiId
- Id of the wiki to joinuserId
- Id of the user who ask to join or the user to invitetype
- type of candidacypublic void setId(int id)
id
- Id to setpublic int getId()
public String getWikiId()
public void setWikiId(String wikiId)
wikiId
- id of the wiki to joinpublic String getUserId()
public void setUserId(String userId)
userId
- id of the userpublic String getAdminId()
public void setAdminId(String adminId)
adminId
- if of the adminpublic String getUserComment()
public void setUserComment(String userComment)
userComment
- the user commentpublic String getAdminComment()
public void setAdminComment(String adminComment)
adminComment
- the admin commentpublic String getAdminPrivateComment()
public void setAdminPrivateComment(String adminPrivateComment)
adminPrivateComment
- the private messagepublic void setType(MemberCandidacy.CandidateType type)
type
- the type of candidacypublic MemberCandidacy.CandidateType getType()
public MemberCandidacy.Status getStatus()
public void setStatus(MemberCandidacy.Status status)
status
- the status to setpublic Date getDateOfCreation()
public void setDateOfCreation(Date dateOfCreation)
dateOfCreation
- the date of the creation of this candidacypublic Date getDateOfClosure()
public void setDateOfClosure(Date dateOfClosure)
dateOfClosure
- the date this candidacy has been closed.Copyright © 2004–2014 XWiki. All rights reserved.