l.b.m.s.Specification(SQLBase, BugLinkTargetMixin, InformationTypeMixin) : class documentation

Part of lp.blueprints.model.specification View In Hierarchy

See ISpecification.
Method linked_branches Undocumented
Method getDependencies Undocumented
Method getBlockedSpecs Undocumented
Method set_assignee Undocumented
Method get_assignee Undocumented
Method set_drafter Undocumented
Method get_drafter Undocumented
Method set_approver Undocumented
Method get_approver Undocumented
Method subscribeIfAccessGrantNeeded Subscribe person if this specification is not public and if
Method subscriptions Sort the subscriptions
Method workitems_text See ISpecification.
Method target See ISpecification.
Method newWorkItem See ISpecification.
Method work_items See ISpecification.
Method setWorkItems Undocumented
Method updateWorkItems See ISpecification.
Method setTarget See ISpecification.
Method retarget See ISpecification.
Method validateMove See ISpecification.
Method goal See ISpecification.
Method proposeGoal See ISpecification.
Method acceptBy See ISpecification.
Method declineBy See ISpecification.
Method getSprintSpecification See ISpecification.
Method notificationRecipientAddresses See ISpecification.
Method is_incomplete See ISpecification.
Method is_complete See ISpecification.
Method is_started See ISpecification. This is a code implementation of the
Method lifecycle_status Combine the is_complete and is_started emergent properties.
Method setDefinitionStatus Undocumented
Method setImplementationStatus Undocumented
Method updateLifecycleStatus See ISpecification.
Method is_blocked See ISpecification.
Method has_accepted_goal See ISpecification.
Method getDelta See ISpecification.
Method informational For backwards compatibility:
Method subscription See ISpecification.
Method getSubscriptionByName See ISpecification.
Method subscribe See ISpecification.
Method unsubscribe See ISpecification.
Method isSubscribed See lp.blueprints.interfaces.specification.ISpecification.
Method bugs Undocumented
Method createBugLink See BugLinkTargetMixin.
Method deleteBugLink See BugLinkTargetMixin.
Method linkSprint See ISpecification.
Method unlinkSprint See ISpecification.
Method createDependency See ISpecification.
Method removeDependency See ISpecification.
Method all_deps Undocumented
Method all_blocked See ISpecification.
Method getBranchLink Undocumented
Method linkBranch Undocumented
Method unlinkBranch Undocumented
Method getLinkedBugTasks See ISpecification.
Method __repr__ Undocumented
Method getAllowedInformationTypes See ISpecification.
Method transitionToInformationType See ISpecification.
Method userCanView See ISpecification.
Method _fetch_children_or_parents Undocumented
Method _work_items Undocumented
Method _deleteWorkItemsNotMatching Delete all work items whose title does not match the given ones.
Method _list_to_dict_of_frequency Undocumented
Method _known_viewers A set of known persons able to view the specifcation.

Inherited from SQLBase:

Method __init__ Extended version of the SQLObjectBase constructor.
Method destroySelf Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented

Inherited from BugLinkTargetMixin:

Method linkBug See IBugLinkTarget.
Method unlinkBug See IBugLinkTarget.

Inherited from InformationTypeMixin:

Method private Undocumented
@cachedproperty
def linked_branches(self):
Undocumented
def _fetch_children_or_parents(self, join_cond, cond, user):
Undocumented
def getDependencies(self, user=None):
Undocumented
def getBlockedSpecs(self, user=None):
Undocumented
def set_assignee(self, person):
Undocumented
def get_assignee(self):
Undocumented
def set_drafter(self, person):
Undocumented
def get_drafter(self):
Undocumented
def set_approver(self, person):
Undocumented
def get_approver(self):
Undocumented
def subscribeIfAccessGrantNeeded(self, person):
Subscribe person if this specification is not public and if the person does not already have grants to access the specification.
@cachedproperty
def subscriptions(self):
Sort the subscriptions
@property
def workitems_text(self):
See ISpecification.
@property
def target(self):
See ISpecification.
def newWorkItem(self, title, sequence, status=SpecificationWorkItemStatus.TODO, assignee=None, milestone=None):
See ISpecification.
@cachedproperty
def work_items(self):
See ISpecification.
@property
def _work_items(self):
Undocumented
def setWorkItems(self, new_work_items):
Undocumented
def _deleteWorkItemsNotMatching(self, titles):
Delete all work items whose title does not match the given ones.

Also set the sequence of those deleted work items to -1.

def _list_to_dict_of_frequency(self, list):
Undocumented
def updateWorkItems(self, new_work_items):
See ISpecification.
def setTarget(self, target):
See ISpecification.
def retarget(self, target):
See ISpecification.
def validateMove(self, target):
See ISpecification.
@property
def goal(self):
See ISpecification.
def proposeGoal(self, goal, proposer):
See ISpecification.
def acceptBy(self, decider):
See ISpecification.
def declineBy(self, decider):
See ISpecification.
def getSprintSpecification(self, sprintname):
See ISpecification.
def notificationRecipientAddresses(self):
See ISpecification.
@property
def is_incomplete(self):
See ISpecification.
@property
def is_complete(self):
See ISpecification.
@property
def is_started(self):
See ISpecification. This is a code implementation of the SQL in spec_started_clause
@property
def lifecycle_status(self):
Combine the is_complete and is_started emergent properties.
def setDefinitionStatus(self, definition_status, user):
Undocumented
def setImplementationStatus(self, implementation_status, user):
Undocumented
def updateLifecycleStatus(self, user):
See ISpecification.
@property
def is_blocked(self):
See ISpecification.
@property
def has_accepted_goal(self):
See ISpecification.
def getDelta(self, old_spec, user):
See ISpecification.
@property
def informational(self):
For backwards compatibility: implemented as a value in implementation_status.
def subscription(self, person):
See ISpecification.
def getSubscriptionByName(self, name):
See ISpecification.
def subscribe(self, person, subscribed_by=None, essential=False):
See ISpecification.
def unsubscribe(self, person, unsubscribed_by, ignore_permissions=False):
See ISpecification.
def isSubscribed(self, person):
See lp.blueprints.interfaces.specification.ISpecification.
@property
def bugs(self):
Undocumented
def createBugLink(self, bug, props=None):
See BugLinkTargetMixin.
def deleteBugLink(self, bug):
See BugLinkTargetMixin.
def linkSprint(self, sprint, user):
See ISpecification.
def unlinkSprint(self, sprint):
See ISpecification.
def createDependency(self, specification):
See ISpecification.
def removeDependency(self, specification):
See ISpecification.
def all_deps(self, user=None):
Undocumented
def all_blocked(self, user=None):
See ISpecification.
def getBranchLink(self, branch):
Undocumented
def linkBranch(self, branch, registrant):
Undocumented
def unlinkBranch(self, branch, user):
Undocumented
def getLinkedBugTasks(self, user):
See ISpecification.
def __repr__(self):
Undocumented
def getAllowedInformationTypes(self, who):
See ISpecification.
def transitionToInformationType(self, information_type, who):
See ISpecification.
@cachedproperty
def _known_viewers(self):
A set of known persons able to view the specifcation.
def userCanView(self, user):
See ISpecification.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.