Nuxeo Enterprise Platform 5.1

org.nuxeo.ecm.directory
Class AbstractReference

java.lang.Object
  extended by org.nuxeo.ecm.directory.AbstractReference
All Implemented Interfaces:
Reference
Direct Known Subclasses:
InverseReference, LDAPReference, TableReference

public abstract class AbstractReference
extends Object
implements Reference

Implementation of common Reference logic.

Author:
ogrisel

Field Summary
protected  DirectoryServiceImpl directoryService
           
protected  String fieldName
           
protected  Directory sourceDirectory
           
protected  String sourceDirectoryName
           
protected  Directory targetDirectory
           
protected  String targetDirectoryName
           
 
Constructor Summary
AbstractReference()
           
 
Method Summary
protected  DirectoryServiceImpl getDirectoryService()
           
 String getFieldName()
           
 Directory getSourceDirectory()
           
 Directory getTargetDirectory()
           
 void setSourceDirectoryName(String sourceDirectoryName)
           
 void setTargetDirectoryName(String targetDirectoryName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.directory.Reference
addLinks, addLinks, getSourceIdsForTarget, getTargetIdsForSource, removeLinksForSource, removeLinksForTarget, setSourceIdsForTarget, setTargetIdsForSource
 

Field Detail

directoryService

protected DirectoryServiceImpl directoryService

sourceDirectoryName

protected String sourceDirectoryName

sourceDirectory

protected Directory sourceDirectory

targetDirectoryName

protected String targetDirectoryName

targetDirectory

protected Directory targetDirectory

fieldName

protected String fieldName
Constructor Detail

AbstractReference

public AbstractReference()
Method Detail

getFieldName

public String getFieldName()
                    throws DirectoryException
Specified by:
getFieldName in interface Reference
Throws:
DirectoryException

getSourceDirectory

public Directory getSourceDirectory()
                             throws DirectoryException
Specified by:
getSourceDirectory in interface Reference
Throws:
DirectoryException

setSourceDirectoryName

public void setSourceDirectoryName(String sourceDirectoryName)
                            throws DirectoryException
Specified by:
setSourceDirectoryName in interface Reference
Throws:
DirectoryException

getTargetDirectory

public Directory getTargetDirectory()
                             throws DirectoryException
Specified by:
getTargetDirectory in interface Reference
Throws:
DirectoryException

setTargetDirectoryName

public void setTargetDirectoryName(String targetDirectoryName)
                            throws DirectoryException
Specified by:
setTargetDirectoryName in interface Reference
Throws:
DirectoryException

getDirectoryService

protected DirectoryServiceImpl getDirectoryService()

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.