Package com._1c.g5.v8.dt.supply
Interface IDtProjectDataSourceConnector
- 
 public interface IDtProjectDataSourceConnectorAbstraction 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectbeginTransaction()Begins underlying store transaction.voidcommitTransaction(Object handle)Commits underlying transaction using the transaction handle obtained via thebeginTransaction()call.List<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.org.eclipse.emf.ecore.EObjectgetTopLevelObject(String symlink, Object transactionHandle)Gets the top-level object from the data source.StringgetTopLevelObjectSymlink(org.eclipse.emf.ecore.EObject source, Object transactionHandle)Gets the symlink to the top object
 
- 
- 
- 
Method Detail- 
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
 
 - 
commitTransactionvoid commitTransaction(Object handle) Commits 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
 
 - 
getTopLevelObjectorg.eclipse.emf.ecore.EObject getTopLevelObject(String symlink, Object transactionHandle) Gets 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.
 
 
- 
 
-