baseplugin

0 views
Skip to first unread message

William la Forge

unread,
Dec 22, 2009, 2:11:07 AM12/22/09
to AgileWikiDevelopers
Our first plugin will need to define the rolon and journalEntry types, as well as the eval operation on journal entry rolons. It should also define the parent-child relation as well as including a getRolonPathname operation.

As with AW4, a parent rolon can have any number of child rolons and a child rolon can have a [limited] number of parents. We can define parent and child roles. Journal entry rolons and the ark rolon will not include the child role, but all other rolons will need to. The ark rolon, as well as other types of rolons (but not all) will need to include the parent role.

The parent role will support the following operations:
  • hasChild
  • removeChild
  • deleteChild
  • getChild
  • numberOfChildren
  • childrenSequence
  • adoptChild
  • createChild
The child role will support the following operations:
  • getFirstParent
  • getNameFromFirstParent
  • parentsSequence
  • numberOfParents
Additionally, the child role and the ark roll will need to support the getRolonPathname operation.

Bill
Reply all
Reply to author
Forward
0 new messages