Class AbstractProjectDependencyMapper

    • Constructor Detail

      • AbstractProjectDependencyMapper

        protected AbstractProjectDependencyMapper​(org.hibernate.SessionFactory sessionFactory,
                                                  PlanDao planDao,
                                                  PlanDependencyManager planDependencyManager,
                                                  @NotNull
                                                  @NotNull org.springframework.transaction.support.TransactionOperations transactionOperations)
      • AbstractProjectDependencyMapper

        protected AbstractProjectDependencyMapper​(org.hibernate.SessionFactory sessionFactory,
                                                  @NotNull
                                                  @NotNull org.springframework.transaction.support.TransactionOperations transactionOperations)
    • Method Detail

      • saveDependency

        protected void saveDependency​(PlanDependency planDependency)
      • afterImportListItem

        public void afterImportListItem​(@NotNull
                                        @NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor,
                                        @NotNull
                                        @NotNull List<PlanDependency> planDependencies,
                                        @NotNull
                                        @NotNull PlanDependency object,
                                        long objectIndex,
                                        @NotNull
                                        @NotNull org.hibernate.Session session)
                                 throws Exception
        Description copied from class: BambooStAXMappingListHelperAbstractImpl
        Called after parser completes parsing all child nodes in list's element node.
        Overrides:
        afterImportListItem in class BambooStAXMappingListHelperAbstractImpl<PlanDependency,​PlanDependency>
        Parameters:
        inputCursor - cursor pointing to the list's element opening node
        planDependencies - list of elements being imported
        object - object that has been imported
        objectIndex - one-based index of the object being parsed
        session - Hibernate session object
        Throws:
        Exception - when something went wrong