org.alfresco.repo.domain.patch.ibatis
Class PatchDAOImpl
java.lang.Object
org.alfresco.repo.domain.patch.AbstractPatchDAOImpl
org.alfresco.repo.domain.patch.ibatis.PatchDAOImpl
- All Implemented Interfaces:
- org.alfresco.ibatis.BatchingDAO, PatchDAO
public class PatchDAOImpl
- extends AbstractPatchDAOImpl
iBatis-specific implementation of the AVMPatch DAO.
- Since:
- 3.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatchDAOImpl
public PatchDAOImpl()
setSqlMapClientTemplate
public void setSqlMapClientTemplate(org.springframework.orm.ibatis.SqlMapClientTemplate sqlMapClientTemplate)
startBatch
public void startBatch()
executeBatch
public void executeBatch()
getAVMNodeEntitiesCountWhereNewInStore
protected java.lang.Long getAVMNodeEntitiesCountWhereNewInStore()
- Specified by:
getAVMNodeEntitiesCountWhereNewInStore
in class AbstractPatchDAOImpl
getAVMNodeEntitiesWithEmptyGUID
protected java.util.List getAVMNodeEntitiesWithEmptyGUID()
- Specified by:
getAVMNodeEntitiesWithEmptyGUID
in class AbstractPatchDAOImpl
getNullVersionLayeredDirectoryNodeEntities
protected java.util.List getNullVersionLayeredDirectoryNodeEntities()
- Specified by:
getNullVersionLayeredDirectoryNodeEntities
in class AbstractPatchDAOImpl
getNullVersionLayeredFileNodeEntities
protected java.util.List getNullVersionLayeredFileNodeEntities()
- Specified by:
getNullVersionLayeredFileNodeEntities
in class AbstractPatchDAOImpl
getMaxAvmNodeID
public java.lang.Long getMaxAvmNodeID()
getAvmNodesWithOldContentProperties
public java.util.List getAvmNodesWithOldContentProperties(java.lang.Long minNodeId,
java.lang.Long maxNodeId)
getMaxAdmNodeID
public java.lang.Long getMaxAdmNodeID()
getAdmOldContentProperties
protected java.util.List getAdmOldContentProperties(java.lang.Long minNodeId,
java.lang.Long maxNodeId)
- Description copied from class:
AbstractPatchDAOImpl
- Results are of the form:
nodeId: java.lang.Long
qnameId: java.lang.Long
listIndex: java.lang.Integer
localeId: java.lang.Long
stringValue: java.lang.String
- Specified by:
getAdmOldContentProperties
in class AbstractPatchDAOImpl
- Parameters:
minNodeId
- inclusive lower bound for Node IDmaxNodeId
- exclusive upper bound for Node ID
- Returns:
- Returns a map of query results
updateAdmOldContentProperty
protected void updateAdmOldContentProperty(java.lang.Long nodeId,
java.lang.Long qnameId,
java.lang.Integer listIndex,
java.lang.Long localeId,
java.lang.Long longValue)
- Specified by:
updateAdmOldContentProperty
in class AbstractPatchDAOImpl
- Parameters:
nodeId
- part of the unique keyqnameId
- part of the unique keylistIndex
- part of the unique keylocaleId
- part of the unique keylongValue
- the new ContentData ID
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.