Reload livemark contents if they are expired or if forced to do so.
@note The update process is asynchronous, it’s possible to register a
result observer to be notified of updated contents through
registerForUpdates.
[optional]aForceUpdate | If set to true forces a reload even if contents are still valid. |
Returns an array of nsINavHistoryResultNode objects, representing children
of this livemark. The nodes will have aContainerNode as parent.
aContainerNode | Object implementing nsINavHistoryContainerResultNode, to be used as parent of the livemark nodes. |
Registers a container node for updates on this livemark.
When the livemark contents change, an invalidateContainer(aContainerNode)
request is sent to aResultObserver.
aContainerNode | Object implementing nsINavHistoryContainerResultNode, representing this livemark. |
aResultObserver | The nsINavHistoryResultObserver that should be notified of changes to the livemark contents. |
Unregisters a previously registered container node.
@note it’s suggested to always unregister containers that are no more used,
to free up the associated resources. A good time to do so is when
the container gets closed.
aContainerNode | Object implementing nsINavHistoryContainerResultNode, representing this livemark. |
Status of this livemark. One of the STATUS_* constants above.