mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user