Package com._1c.g5.v8.bm.integration
Interface IBmProjectProvider
-
- All Superinterfaces:
IBmProvider
,IBmSaveManager
public interface IBmProjectProvider extends IBmProvider, IBmSaveManager
TheIBmProvider
that controls access to the project's sources.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROVIDER_ID
Provider unique ID.static String
SERVICE_NAME
Service name (using in recovery orchestrator)
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
addSynchronizationListener(IBmProjectProviderSynchronizationListener listener)
Adds a new synchronization listener to the provider.boolean
isSyncActive()
void
processFqnUpdate(IBmObject object, String oldFqn)
Processes FQN update.default void
removeSynchronizationListener(IBmProjectProviderSynchronizationListener listener)
Removes a listener for the provider.-
Methods inherited from interface com._1c.g5.v8.bm.integration.IBmProvider
getId, setModel, waitProcessing
-
Methods inherited from interface com._1c.g5.v8.bm.integration.IBmSaveManager
addSyncListener, lock, removeSyncListener, save, setModel, unlock
-
-
-
-
Field Detail
-
PROVIDER_ID
static final String PROVIDER_ID
Provider unique ID.- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
Service name (using in recovery orchestrator)- See Also:
- Constant Field Values
-
-
Method Detail
-
isSyncActive
boolean isSyncActive()
- Returns:
- true in case synchronization are scheduled or perfomed right now.
-
processFqnUpdate
void processFqnUpdate(IBmObject object, String oldFqn)
Processes FQN update.- Parameters:
object
- the object that has been assigned a new FQN, may not benull
.oldFqn
- the old FQN, may not benull
.
-
addSynchronizationListener
default void addSynchronizationListener(IBmProjectProviderSynchronizationListener listener)
Adds a new synchronization listener to the provider. This method doesn't prevent from multiple additions of the same listener.- Parameters:
listener
- The listener instance, may not benull
.
-
removeSynchronizationListener
default void removeSynchronizationListener(IBmProjectProviderSynchronizationListener listener)
Removes a listener for the provider. This method is safe to call during the notification cycle- Parameters:
listener
- The listener to remove, may not benull
.
-
-