Class UserPortalContentDialogHelper
- java.lang.Object
-
- de.xima.fc.gui.helper.user_portal.content.UserPortalContentDialogHelper
-
public final class UserPortalContentDialogHelper extends Object
Helper for temporary dialog state and cleanup of uploaded tenant resource files while editing user portal content.- Since:
- 8.6.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserPortalContentDialogHelper.ContentEntityDialogSnapshot
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcleanupTemporarySelectionChange(UserPortalContentViewModel currentSelectedContent, UserPortalContentViewModel previousSelectedContent, UserPortalViewModel model)static UserPortalContentDialogHelper.ContentEntityDialogSnapshotcreateSnapshot(UserPortalContentViewModel selectedContent)static voidrestoreSnapshot(UserPortalContentViewModel selectedContent, UserPortalContentDialogHelper.ContentEntityDialogSnapshot snapshot, UserPortalViewModel model)
-
-
-
Method Detail
-
createSnapshot
public static UserPortalContentDialogHelper.ContentEntityDialogSnapshot createSnapshot(UserPortalContentViewModel selectedContent)
-
cleanupTemporarySelectionChange
public static void cleanupTemporarySelectionChange(UserPortalContentViewModel currentSelectedContent, UserPortalContentViewModel previousSelectedContent, UserPortalViewModel model)
-
restoreSnapshot
public static void restoreSnapshot(UserPortalContentViewModel selectedContent, UserPortalContentDialogHelper.ContentEntityDialogSnapshot snapshot, UserPortalViewModel model)
-
-