Class CmsResourceWrapperReplaceDeleted

  • All Implemented Interfaces:

    public class CmsResourceWrapperReplaceDeleted
    extends A_CmsResourceWrapper
    Resource wrapper which intercepts createResource calls and substitutes them with replaceResource if there is already a deleted file at the same path.

    This is useful because when accessing a repository, users can neither see nor publish deleted files, and thus can not re-create a file of state "deleted".