l.r.i.p.PersonNameField(BlacklistableContentNameField) : class documentation

Part of lp.registry.interfaces.person View In Hierarchy

A Person team name, which is unique and performs psuedo blacklisting.

If the team name is not unique, and the clash is with a private team, return the blacklist message. Also return the blacklist message if the private prefix is used but the user is not privileged to create private teams.

Method _content_iface Return the interface this field belongs to.
Method _getByName Return a Person by looking up their name.
Method _validate See UniqueField.

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 _isValueTaken Returns true if and only if the specified value is already taken.
@property
def _content_iface(self):
Return the interface this field belongs to.
def _getByName(self, name):
Return a Person by looking up their name.
def _validate(self, input):
See UniqueField.
API Documentation for Launchpad, generated by pydoctor at 2019-05-25 00:00:03.