public interface WebeditStoreMappingPlugin extends Plugin
SiteStoreFolder
to a (maybe new) PageFolder
and is used
during create and move operations in the FirstSpirit WebClient. It is necessary to allow different
strategies in organizing content (page-store) and structure (site-stote).
Examples:
Modifier and Type | Method and Description |
---|---|
PageFolder |
requestMappedFolder(SiteStoreFolder folder)
Returns the pagestore folder mapped to given
folder or null if there is no mapped folder
(so the WebClient isn't responsible for the page-store structure). |
PageFolder |
requireMappedFolder(SiteStoreFolder folder)
Returns the pagestore folder mapped to given
folder . |
@Nullable PageFolder requestMappedFolder(@NotNull SiteStoreFolder folder)
folder
or null
if there is no mapped folder
(so the WebClient isn't responsible for the page-store structure). Called to check pre-conditions
(e.g. before a move or rename operation) for further processing. Returning null
means that the
move/rename-operation won't have any effect to the page-store.folder
- The sitestore folder to retrieve pagestore folder for.folder
or null
if there is no folder mapped.@NotNull PageFolder requireMappedFolder(@NotNull SiteStoreFolder folder)
folder
. folder
- The sitestore folder to retrieve pagestore folder for.folder
.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500