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

Class UnauthorizedProduct

source code

 object --+        
          |        
ProductBase --+    
              |    
    FileProduct --+
                  |
                 UnauthorizedProduct

A local file that is not delivered to the current client.

iterData returns the data for the benefit of preview making. However, there is a renderHTTP method, so the product renderer will not use it; it will, instead, raise an Authenticate exception.

Instance Methods
 
__str__(self)
str(x)
source code
 
__eq__(self, other) source code
 
renderHTTP(self, ctx) source code

Inherited from FileProduct: close, getFile, iterData, read

Inherited from ProductBase: __init__, __ne__, __providedBy__, __provides__, __repr__

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
  forSaving = False

Inherited from ProductBase: __implemented__, chunkSize

Properties

Inherited from object: __class__

Method Details

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

source code 
Overrides: ProductBase.fromRAccref

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__eq__(self, other)
(Equality operator)

source code 
Overrides: ProductBase.__eq__

renderHTTP(self, ctx)

source code 
Overrides: ProductBase.renderHTTP