Fixed ALF-4551: DeletedNodeCleanupWorker will throw UnsupportedOperationException

- Included unit test to start NodeCleanupRegistry (sanity check only)
 - DAO call to 'purgeNodes'
 - Add job locking to cleanup tasks


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22255 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2010-09-03 22:55:23 +00:00
parent 10d8672fa9
commit 5f9da921d7
9 changed files with 201 additions and 170 deletions

View File

@@ -43,6 +43,7 @@ public class TransactionQueryEntity
private List<Long> excludeTxnIds;
private Long excludeServerId;
private Boolean ascending;
private Boolean deletedNodes;
private Long storeId;
/**
@@ -66,6 +67,7 @@ public class TransactionQueryEntity
.append(", excludeTxnIds=").append(excludeTxnIds)
.append(", excludeServerId=").append(excludeServerId)
.append(", ascending=").append(ascending)
.append(", deletedNodes=").append(deletedNodes)
.append(", storeId=").append(storeId)
.append("]");
return sb.toString();
@@ -161,6 +163,16 @@ public class TransactionQueryEntity
this.ascending = ascending;
}
public Boolean getDeletedNodes()
{
return deletedNodes;
}
public void setDeletedNodes(Boolean deletedNodes)
{
this.deletedNodes = deletedNodes;
}
public Long getStoreId()
{
return storeId;