public class TableReference extends AbstractReference
Constructor and Description |
---|
TableReference() |
getFieldName, getSourceDirectory, getTargetDirectory, setSourceDirectoryName
public void setFieldName(String fieldName)
public void setTargetDirectoryName(String targetDirectoryName)
setTargetDirectoryName
in interface Reference
setTargetDirectoryName
in class AbstractReference
public void addLinks(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryException
public void addLinks(List<String> sourceIds, String targetId) throws DirectoryException
DirectoryException
public void addLinks(String sourceId, List<String> targetIds, SQLSession session) throws DirectoryException
DirectoryException
public void addLinks(List<String> sourceIds, String targetId, SQLSession session) throws DirectoryException
DirectoryException
public boolean exists(String sourceId, String targetId, SQLSession session) throws DirectoryException
DirectoryException
public void addLink(String sourceId, String targetId, SQLSession session, boolean checkExisting) throws DirectoryException
DirectoryException
public List<String> getSourceIdsForTarget(String targetId) throws DirectoryException
DirectoryException
public List<String> getTargetIdsForSource(String sourceId) throws DirectoryException
DirectoryException
public void removeLinksFor(String column, String entryId, SQLSession session) throws DirectoryException
DirectoryException
public void removeLinksForSource(String sourceId, SQLSession session) throws DirectoryException
DirectoryException
public void removeLinksForTarget(String targetId, SQLSession session) throws DirectoryException
DirectoryException
public void removeLinksForSource(String sourceId) throws DirectoryException
DirectoryException
public void removeLinksForTarget(String targetId) throws DirectoryException
DirectoryException
public void setIdsFor(String idsColumn, List<String> ids, String filterColumn, String filterValue, SQLSession session) throws DirectoryException
DirectoryException
public void setSourceIdsForTarget(String targetId, List<String> sourceIds, SQLSession session) throws DirectoryException
DirectoryException
public void setTargetIdsForSource(String sourceId, List<String> targetIds, SQLSession session) throws DirectoryException
DirectoryException
public void setSourceIdsForTarget(String targetId, List<String> sourceIds) throws DirectoryException
DirectoryException
public void setTargetIdsForSource(String sourceId, List<String> targetIds) throws DirectoryException
DirectoryException
public Table getTable() throws DirectoryException
DirectoryException
public String getSourceColumn()
public String getTargetColumn()
public String getTargetDirectoryName()
public String getTableName()
public String getSchemaName()
public String getDataFileName()
public TableReference clone()
Reference
clone
in interface Reference
clone
in class AbstractReference
Copyright © 2015 Nuxeo SA. All rights reserved.