org.alfresco.repo.domain.avm.ibatis
Class AVMNodeLinksDAOImpl

java.lang.Object
  extended by org.alfresco.repo.domain.avm.AbstractAVMNodeLinksDAOImpl
      extended by org.alfresco.repo.domain.avm.ibatis.AVMNodeLinksDAOImpl
All Implemented Interfaces:
AVMNodeLinksDAO

public class AVMNodeLinksDAOImpl
extends AbstractAVMNodeLinksDAOImpl

iBatis-specific implementation of the AVMNodeLinks DAO.

Since:
3.2

Constructor Summary
AVMNodeLinksDAOImpl()
           
 
Method Summary
protected  void createChildEntryEntity(AVMChildEntryEntity childEntryEntity)
           
protected  void createHistoryLinkEntity(long ancestorNodeId, long mergeToNodeId)
           
protected  void createMergeLinkEntity(long mergeFromNodeId, long mergeToNodeId)
           
protected  int deleteChildEntryEntities(long parentNodeId)
           
protected  int deleteChildEntryEntity(long parentNodeId, long childNodeId)
           
protected  int deleteChildEntryEntity(long parentNodeId, java.lang.String name)
           
protected  int deleteHistoryLinkEntity(long ancestorNodeId, long descendentNodeId)
           
protected  int deleteMergeLinkEntity(long mergeFromNodeId, long mergeToNodeId)
           
protected  java.util.List getChildEntryEntitiesByChild(long childNodeId)
           
protected  java.util.List getChildEntryEntitiesByParent(long parentNodeId)
           
protected  java.util.List getChildEntryEntitiesByParent(long parentNodeId, java.lang.String childNamePattern)
           
protected  AVMChildEntryEntity getChildEntryEntity(AVMChildEntryEntity childEntryEntity)
           
protected  AVMChildEntryEntity getChildEntryEntity(long parentNodeId, long childNodeId)
           
protected  AVMChildEntryEntity getChildEntryEntity(long parentNodeId, java.lang.String name)
           
protected  java.util.List getHistoryLinkEntitiesByAncestor(long ancestorNodeId)
           
protected  AVMHistoryLinkEntity getHistoryLinkEntity(long ancestorNodeId, long descendentNodeId)
           
protected  AVMHistoryLinkEntity getHistoryLinkEntityByDescendent(long descendentNodeId)
           
protected  java.util.List getMergeLinkEntitiesByFrom(long mergeFromNodeId)
           
protected  AVMMergeLinkEntity getMergeLinkEntityByTo(long mergeToNodeId)
           
 void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
           
 void setToLower(boolean toLower)
           
protected  int updateChildEntryEntity(AVMChildEntryEntity childEntryEntity)
           
 
Methods inherited from class org.alfresco.repo.domain.avm.AbstractAVMNodeLinksDAOImpl
createChildEntry, createHistoryLink, createMergeLink, deleteChildEntriesByParent, deleteChildEntry, deleteHistoryLink, deleteMergeLink, getChildEntriesByChild, getChildEntriesByParent, getChildEntry, getChildEntry, getHistoryLinkByDescendent, getHistoryLinksByAncestor, getMergeLinkByTo, getMergeLinksByFrom, setAvmChildEntryCache, setAvmHistoryLinkCache, updateChildEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AVMNodeLinksDAOImpl

public AVMNodeLinksDAOImpl()
Method Detail

setSqlSessionTemplate

public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)

setToLower

public void setToLower(boolean toLower)

getChildEntryEntity

protected AVMChildEntryEntity getChildEntryEntity(AVMChildEntryEntity childEntryEntity)
Specified by:
getChildEntryEntity in class AbstractAVMNodeLinksDAOImpl

getChildEntryEntity

protected AVMChildEntryEntity getChildEntryEntity(long parentNodeId,
                                                  java.lang.String name)
Specified by:
getChildEntryEntity in class AbstractAVMNodeLinksDAOImpl

getChildEntryEntity

protected AVMChildEntryEntity getChildEntryEntity(long parentNodeId,
                                                  long childNodeId)
