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

java.lang.Object
  extended by org.alfresco.repo.domain.avm.AbstractAVMNodeDAOImpl
      extended by org.alfresco.repo.domain.avm.ibatis.AVMNodeDAOImpl
All Implemented Interfaces:
AVMNodeDAO

public class AVMNodeDAOImpl
extends AbstractAVMNodeDAOImpl

iBatis-specific implementation of the AVMNode DAO.

Since:
3.2

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.repo.domain.avm.AVMNodeDAO
AVMNodeDAO.ContentUrlHandler
 
Constructor Summary
AVMNodeDAOImpl()
           
 
Method Summary
protected  void createAspectEntity(long nodeId, long qnameId)
           
protected  AVMNodeEntity createNodeEntity(AVMNodeEntity nodeEntity)
           
protected  int deleteAspectEntities(long nodeId)
           
protected  int deleteAspectEntity(long nodeId, long qnameId)
           
protected  int deleteNodeEntity(long nodeId)
           
protected  int deleteNodePropertyEntities(long nodeId)
           
protected  int deleteNodePropertyEntity(long nodeId, long qnameId)
           
protected  java.util.List getAllLayeredDirectoryNodeEntities()
           
protected  java.util.List getAllLayeredFileNodeEntities()
           
protected  java.util.List getAspectEntities(long nodeId)
           
protected  java.util.List getLayeredNodeEntitiesNewInStore(long storeId)
           
protected  java.util.List getLayeredNodeEntityIdsNewInStore(long storeId)
           
protected  java.util.List getNodeEntitiesNewInStore(long storeId)
           
protected  AVMNodeEntity getNodeEntity(long id)
           
protected  java.util.List getNodeEntityOrphans(int maxSize)
           
protected  java.util.List getNodePropertyEntities(long nodeId)
           
protected  AVMNodePropertyEntity getNodePropertyEntity(long nodeId, long qnameId)
           
protected  void getPlainFileContentUrls(AVMNodeDAO.ContentUrlHandler handler)
           
protected  void insertNodePropertyEntity(AVMNodePropertyEntity propEntity)
           
 void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
           
protected  void updateNodeEntitiesClearNewInStore(long storeId)
           
protected  int updateNodeEntity(AVMNodeEntity updateNodeEntity)
           
protected  int updateNodeEntityModTimeAndContentData(AVMNodeEntity updateNodeEntity)
           
protected  int updateNodeEntityModTimeAndGuid(AVMNodeEntity updateNodeEntity)
           
protected  int updateNodePropertyEntity(AVMNodePropertyEntity updatePropEntity)
           
 
Methods inherited from class org.alfresco.repo.domain.avm.AbstractAVMNodeDAOImpl
clearNodeEntityCache, createAspect, createNode, createOrUpdateNodeProperty, deleteAspect, deleteAspects, deleteNode, deleteNodeProperties, deleteNodeProperty, getAllLayeredDirectories, getAllLayeredFiles, getAspects, getContentUrls, getLayeredNodesNewInStore, getLayeredNodesNewInStoreIDs, getNode, getNodeOrphans, getNodeProperties, getNodesNewInStore, setAvmNodeAspectsCache, setAvmNodeCache, setAvmNodePropertyCache, setQnameDAO, updateNode, updateNodeModTimeAndContentData, updateNodeModTimeAndGuid, updateNodesClearNewInStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AVMNodeDAOImpl

public AVMNodeDAOImpl()
Method Detail

setSqlSessionTemplate

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

createNodeEntity

protected AVMNodeEntity createNodeEntity(AVMNodeEntity nodeEntity)
Specified by:
createNodeEntity in class AbstractAVMNodeDAOImpl

getNodeEntity

protected AVMNodeEntity getNodeEntity(long id)
Specified by:
getNodeEntity in class AbstractAVMNodeDAOImpl

updateNodeEntity

protected int updateNodeEntity(AVMNodeEntity updateNodeEntity)
Specified by:
updateNodeEntity in class AbstractAVMNodeDAOImpl

updateNodeEntityModTimeAndGuid

