Part of lp.registry.interfaces.entitlement View In Hierarchy
Known implementations: lp.registry.model.entitlement.EntitlementSet
Method | __getitem__ | Return the entitlement with the given id. |
Method | __iter__ | Return an iterator that will go through all entitlements. |
Method | count | Return the number of entitlements in the database. |
Method | get | Return the entitlement with the given id. |
Method | getForPerson | Return the entitlements for the person or team. |
Method | getValidForPerson | Return a list of valid entitlements for the person or team. |
Method | getDirty | Return the entitlements that have the dirty bit set. |
Method | new | Create a new entitlement. |
Raise NotFoundError if there is no such entitlement.
Return the default value if there is no such entitlement.
Get all entitlements for a person.
Get all valid entitlements for a person. None is returned if no valid entitlements are found.