Package com.documentum.fc.client.search
Interface IDfSearchSourceContainer
- All Known Subinterfaces:
- IDfPassThroughQuery,- IDfQueryBuilder,- IDfQueryDefinition,- IDfSearchMetadataManager
public interface IDfSearchSourceContainer
Base interface for the classes that manage a list of selected sources.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddSelectedSource(String sourceName) Adds a selected source.voidRemoves all selected sources.intGets the selected source count.Gets an enumeration of the selected sources.voidremoveSelectedSource(String sourceName) Removes selected source.
- 
Method Details- 
getSelectedSourceCountint getSelectedSourceCount()Gets the selected source count. Default is 0.- Returns:
- The number of selected sources.
 
- 
getSelectedSourcesIDfEnumeration getSelectedSources()Gets an enumeration of the selected sources.- Returns:
- An enumeration of IDfSearchSource objects.
 
- 
addSelectedSourceAdds a selected source. Internally, looks up the source by name using the bound IDfSearchMetadataManager.- Parameters:
- sourceName- The name of the source to add.
- Throws:
- DfException- If source cannot be added such as in a case if it cannot be located.
 
- 
removeSelectedSourceRemoves selected source.- Parameters:
- sourceName- The name of the source to remove.
- Throws:
- DfException- If a problem with accessing sources happens.
 
- 
clearSelectedSourcesRemoves all selected sources.- Throws:
- DfException- If a problem with accessing sources happens.
 
 
-