|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.domain.patch.AbstractPatchDAOImpl
public abstract class AbstractPatchDAOImpl
Abstract implementation for Patch DAO.
This provides additional queries used by patches.
Constructor Summary | |
---|---|
protected |
AbstractPatchDAOImpl()
|
Method Summary | |
---|---|
protected abstract java.util.List |
getAdmOldContentProperties(java.lang.Long minNodeId,
java.lang.Long maxNodeId)
Results are of the form: |
protected abstract java.lang.Long |
getAVMNodeEntitiesCountWhereNewInStore()
|
protected abstract java.util.List |
getAVMNodeEntitiesWithEmptyGUID()
|
java.lang.Long |
getAVMNodesCountWhereNewInStore()
|
java.util.List |
getEmptyGUIDS(int count)
|
java.util.List |
getNullVersionLayeredDirectories(int count)
|
protected abstract java.util.List |
getNullVersionLayeredDirectoryNodeEntities()
|
protected abstract java.util.List |
getNullVersionLayeredFileNodeEntities()
|
java.util.List |
getNullVersionLayeredFiles(int count)
|
void |
setContentDataDAO(ContentDataDAO contentDataDAO)
Set the DAO that supplies ContentData IDs |
protected abstract void |
updateAdmOldContentProperty(java.lang.Long nodeId,
java.lang.Long qnameId,
java.lang.Integer listIndex,
java.lang.Long localeId,
java.lang.Long longValue)
|
void |
updateAdmV31ContentProperties(java.lang.Long minNodeId,
java.lang.Long maxNodeId)
Migrates DM content properties from the old V3.1 format (String-based ContentData.toString() )
to the new V3.2 format (ID based storage using ContentDataDAO ). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.alfresco.repo.domain.patch.PatchDAO |
---|
getAvmNodesWithOldContentProperties, getMaxAdmNodeID, getMaxAvmNodeID |
Methods inherited from interface org.alfresco.ibatis.BatchingDAO |
---|
executeBatch, startBatch |
Constructor Detail |
---|
protected AbstractPatchDAOImpl()
Method Detail |
---|
public void setContentDataDAO(ContentDataDAO contentDataDAO)
ContentData
IDs
public java.lang.Long getAVMNodesCountWhereNewInStore()
getAVMNodesCountWhereNewInStore
in interface PatchDAO
protected abstract java.lang.Long getAVMNodeEntitiesCountWhereNewInStore()
public java.util.List getEmptyGUIDS(int count)
getEmptyGUIDS
in interface PatchDAO
protected abstract java.util.List getAVMNodeEntitiesWithEmptyGUID()
public java.util.List getNullVersionLayeredDirectories(int count)
getNullVersionLayeredDirectories
in interface PatchDAO
public java.util.List getNullVersionLayeredFiles(int count)
getNullVersionLayeredFiles
in interface PatchDAO
protected abstract java.util.List getNullVersionLayeredDirectoryNodeEntities()
protected abstract java.util.List getNullVersionLayeredFileNodeEntities()
public void updateAdmV31ContentProperties(java.lang.Long minNodeId, java.lang.Long maxNodeId)
ContentData.toString()
)
to the new V3.2 format (ID based storage using ContentDataDAO
).
updateAdmV31ContentProperties
in interface PatchDAO
minNodeId
- the inclusive node ID to limit the updates tomaxNodeId
- the exclusive node ID to limit the updates toAbstractPatchDAOImpl.getAdmOldContentProperties(Long, Long)
protected abstract java.util.List getAdmOldContentProperties(java.lang.Long minNodeId, java.lang.Long maxNodeId)
nodeId: java.lang.Long qnameId: java.lang.Long listIndex: java.lang.Integer localeId: java.lang.Long stringValue: java.lang.String
minNodeId
- inclusive lower bound for Node IDmaxNodeId
- exclusive upper bound for Node ID
protected abstract void updateAdmOldContentProperty(java.lang.Long nodeId, java.lang.Long qnameId, java.lang.Integer listIndex, java.lang.Long localeId, java.lang.Long longValue)
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |