public interface Reference
References are used to leverage SQL joins or attributes that store a list of distinguished names in LDAP servers (e.g. uniqueMember).
In nuxeo directories, references are special entry fields that are string list of entry ids of a target directory.
Modifier and Type | Method and Description |
---|---|
void |
addLinks(List<String> sourceIds,
String targetId) |
void |
addLinks(String sourceId,
List<String> targetIds) |
Reference |
clone()
Returns a clone, added for hot reload support.
|
String |
getFieldName() |
Directory |
getSourceDirectory() |
List<String> |
getSourceIdsForTarget(String targetId) |
Directory |
getTargetDirectory() |
List<String> |
getTargetIdsForSource(String sourceId) |
void |
removeLinksForSource(String sourceId) |
void |
removeLinksForTarget(String targetId) |
void |
setSourceDirectoryName(String sourceDirectoryName) |
void |
setSourceIdsForTarget(String targetId,
List<String> sourceIds) |
void |
setTargetDirectoryName(String targetDirectoryName) |
void |
setTargetIdsForSource(String sourceId,
List<String> targetIds) |
String getFieldName()
Directory getSourceDirectory() throws DirectoryException
DirectoryException
void setSourceDirectoryName(String sourceDirectoryName)
Directory getTargetDirectory() throws DirectoryException
DirectoryException
void setTargetDirectoryName(String targetDirectoryName)
void addLinks(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryException
void addLinks(List<String> sourceIds, String targetId) throws DirectoryException
DirectoryException
void removeLinksForSource(String sourceId) throws DirectoryException
DirectoryException
void removeLinksForTarget(String targetId) throws DirectoryException
DirectoryException
List<String> getTargetIdsForSource(String sourceId) throws DirectoryException
DirectoryException
List<String> getSourceIdsForTarget(String targetId) throws DirectoryException
DirectoryException
void setTargetIdsForSource(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryException
void setSourceIdsForTarget(String targetId, List<String> sourceIds) throws DirectoryException
DirectoryException
Reference clone()
Copyright © 2013 Nuxeo SA. All Rights Reserved.