Back to index

plone3  3.1.7
Public Member Functions
Archetypes.interfaces._base.IBaseUnit Class Reference
Inheritance diagram for Archetypes.interfaces._base.IBaseUnit:
Inheritance graph
[legend]
Collaboration diagram for Archetypes.interfaces._base.IBaseUnit:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def update
def transform
def isBinary
def get_size
def getRaw
def portalEncoding
def getContentType
def setContentType
def content_type
def getFilename
def setFilename
def index_html

Detailed Description

Definition at line 166 of file _base.py.


Member Function Documentation

Definition at line 206 of file _base.py.

00206 
00207     def content_type():
00208         """
00209         """

Here is the caller graph for this function:

Definition at line 185 of file _base.py.

00185 
00186     def get_size():
00187         """
00188         """

Here is the caller graph for this function:

Return the imimetype object for this BU

Definition at line 198 of file _base.py.

00198 
00199     def getContentType():
00200         """Return the imimetype object for this BU
00201         """

Here is the caller graph for this function:

Definition at line 210 of file _base.py.

00210 
00211     def getFilename():
00212         """
00213         """

def Archetypes.interfaces._base.IBaseUnit.getRaw (   encoding = None,
  instance = None 
)
Return encoded raw value

Definition at line 189 of file _base.py.

00189 
00190     def getRaw(encoding=None, instance=None):
00191         """Return encoded raw value
00192         """

def Archetypes.interfaces._base.IBaseUnit.index_html (   REQUEST,
  RESPONSE 
)
download method

Definition at line 218 of file _base.py.

00218 
00219     def index_html(REQUEST, RESPONSE):
00220         """download method
00221         """

Here is the caller graph for this function:

return true if this contains a binary value, else false

Definition at line 182 of file _base.py.

00182 
00183     def isBinary():
00184         """return true if this contains a binary value, else false"""

Return the default portal encoding, using an external python script
(look the archetypes skin directory for the default implementation)

Definition at line 193 of file _base.py.

00193 
00194     def portalEncoding(instance):
00195         """Return the default portal encoding, using an external python script
00196         (look the archetypes skin directory for the default implementation)
00197         """

Definition at line 202 of file _base.py.

00202 
00203     def setContentType(instance, value):
00204         """
00205         """

Here is the caller graph for this function:

Definition at line 214 of file _base.py.

00214 
00215     def setFilename(filename):
00216         """
00217         """

Takes a mimetype so object.foo.transform('text/plain') should return
a plain text version of the raw content

return None if no data or if data is untranformable to desired output
mime type

Definition at line 174 of file _base.py.

00174 
00175     def transform(instance, mt):
00176         """Takes a mimetype so object.foo.transform('text/plain') should return
00177         a plain text version of the raw content
00178 
00179         return None if no data or if data is untranformable to desired output
00180         mime type
00181         """

def Archetypes.interfaces._base.IBaseUnit.update (   data,
  instance,
  kw 
)

Definition at line 170 of file _base.py.

00170 
00171     def update(data, instance, **kw):
00172         """
00173         """

Here is the caller graph for this function:


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