Package osaf :: Package pim :: Module proxy :: Class UserChangeProxy
[hide private]
[frames] | no frames]

Class UserChangeProxy

source code

object --+
         |
        UserChangeProxy
Known Subclasses:
RecurrenceProxy

A UserChangeProxy object is what's used to detect changes in the Chandler UI, and.

Instance Methods [hide private]
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__repr__(self)
repr(x)
source code
 
_repr_(self)
repr(x)
source code
 
__str__(self)
str(x)
source code
 
__init__(self, item)
For example:
source code
 
__getValueWrapper(self, attr) source code
 
__setattr__(self, attr, value)
x.__setattr__('name', value) <==> x.name = value
source code
 
__getattr__(self, attr) source code
 
__delattr__(self, attr)
x.__delattr__('name') <==> del x.name
source code
 
appendChange(self, *args) source code
 
markEdited(self, item, attrs) source code
 
makeChanges(self) source code
 
cancel(self) source code
 
delete(self, *args, **kw) source code

Inherited from object: __getattribute__, __hash__, __reduce__, __reduce_ex__

Static Methods [hide private]
 
__new__(proxyClass, itemOrAnnotation)
Returns: a new object with type S, a subtype of T
source code
Class Variables [hide private]
  proxiedItem = <Locale: en_US>
  isProxy = True
  changes = <Locale: en_US>
  containers = <Locale: en_US>
Properties [hide private]
  __class__
the object's class
Method Details [hide private]

__repr__(self)
(Representation operator)

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

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)

__new__(proxyClass, itemOrAnnotation)
Static Method

source code 
Returns:
a new object with type S, a subtype of T

Overrides: object.__new__
(inherited documentation)

__init__(self, item)
(Constructor)

source code 
For example:
>>> item = items.ContentItem(itsView=view)
>>> UserChangeProxy(item)
<UserChangeProxy object at 0x...>
A UserChangeProxy can only be created on a items.ContentItem: >>> UserChangeProxy("hello") Traceback (most recent call last): ... TypeError: Can't proxy a non-ContentItem hello >>>
Overrides: object.__init__

__setattr__(self, attr, value)

source code 
x.__setattr__('name', value) <==> x.name = value
Overrides: object.__setattr__
(inherited documentation)

__delattr__(self, attr)

source code 
x.__delattr__('name') <==> del x.name
Overrides: object.__delattr__
(inherited documentation)

Property Details [hide private]

__class__

the object's class
Get Method:
unreachable.__class__(self)
Set Method:
<Locale: en_US>
Delete Method:
<Locale: en_US>