Class FormThemeFileView

    • Constructor Detail

      • FormThemeFileView

        public FormThemeFileView()
        Creates a new empty view for a ClientFormThemeFile.
      • FormThemeFileView

        public FormThemeFileView​(ClientFormThemeFile file)
        Creates a new view for a ClientFormThemeFile based on the data of the given file.
        Parameters:
        file - The file to create a view for.
    • Method Detail

      • getClientFormThemeUuid

        public UUID getClientFormThemeUuid()
        Gets the UUID of the ClientFormTheme that contains this file.
        Returns:
        The UUID of the ClientFormTheme that contains this file.
      • setClientFormThemeUuid

        public void setClientFormThemeUuid​(UUID clientFormThemeUuid)
        Sets the UUID of the ClientFormTheme that contains this file.
        Parameters:
        clientFormThemeUuid - The ID of the ClientFormTheme that contains this file.
      • getClientId

        public Long getClientId()
        Gets the ID of the client that owns the ClientFormTheme that contains this file.
        Returns:
        The ID of the owning client.
      • setClientId

        public void setClientId​(Long clientId)
        Sets the ID of the client that owns the ClientFormTheme that contains this file.
        Parameters:
        clientId - The ID of the owning client.
      • setCreatedAt

        public void setCreatedAt​(Instant createdAt)
        Description copied from interface: IFileEntityView
        Sets the creation date of the file.
        Specified by:
        setCreatedAt in interface IFileEntityView
        Parameters:
        createdAt - The creation date.
      • setCreatedBy

        public void setCreatedBy​(String createdBy)
        Description copied from interface: IFileEntityView
        Sets the user who created the file.
        Specified by:
        setCreatedBy in interface IFileEntityView
        Parameters:
        createdBy - The user who created the file.
      • setFileEntityLockingVersion

        public void setFileEntityLockingVersion​(int lockingVersion)
        Description copied from interface: IFileEntityView
        Sets the locking version of the file.
        Specified by:
        setFileEntityLockingVersion in interface IFileEntityView
        Parameters:
        lockingVersion - The locking version of the file.
      • setId

        public void setId​(Long id)
        Description copied from interface: IFileEntityView
        Sets the ID of the file.
        Specified by:
        setId in interface IFileEntityView
        Parameters:
        id - The ID of the file.
      • setLastModifiedAt

        public void setLastModifiedAt​(Instant lastModifiedAt)
        Description copied from interface: IFileEntityView
        Sets the last modification date of the file.
        Specified by:
        setLastModifiedAt in interface IFileEntityView
        Parameters:
        lastModifiedAt - The last modification date.
      • setLastModifiedBy

        public void setLastModifiedBy​(String lastModifiedBy)
        Description copied from interface: IFileEntityView
        Sets the user who last modified the file.
        Specified by:
        setLastModifiedBy in interface IFileEntityView
        Parameters:
        lastModifiedBy - The user who last modified the file.
      • setResourceContext

        public void setResourceContext​(String resourceContext)
        Sets the resource context of this file, see ClientFormThemeFile.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.