Class ProjectAbstractRepositoryInitializer<P extends com.dassault_systemes.modeler.foundation.project.ModelElementProject>

  • All Implemented Interfaces:
    java.util.function.Consumer<com.dassault_systemes.modeler.foundation.project.ModelElementProject>

    public abstract class ProjectAbstractRepositoryInitializer<P extends com.dassault_systemes.modeler.foundation.project.ModelElementProject>
    extends com.dassault_systemes.modeler.foundation.project.RepositoryInitializer<P,​AbstractRepository>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.dassault_systemes.modeler.foundation.transaction.TransactionManager createTransactionManager​(AbstractRepository repository)  
      protected java.lang.Class<? extends AbstractRepository> getRepositoryType​(P project)  
      • Methods inherited from class com.dassault_systemes.modeler.foundation.project.RepositoryInitializer

        accept, createRepository
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Constructor Detail

      • ProjectAbstractRepositoryInitializer

        protected ProjectAbstractRepositoryInitializer​(java.lang.Class<? extends P> projectType)
    • Method Detail

      • getRepositoryType

        protected final java.lang.Class<? extends AbstractRepository> getRepositoryType​(P project)
        Specified by:
        getRepositoryType in class com.dassault_systemes.modeler.foundation.project.RepositoryInitializer<P extends com.dassault_systemes.modeler.foundation.project.ModelElementProject,​AbstractRepository>
      • createTransactionManager

        protected final com.dassault_systemes.modeler.foundation.transaction.TransactionManager createTransactionManager​(AbstractRepository repository)
        Specified by:
        createTransactionManager in class com.dassault_systemes.modeler.foundation.project.RepositoryInitializer<P extends com.dassault_systemes.modeler.foundation.project.ModelElementProject,​AbstractRepository>