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
InverseReference
public InverseReference()
setFieldName
public void setFieldName(String fieldName)
setTargetDirectoryName
public void setTargetDirectoryName(String targetDirectoryName)
- Specified by:
setTargetDirectoryName
in interface Reference
- Overrides:
setTargetDirectoryName
in class AbstractReference
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
removeLinksForTarget
public void removeLinksForTarget(String targetId)
throws DirectoryException
- Throws:
DirectoryException
removeLinksForSource
public void removeLinksForSource(String sourceId)
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
setTargetIdsForSource
public void setTargetIdsForSource(String sourceId,
List<String> targetIds)
throws DirectoryException
- Throws:
DirectoryException
setSourceIdsForTarget
public void setSourceIdsForTarget(String targetId,
List<String> sourceIds)
throws DirectoryException
- Throws:
DirectoryException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.