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 Summary
All 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
- 
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.
 
 
 - 
 
 -