Package gavo :: Package protocols :: Module products :: Class NonExistingProduct
[frames] | no frames]

Class NonExistingProduct

source code

 object --+    
          |    
ProductBase --+
              |
             NonExistingProduct
Known Subclasses:

A local file that went away.

iterData here raises an IOError, renderHTTP an UnknownURI.

These should normally yield 404s.

We don't immediately raise some error here as archive generation shouldn't fail just because a single part of it is missing.

Instance Methods
 
__init__(self, rAccref)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
str(x)
source code
 
__eq__(self, other) source code
 
iterData(self) source code
 
renderHTTP(self, ctx) source code

Inherited from ProductBase: __ne__, __providedBy__, __provides__, __repr__, close, read

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods
 
fromRAccref(cls, rAccref, authGroups=None) source code

Inherited from ProductBase: setupRealFile

Class Variables

Inherited from ProductBase: __implemented__, chunkSize

Properties

Inherited from object: __class__

Method Details

__init__(self, rAccref)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__eq__(self, other)
(Equality operator)

source code 
Overrides: ProductBase.__eq__

fromRAccref(cls, rAccref, authGroups=None)
Class Method

source code 
Overrides: ProductBase.fromRAccref

iterData(self)

source code 
Overrides: ProductBase.iterData

renderHTTP(self, ctx)

source code 
Overrides: ProductBase.renderHTTP