Class ClientFormThemeUsages
java.lang.Object
de.xima.fc.logic.form_theme.ClientFormThemeUsages
- All Implemented Interfaces:
Serializable
POJO models that represents all usages of a form theme within a client. For example, a form theme might be used as
the default client form theme, or as the main theme of a form version. See also
FormThemeUsages.- Since:
- 8.3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether the form theme is the default client theme.Gets all form versions that use the form theme as their main theme.Gets all client form themes that use the form theme as their parent.Gets all client plugins that use the form theme as their parent.static ClientFormThemeUsagesempty()Creates an empty instance with no usages.booleanChecks if the form theme has any usages in this client scope.
-
Method Details
-
asDefaultClientTheme
public boolean asDefaultClientTheme()Gets whether the form theme is the default client theme.- Returns:
- Whether the form theme is the default client theme.
-
asFormVersionTheme
Gets all form versions that use the form theme as their main theme.- Returns:
- All form versions that use the form theme as their main theme.
-
asParentClientFormTheme
Gets all client form themes that use the form theme as their parent.- Returns:
- All client form themes that use the form theme as their parent.
-
asParentPluginTheme
Gets all client plugins that use the form theme as their parent.- Returns:
- All client plugins that use the form theme as their parent.
-
hasAnyUsages
public boolean hasAnyUsages()Checks if the form theme has any usages in this client scope.- Returns:
- True if the form theme has any usages by this client, false otherwise.
-
empty
Creates an empty instance with no usages.- Returns:
- An empty client form theme usage.
-