org.nuxeo.ecm.directory
Class InverseReference
java.lang.Object
org.nuxeo.ecm.directory.AbstractReference
org.nuxeo.ecm.directory.InverseReference
- All Implemented Interfaces:
- Reference
public class InverseReference
- extends AbstractReference
Reference that uses the matching reference of the target directory to
actually do the job.
- Author:
- ogrisel
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InverseReference
public InverseReference()
setFieldName
public void setFieldName(java.lang.String fieldName)
setTargetDirectoryName
public void setTargetDirectoryName(java.lang.String targetDirectoryName)
- Specified by:
setTargetDirectoryName
in interface Reference
- Overrides:
setTargetDirectoryName
in class AbstractReference
addLinks
public void addLinks(java.lang.String sourceId,
java.util.List<java.lang.String> targetIds)
throws DirectoryException
- Throws:
DirectoryException
addLinks
public void addLinks(java.util.List<java.lang.String> sourceIds,
java.lang.String targetId)
throws DirectoryException
- Throws:
DirectoryException
removeLinksForTarget
public void removeLinksForTarget(java.lang.String targetId)
throws DirectoryException
- Throws:
DirectoryException
removeLinksForSource
public void removeLinksForSource(java.lang.String sourceId)
throws DirectoryException
- Throws:
DirectoryException
getSourceIdsForTarget
public java.util.List<java.lang.String> getSourceIdsForTarget(java.lang.String targetId)
throws DirectoryException
- Throws:
DirectoryException
getTargetIdsForSource
public java.util.List<java.lang.String> getTargetIdsForSource(java.lang.String sourceId)
throws DirectoryException
- Throws:
DirectoryException
setTargetIdsForSource
public void setTargetIdsForSource(java.lang.String sourceId,
java.util.List<java.lang.String> targetIds)
throws DirectoryException
- Throws:
DirectoryException
setSourceIdsForTarget
public void setSourceIdsForTarget(java.lang.String targetId,
java.util.List<java.lang.String> sourceIds)
throws DirectoryException
- Throws:
DirectoryException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.