Package com.polarion.alm.tracker.model
Interface ITrackerUser
- All Superinterfaces:
IAdaptable
,IChangeListener
,IHasCustomValues
,IHasValues
,IPObject
,IUser
Tracker-aware extension of
IUser
class.- Author:
- dobisekm
-
Field Summary
Fields inherited from interface com.polarion.alm.projects.model.IUser
DIFF_IGNORED_FIELDS, KEY_AVATAR_FILE_NAME, KEY_DESCRIPTION, KEY_DISABLED_NOTIFICATIONS, KEY_EMAIL, KEY_HOMEPAGECONTENT, KEY_ID, KEY_INITIALS, KEY_NAME, PROTO
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the user can vote for the item according to work item's project voting rules.void
doWatchItem
(IWorkItem item) boolean
Returnstrue
if the user has voted for the item.boolean
isWatching
(IWorkItem item) void
stopWatchingItem
(IWorkItem item) boolean
Removes vote the item from this user votes.boolean
Adds item to this users votes.Methods inherited from interface com.polarion.platform.persistence.model.IAdaptable
adapt
Methods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChanged
Methods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomField
Methods inherited from interface com.polarion.platform.persistence.model.IPObject
can, copyTo, createStructureForKey, forget, getContextId, getDataRevision, getDataSvc, getEnumerationOptionForField, getEnumerationTypeForField, getFieldLabel, getFieldType, getIncompatibleCustomField, getIncompatibleCustomFieldPrototype, getIncompatibleCustomFieldsList, getLastRevision, getLocalId, getObjectId, getPrototype, getRevision, getUri, getValue, isModified, isPersisted, isReadOnly, isResolved, isUnresolvable, resolve, save, setEnumerationValue, setValue, update
Methods inherited from interface com.polarion.alm.projects.model.IUser
getAvatarFileData, getAvatarURL, getDescription, getEmail, getHomePageContent, getId, getInitials, getLabel, getLoginName, getName, hasAvatarFile, hasDisabledNotifications, isDisabled, removeAvatarFile, setAvatarFileData, setDescription, setDisabledNotifications, setEmail, setHomePageContent, setInitials, setName
-
Field Details
-
KEY_VOTES
- See Also:
-
KEY_WATCHES
- See Also:
-
-
Method Details
-
getCreatedItems
IPObjectList getCreatedItems() -
getAssignedToItems
IPObjectList getAssignedToItems() -
getWatchedItems
IPObjectList getWatchedItems() -
getVotedItems
IPObjectList getVotedItems() -
getWatchList
- Since:
- 3.23.10
-
doWatchItem
-
stopWatchingItem
-
canVote
Returnstrue
if the user can vote for the item according to work item's project voting rules. -
hasVoted
Returnstrue
if the user has voted for the item. -
vote
Adds item to this users votes. Returnstrue
, if the change was done,false
otherwise. -
unvote
Removes vote the item from this user votes. Returnstrue
if change was done,false
otherwise. -
isWatching
-