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

java.lang.Object
  extended by org.alfresco.repo.domain.avm.AbstractAVMVersionRootDAOImpl
      extended by org.alfresco.repo.domain.avm.ibatis.AVMVersionRootDAOImpl
All Implemented Interfaces:
AVMVersionRootDAO

public class AVMVersionRootDAOImpl
extends AbstractAVMVersionRootDAOImpl

iBatis-specific implementation of the AVMVersionRoot DAO

Since:
3.2

Constructor Summary
AVMVersionRootDAOImpl()
           
 
Method Summary
protected  AVMVersionLayeredNodeEntryEntity createVersionLayeredNodeEntryEntity(long versionRootId, java.lang.String md5sum, java.lang.String path)
           
protected  AVMVersionRootEntity createVersionRootEntity(AVMVersionRootEntity newVersionRootEntity)
           
protected  int deleteVersionLayeredNodeEntryEntities(long versionRootId)
           
protected  int deleteVersionRootEntity(long vrEntityId)
           
protected  java.util.List getAllVersionRootEntitiesByStoreId(long storeId)
           
protected  java.util.List getVersionLayeredNodeEntryEntities(long versionRootId)
           
protected  java.util.List getVersionRootEntitiesByBetween(long storeId, long from, long to)
           
protected  java.util.List getVersionRootEntitiesByFrom(long storeId, long from)
           
protected  java.util.List getVersionRootEntitiesByTo(long storeId, long to)
           
protected  java.util.List getVersionRootEntitiesByVersionsBetween(long storeId, long from, long to)
           
protected  java.util.List getVersionRootEntitiesByVersionsFrom(long storeId, long from)
           
protected  java.util.List getVersionRootEntitiesByVersionsTo(long storeId, long to)
           
protected  AVMVersionRootEntity getVersionRootEntityById(long vrEntityId)
           
protected  AVMVersionRootEntity getVersionRootEntityByRootNodeId(long rootNodeId)
           
protected  AVMVersionRootEntity getVersionRootEntityByStoreVersion(long storeId, int version)
           
protected  AVMVersionRootEntity getVersionRootEntityMaxVersion(long storeId)
           
protected  java.lang.Long getVersionRootEntityMaxVersionId(long storeId)
           
 void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
           
protected  int updateVersionRootEntity(AVMVersionRootEntity updateVersionRootEntity)
           
 
Methods inherited from class org.alfresco.repo.domain.avm.AbstractAVMVersionRootDAOImpl
createVersionLayeredNodeEntry, createVersionRoot, deleteVersionLayeredNodeEntries, deleteVersionRoot, getAllInStore, getByDates, getByID, getByRoot, getByVersionID, getByVersionsBetween, getByVersionsFrom, getByVersionsTo, getMaxVersion, getMaxVersionID, getVersionLayeredNodeEntries, setVersionRootEntityCache, updateVersionRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AVMVersionRootDAOImpl

public AVMVersionRootDAOImpl()
Method Detail

setSqlSessionTemplate

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

createVersionRootEntity

protected AVMVersionRootEntity createVersionRootEntity(AVMVersionRootEntity newVersionRootEntity)
Specified by:
createVersionRootEntity in class AbstractAVMVersionRootDAOImpl

updateVersionRootEntity

protected int updateVersionRootEntity(AVMVersionRootEntity updateVersionRootEntity)
Specified by:
updateVersionRootEntity in class AbstractAVMVersionRootDAOImpl

getVersionRootEntityMaxVersion

protected AVMVersionRootEntity getVersionRootEntityMaxVersion(long storeId)
Specified by:
getVersionRootEntityMaxVersion in class AbstractAVMVersionRootDAOImpl

getVersionRootEntityMaxVersionId

protected java.lang.Long getVersionRootEntityMaxVersionId(long storeId)
Specified by:
getVersionRootEntityMaxVersionId in class AbstractAVMVersionRootDAOImpl

getVersionRootEntityById

protected AVMVersionRootEntity getVersionRootEntityById(long vrEntityId)
Specified by:
getVersionRootEntityById in class AbstractAVMVersionRootDAOImpl

getVersionRootEntityByStoreVersion

protected AVMVersionRootEntity getVersionRootEntityByStoreVersion(long storeId,
                                                                  int version)
Specified by:
getVersionRootEntityByStoreVersion in class AbstractAVMVersionRootDAOImpl

getVersionRootEntityByRootNodeId

protected AVMVersionRootEntity getVersionRootEntityByRootNodeId(long rootNodeId)
Specified by:
getVersionRootEntityByRootNodeId in class AbstractAVMVersionRootDAOImpl

getAllVersionRootEntitiesByStoreId

protected java.util.List getAllVersionRootEntitiesByStoreId(long storeId)
Specified by:
getAllVersionRootEntitiesByStoreId in class AbstractAVMVersionRootDAOImpl

getVersionRootEntitiesByTo

protected java.util.List getVersionRootEntitiesByTo(long storeId,
                                                    long to)
Specified by:
getVersionRootEntitiesByTo in class AbstractAVMVersionRootDAOImpl

getVersionRootEntitiesByFrom

protected java.util.List getVersionRootEntitiesByFrom(long storeId,
                                                      long from)
Specified by:
getVersionRootEntitiesByFrom in class AbstractAVMVersionRootDAOImpl

getVersionRootEntitiesByBetween

protected java.util.List getVersionRootEntitiesByBetween(long storeId,
                                                         long from,
                                                         long to)
Specified by:
getVersionRootEntitiesByBetween in class AbstractAVMVersionRootDAOImpl

getVersionRootEntitiesByVersionsBetween

protected java.util.List getVersionRootEntitiesByVersionsBetween(long storeId,
                                                                 long from,
                                                                 long to)
Specified by:
getVersionRootEntitiesByVersionsBetween in class AbstractAVMVersionRootDAOImpl

getVersionRootEntitiesByVersionsFrom

protected java.util.List getVersionRootEntitiesByVersionsFrom(long storeId,
                                                              long from)
Specified by:
getVersionRootEntitiesByVersionsFrom in class AbstractAVMVersionRootDAOImpl

getVersionRootEntitiesByVersionsTo

protected java.util.List getVersionRootEntitiesByVersionsTo(long storeId,
                                                            long to)
Specified by:
getVersionRootEntitiesByVersionsTo in class AbstractAVMVersionRootDAOImpl

deleteVersionRootEntity

protected int deleteVersionRootEntity(long vrEntityId)
Specified by:
deleteVersionRootEntity in class AbstractAVMVersionRootDAOImpl

createVersionLayeredNodeEntryEntity

protected AVMVersionLayeredNodeEntryEntity createVersionLayeredNodeEntryEntity(long versionRootId,
                                                                               java.lang.String md5sum,
                                                                               java.lang.String path)
Specified by:
createVersionLayeredNodeEntryEntity in class AbstractAVMVersionRootDAOImpl

deleteVersionLayeredNodeEntryEntities

protected int deleteVersionLayeredNodeEntryEntities(long versionRootId)
Specified by:
deleteVersionLayeredNodeEntryEntities in class AbstractAVMVersionRootDAOImpl

getVersionLayeredNodeEntryEntities

protected java.util.List getVersionLayeredNodeEntryEntities(long versionRootId)
Specified by:
getVersionLayeredNodeEntryEntities in class AbstractAVMVersionRootDAOImpl


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