mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged DEV/CHECK_EXISTS to HEAD
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/DEV/CHECK_EXISTS@3442 svn://www.alfresco.org:3691/alfresco/BRANCHES/DEV/CHECK_EXISTS@3590 . TODO: Fix bug raising incorrect exception during UI paste of same-named file Note: - Added a new method to NodeService to get child by name - Added a new method to FileFolderService to perform fast, direct lookups based on name git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -57,17 +57,6 @@ public class NodeAssocImpl implements NodeAssoc, Serializable
|
||||
// add the forward associations
|
||||
this.setTarget(targetNode);
|
||||
this.setSource(sourceNode);
|
||||
// add the inverse associations
|
||||
sourceNode.getTargetNodeAssocs().add(this);
|
||||
targetNode.getSourceNodeAssocs().add(this);
|
||||
}
|
||||
|
||||
public void removeAssociation()
|
||||
{
|
||||
// maintain inverse assoc from source node to this instance
|
||||
this.getSource().getTargetNodeAssocs().remove(this);
|
||||
// maintain inverse assoc from target node to this instance
|
||||
this.getTarget().getSourceNodeAssocs().remove(this);
|
||||
}
|
||||
|
||||
public AssociationRef getNodeAssocRef()
|
||||
|
Reference in New Issue
Block a user