public class InverseReference extends AbstractReference
Constructor and Description |
---|
InverseReference() |
Modifier and Type | Method and Description |
---|---|
void |
addLinks(List<String> sourceIds,
String targetId) |
void |
addLinks(String sourceId,
List<String> targetIds) |
InverseReference |
clone()
Returns a clone, added for hot reload support.
|
List<String> |
getSourceIdsForTarget(String targetId) |
List<String> |
getTargetIdsForSource(String sourceId) |
boolean |
isReadOnly() |
void |
removeLinksForSource(String sourceId) |
void |
removeLinksForTarget(String targetId) |
void |
setFieldName(String fieldName) |
void |
setReadOnly(boolean readOnly) |
void |
setSourceIdsForTarget(String targetId,
List<String> sourceIds) |
void |
setTargetDirectoryName(String targetDirectoryName) |
void |
setTargetIdsForSource(String sourceId,
List<String> targetIds) |
getFieldName, getSourceDirectory, getTargetDirectory, setSourceDirectoryName
public void setFieldName(String fieldName)
public void setTargetDirectoryName(String targetDirectoryName)
setTargetDirectoryName
in interface Reference
setTargetDirectoryName
in class AbstractReference
public void setReadOnly(boolean readOnly)
public boolean isReadOnly()
public void addLinks(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryException
public void addLinks(List<String> sourceIds, String targetId) throws DirectoryException
DirectoryException
public void removeLinksForTarget(String targetId) throws DirectoryException
DirectoryException
public void removeLinksForSource(String sourceId) throws DirectoryException
DirectoryException
public List<String> getSourceIdsForTarget(String targetId) throws DirectoryException
DirectoryException
public List<String> getTargetIdsForSource(String sourceId) throws DirectoryException
DirectoryException
public void setTargetIdsForSource(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryException
public void setSourceIdsForTarget(String targetId, List<String> sourceIds) throws DirectoryException
DirectoryException
public InverseReference clone()
Reference
clone
in interface Reference
clone
in class AbstractReference
Copyright © 2013 Nuxeo SA. All Rights Reserved.