Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.directory.multi
Class MultiReference

java.lang.Object
  extended by org.nuxeo.ecm.directory.AbstractReference
      extended by org.nuxeo.ecm.directory.multi.MultiReference
All Implemented Interfaces:
Reference

public class MultiReference
extends AbstractReference


Method Summary
 void addLinks(List<String> sourceIds, String targetId)
           
 void addLinks(String sourceId, List<String> targetIds)
           
 List<String> getSourceIdsForTarget(String targetId)
           
 List<String> getTargetIdsForSource(String sourceId)
           
 void removeLinksForSource(String sourceId)
           
 void removeLinksForTarget(String targetId)
           
 void setSourceIdsForTarget(String targetId, List<String> sourceIds)
           
 void setTargetIdsForSource(String sourceId, List<String> targetIds)
           
 
Methods inherited from class org.nuxeo.ecm.directory.AbstractReference
getFieldName, getSourceDirectory, getTargetDirectory, setSourceDirectoryName, setTargetDirectoryName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addLinks

public void addLinks(String sourceId,
                     List<String> targetIds)
              throws DirectoryException
Throws:
DirectoryException

addLinks

public void addLinks(List<String> sourceIds,
                     String targetId)
              throws DirectoryException
Throws:
DirectoryException

getSourceIdsForTarget

public List<String> getSourceIdsForTarget(String targetId)
                                   throws DirectoryException
Throws:
DirectoryException

getTargetIdsForSource

public List<String> getTargetIdsForSource(String sourceId)
                                   throws DirectoryException
Throws:
DirectoryException

removeLinksForSource

public void removeLinksForSource(String sourceId)
                          throws DirectoryException
Throws:
DirectoryException

removeLinksForTarget

public void removeLinksForTarget(String targetId)
                          throws DirectoryException
Throws:
DirectoryException

setSourceIdsForTarget

public void setSourceIdsForTarget(String targetId,
                                  List<String> sourceIds)
                           throws DirectoryException
Throws:
DirectoryException

setTargetIdsForSource

public void setTargetIdsForSource(String sourceId,
                                  List<String> targetIds)
                           throws DirectoryException
Throws:
DirectoryException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.