Class ResourceSystemFactory
- java.lang.Object
-
- de.alpharogroup.resource.system.factory.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 ResourceSystemFactorygetInstance()ResourcesnewResources(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.ResourcesnewResources(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.
-
-
-
Method Detail
-
getInstance
public static ResourceSystemFactory getInstance()
-
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 iddescription- the descriptionfilename- the filenamefilesize- the filesizefiletype- the filetypecontent- the contentcreated- the createddeletedFlag- the deleted flagchecksum- 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 descriptionfilename- the filenamefilesize- the filesizefiletype- the filetypecontent- the contentsaved- the saveddeletedFlag- the deleted flagchecksum- the checksum- Returns:
- Resources A Resources object
-
-