Changeset 3165 for pykota/trunk/pykota/storages/ldapstorage.py
- Timestamp:
- 04/16/07 18:52:23 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r3142 r3165 1574 1574 self.doDelete(code.ident) 1575 1575 1576 def extractPrinters(self, extractonly={} ) :1576 def extractPrinters(self, extractonly={}, ordering=[]) : 1577 1577 """Extracts all printer records.""" 1578 1578 pname = extractonly.get("printername") … … 1588 1588 return result 1589 1589 1590 def extractUsers(self, extractonly={} ) :1590 def extractUsers(self, extractonly={}, ordering=[]) : 1591 1591 """Extracts all user records.""" 1592 1592 uname = extractonly.get("username") … … 1598 1598 return result 1599 1599 1600 def extractBillingcodes(self, extractonly={} ) :1600 def extractBillingcodes(self, extractonly={}, ordering=[]) : 1601 1601 """Extracts all billing codes records.""" 1602 1602 billingcode = extractonly.get("billingcode") … … 1608 1608 return result 1609 1609 1610 def extractGroups(self, extractonly={} ) :1610 def extractGroups(self, extractonly={}, ordering=[]) : 1611 1611 """Extracts all group records.""" 1612 1612 gname = extractonly.get("groupname") … … 1618 1618 return result 1619 1619 1620 def extractPayments(self, extractonly={} ) :1620 def extractPayments(self, extractonly={}, ordering=[]) : 1621 1621 """Extracts all payment records.""" 1622 1622 startdate = extractonly.get("start") … … 1636 1636 return result 1637 1637 1638 def extractUpquotas(self, extractonly={} ) :1638 def extractUpquotas(self, extractonly={}, ordering=[]) : 1639 1639 """Extracts all userpquota records.""" 1640 1640 pname = extractonly.get("printername") … … 1648 1648 return result 1649 1649 1650 def extractGpquotas(self, extractonly={} ) :1650 def extractGpquotas(self, extractonly={}, ordering=[]) : 1651 1651 """Extracts all grouppquota records.""" 1652 1652 pname = extractonly.get("printername") … … 1660 1660 return result 1661 1661 1662 def extractUmembers(self, extractonly={} ) :1662 def extractUmembers(self, extractonly={}, ordering=[]) : 1663 1663 """Extracts all user groups members.""" 1664 1664 gname = extractonly.get("groupname") … … 1673 1673 return result 1674 1674 1675 def extractPmembers(self, extractonly={} ) :1675 def extractPmembers(self, extractonly={}, ordering=[]) : 1676 1676 """Extracts all printer groups members.""" 1677 1677 pname = extractonly.get("printername") … … 1686 1686 return result 1687 1687 1688 def extractHistory(self, extractonly={} ) :1688 def extractHistory(self, extractonly={}, ordering=[]) : 1689 1689 """Extracts all jobhistory records.""" 1690 1690 uname = extractonly.get("username")