Class Index | File Index

Classes


Class AC.data.ContributionChildCounterNode

Defines the contribution counter nodes.
Defined in: Utility.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
AC.data.ContributionChildCounterNode(contributionChildCounter, contributionId, thumbprints, superiorNode)
Default constructor.
Method Summary
Method Attributes Method Name and Description
 
Creates a child contribution counter node with the configuration of the specified message.
 
Deletes the child node specified in the message by invoking the destroy function on the node.
 
destroy(msg)
Destroys this node.
 
Looks up a child node with the specified id in the list of subordinates.
 
isMove(msg)
Checks if the action specified by the message is a move, instead of a delete, message.
 
Thumbprints this node upon receipt of a thumbprint message.
Class Detail
AC.data.ContributionChildCounterNode(contributionChildCounter, contributionId, thumbprints, superiorNode)
Default constructor.
Parameters:
contributionChildCounter
the child counter
contributionId
the contribution id
thumbprints
the thumbprints
superiorNode
the superior of this node
Method Detail
createChild(msg)
Creates a child contribution counter node with the configuration of the specified message.
Parameters:
msg
the message
Returns:
void

deleteChild(msg)
Deletes the child node specified in the message by invoking the destroy function on the node.
Parameters:
msg
the message
Returns:
void

destroy(msg)
Destroys this node.
Parameters:
msg
the message
Returns:
void

findChildById(id)
Looks up a child node with the specified id in the list of subordinates.
Parameters:
id
the contributon id
Returns:
the subordinate node with the specified id or null if no such node is found

isMove(msg)
Checks if the action specified by the message is a move, instead of a delete, message.
Parameters:
msg
the message
Returns:
true if the delete is part of a move or false otherwise

thumbprinted(msg)
Thumbprints this node upon receipt of a thumbprint message.
Parameters:
msg
the message
Returns:
void

Documentation generated by JsDoc Toolkit 2.0.0 on Sun Sep 23 2012 02:46:06 GMT-0500 (CDT)