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, setSourceDirectoryNamepublic void setFieldName(String fieldName)
public void setTargetDirectoryName(String targetDirectoryName)
setTargetDirectoryName in interface ReferencesetTargetDirectoryName in class AbstractReferencepublic void setReadOnly(boolean readOnly)
public boolean isReadOnly()
public void addLinks(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryExceptionpublic void addLinks(List<String> sourceIds, String targetId) throws DirectoryException
DirectoryExceptionpublic void removeLinksForTarget(String targetId) throws DirectoryException
DirectoryExceptionpublic void removeLinksForSource(String sourceId) throws DirectoryException
DirectoryExceptionpublic List<String> getSourceIdsForTarget(String targetId) throws DirectoryException
DirectoryExceptionpublic List<String> getTargetIdsForSource(String sourceId) throws DirectoryException
DirectoryExceptionpublic void setTargetIdsForSource(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryExceptionpublic void setSourceIdsForTarget(String targetId, List<String> sourceIds) throws DirectoryException
DirectoryExceptionpublic InverseReference clone()
Referenceclone in interface Referenceclone in class AbstractReferenceCopyright © 2013 Nuxeo SA. All Rights Reserved.