Uses of Interface
com.polarion.alm.tracker.model.IWorkItem
Package
Description
-
Uses of IWorkItem in com.polarion.alm.tracker
Modifier and TypeMethodDescriptionITestManagementService.createOrFindTestCaseWorkItem
(String projectId, String testCaseId, IWorkItem template) Finds a Work Item in the specified project with the type specified byTestsConfiguration.getTestCaseWorkItemType()
that has the same value in the custom field specified byTestsConfiguration.getTestCaseIdCustomField()
as thetestCaseId
parameter.IModuleManager.createWorkItem
(IProject project, ILocation location) Creates an instance of a Work Item, which (after being persistent) will be stored in the Module at the given location.ITrackerService.createWorkItem
(IProject project) Creates a new (unpersisted) work item in given project.ITrackerService.findWorkItem
(String projectId, String id) Finds work item, differs fromITrackerService.getWorkItem(String, String)
in smarter handling of the id parameter.ITrackerService.getWorkItem
(SubterraURI uri) Returns the workitem with the specified uri.ITrackerService.getWorkItem
(String projectId, String workItemId) This is a shortcut method forgetTrackerProject(projectId).getWorkItem(workItemId)
, seeITrackerProject.getWorkItem(String)
.ITrackerService.getWorkItemWithRevision
(String projectId, String workItemId, String revision) Modifier and TypeMethodDescriptionIModuleManager.getModuleWorkItems
(IProject project, String query, String sort, String moduleFolder, int limit) Returns Work Items contained by modules from given project, query and optional module folderModifier and TypeMethodDescriptionboolean
ITrackerPolicy.canAddVote
(IWorkItem workItem, ITrackerUser trackerUser) boolean
ITrackerPolicy.canAddWatch
(IWorkItem workItem, ITrackerUser trackerUser) boolean
ITrackerPolicy.canApproveDisapproveOthers
(IWorkItem workItem) boolean
ITrackerPolicy.canRemoveVote
(IWorkItem workItem, ITrackerUser trackerUser) boolean
ITrackerPolicy.canRemoveWatch
(IWorkItem workItem, ITrackerUser trackerUser) boolean
ITrackerPolicy.canResolveComments
(IWorkItem workItem) Deprecated.boolean
ITrackerPolicy.canSeeVotes
(IWorkItem workItem) boolean
ITrackerPolicy.canSeeWatches
(IWorkItem workItem) boolean
boolean
boolean
IVotingManager.canVote
(ITrackerUser user, IWorkItem item) Returns true if the user can vote for the item according to project voting rules.boolean
void
ITrackerPolicy.checkCanAddVote
(IWorkItem workItem, ITrackerUser trackerUser) void
ITrackerPolicy.checkCanAddWatch
(IWorkItem workItem, ITrackerUser trackerUser) void
ITrackerPolicy.checkCanApproveDisapprove
(IWorkItem workItem) void
ITrackerPolicy.checkCanApproveDisapprove
(IWorkItem workItem, IApprovalStruct approval, IEnumOption newApprovalStatus) Checks whether approval with the status can be added/removed.void
ITrackerPolicy.checkCanApproveDisapproveOthers
(IWorkItem workItem) void
ITrackerPolicy.checkCanRemoveVote
(IWorkItem workItem, ITrackerUser trackerUser) void
ITrackerPolicy.checkCanRemoveWatch
(IWorkItem workItem, ITrackerUser trackerUser) void
ITrackerPolicy.checkCanSeeVotes
(IWorkItem workItem) void
ITrackerPolicy.checkCanSeeWatches
(IWorkItem workItem) void
ITrackerPolicy.checkCanUnvote
(IWorkItem workItem) void
ITrackerPolicy.checkCanUnwatch
(IWorkItem workItem) void
ITrackerPolicy.checkCanVote
(IWorkItem workItem) void
ITrackerPolicy.checkCanWatch
(IWorkItem workItem) ITestManagementService.createOrFindTestCaseWorkItem
(String projectId, String testCaseId, IWorkItem template) Finds a Work Item in the specified project with the type specified byTestsConfiguration.getTestCaseWorkItemType()
that has the same value in the custom field specified byTestsConfiguration.getTestCaseIdCustomField()
as thetestCaseId
parameter.IModuleManager.getContainingModule
(IWorkItem item) Retrieve a module which contains the Work Item (if any)ITestManagementService.getLastTestRecords
(IWorkItem testCase, int count) Returns the latest Test Records by execution time for the test case.ITestManagementService.getTestSteps
(IWorkItem testCase) ITestManagementService.getTestStepsCustomField
(IWorkItem testCase) Returns users that voted for the item (sorted by name).int
IVotingManager.getVotesCount
(IWorkItem item) Returns number of users that voted for the item.boolean
IVotingManager.hasVoted
(ITrackerUser user, IWorkItem item) Returnstrue
if the user has voted for the item.boolean
ITestManagementService.isAutomatedTestCase
(IWorkItem workItem) Checks if the given Work Item was created by theITestManagementService.createOrFindTestCaseWorkItem(String, String, IWorkItem)
method by checking if it has a populated custom field that is fille-in by theITestManagementService.createOrFindTestCaseWorkItem(String, String, IWorkItem)
method.boolean
ITrackerService.isAutoSuspectOn
(IWorkItem workitem) Checks if autosuspect is enabled for a given work item.boolean
IModuleManager.isDerivedFromLink
(IWorkItem from, ILinkRoleOpt role, IWorkItem to) Checks if this link is module derived from link.boolean
IModuleManager.isExternalModuleItem
(IWorkItem item) Checks if the given Work Item is linked in a module storageboolean
IModuleManager.isModuleItem
(IWorkItem item) Checks if the given Work Item is stored in a module storageboolean
IModuleManager.isModuleStructureLink
(IWorkItem from, ILinkRoleOpt role, IWorkItem to) Checks if this link is module structure link.boolean
IVotingManager.isVotingEnabled
(IWorkItem item) Returns true if voting is not disabled for the Work Item.void
AbstractTestsFileProcessor.setDefectTemplate
(IWorkItem workItem) void
DelegatingTestsFileProcessor.setDefectTemplate
(IWorkItem workItem) void
ITestsFileProcessor.setDefectTemplate
(IWorkItem workItem) Sets template Work Item for creating defect work items.void
AbstractTestsFileProcessor.setTestCaseTemplate
(IWorkItem workItem) void
DelegatingTestsFileProcessor.setTestCaseTemplate
(IWorkItem workItem) void
ITestsFileProcessor.setTestCaseTemplate
(IWorkItem workItem) Sets template Work Item for creating test case work items.void
ITestManagementService.setTestSteps
(IWorkItem testCase, ITestSteps testSteps) ITrackDefectByRulesBuilder.withDefectTemplate
(IWorkItem defectTemplate) Specify which defect template to use when creating a new defect.ITrackDefectByRulesBuilder.withSummaryDefect
(IWorkItem summaryDefect) Call this method if you don't want to create a separate defect for this Test Record, but use a summary defect instead.Modifier and TypeMethodDescriptionIModuleManager.createDerivedModule
(IModule source, IProject targetProject, ILocation targetLocation, String targetName, Set<String> derivedFields, ILinkRoleOpt derivedFromlinkRole, Set<String> notCopiedCustomFields, Set<String> convertedCopiedCustomFields, Map<IWorkItem, IWorkItem> modulesReuseWiMap) Create a new module from the module template to another (or same) project and location.IModuleManager.createDerivedModule
(IModule source, IProject targetProject, ILocation targetLocation, String targetName, Set<String> derivedFields, ILinkRoleOpt derivedFromlinkRole, Set<String> notCopiedCustomFields, Set<String> convertedCopiedCustomFields, Map<IWorkItem, IWorkItem> modulesReuseWiMap) Create a new module from the module template to another (or same) project and location.IModuleManager.duplicate
(IModule source, IProject targetProject, ILocation targetLocation, String targetName, ILinkRoleOpt linkRole, Set<String> keys, Set<String> exceptKeys, Set<String> notCopiedCustomFields, Set<String> convertedCopiedCustomFields, Map<IWorkItem, IWorkItem> modulesReuseWiMap) Duplicates the module to another (or same) project and location.IModuleManager.duplicate
(IModule source, IProject targetProject, ILocation targetLocation, String targetName, ILinkRoleOpt linkRole, Set<String> keys, Set<String> exceptKeys, Set<String> notCopiedCustomFields, Set<String> convertedCopiedCustomFields, Map<IWorkItem, IWorkItem> modulesReuseWiMap) Duplicates the module to another (or same) project and location.void
IModuleManager.moveOutFromModules
(Collection<IWorkItem> wis) Moves workitems out from modules to normal XML storage.IModuleManager.moveOutFromModulesWithReport
(Collection<IWorkItem> wis) Moves workitems out from modules to normal XML storage and reports which were skipped and which additional were moved.void
IModuleManager.updateWILinksAfterModuleReuse
(Map<IWorkItem, IWorkItem> modulesReuseWiMap, boolean keepRelative, boolean removeOutgoing) Updates inter-module links of Work Items after reuse of one or more modulesvoid
IModuleManager.updateWILinksAfterModuleReuse
(Map<IWorkItem, IWorkItem> modulesReuseWiMap, boolean keepRelative, boolean removeOutgoing) Updates inter-module links of Work Items after reuse of one or more modulesModifierConstructorDescriptionRenderParameters
(String target, IModulePageLayouter.IRenderingLayout layout, int level, int localLevel, CharSequence idAttrib, IWorkItem workItem, ILocalId currentDocumentId) -
Uses of IWorkItem in com.polarion.alm.tracker.exporter
Modifier and TypeMethodDescriptionvoid
IXmlGenerator.generateXML
(Collection<IWorkItem> workItems, ContentHandler contentHandler) Generates XML for given Collection of WorkItems. -
Uses of IWorkItem in com.polarion.alm.tracker.model
Modifier and TypeMethodDescriptionITestRun.createSummaryDefect
(IWorkItem defectTemplate) Creates a summary defect based on the given template and stores it to theITestRun.KEY_SUMMARY_DEFECT
field of the Test Run if it does not exist yet.IModule.createUnreferencedWorkItem()
Creates unreferenced work item stored in this module.IModule.createWorkItem()
Deprecated.use theIModule.createWorkItem(String)
IModule.createWorkItem
(String type) Creates and persists a Work Item, which will be stored in this Module.ITrackerProject.createWorkItem()
Creates new (unpersisted) instance of work item in this project.ITrackerProject.createWorkItem
(String typeId) Shortcut method, which creates a work item instance with the type field set.IExternallyLinkedWorkItemStruct.getContainerWorkItem()
ITestRecord.getDefect()
IPlanRecord.getItem()
IFeatureSelectionItem.getLinkedFeature()
IBuildLinkedWorkItemStruct.getLinkedItem()
ILinkedWorkItemStruct.getLinkedItem()
IModuleComment.getReferredWorkItem()
seeIModuleComment.KEY_REFERRED_WORK_ITEM
, can return nullITestRun.getSummaryDefect()
ITestRecord.getTestCase()
ITestRecord.getTestCaseWithRevision()
IModule.getVariant()
Gets the Variant work item this Module was created from.IAttachment.getWorkItem()
IComment.getWorkItem()
IModule.getWorkItem
(String id) Returns work item with given id.IModule.getWorkItem
(String projectId, String id) Returns work item with given project id and id.IModule.IStructureNode.getWorkItem()
ITrackerProject.getWorkItem
(String workItemId) Returns a work item for the specified id.IWorkRecord.getWorkItem()
IModule.overwriteExternalWorkItem
(IWorkItem externalWorkItem) Replace the given external Work Item in the Document content with a new one.ITestRun.updateSummaryDefect
(String source, int totalFailures, int totalErrors, int totalTests, IWorkItem defectTemplate) Updates the description of the summary defect by appending a standard text about the number of tests and the various results.IModule.updateTitleHeading
(String title) Updates the first Title Heading in document content (if permissions allow it).Modifier and TypeMethodDescriptionIModule.IMoveReport.additionalMovedWorkItems()
Set of moved child work items which were not contained in the input collection.IModule.IMoveReport.derivedWorkItems()
Returns a subset of the Work Items from the input collection that were not moved, because they are derived.IModule.filterWorkItems
(String query) Returns the Document's active Work Items that match the query and adds their ancestors.IModule.getAllWorkItems()
Returns all work items (even unreferenced) contained in this module.IModule.getContainedWorkItems()
Returns sorted list of active work items contained in this module.IModule.getExternalWorkItems()
Returns all external Work Items contained in Document content.IPlan.getItems()
The returned set does not contain null values.IWorkItem.getLinkedWorkItems()
Returns all Work Items linked with and that link this Work Item.IWorkItem.getLinkedWorkItemsBack()
IWorkItem.getLinkedWorkItemsDirect()
IPlan.getOrderedItems()
Returns child items from persisted object in the order that respectsIPlan.getPrioritizationField()
IPlan.getResolvableItems()
Returns items from the plan that are still exist.IModule.getUnreferencedWorkItems()
Returns unreferenced work items contained in this module(even module is from specific revision).ITrackerProject.queryWorkItems
(String query, String sort) IModule.IMoveReport.skippedChildWorkItems()
Used only in moveId, it is a collection of child work items which were not in the input collection and should be moved, but cannot because they are in LiveDoc.IModule.IMoveReport.skippedWorkItems()
Set of skipped work items from the input collection.Modifier and TypeMethodDescriptionvoid
IModule.addExternalWorkItem
(IWorkItem externalWorkItem) Adds external Work Item into Document content.boolean
ITrackerBuild.addLinkedItem
(IWorkItem item, ILinkRoleOpt role, String revision) Adds the link.boolean
IWorkItem.addLinkedItem
(IWorkItem item, ILinkRoleOpt role, String revision, boolean suspect) Adds the link.If the record for given Work Item already exists than it is returned instead of creating a new oneboolean
Returnstrue
if the user can vote for the item according to work item's project voting rules.boolean
IModule.containsWorkItem
(IWorkItem item) ITestRun.createSummaryDefect
(IWorkItem defectTemplate) Creates a summary defect based on the given template and stores it to theITestRun.KEY_SUMMARY_DEFECT
field of the Test Run if it does not exist yet.void
ITrackerUser.doWatchItem
(IWorkItem item) IModule.findCommentsReferencingWorkItem
(IWorkItem workItem) Finds comments for which theIModuleComment.getReferredWorkItem()
equals the given work itemvoid
IModule.freezeExternalWorkItem
(IWorkItem externalWorkItem, String revision) Freezes given external Work Item on given revision in Document content.ITestRun.getAllRecordsForTestCase
(IWorkItem testCase) Returns all Test Records for the Test Case, even those that are paused or have not been executed yet.IModule.getOutlineNumberOfWorkitem
(IWorkItem wi) Returns outline number of work item.IPlan.getPlannedEstimateForItem
(IWorkItem item) Returns the planned estimate value for the given Work Item in this Plan - it is based on value of some field of the given work item depending on the configuration of this Plan.ITestRun.getRecordsForTestCase
(IWorkItem testCase) Returns executed Test Records for the Test Case.IModule.getStructureNodeOfWI
(IWorkItem workitem) Returns the structure node representing this work item if the work item is from this moduleboolean
Returnstrue
if the user has voted for the item.Returns the builder for the heading placeholder.boolean
IWorkItem.ITerminalCondition.isSentinel
(IWorkItem workitem) boolean
ITrackerUser.isWatching
(IWorkItem item) IModule.overwriteExternalWorkItem
(IWorkItem externalWorkItem) Replace the given external Work Item in the Document content with a new one.boolean
IWorkItem.removeLinkedItem
(IWorkItem item, IEnumOption role) Removes the link.void
IPlan.removeRecord
(IWorkItem item) Removes all records for the given item (Normally only one record for each item is supported in Plan)void
ITestRun.removeRecordsForTestCase
(IWorkItem testCase) Removes the records from the given Test Case.void
IModule.removeWorkItem
(IWorkItem item) Removes contained or external Work Item from the Document.void
void
void
IModuleComment.setReferredWorkItem
(IWorkItem value) seeIModuleComment.KEY_REFERRED_WORK_ITEM
, can be called only on root commentvoid
ITestRecord.setTestCase
(IWorkItem testCase) Set the test case without a revision, i.void
ITestRecord.setTestCaseWithRevision
(IWorkItem testCase) This is the method that must be used by clients to set the test case for this record.void
IModule.setVariant
(IWorkItem variant) Sets the Variant work item from which this Module was createdvoid
ITrackerUser.stopWatchingItem
(IWorkItem item) void
IModule.unfreezeExternalWorkItem
(IWorkItem externalWorkItem) Un-freezes given external Work Item.void
IModule.unreference
(IWorkItem workItem) Moves workItem to documents recycle bin, does nothing when the workItem cannot be foundboolean
Removes vote the item from this user votes.ITestRun.updateSummaryDefect
(String source, int totalFailures, int totalErrors, int totalTests, IWorkItem defectTemplate) Updates the description of the summary defect by appending a standard text about the number of tests and the various results.boolean
Adds item to this users votes.Returns the builder for the work item placeholder.Modifier and TypeMethodDescriptionvoid
IModule.moveIn
(Collection<IWorkItem> wis) Moves workitems from XML storage to this module.void
IModule.moveIn
(Collection<IWorkItem> wis, String sort) Moves workitems from XML storage to this module.IModule.moveInWithReport
(Collection<IWorkItem> wis, String sort) Moves workitems from XML storage to this module and reports which were skipped and which additional were moved.void
IModule.moveOut
(Collection<IWorkItem> wis) Moves workitems out from module to normal XML storage.IModule.moveOutWithReport
(Collection<IWorkItem> wis) Moves workitems out from module to normal XML storage and reports which were skipped and which additional were moved. -
Uses of IWorkItem in com.polarion.alm.tracker.model.signatures
-
Uses of IWorkItem in com.polarion.alm.tracker.variantmanagement
-
Uses of IWorkItem in com.polarion.alm.tracker.workflow
ICommentBase.can()
andICommentPermissions.resolve()