My favorites
|
Sign in
tearaway-tea
Code examples for my Go!Verla Flex Blog
Project Home
Downloads
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
r43
Source path:
svn
/
trunk
/
propertiesInvalidation
/
src
/
com
/
tearaway_tea
/
model
/
OpportunityDTO.as
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.tearaway_tea.model
{
import flash.events.EventDispatcher;
import mx.collections.ArrayCollection;
import org.goverla.interfaces.IPropertiesInvalidable;
import org.goverla.managers.PropertiesInvalidationManager;
public class OpportunityDTO extends EventDispatcher implements IPropertiesInvalidable
{
public function get date() : Date
{
return _date;
}
public function set date(value : Date) : void
{
_date = value;
_dateChanged = true;
invalidateProperties();
}
public function get children() : ArrayCollection
{
return _children;
}
public function set children(value : ArrayCollection) : void
{
_children = value;
_childrenChanged = true;
invalidateProperties();
}
public function invalidateProperties() : void
{
PropertiesInvalidationManager.instance.invalidateProperties(this);
}
public function commitProperties() : void
{
if (_dateChanged && _childrenChanged)
{
_dateChanged = false;
_childrenChanged = false;
for each (var item : ItemDTO in children)
{
item.name += "/" + date.toString();
}
}
}
private var _date : Date;
private var _dateChanged : Boolean;
private var _children : ArrayCollection;
private var _childrenChanged : Boolean;
}
}
Show details
Hide details
Change log
r23
by tearaway.tea on Apr 16, 2009
Diff
[No log message]
Go to:
...lidation/.actionScriptProperties
...tiesInvalidation/.flexProperties
.../propertiesInvalidation/.project
...propertiesInvalidation/.settings
...org.eclipse.core.resources.prefs
...ertiesInvalidation/html-template
...ation/html-template/AC_OETags.js
...tml-template/index.template.html
/trunk/propertiesInvalidation/libs
...iesInvalidation/libs/goverla.swc
/trunk/propertiesInvalidation/src
...k/propertiesInvalidation/src/com
...nvalidation/src/com/tearaway_tea
...ation/src/com/tearaway_tea/model
...om/tearaway_tea/model/ItemDTO.as
...away_tea/model/OpportunityDTO.as
.../src/propertiesInvalidation.mxml
Older revisions
All revisions of this file
File info
Size: 1344 bytes, 63 lines
View raw file
Hosted by