Changeset 18
- Timestamp:
- 08/10/05 13:44:45 (6 years ago)
- Files:
-
- 1 modified
-
trunk/src/chronolog/interfaces.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/chronolog/interfaces.py
r15 r18 56 56 57 57 58 class ITimeLogKeyDomain(I nterface):58 class ITimeLogKeyDomain(IEnumerableMapping): 59 59 """A key domain 60 60 61 61 A key domain is the source where keys are obtained, like principals or 62 projects. 62 projects. ITimeLogKeys are keyed on their id, and their domain property 63 should be set to the id of this domain. 63 64 64 65 """ … … 77 78 description=_(u'A detailed description of the domain.'), 78 79 required=False) 79 80 def getKey(id):81 """Return the `ITimeLogKey` with the given id82 83 A ``TimeLogKeyLookupError`` is raised when no key with the given id84 exists.85 86 """87 def listKeys():88 """Return an iterable of all keys in this domain"""89 80 90 81
