public class Member extends BaseAsset
STATE_ACTIVE, STATE_CLOSED
ASSET_STATE_VALUE, ASSET_VALUE, CHANGE_DATE_UTC, CONTENT_TYPE_VALUE, CONTENT_VALUE, CREATE_DATE_UTC, DELETE_OPERATION, DESCRIPTION_VALUE, FILENAME_VALUE, NAME_VALUE
Modifier and Type | Method and Description |
---|---|
Conversation |
createConversation(Member author,
String content)
Creates conversation which mentioned this member.
|
Conversation |
createConversation(Member author,
String content,
Map<String,Object> attributes)
Creates conversation which mentioned this asset.
|
Conversation |
createConversation(String content)
Creates conversation with this member as author.
|
Collection<Project> |
getAssignedProjects()
Gets Projects this member is assigned to.
|
Role |
getDefaultRole() |
Collection<Effort> |
getEffortRecords(EffortFilter filter)
A collection of Effort Records that belong to this member.
|
String |
getEmail() |
Collection<Expression> |
getExpressions() |
boolean |
getNotifyViaEmail()
A flag indicating whether this member desires to receive e-mail notifications.
|
Collection<Epic> |
getOwnedEpics(EpicFilter filter)
Epics owned by this member.
|
Collection<Issue> |
getOwnedIssues(IssueFilter filter)
A read-only collection of Issues owned by this member.
|
Collection<PrimaryWorkitem> |
getOwnedPrimaryWorkitems(PrimaryWorkitemFilter filter)
Gets Stories and Defects owned by this member.
|
Collection<Request> |
getOwnedRequests(RequestFilter filter)
A read-only collection of Requests owned by this member.
|
Collection<SecondaryWorkitem> |
getOwnedSecondaryWorkitems(SecondaryWorkitemFilter filter)
Tasks and Tests owned by this member.
|
Collection<Theme> |
getOwnedThemes(ThemeFilter filter)
A collection of Themes owned by this member.
|
String |
getPhone() |
boolean |
getSendConversationEmails()
Get conversation email notifications status.
|
String |
getShortName() |
Double |
getTotalDetailEstimate(WorkitemFilter filter)
Return the total detail estimate for all workitems owned by this member
optionally filtered.
|
Double |
getTotalDone(WorkitemFilter filter)
Return the total done for all workitems owned by this member optionally
filtered.
|
Double |
getTotalEstimate(PrimaryWorkitemFilter filter)
Return the total estimate for all stories and defects owned by this
member optionally filtered.
|
Double |
getTotalToDo(WorkitemFilter filter)
Return the total to do for all workitems owned by this member optionally
filtered.
|
String |
getUsername() |
void |
setDefaultRole(Role defaultRole) |
void |
setEmail(String value) |
void |
setNotifyViaEmail(boolean value) |
void |
setPassword(String value) |
void |
setPhone(String value) |
void |
setSendConversationEmails(boolean status)
Turn conversation notifications by email on or off.
|
void |
setShortName(String shortName) |
void |
setUsername(String value) |
canClose, canDelete, canReactivate, close, createAttachment, createAttachment, createLink, createLink, createNote, createNote, delete, getAttachments, getCustomDropdown, getCustomField, getDescription, getLinks, getMentionedInExpressions, getName, getNotes, getURL, isActive, isClosed, reactivate, setDescription, setName
equals, get, getChangeComment, getChangeDate, getChangedBy, getCreateComment, getCreateDate, getCreatedBy, getID, getInstance, hashCode, save, save, toString
public String getShortName()
public void setShortName(String shortName)
shortName
- The short or abbreviated name of the user or member.
This name is often used in the owner's dropdown.public Role getDefaultRole()
public void setDefaultRole(Role defaultRole)
defaultRole
- The default role of the user or member. Determines the
member's permissions when assigned to a project. Also
determines the member's global privileges.public String getUsername()
public void setUsername(String value)
value
- The username this user or member uses to login to the
VersionOne system.public void setPassword(String value)
value
- The password this user or member uses to login to the
VersionOne system. This is a write-only property.public String getEmail()
public void setEmail(String value)
value
- The Email for this member.public String getPhone()
public void setPhone(String value)
value
- The phone number for this member.public Collection<Project> getAssignedProjects()
public Collection<Expression> getExpressions()
public Collection<PrimaryWorkitem> getOwnedPrimaryWorkitems(PrimaryWorkitemFilter filter)
filter
- Criteria to filter stories and defects on. Pass a
DefectFilter or StoryFilter to get only Defects or
Stories, respectively.public Collection<SecondaryWorkitem> getOwnedSecondaryWorkitems(SecondaryWorkitemFilter filter)
filter
- Filter for Tasks and Tests.public Collection<Theme> getOwnedThemes(ThemeFilter filter)
filter
- Limit the themes returned (If null, then all items
returned).public Collection<Issue> getOwnedIssues(IssueFilter filter)
filter
- Limit the issues returned (If null, then all items
returned).public Collection<Request> getOwnedRequests(RequestFilter filter)
filter
- Limit the requests returned (If null, then all items
returned).public Collection<Epic> getOwnedEpics(EpicFilter filter)
filter
- Limit the epics returned (If null, then all items
returned).public Collection<Effort> getEffortRecords(EffortFilter filter)
filter
- Limit the efforts returned (If null, then all items
returned).public Double getTotalEstimate(PrimaryWorkitemFilter filter)
filter
- Criteria to filter stories and defects on. Pass a
DefectFilter or StoryFilter to get only Defects or
Stories, respectively.public Double getTotalDetailEstimate(WorkitemFilter filter)
filter
- Criteria to filter workitems on.public Double getTotalToDo(WorkitemFilter filter)
filter
- Criteria to filter workitems on.public Double getTotalDone(WorkitemFilter filter)
filter
- Criteria to filter workitems on.public Conversation createConversation(Member author, String content)
createConversation
in class BaseAsset
author
- Author of expression in conversation.content
- Content of expression in conversation.public Conversation createConversation(Member author, String content, Map<String,Object> attributes)
createConversation
in class BaseAsset
author
- Author of conversation.content
- Content of conversation.attributes
- additional attributes for the Conversation.public Conversation createConversation(String content)
content
- Content of conversation.public boolean getNotifyViaEmail()
public void setNotifyViaEmail(boolean value)
public boolean getSendConversationEmails()
public void setSendConversationEmails(boolean status)
Copyright © 2013 Version One, Inc.. All rights reserved.