|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.directory.AbstractReference org.nuxeo.ecm.directory.ldap.LDAPTreeReference
public class LDAPTreeReference
Implementation of the directory Reference interface that makes it possible to retrieve children of a node in the LDAP tree structure.
Field Summary | |
---|---|
static List<String> |
EMPTY_STRING_LIST
|
Constructor Summary | |
---|---|
LDAPTreeReference()
|
Method Summary | |
---|---|
void |
addLinks(List<String> sourceIds,
String targetId)
NOT IMPLEMENTED: Store new links. |
void |
addLinks(String sourceId,
List<String> targetIds)
NOT IMPLEMENTED: Store new links |
int |
getScope()
|
Directory |
getSourceDirectory()
|
List<String> |
getSourceIdsForTarget(String targetId)
Fetches single parent, cutting the dn and trying to get the given entry. |
Directory |
getTargetDirectory()
|
List<String> |
getTargetIdsForSource(String sourceId)
Fetches children, onelevel or subtree given the reference configuration. |
void |
removeLinksForSource(String sourceId)
NOT IMPLEMENTED: Remove existing statically defined links for the given source id |
void |
removeLinksForTarget(String targetId)
NOT IMPLEMENTED: Remove existing statically defined links for the given target id |
void |
setFieldName(String fieldName)
|
void |
setScope(String scope)
|
void |
setSourceIdsForTarget(String targetId,
List<String> sourceIds)
NOT IMPLEMENTED: Edit the list of statically defined references for a given target |
void |
setTargetDirectoryName(String targetDirectoryName)
|
void |
setTargetIdsForSource(String sourceId,
List<String> targetIds)
NOT IMPLEMENTED: Set the list of statically defined references for a given source |
String |
toString()
|
Methods inherited from class org.nuxeo.ecm.directory.AbstractReference |
---|
getFieldName, setSourceDirectoryName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final List<String> EMPTY_STRING_LIST
Constructor Detail |
---|
public LDAPTreeReference()
Method Detail |
---|
public void setFieldName(String fieldName)
public void setTargetDirectoryName(String targetDirectoryName)
setTargetDirectoryName
in interface Reference
setTargetDirectoryName
in class AbstractReference
public int getScope()
public void setScope(String scope) throws DirectoryException
DirectoryException
public Directory getSourceDirectory() throws DirectoryException
getSourceDirectory
in interface Reference
getSourceDirectory
in class AbstractReference
DirectoryException
public Directory getTargetDirectory() throws DirectoryException
getTargetDirectory
in interface Reference
getTargetDirectory
in class AbstractReference
DirectoryException
public void addLinks(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryException
Reference.addLinks(String, List)
public void addLinks(List<String> sourceIds, String targetId) throws DirectoryException
DirectoryException
Reference.addLinks(List, String)
public List<String> getSourceIdsForTarget(String targetId) throws DirectoryException
DirectoryException
Reference.getSourceIdsForTarget(String)
public List<String> getTargetIdsForSource(String sourceId) throws DirectoryException
Removes entries with same id than parent to only get real children.
DirectoryException
Reference.getTargetIdsForSource(String)
public void removeLinksForSource(String sourceId) throws DirectoryException
DirectoryException
Reference.removeLinksForSource(String)
public void removeLinksForTarget(String targetId) throws DirectoryException
DirectoryException
Reference.removeLinksForTarget(String)
public void setSourceIdsForTarget(String targetId, List<String> sourceIds) throws DirectoryException
DirectoryException
Reference.setSourceIdsForTarget(String,
List)
public void setTargetIdsForSource(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryException
Reference.setTargetIdsForSource(String,
List)
public String toString()
toString
in class Object
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |