org.alfresco.repo.avm
Interface HistoryLinkDAO


public interface HistoryLinkDAO

DAO for history links.


Method Summary
 void delete(HistoryLink link)
          Delete a HistoryLink
 java.util.List getByAncestor(AVMNode ancestor)
          Get all the descendents of a node.
 HistoryLink getByDescendent(AVMNode descendent)
          Get the history link with the given descendent.
 void save(HistoryLink link)
          Save and unsaved HistoryLink.
 

Method Detail

save

void save(HistoryLink link)
Save and unsaved HistoryLink.

Parameters:
link -

getByDescendent

HistoryLink getByDescendent(AVMNode descendent)
Get the history link with the given descendent.

Parameters:
descendent - The descendent.
Returns:
The HistoryLink or null if not found.

getByAncestor

java.util.List getByAncestor(AVMNode ancestor)
Get all the descendents of a node.

Parameters:
ancestor - The ancestor node.
Returns:
A List of AVMNode descendents.

delete

void delete(HistoryLink link)
Delete a HistoryLink

Parameters:
link - The link to delete.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.