Package de.xima.fc.logic.form_theme
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 alsoFormThemeUsages.- Since:
- 8.3.0
- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanasDefaultClientTheme()Gets whether the form theme is the default client theme.List<FormVersion>asFormVersionTheme()Gets all form versions that use the form theme as their main theme.List<ClientFormTheme>asParentClientFormTheme()Gets all client form themes that use the form theme as their parent.List<IPluginFormTheme>asParentPluginTheme()Gets all client plugins that use the form theme as their parent.static ClientFormThemeUsagesempty()Creates an empty instance with no usages.booleanhasAnyUsages()Checks if the form theme has any usages in this client scope.
 
- 
- 
- 
Method Detail- 
asDefaultClientThemepublic boolean asDefaultClientTheme() Gets whether the form theme is the default client theme.- Returns:
- Whether the form theme is the default client theme.
 
 - 
asFormVersionThemepublic 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.
 
 - 
asParentClientFormThemepublic 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.
 
 - 
asParentPluginThemepublic 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.
 
 - 
hasAnyUsagespublic 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.
 
 - 
emptypublic static ClientFormThemeUsages empty() Creates an empty instance with no usages.- Returns:
- An empty client form theme usage.
 
 
- 
 
-