Logo Search packages:      
Sourcecode: zope-extfile version File versions

zope-extfile-1.4.2::ExtFile::ExtFile Class Reference

Inherits Products::ZCatalog::CatalogPathAwareness::CatalogAware, OFS::SimpleItem::SimpleItem, OFS::PropertyManager::PropertyManager, and Products::ExtFile::TM::VTM.

List of all members.


Detailed Description

The ExtFile-Product works like the Zope File-product, but stores 
    the uploaded file externally in a repository-direcory. 

Definition at line 113 of file ExtFile.py.


Public Member Functions

def __init__
def __len__
def __str__
def get_filename
def get_fsname
def get_size
def getContentType
def getIconPath
def icon_gif
def icon_html
def index_html
def is_broken
def link
def manage_afterAdd
def manage_afterClone
def manage_afterUpdate
def manage_beforeDelete
def manage_editExtFile
def manage_file_upload
def manage_http_upload
def manage_upload
def PUT
def size
def static_mode
def static_url
def view_image_or_file

Public Attributes

 content_type
 descr
 filename
 id
 redirect_default_view
 title
 use_download_permission_check

Static Public Attributes

 getSize = get_size
 manage_FTPget = index_html
tuple manage_main = HTMLFile('dtml/extFileEdit', globals())
tuple manage_options
tuple manage_uploadForm = HTMLFile('dtml/extFileUpload', globals())
string meta_type = 'ExtFile'
 rawsize = get_size
int redirect_default_view = 0
tuple security = ClassSecurityInfo()
int use_download_permission_check = 0

Private Member Functions

def _abort
def _access_permitted
def _afterUpdate
def _begin
def _bytetostring
def _copy
def _dir__lock
def _dir__unlock
def _finish
def _fsname
def _get_content_type
def _get_file_to_serve
def _get_fsname
def _get_new_ufn
def _get_ufn
def _get_zodb_path
def _register
def _static_url
def _temp_fsname
def _undo
def _update_data

Private Attributes

 __version__
 _v_abort_called
 _v_begin_called
 _v_dir__lock
 _v_finish_called
 _v_has_been_cloned

Static Private Attributes

tuple __implements__ = (IExtFile, WriteLockInterface)
 _get_filename = _get_fsname
tuple _properties
 _repository = REPOSITORY_PATH
dictionary _types

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index