Class ClientFormThemeUsages

java.lang.Object
de.xima.fc.logic.form_theme.ClientFormThemeUsages
All Implemented Interfaces:
Serializable

public final class ClientFormThemeUsages extends Object implements 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 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

      public List<FormVersion> 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

      public List<ClientFormTheme> 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

      public List<IPluginFormTheme> 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

      public static ClientFormThemeUsages empty()
      Creates an empty instance with no usages.
      Returns:
      An empty client form theme usage.