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

Part of lp.services.fields View In Hierarchy

Field used by IProduct.name.
Method _content_iface Return the content interface.

Inherited from PillarNameField:

Method _getByName Return the content object with the given name.

Inherited from BlacklistableContentNameField (via PillarNameField):

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

Inherited from ContentNameField (via PillarNameField, BlacklistableContentNameField):

Method _getByAttribute Return the content object with the given attribute.

Inherited from UniqueField (via PillarNameField, BlacklistableContentNameField, ContentNameField):

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

Override this in subclasses.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.