l.s.f.PillarNameField(BlacklistableContentNameField) : class documentation

Part of lp.services.fields View In Hierarchy

Known subclasses: lp.registry.interfaces.distribution.DistributionNameField, lp.registry.interfaces.projectgroup.ProjectGroupNameField, lp.services.fields.ProductNameField

Base field used for names of distros/project groups/products.
Method _getByName Return the content object with the given name.

Inherited from BlacklistableContentNameField:

Method _validate Check that the given name is valid, unique and not blacklisted.

Inherited from ContentNameField (via BlacklistableContentNameField):

Method _getByAttribute Return the content object with the given attribute.

Inherited from UniqueField (via BlacklistableContentNameField, ContentNameField):

Method unchanged Return True if the attribute on the object is unchanged.
Method _content_iface Return the content interface.
Method _isValueTaken Returns true if and only if the specified value is already taken.
def _getByName(self, name):
Return the content object with the given name.

Override this in subclasses.

API Documentation for Launchpad, generated by pydoctor at 2019-08-20 00:00:04.