def setPrevUpNextLinks(self, prev=None, up=None, next=None):
        """Sets Prev link to point to the LogEntry object "prev". Set that object's Next link to point to us. Sets the "up" link to the URL 'up' (if up != None.)
        Sets the Next link to the entry 'next' (if next != None), or to nothing if next == ''."""
        if prev is not None:
            if prev:
                self._prev_link = quote_url(prev._relIndexLink())
                prev._next_link = quote_url(self._relIndexLink())
            else:
                self._prev_link = None
        if up is not None:
            self._up_link = up and quote_url(up)
        if next is not None:
            self._next_link = next and quote_url(next._relIndexLink())