Class ResourceSystemFactory

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ResourceSystemFactory
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ResourceSystemFactory getInstance()  
      Resources newResources​(java.lang.String description, java.lang.String filename, long filesize, java.lang.String filetype, byte[] content, java.time.LocalDateTime saved, java.lang.Boolean deletedFlag, java.lang.String checksum)
      Factory method for create an Resources object.
      Resources newResources​(java.util.UUID id, java.lang.String description, java.lang.String filename, long filesize, java.lang.String filetype, byte[] content, java.time.LocalDateTime created, java.lang.Boolean deletedFlag, java.lang.String checksum)
      Factory method for create an Resources object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • newResources

        public Resources newResources​(java.util.UUID id,
                                      java.lang.String description,
                                      java.lang.String filename,
                                      long filesize,
                                      java.lang.String filetype,
                                      byte[] content,
                                      java.time.LocalDateTime created,
                                      java.lang.Boolean deletedFlag,
                                      java.lang.String checksum)
        Factory method for create an Resources object.
        Parameters:
        id - the id
        description - the description
        filename - the filename
        filesize - the filesize
        filetype - the filetype
        content - the content
        created - the created
        deletedFlag - the deleted flag
        checksum - the checksum
        Returns:
        Resources A Resources object
      • newResources

        public Resources newResources​(java.lang.String description,
                                      java.lang.String filename,
                                      long filesize,
                                      java.lang.String filetype,
                                      byte[] content,
                                      java.time.LocalDateTime saved,
                                      java.lang.Boolean deletedFlag,
                                      java.lang.String checksum)
        Factory method for create an Resources object.
        Parameters:
        description - the description
        filename - the filename
        filesize - the filesize
        filetype - the filetype
        content - the content
        saved - the saved
        deletedFlag - the deleted flag
        checksum - the checksum
        Returns:
        Resources A Resources object