Merged DEV/DEREK_2.1 to HEAD

- Removed Node.parentAssocs mapping
 - Added parentAssocs transactional cache to NodeDAO
 - Added concurrency detection to TransactionalCache
 - Fixed cluster sample config


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-06-13 23:50:14 +00:00
parent 36ea25f822
commit fb069d1680
19 changed files with 940 additions and 186 deletions

View File

@@ -217,18 +217,18 @@ public interface NodeDaoService
/**
* Finds the association between the node's primary parent and the node itself
*
* @param node the child node
* @param childNode the child node
* @return Returns the primary <code>ChildAssoc</code> instance where the given node is the child.
* The return value could be null for a root node - but ONLY a root node
*/
public ChildAssoc getPrimaryParentAssoc(Node node);
public ChildAssoc getPrimaryParentAssoc(Node childNode);
/**
* Get all parent associations for the node. This methods includes a cache safety check.
* @param node the child node
* @param childNode the child node
* @return Returns all parent associations for the node.
*/
public Collection<ChildAssoc> getParentAssocs(Node node);
public Collection<ChildAssoc> getParentAssocs(Node childNode);
/**
* @return Returns the persisted and filled association