Interface IFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>,​TData extends IFileDataEntity<?>>

    • Method Detail

      • getBaseEntity

        TBase getBaseEntity()
      • setBaseEntity

        void setBaseEntity​(TBase baseEntity)
      • getFileName

        String getFileName()
        Gets the file name
        Returns:
        the file name
      • setFileName

        void setFileName​(String fileName)
        Sets the file name
        Parameters:
        fileName - the file name to set
      • getFileSize

        int getFileSize()
        Gets the file size
        Returns:
        the file size
      • setFileSize

        void setFileSize​(int fileSize)
        Sets the file size
        Parameters:
        fileSize - the file size to set
      • getMimeType

        String getMimeType()
        Gets the MIME type of this file.
        Returns:
        the MIME type
      • setMimeType

        void setMimeType​(String mimeType)
        Sets the MIME type of this file.
        Parameters:
        mimeType - to set.
      • getCreatedInstant

        Instant getCreatedInstant()
        Gets the created timestamp
        Returns:
        the created timestamp
      • setCreatedInstant

        void setCreatedInstant​(Instant createdInstant)
        Sets the created timestamp
        Parameters:
        createdInstant - the created timestamp to set
      • getModifiedInstant

        Instant getModifiedInstant()
        Gets the modified timestamp
        Returns:
        the modified timestamp
      • setModifiedInstant

        void setModifiedInstant​(Instant modifiedInstant)
        Sets the modified timestamp
        Parameters:
        modifiedInstant - the modified timestamp to set
      • getCreatorName

        String getCreatorName()
        Gets the name of the person which created the file
        Returns:
        the name of the person which created the file
      • setCreatorName

        void setCreatorName​(String creatorName)
        Sets the name of the person which created the file
        Parameters:
        creatorName - the name of the person which created the file to set
      • getModifierName

        String getModifierName()
        Gets the name of the person which last modified the file
        Returns:
        the name of the person which last modified the file
      • setModifierName

        void setModifierName​(String modifierName)
        Sets the name of the person which last modified the file
        Parameters:
        modifierName - the name of the person which last modified the file to set
      • getDataEntity

        TData getDataEntity()
        Gets the entity holding the actual data of the file.
        Returns:
        the data entity
      • setData

        void setData​(byte[] data)
        Sets the actual data of the file.
        Parameters:
        data - to set in binary form.