Login
Back to bricks list
Introduction Version

FsNodeService

Functions

ADD_FILE_TO_DEFAULT_STORE - @classmethod
Parameters:
NameTypeDefault valueDescription
fileFile
dest_file_namestr
Return type:
ResourceModel
ADD_FILE_TO_STORE - @classmethod
Parameters:
NameTypeDefault valueDescription
fileFile
store_idstr
dest_file_namestr
Return type:
ResourceModel
CALL_FOLDER_SUB_FILE_VIEW - @classmethod
Parameters:
NameTypeDefault valueDescription
resource_idstr
sub_file_pathstr
Return type:
CallViewResult
CREATE_EMPTY_FOLDER - @classmethod
Parameters:
NameTypeDefault valueDescription
pathstr
storeFileStore
folder_typeType <class 'gws_core.impl.file.folder.Folder'>
Return type:
ResourceModel
CREATE_FS_NODE_MODEL - @classmethod
Parameters:
NameTypeDefault valueDescription
fs_nodeFSNode
Return type:
ResourceModel
DOWNLOAD_FILE - @classmethod
Parameters:
NameTypeDefault valueDescription
fs_node_idstr
Return type:
FileResponse
DOWNLOAD_FOLDER_SUB_NODE - @classmethod
Parameters:
NameTypeDefault valueDescription
resource_idstr
sub_file_pathstr
Return type:
FileResponse
GET_FILE_TYPES - @classmethod
Return type:
List
GET_FOLDER_TYPES - @classmethod
Return type:
List
UPLOAD_FILE - @classmethod
UPLOAD_FOLDER - @classmethod