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
DirectoryExceptionvoid setSourceDirectoryName(String sourceDirectoryName)
Directory getTargetDirectory() throws DirectoryException
DirectoryExceptionvoid setTargetDirectoryName(String targetDirectoryName)
void addLinks(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryExceptionvoid addLinks(List<String> sourceIds, String targetId) throws DirectoryException
DirectoryExceptionvoid removeLinksForSource(String sourceId) throws DirectoryException
DirectoryExceptionvoid removeLinksForTarget(String targetId) throws DirectoryException
DirectoryExceptionList<String> getTargetIdsForSource(String sourceId) throws DirectoryException
DirectoryExceptionList<String> getSourceIdsForTarget(String targetId) throws DirectoryException
DirectoryExceptionvoid setTargetIdsForSource(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryExceptionvoid setSourceIdsForTarget(String targetId, List<String> sourceIds) throws DirectoryException
DirectoryExceptionCopyright © 2015 Nuxeo SA. All rights reserved.