Class OldPathCollector

java.lang.Object
ch.tocco.nice2.dms.api.util.PathCollector
ch.tocco.nice2.dms.api.util.OldPathCollector

public class OldPathCollector extends PathCollector
Collect the old paths of this node. If the path part of a node has been changed in the current transaction, this path collector obtains not the current path, but the one that was set before.
  • Constructor Details

  • Method Details

    • getPathPart

      protected String getPathPart(ContentTreeNode node)
      Overrides:
      getPathPart in class PathCollector
      Parameters:
      node - The node to get the path part from.
      Returns:
      the old path part, if there is one. The current path part as fallback.