l.r.i.a.IAccessPolicySource(Interface) : interface documentation

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

No interface docstring
Method create Create an IAccessPolicy for the given pillars and types.
Method createForTeams Create an IAccessPolicy for the given teams.
Method find Return the `IAccessPolicy`s for the given pillars and types.
Method findByID Return the `IAccessPolicy`s with the given IDs.
Method findByPillar Return a `ResultSet` of all `IAccessPolicy`s for the pillars.
Method findByTeam Return a `ResultSet` of all `IAccessPolicy`s for the teams.
Method delete Delete the given pillars and types.
def create(pillars_and_types):
Create an IAccessPolicy for the given pillars and types.
Parameterspillars_and_typesa collection of (IProduct or IDistribution, InformationType) pairs to create IAccessPolicy objects for.
Returnsa collection of the created IAccessPolicy objects.
def createForTeams(teams):
Create an IAccessPolicy for the given teams.
Parametersteamsa collection of teams to create IAccessPolicy objects for.
Returnsa collection of the created IAccessPolicy objects.
def find(pillars_and_types):
Return the `IAccessPolicy`s for the given pillars and types.

:param pillars_and_types: a collection of
    (`IProduct` or `IDistribution`, `InformationType`) pairs to
    find.
def findByID(ids):
Return the `IAccessPolicy`s with the given IDs.
def findByPillar(pillars):
Return a `ResultSet` of all `IAccessPolicy`s for the pillars.
def findByTeam(teams):
Return a `ResultSet` of all `IAccessPolicy`s for the teams.
def delete(pillars_and_types):
Delete the given pillars and types.
Parameterspillars_and_typesa collection of (IProduct or IDistribution, InformationType) pairs delete.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.