Interface DmContentProcessor
-
- All Known Implementing Classes:
AssetDmContentProcessor
,FormDmContentProcessor
public interface DmContentProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentItemTO
createMissingFoldersInPath(String site, String path, boolean isPreview)
create missing folders in the given pathString
fileToFolder(String site, String path)
change file to folder content.
-
-
-
Method Detail
-
createMissingFoldersInPath
ContentItemTO createMissingFoldersInPath(String site, String path, boolean isPreview) throws ServiceLayerException, UserNotFoundException
create missing folders in the given path- Parameters:
site
-path
-isPreview
-- Returns:
- last child folder in the path
- Throws:
ServiceLayerException
UserNotFoundException
-
fileToFolder
String fileToFolder(String site, String path) throws ServiceLayerException, UserNotFoundException
change file to folder content. See WcmClipboardServiceImpl when updating this logic. Duplicate exists due to prevent circular dependency- Parameters:
site
- site idpath
- content path- Returns:
- new content path
- Throws:
ServiceLayerException
UserNotFoundException
-
-