org.alfresco.repo.domain.avm
Interface AVMNodeLinksDAO

All Known Implementing Classes:
AbstractAVMNodeLinksDAOImpl, AVMNodeLinksDAOImpl

public interface AVMNodeLinksDAO

DAO services for avm_child_entries, avm_history_links, avm_merge_links tables

Since:
3.2

Method Summary
 void createChildEntry(long parentNodeId, java.lang.String name, long childNodeId)
          Get an entry by name and parent
 void createHistoryLink(long ancestorNodeId, long descendentNodeId)
           
 void createMergeLink(long mergeFromNodeId, long mergeToNodeId)
           
 void deleteChildEntriesByParent(long parentNodeId)
          Delete all children of the given parent
 void deleteChildEntry(AVMChildEntryEntity childEntryEntity)
          Delete one
 void deleteHistoryLink(long ancestorNodeId, long descendentNodeId)
           
 void deleteMergeLink(long mergeFromNodeId, long mergeToNodeId)
           
 java.util.List getChildEntriesByChild(long childNodeId)
          Get all the ChildEntries corresponding to the given child
 java.util.List getChildEntriesByParent(long parentNodeId, java.lang.String childNamePattern)
          Get all the children of a given parent (with optional child name pattern)
 AVMChildEntryEntity getChildEntry(long parentNodeId, long childNodeId)
          Get the entry for a given child in a given parent
 AVMChildEntryEntity getChildEntry(long parentNodeId, java.lang.String name)
          Get an entry by name and parent
 AVMHistoryLinkEntity getHistoryLinkByDescendent(long descendentNodeId)
           
 java.util.List getHistoryLinksByAncestor(long ancestorNodeId)
           
 AVMMergeLinkEntity getMergeLinkByTo(long mergeToNodeId)
           
 java.util.List getMergeLinksByFrom(long mergeFromNodeId)
           
 void updateChildEntry(AVMChildEntryEntity childEntryEntity)
          Specific rename 'case' only
 

Method Detail

createChildEntry

void createChildEntry(long parentNodeId,
                      java.lang.String name,
                      long childNodeId)
Get an entry by name and parent


getChildEntriesByParent

java.util.List getChildEntriesByParent(long parentNodeId,
                                       java.lang.String childNamePattern)
Get all the children of a given parent (with optional child name pattern)


getChildEntriesByChild

java.util.List getChildEntriesByChild(long childNodeId)
Get all the ChildEntries corresponding to the given child


getChildEntry

AVMChildEntryEntity getChildEntry(long parentNodeId,
                                  java.lang.String name)
Get an entry by name and parent


getChildEntry

AVMChildEntryEntity getChildEntry(long parentNodeId,
                                  long childNodeId)
Get the entry for a given child in a given parent


updateChildEntry

void updateChildEntry(AVMChildEntryEntity childEntryEntity)
Specific rename 'case' only


deleteChildEntry

void deleteChildEntry(AVMChildEntryEntity childEntryEntity)
Delete one


deleteChildEntriesByParent

void deleteChildEntriesByParent(long parentNodeId)
Delete all children of the given parent


createMergeLink

void createMergeLink(long mergeFromNodeId,
                     long mergeToNodeId)

deleteMergeLink

void deleteMergeLink(long mergeFromNodeId,
                     long mergeToNodeId)

getMergeLinkByTo

AVMMergeLinkEntity getMergeLinkByTo(long mergeToNodeId)

getMergeLinksByFrom

java.util.List getMergeLinksByFrom(long mergeFromNodeId)

createHistoryLink

void createHistoryLink(long ancestorNodeId,
                       long descendentNodeId)

deleteHistoryLink

void deleteHistoryLink(long ancestorNodeId,
                       long descendentNodeId)

getHistoryLinkByDescendent

AVMHistoryLinkEntity getHistoryLinkByDescendent(long descendentNodeId)

getHistoryLinksByAncestor

java.util.List getHistoryLinksByAncestor(long ancestorNodeId)


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