Package com._1c.g5.v8.dt.supply
Interface IDtProjectDataSourceConnector
- All Known Implementing Classes:
- IntegrationDataSourceConnector
public interface IDtProjectDataSourceConnector
Abstraction of the project data access being used by the library supply/integration subsystem. Used to support
 different store formats of projects (native EDT, file only, etc).
- 
Method SummaryModifier and TypeMethodDescriptionBegins underlying store transaction.voidcommitTransaction(Object handle) Commits underlying transaction using the transaction handle obtained via thebeginTransaction()call.getCollectionSymlinks(org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EReference feature, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, Object transactionHandle) Gets the list of collection symlinks.org.eclipse.emf.ecore.EObjectgetTopLevelObject(String symlink, Object transactionHandle) Gets the top-level object from the data source.getTopLevelObjectSymlink(org.eclipse.emf.ecore.EObject source, Object transactionHandle) Gets the symlink to the top object
- 
Method Details- 
beginTransactionObject beginTransaction()Begins underlying store transaction. In case if the store doesn't support transactional operations, the implementation should simulate it by providing and storing requested handles- Returns:
- The transactional handle. Cannot be null
 
- 
commitTransactionCommits underlying transaction using the transaction handle obtained via thebeginTransaction()call.- Parameters:
- handle- The transactional handle. Cannot be- null
 
- 
getCollectionSymlinksList<String> getCollectionSymlinks(org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EReference feature, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, Object transactionHandle) Gets the list of collection symlinks.- Parameters:
- source- The source object. Cannot be- null
- feature- The target feature. Can be- null
- scopeProvider- The scope provider. Can be- null
- transactionHandle- Transaction handle obtained via- beginTransaction().
- Returns:
- The list of collection element symlinks. Cannot be null
 
- 
getTopLevelObjectGets the top-level object from the data source.- Parameters:
- symlink- The symlink of the top object. Cannot be- null
- transactionHandle- Transaction handle obtained via- beginTransaction(). Cannot be- null
- Returns:
- The object if exist. nullotherwise.
 
- 
getTopLevelObjectSymlinkGets the symlink to the top object- Parameters:
- source- The source object. Cannot be- null
- Returns:
- The transactional handle. Cannot be null
 
 
-