Package posterity :: Module model :: Class Pop3Account

Class Pop3Account



          object --+    
                   |    
elixir.entity.Entity --+
                       |
                      Pop3Account

Pop3 Account to pull messages from

Posterity can be configured to pull messages from external pop3 servern and inject them into a posterity account.

keep_time is the number of seconds a downloaded message should be kept on the server before being deleted. -1 means the messages should never be deleted.



Nested Classes

Inherited from elixir.entity.Entity: __metaclass__

Instance Methods
 
__repr__(self)
repr(x)
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
delete(self, *args, **kwargs)
 
expire(self, *args, **kwargs)
 
expunge(self, *args, **kwargs)
 
flush(self, *args, **kwargs)
 
merge(self, *args, **kwargs)
 
refresh(self, *args, **kwargs)
 
save(self, *args, **kwargs)
 
save_or_update(self, *args, **kwargs)
 
update(self, *args, **kwargs)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Methods
 
count(self, *args, **kwargs)
 
count_by(self, *args, **kwargs)
 
filter(self, *args, **kwargs)
 
filter_by(self, *args, **kwargs)
 
get(self, *args, **kwargs)
 
get_by(self, *args, **kwargs)
 
instances(self, *args, **kwargs)
 
join_to(self, *args, **kwargs)
 
join_via(self, *args, **kwargs)
 
options(self, *args, **kwargs)
 
query(cls)
 
select(self, *args, **kwargs)
 
select_by(self, *args, **kwargs)
 
selectfirst(self, *args, **kwargs)
 
selectfirst_by(self, *args, **kwargs)
 
selectone(self, *args, **kwargs)
 
selectone_by(self, *args, **kwargs)
Class Variables
  __elixir_statements__ = [(<elixir.statements.Statement object ...
  c = <sqlalchemy.orm.mapper.LOrderedProp object at 0x21c2db0>
  mapper = <sqlalchemy.orm.mapper.Mapper object at 0x21c2d70>
  table = Table('pop3_account',MetaData(),Column('id',Integer(),...
Properties

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

 
repr(x)
Overrides: object.__repr__
(inherited documentation)

__init__(self, *args, **kwargs)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

Class Variable Details

__elixir_statements__

Value:
[(<elixir.statements.Statement object at 0x20dbcf0>,
  ('id', <class 'sqlalchemy.types.Integer'>),
  {'primary_key': True}),
 (<elixir.statements.Statement object at 0x20dbcf0>,
  ('enabled', <class 'sqlalchemy.types.Boolean'>),
  {'default': True, 'required': True}),
 (<elixir.statements.Statement object at 0x20dbcf0>,
  ('use_ssl', <class 'sqlalchemy.types.Boolean'>),
...

table

Value:
Table('pop3_account',MetaData(),Column('id',Integer(),primary_key=True\
,nullable=False),Column('enabled',Boolean(),nullable=False,default=Col\
umnDefault(True)),Column('use_ssl',Boolean(),nullable=False,default=Co\
lumnDefault(False)),Column('hostname',Unicode(length=None),nullable=Fa\
lse),Column('username',Unicode(length=None),nullable=False),Column('pa\
ssword',Unicode(length=None),nullable=False),Column('keep_time',Intege\
r(),nullable=False),Column('last_msg',DateTime(timezone=False)),Column\
('last_check',DateTime(timezone=False)),Column('error_msg',Unicode(len\
...