Home | Trees | Index | Help |
---|
Package twisted :: Package popsicle :: Module mailsicle :: Class MailsicleService |
|
OriginalAccessor
--+ |Versioned
--+ |ApplicationService
--+ |Service
--+ | MailsicleService
A twisted.cred service that's persistent in a Mailsicle database.
NOTE: such services must have a unique serviceName for the mailsicle they are persistent in. There is currently no checking.
TODO: this should be generalized to load Perspectives from any data-source that implements a certain Repository interface.Method Summary | |
---|---|
__init__(self,
msicle,
serviceName,
serviceParent,
authorizer)
| |
__delattr__(self,
k)
(inherited from OriginalAccessor )
| |
__getattr__(self,
k)
(inherited from OriginalAccessor )
| |
__getstate__(self)
| |
__setattr__(self,
k,
v)
(inherited from OriginalAccessor )
| |
__setstate__(self,
dct)
| |
Add a perspective to this Service. (inherited from Service )
| |
Cache a perspective loaded from an external data source. (inherited from Service )
| |
Create a perspective from self.perspectiveClass and add it to this service. | |
Have my parent disown me. (inherited from ApplicationService )
| |
get_application(self)
(inherited from ApplicationService )
| |
A hook to use if the identity is required when getting the perspective. (inherited from Service )
| |
Return a perspective that represents a user for this service. | |
Return a Deferred which is a request for a perspective on this service. (inherited from Service )
| |
The name of this service. (inherited from Service )
| |
Get a string describing the type of this service. (inherited from Service )
| |
Deferred Perspective |
Load a perspective from an external data-source. (inherited from Service )
|
*actually* del self.k without incurring side-effects. (inherited from OriginalAccessor )
| |
*actually* set self.k to v without incurring side-effects. (inherited from OriginalAccessor )
| |
set_application(self,
application)
(inherited from ApplicationService )
| |
setApplication(self,
application)
(inherited from ApplicationService )
| |
Set my parent, which must be a service collection of some kind. (inherited from ApplicationService )
| |
This call is made as a service starts up. (inherited from ApplicationService )
| |
This call is made before shutdown. | |
Uncache a perspective loaded from an external data source. (inherited from Service )
| |
upgradeToVersion1(self)
(inherited from ApplicationService )
| |
(internal) Do a version upgrade. (inherited from Versioned )
|
Method Details |
---|
createPerspective(self, name)Create a perspective from self.perspectiveClass and add it to this service.
|
getPerspectiveNamed(self, name)Return a perspective that represents a user for this service. (DEPRECATED) Raises a KeyError if no such user exists. Override this method to provide dynamic instantiation of perspectives. It is only deprecated to call this method directly, not to override it; when you need to get a Perspective, call getPerspectiveRequest.
|
stopService(self)This call is made before shutdown.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Thu May 8 13:18:35 2003 | http://epydoc.sf.net |