Part of lp.blueprints.interfaces.specification View In Hierarchy
Known subclasses: lp.blueprints.interfaces.webservice.ISpecification
Method | setDefinitionStatus | Mutator for definition_status that calls updateLifeCycle. |
Method | setImplementationStatus | Mutator for implementation_status that calls updateLifeCycle. |
Method | newWorkItem | Create a new SpecificationWorkItem. |
Method | updateWorkItems | Update the existing work items to match the given ones. |
Method | setTarget | Set this specification's target. |
Method | retarget | Move the spec to the given target. |
Method | transitionToInformationType | Change the information type of the Specification. |
Method | proposeGoal | Propose this spec for a series or distroseries. |
First, for every existing work item that is not present on the new list, mark it as deleted. Then, for every tuple in the given list, lookup an existing work item with the same title and update its status, assignee, milestone and sequence (position on the work-items list). If there's no existing work items with that title, we create a new one.
Parameters | new_work_items | A list of dictionaries containing the following keys: title, status, assignee and milestone. |
Parameters | target | an IProduct or IDistribution. |
The new target must be an IProduct or IDistribution.