Class CmsResourceWrapperReplaceDeleted

java.lang.Object
org.opencms.file.wrapper.A_CmsResourceWrapper
org.opencms.file.wrapper.CmsResourceWrapperReplaceDeleted
All Implemented Interfaces:
I_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".