Specified by:
getChildEntryEntity in class AbstractAVMNodeLinksDAOImpl

getChildEntryEntitiesByParent

protected java.util.List getChildEntryEntitiesByParent(long parentNodeId)
Specified by:
getChildEntryEntitiesByParent in class AbstractAVMNodeLinksDAOImpl

getChildEntryEntitiesByParent

protected java.util.List getChildEntryEntitiesByParent(long parentNodeId,
                                                       java.lang.String childNamePattern)
Specified by:
getChildEntryEntitiesByParent in class AbstractAVMNodeLinksDAOImpl

getChildEntryEntitiesByChild

protected java.util.List getChildEntryEntitiesByChild(long childNodeId)
Specified by:
getChildEntryEntitiesByChild in class AbstractAVMNodeLinksDAOImpl

createChildEntryEntity

protected void createChildEntryEntity(AVMChildEntryEntity childEntryEntity)
Specified by:
createChildEntryEntity in class AbstractAVMNodeLinksDAOImpl

updateChildEntryEntity

protected int updateChildEntryEntity(AVMChildEntryEntity childEntryEntity)
Specified by:
updateChildEntryEntity in class AbstractAVMNodeLinksDAOImpl

deleteChildEntryEntity

protected int deleteChildEntryEntity(long parentNodeId,
                                     java.lang.String name)
Specified by:
deleteChildEntryEntity in class AbstractAVMNodeLinksDAOImpl

deleteChildEntryEntity

protected int deleteChildEntryEntity(long parentNodeId,
                                     long childNodeId)
Specified by:
deleteChildEntryEntity in class AbstractAVMNodeLinksDAOImpl

deleteChildEntryEntities

protected int deleteChildEntryEntities(long parentNodeId)
Specified by:
deleteChildEntryEntities in class AbstractAVMNodeLinksDAOImpl

createMergeLinkEntity

protected void createMergeLinkEntity(long mergeFromNodeId,
                                     long mergeToNodeId)
Specified by:
createMergeLinkEntity in class AbstractAVMNodeLinksDAOImpl

deleteMergeLinkEntity

protected int deleteMergeLinkEntity(long mergeFromNodeId,
                                    long mergeToNodeId)
Specified by:
deleteMergeLinkEntity in class AbstractAVMNodeLinksDAOImpl

getMergeLinkEntityByTo

protected AVMMergeLinkEntity getMergeLinkEntityByTo(long mergeToNodeId)
Specified by:
getMergeLinkEntityByTo in class AbstractAVMNodeLinksDAOImpl

getMergeLinkEntitiesByFrom

protected java.util.List getMergeLinkEntitiesByFrom(long mergeFromNodeId)
Specified by:
getMergeLinkEntitiesByFrom in class AbstractAVMNodeLinksDAOImpl

createHistoryLinkEntity

protected void createHistoryLinkEntity(long ancestorNodeId,
                                       long mergeToNodeId)
Specified by:
createHistoryLinkEntity in class AbstractAVMNodeLinksDAOImpl

deleteHistoryLinkEntity

protected int deleteHistoryLinkEntity(long ancestorNodeId,
                                      long descendentNodeId)
Specified by:
deleteHistoryLinkEntity in class AbstractAVMNodeLinksDAOImpl

getHistoryLinkEntityByDescendent

protected AVMHistoryLinkEntity getHistoryLinkEntityByDescendent(long descendentNodeId)
Specified by:
getHistoryLinkEntityByDescendent in class AbstractAVMNodeLinksDAOImpl

getHistoryLinkEntity

protected AVMHistoryLinkEntity getHistoryLinkEntity(long ancestorNodeId,
                                                    long descendentNodeId)
Specified by:
getHistoryLinkEntity in class AbstractAVMNodeLinksDAOImpl

getHistoryLinkEntitiesByAncestor

protected java.util.List getHistoryLinkEntitiesByAncestor(long ancestorNodeId)
Specified by:
getHistoryLinkEntitiesByAncestor in class AbstractAVMNodeLinksDAOImpl


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