Home | Trees | Indices | Help |
|
---|
|
|
|||
varies |
|
||
|
|||
|
|||
|
|||
|
|||
varies |
|
||
string |
|
||
dict or None |
|
||
string |
|
||
varies |
|
||
list of strings |
|
||
boolean |
|
||
list of varies |
|
||
|
|||
|
|||
|
|||
|
|
Retrieves an item from this dict based on the key given. If the item does not exist, then we return the default. If the item is CONTENT_KEY then we return the result from self.getData(). This is just a convenience method for getData(...) and getMetadata(...). There's no reason to override this--override getData and getMetadata instead.
|
Returns a friendly debuggable representation of self. Useful to know on what entry pyblosxom fails on you (though unlikely) returns: Identifiable representation of object rtype: string |
Sets the metadata[key] to the given value. This is a convenience method for setData(...) and setMetadata(...). There's no reason to override this. Override setData and setMetadata.
|
Over-writes the cached dict for key entryid with the data dict. This is a helper method--call this to add data to the cache. Do not override it.
|
Retrieves an item from the internal dict based on the key given. All this does is turn aroun and call __getitem__. There's no reason to override this--override getData and getMetadata instead.
|
Returns the data string. This method should be overridden to provide from pulling the data from other places. Override this.
|
Retrieves information from the cache that pertains to this specific entryid. This is a helper method--call this to get data from the cache. Do not override it.
|
This should return an id that's unique enough for caching purposes. Override this.
|
Returns a given piece of metadata. Override this.
|
Returns the list of keys for which we have values in our stored metadata. Note: This list gets modified later downstream. If you cache your list of metadata keys, then this method should return a copy of that list and not the list itself lest it get adjusted. Override this.
|
|
|
Sets the data content for this entry. If you are not creating the entry, then you have no right to set the data of the entry. Doing so could be hazardous depending on what EntryBase subclass you're dealing with. Override this.
|
Sets a key/value pair in the metadata dict. Override this.
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Mon Jul 2 15:07:11 2007 | http://epydoc.sourceforge.net |