The NuxDocument base class. Provides only state and behavior,
UI in provided by subclasses. (SimpleItem):
(CatalogAware, SimpleItem, Acquisition.Implicit,
PropertyManager, Historical, Cacheable, Item_w__name__):
+ ElementWithTitle (XXX ???)
Methods
|
|
|
|
MimeType
|
MimeType ( self )
Get MIME type
|
|
PUT
|
PUT (
self,
REQUEST,
RESPONSE,
)
Handle HTTP/FTP PUT requests.
|
|
PrincipiaSearchSource
|
PrincipiaSearchSource ( self )
|
|
SearchableText
|
SearchableText ( self )
Get content suitable for Cataloging
|
|
__init__
|
__init__ (
self,
id='',
title='',
file='',
mime_type='',
)
Constructor
|
|
_edit
|
_edit (
self,
title=None,
file=None,
mime_type=None,
)
|
|
_isNotEmpty
|
_isNotEmpty ( self, file )
Do various checks on file to try to determine non emptiness.
taken from CMFDefault.File
|
|
convert
|
convert ( self )
|
|
document_src
|
document_src (
self,
REQUEST=None,
RESPONSE=None,
)
Unprocessed document source.
|
|
getHtml
|
getHtml ( self )
Get raw HTML converted content
|
|
getRaw
|
getRaw ( self )
Get raw content of document
|
|
manage_FTPget
|
manage_FTPget ( self )
Get source for FTP download
|
|