protected int updateNodeEntityModTimeAndGuid(AVMNodeEntity updateNodeEntity)
Specified by:
updateNodeEntityModTimeAndGuid in class AbstractAVMNodeDAOImpl

updateNodeEntityModTimeAndContentData

protected int updateNodeEntityModTimeAndContentData(AVMNodeEntity updateNodeEntity)
Specified by:
updateNodeEntityModTimeAndContentData in class AbstractAVMNodeDAOImpl

deleteNodeEntity

protected int deleteNodeEntity(long nodeId)
Specified by:
deleteNodeEntity in class AbstractAVMNodeDAOImpl

updateNodeEntitiesClearNewInStore

protected void updateNodeEntitiesClearNewInStore(long storeId)
Specified by:
updateNodeEntitiesClearNewInStore in class AbstractAVMNodeDAOImpl

getNodeEntitiesNewInStore

protected java.util.List getNodeEntitiesNewInStore(long storeId)
Specified by:
getNodeEntitiesNewInStore in class AbstractAVMNodeDAOImpl

getLayeredNodeEntitiesNewInStore

protected java.util.List getLayeredNodeEntitiesNewInStore(long storeId)
Specified by:
getLayeredNodeEntitiesNewInStore in class AbstractAVMNodeDAOImpl

getLayeredNodeEntityIdsNewInStore

protected java.util.List getLayeredNodeEntityIdsNewInStore(long storeId)
Specified by:
getLayeredNodeEntityIdsNewInStore in class AbstractAVMNodeDAOImpl

getNodeEntityOrphans

protected java.util.List getNodeEntityOrphans(int maxSize)
Specified by:
getNodeEntityOrphans in class AbstractAVMNodeDAOImpl

getAllLayeredDirectoryNodeEntities

protected java.util.List getAllLayeredDirectoryNodeEntities()
Specified by:
getAllLayeredDirectoryNodeEntities in class AbstractAVMNodeDAOImpl

getAllLayeredFileNodeEntities

protected java.util.List getAllLayeredFileNodeEntities()
Specified by:
getAllLayeredFileNodeEntities in class AbstractAVMNodeDAOImpl

getPlainFileContentUrls

protected void getPlainFileContentUrls(AVMNodeDAO.ContentUrlHandler handler)
Specified by:
getPlainFileContentUrls in class AbstractAVMNodeDAOImpl

getAspectEntities

protected java.util.List getAspectEntities(long nodeId)
Specified by:
getAspectEntities in class AbstractAVMNodeDAOImpl

createAspectEntity

protected void createAspectEntity(long nodeId,
                                  long qnameId)
Specified by:
createAspectEntity in class AbstractAVMNodeDAOImpl

deleteAspectEntity

protected int deleteAspectEntity(long nodeId,
                                 long qnameId)
Specified by:
deleteAspectEntity in class AbstractAVMNodeDAOImpl

deleteAspectEntities

protected int deleteAspectEntities(long nodeId)
Specified by:
deleteAspectEntities in class AbstractAVMNodeDAOImpl

insertNodePropertyEntity

protected void insertNodePropertyEntity(AVMNodePropertyEntity propEntity)
Specified by:
insertNodePropertyEntity in class AbstractAVMNodeDAOImpl

updateNodePropertyEntity

protected int updateNodePropertyEntity(AVMNodePropertyEntity updatePropEntity)
Specified by:
updateNodePropertyEntity in class AbstractAVMNodeDAOImpl

getNodePropertyEntity

protected AVMNodePropertyEntity getNodePropertyEntity(long nodeId,
                                                      long qnameId)
Specified by:
getNodePropertyEntity in class AbstractAVMNodeDAOImpl

getNodePropertyEntities

protected java.util.List getNodePropertyEntities(long nodeId)
Specified by:
getNodePropertyEntities in class AbstractAVMNodeDAOImpl

deleteNodePropertyEntity

protected int deleteNodePropertyEntity(long nodeId,
                                       long qnameId)
Specified by:
deleteNodePropertyEntity in class AbstractAVMNodeDAOImpl

deleteNodePropertyEntities

protected int deleteNodePropertyEntities(long nodeId)
Specified by:
deleteNodePropertyEntities in class AbstractAVMNodeDAOImpl


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