Class FormThemeUsages
java.lang.Object
de.xima.fc.logic.form_theme.FormThemeUsages
- All Implemented Interfaces:
Serializable
POJO model representing all usages of a form theme within the system and within each client. For example, a form
theme might be used as the default system form theme, or as the main theme of a form version.
- Since:
- 8.3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether the form theme is the default system theme.Gets all system plugins that use the form theme as a parent.Gets all system form theme types that uses the form theme as a parent.Gets the usages of the form theme within each client.clientUsages(Mandant client) Gets the usages of the form theme within the given client.static FormThemeUsagesempty()Gets an empty form theme usages object with any usages.booleanChecks if the form theme has any usages, either in the system scope or in any client scope.
-
Method Details
-
asDefaultSystemTheme
public boolean asDefaultSystemTheme()Gets whether the form theme is the default system theme.- Returns:
- Whether the form theme is the default system theme.
-
asParentPluginTheme
Gets all system plugins that use the form theme as a parent.- Returns:
- All system plugins that use the form theme as a parent.
-
asParentSystemTheme
Gets all system form theme types that uses the form theme as a parent.- Returns:
- All system form theme types that uses the form theme as a parent.
-
clientUsages
Gets the usages of the form theme within each client.- Returns:
- The usages of the form theme within each client.
-
clientUsages
Gets the usages of the form theme within the given client.- Parameters:
client- The client to get the usages for.- Returns:
- The usages of the form theme within the given client.
-
hasAnyUsages
public boolean hasAnyUsages()Checks if the form theme has any usages, either in the system scope or in any client scope.- Returns:
- True if the form theme has any usages, false otherwise.
-
empty
Gets an empty form theme usages object with any usages.- Returns:
- An empty form theme usages object with any usages.
-