static class ProjectMemberManager.ProjectMember extends Object
Modifier and Type | Field and Description |
---|---|
private Group |
_group |
private boolean |
_isManager |
private String |
_role |
private String |
_sortableTitle |
private String |
_title |
private JCRProjectMember.MemberType |
_type |
private User |
_user |
Constructor and Description |
---|
ProjectMember(String title,
String sortableTitle,
Group group)
Create a project member as a group
|
ProjectMember(String title,
String sortableTitle,
User user,
String role,
boolean isManager)
Create a project member as a group
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
(package private) Group |
getGroup() |
(package private) String |
getRole() |
(package private) String |
getSortableTitle() |
(package private) String |
getTitle() |
(package private) JCRProjectMember.MemberType |
getType() |
(package private) User |
getUser() |
int |
hashCode() |
(package private) boolean |
isManager() |
private String _sortableTitle
private JCRProjectMember.MemberType _type
private boolean _isManager
public ProjectMember(String title, String sortableTitle, Group group)
title
- the member's title (user's full name or group's label)sortableTitle
- the sortable titlegroup
- the group attached to this member. Cannot be null.public ProjectMember(String title, String sortableTitle, User user, String role, boolean isManager)
title
- the member's title (user's full name or group's label)sortableTitle
- the sortable titlerole
- the roleisManager
- true if the member is a manager of the projectuser
- the user attached to this member. Cannot be null.String getSortableTitle()
JCRProjectMember.MemberType getType()
boolean isManager()