Files Context
API Interface
//Get a file object
UserFile get(UUID uuid, boolean ispublic);
//Get the file object
UserFile get(String uuid, boolean ispublic);
//Upload a content as file in file storage
UUID put(UUID uuid, byte[] content, String contentType, boolean ispublic);
//Upload a content as file in file storage
UUID put(byte[] content, String contentType, boolean ispublic);
//Upload a content as file in file storage
UUID put(String fileName, UUID uuid, byte[] content, String contentType, boolean ispublic);
//Upload a content as file in file storage
UUID put(String content, String contentType, boolean ispublic);
//Upload a content as file in file storage
UUID put(String fileName, String content, String contentType, boolean ispublic);
//Upload a content as file in file storage
UUID put(UUID uuid, String content, String contentType, boolean ispublic);
//Upload a content as file in file storage
UUID put(String fileName, byte[] content, String contentType, boolean ispublic);
//Upload a content as file in file storage
UUID put(String fileName, UUID uuid, String content, String contentType, boolean ispublic);
//Delete a file
void delete(String uuid, boolean ispublic);
//Delete a file
void delete(UUID uuid, boolean ispublic);
//Create a file using map parameters (*content, *contentType, id, name, ispublic, tags)
UUID create(Map<String, Object> map);
//Upload a content decoded to binary using one of the supported format BASE64 | HEX
UUID putBinary(String content, String contentType, String format, boolean ispublic);
//Upload a content decoded to binary using one of the supported format BASE64 | HEX
UUID putBinary(String fileName, UUID uuid, String content, String contentType, String format, boolean ispublic);
//Upload a content decoded to binary using one of the supported format BASE64 | HEX
UUID putBinary(UUID uuid, String content, String contentType, String format, boolean ispublic);
//Upload a content decoded to binary using one of the supported format BASE64 | HEX
UUID putBinary(String fileName, String content, String contentType, String format, boolean ispublic);
APIs Inherited From
See Also
Updated over 3 years ago