Class FormThemeFileView
java.lang.Object
de.xima.fc.gui.model.form_theme.FormThemeFileView
- All Implemented Interfaces:
IFileEntityView, Serializable
POJO view of a
ClientFormThemeFile, without relations to other entities.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbHZ
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new empty view for aClientFormThemeFile.Creates a new view for aClientFormThemeFilebased on the data of the given file. -
Method Summary
Modifier and TypeMethodDescriptionGets the UUID of theClientFormThemethat contains this file.Gets the ID of the client that owns theClientFormThemethat contains this file.Gets the creation date of the file.Gets the user who created the file.intGets the locking version of the file.Gets the file name.getId()Gets the ID of the file.Gets the last modification date of the file.Gets the user who last modified the file.Gets the resource context of this file, seeClientFormThemeFile.getResourceContext().longgetSize()Gets the size of this file's data.voidsetClientFormThemeUuid(UUID clientFormThemeUuid) Sets the UUID of theClientFormThemethat contains this file.voidsetClientId(Long clientId) Sets the ID of the client that owns theClientFormThemethat contains this file.voidsetCreatedAt(Instant createdAt) Sets the creation date of the file.voidsetCreatedBy(String createdBy) Sets the user who created the file.voidsetFileEntityLockingVersion(int lockingVersion) Sets the locking version of the file.voidsetFileName(String fileName) Sets the file name.voidSets the ID of the file.voidsetLastModifiedAt(Instant lastModifiedAt) Sets the last modification date of the file.voidsetLastModifiedBy(String lastModifiedBy) Sets the user who last modified the file.voidsetResourceContext(String resourceContext) Sets the resource context of this file, seeClientFormThemeFile.getResourceContext().voidsetSize(long size) Sets the size of this file's data.
-
Constructor Details
-
FormThemeFileView
public FormThemeFileView()Creates a new empty view for aClientFormThemeFile. -
FormThemeFileView
Creates a new view for aClientFormThemeFilebased on the data of the given file.- Parameters:
file- The file to create a view for.
-
-
Method Details
-
getClientFormThemeUuid
Gets the UUID of theClientFormThemethat contains this file.- Returns:
- The UUID of the
ClientFormThemethat contains this file.
-
setClientFormThemeUuid
Sets the UUID of theClientFormThemethat contains this file.- Parameters:
clientFormThemeUuid- The ID of theClientFormThemethat contains this file.
-
getClientId
Gets the ID of the client that owns theClientFormThemethat contains this file.- Returns:
- The ID of the owning client.
-
setClientId
Sets the ID of the client that owns theClientFormThemethat contains this file.- Parameters:
clientId- The ID of the owning client.
-
getCreatedAt
Description copied from interface:IFileEntityViewGets the creation date of the file.- Specified by:
getCreatedAtin interfaceIFileEntityView- Returns:
- The creation date.
-
setCreatedAt
Description copied from interface:IFileEntityViewSets the creation date of the file.- Specified by:
setCreatedAtin interfaceIFileEntityView- Parameters:
createdAt- The creation date.
-
getCreatedBy
Description copied from interface:IFileEntityViewGets the user who created the file.- Specified by:
getCreatedByin interfaceIFileEntityView- Returns:
- The user who created the file.
-
setCreatedBy
Description copied from interface:IFileEntityViewSets the user who created the file.- Specified by:
setCreatedByin interfaceIFileEntityView- Parameters:
createdBy- The user who created the file.
-
getFileEntityLockingVersion
public int getFileEntityLockingVersion()Description copied from interface:IFileEntityViewGets the locking version of the file.- Specified by:
getFileEntityLockingVersionin interfaceIFileEntityView- Returns:
- The locking version of the file.
-
setFileEntityLockingVersion
public void setFileEntityLockingVersion(int lockingVersion) Description copied from interface:IFileEntityViewSets the locking version of the file.- Specified by:
setFileEntityLockingVersionin interfaceIFileEntityView- Parameters:
lockingVersion- The locking version of the file.
-
getFileName
Description copied from interface:IFileEntityViewGets the file name.- Specified by:
getFileNamein interfaceIFileEntityView- Returns:
- The file name.
-
setFileName
Description copied from interface:IFileEntityViewSets the file name.- Specified by:
setFileNamein interfaceIFileEntityView- Parameters:
fileName- The file name.
-
getId
Description copied from interface:IFileEntityViewGets the ID of the file.- Specified by:
getIdin interfaceIFileEntityView- Returns:
- The ID of the file.
-
setId
Description copied from interface:IFileEntityViewSets the ID of the file.- Specified by:
setIdin interfaceIFileEntityView- Parameters:
id- The ID of the file.
-
getLastModifiedAt
Description copied from interface:IFileEntityViewGets the last modification date of the file.- Specified by:
getLastModifiedAtin interfaceIFileEntityView- Returns:
- The last modification date.
-
setLastModifiedAt
Description copied from interface:IFileEntityViewSets the last modification date of the file.- Specified by:
setLastModifiedAtin interfaceIFileEntityView- Parameters:
lastModifiedAt- The last modification date.
-
getLastModifiedBy
Description copied from interface:IFileEntityViewGets the user who last modified the file.- Specified by:
getLastModifiedByin interfaceIFileEntityView- Returns:
- The user who last modified the file.
-
setLastModifiedBy
Description copied from interface:IFileEntityViewSets the user who last modified the file.- Specified by:
setLastModifiedByin interfaceIFileEntityView- Parameters:
lastModifiedBy- The user who last modified the file.
-
getResourceContext
Gets the resource context of this file, seeClientFormThemeFile.getResourceContext().- Returns:
- The resource context of this file.
-
setResourceContext
Sets the resource context of this file, seeClientFormThemeFile.getResourceContext().- Parameters:
resourceContext- The resource context of this file.
-
getSize
public long getSize()Gets the size of this file's data.- Returns:
- The size of this file's data.
-
setSize
public void setSize(long size) Sets the size of this file's data.- Parameters:
size- The size of this file's data.
-