Part of lp.registry.interfaces.poll View In Hierarchy
|Method||new||Create a new Poll for the given team.|
|Method||selectByTeam||Return all Polls for the given team, filtered by status.|
|Method||getByTeamAndName||Return the Poll for the given team with the given name.|
Return all Polls for the given team, filtered by status. :status: is a sequence containing as many values as you want from PollStatus. :orderBy: can be either a string with the column name you want to sort or a list of column names as strings. If no orderBy is specified the results will be ordered using the default ordering specified in Poll._defaultOrder. The optional :when argument is used only by our tests, to test if the poll is/was/will-be open at a specific date.