mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.0 to HEAD
5491: AWC-1154 WCM Workflows 5507, 5511: AVMGuidPatch git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -172,4 +172,15 @@ class AVMNodeDAOHibernate extends HibernateDaoSupport implements
|
||||
{
|
||||
getSession().flush();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.avm.AVMNodeDAO#getEmptyGUIDS(int)
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<AVMNode> getEmptyGUIDS(int count)
|
||||
{
|
||||
Query query = getSession().createQuery("from AVMNodeImpl an where an.guid is null");
|
||||
query.setMaxResults(count);
|
||||
return (List<AVMNode>)query.list();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user