Examples of cleanupOnDelete()


Examples of org.olat.course.nodes.CourseNode.cleanupOnDelete()

   *
   * @see org.olat.core.util.tree.Visitor#visit(org.olat.core.util.nodes.INode)
   */
  public void visit(INode node) {
    CourseNode cNode = (CourseNode) node;
    cNode.cleanupOnDelete(course);
  }

}

/**
 
View Full Code Here

Examples of org.olat.course.nodes.CourseNode.cleanupOnDelete()

          // only clean up and archive of nodes which were already in run
          // save data, remove references
          deleteRefs(oldCn);
          oldCn.archiveNodeData(locale, course, exportDirectory, charset);
          // 2) delete all user data
          oldCn.cleanupOnDelete(course);
        }
      }
    }
    /*
     * mark modified ones as no longer dirty
View Full Code Here

Examples of org.olat.repository.handlers.RepositoryHandler.cleanupOnDelete()

      Tracing.logDebug("deleteRepositoryEntry deleteSecurityGroup ownerGroup=" + ownerGroup, this.getClass());
      ManagerFactory.getManager().deleteSecurityGroup(ownerGroup);
    }
    // inform handler to do any cleanup work... handler must delete the
    // referenced resourceable aswell.
    handler.cleanupOnDelete(entry.getOlatResource(), ureq, wControl);
    Tracing.logDebug("deleteRepositoryEntry Done" , this.getClass());
    return true;
  }
 
  /**
 
View Full Code Here

Examples of org.olat.repository.handlers.RepositoryHandler.cleanupOnDelete()

          Tracing.logDebug("Cleanup : started", RepositoryCopyController.class);
          newEntry = (RepositoryEntry) DBFactory.getInstance().loadObject(newEntry,true);
          SecurityGroup secGroup = newEntry.getOwnerGroup();
          RepositoryHandler repositoryHandler = RepositoryHandlerFactory.getInstance().getRepositoryHandler(newEntry);     
          Tracing.logDebug("Cleanup : repositoryHandler.cleanupOnDelete for olat-resource=" + newEntry.getOlatResource(), RepositoryCopyController.class);
          repositoryHandler.cleanupOnDelete(newEntry.getOlatResource(), null, this.getWindowControl());
          Tracing.logDebug("Cleanup : deleteRepositoryEntry", RepositoryCopyController.class);
          RepositoryManager.getInstance().deleteRepositoryEntry(newEntry);
          if (secGroup != null) { // delete owner group
            Tracing.logDebug("Cleanup : deleteSecurityGroup secGroup=" + secGroup, RepositoryCopyController.class);
            securityManager.deleteSecurityGroup(secGroup);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.