Package de.xima.fc.gui.bean.form_theme
Class FormThemeDeletionBean
- java.lang.Object
-
- de.xima.fc.gui.bean.form_theme.FormThemeDeletionBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class FormThemeDeletionBean extends Object implements Serializable
Bean for deleting client form themes. When a user wishes to delete themes, checks which themes can be deleted and which themes are still in use.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormThemeDeletionBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormThemeDeletionModel
getDeletionModel()
When the user wishes to delete a set of client form themes, a dialog is shown to the user with the themes to be deleted.void
onDeleteConfirmedAdvanced()
When the user wishes to delete themes, a confirmation dialog is shown to the user.void
onDeleteConfirmedSimple()
When the user wishes to delete themes, a confirmation dialog is shown to the user.void
onDeleteMarked()
When the user clicked on the button to delete all marked client form themes.void
onDeleteSingle(ClientFormTheme item)
When the user clicked on the button to delete a particular client form theme.void
onDeleteViaFileExplorer()
Remote command invoked by the file explorer when the user wishes to delete a form theme.
-
-
-
Method Detail
-
getDeletionModel
public FormThemeDeletionModel getDeletionModel()
When the user wishes to delete a set of client form themes, a dialog is shown to the user with the themes to be deleted. The user must confirm the deletion. The deletion model returned by this method contains details about the themes to be deleted, including themes that cannot be deleted because they are still in use.- Returns:
- The messages for the deletion confirmation dialog.
-
onDeleteConfirmedSimple
public void onDeleteConfirmedSimple()
When the user wishes to delete themes, a confirmation dialog is shown to the user. This callback is invoked when the user confirmed the deletion of the client form themes. This is a command button action used by simple edit mode.
-
onDeleteConfirmedAdvanced
public void onDeleteConfirmedAdvanced()
When the user wishes to delete themes, a confirmation dialog is shown to the user. This callback is invoked when the user confirmed the deletion of the client form themes. This is a remote command used by advanced edit mode.
-
onDeleteMarked
public void onDeleteMarked()
When the user clicked on the button to delete all marked client form themes.
-
onDeleteSingle
public void onDeleteSingle(ClientFormTheme item)
When the user clicked on the button to delete a particular client form theme.- Parameters:
item
- The client form theme to delete.
-
onDeleteViaFileExplorer
public void onDeleteViaFileExplorer()
Remote command invoked by the file explorer when the user wishes to delete a form theme.
-
-