AssociateController Class Reference

Detailed Description

AssociateController is used to (dis-)associates Node instances, e.g.

in a parent/child association.

The controller supports the following actions:

Action associate
Connect two Node instances.

Parameter Description
in sourceOid The object id of the association's source Node
in targetOid The object id of the association's target Node
in role The role of the target Node in the source Node
Response Actions
ok In all cases
Action disassociate
Disconnect two Node instances.

Parameter Description
in sourceOid The object id of the association's source Node
in targetOid The object id of the association's target Node
in role The role of the target Node in the source Node
Response Actions
ok In all cases
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 57 of file AssociateController.php.

+ Inheritance diagram for AssociateController:

Protected Member Functions

 validate ()
 
 doExecute ()
 
- Protected Member Functions inherited from Controller
 validate ()
 
 executeSubAction ($action)
 
 getLogger ()
 
 getSession ()
 
 getPersistenceFacade ()
 
 getPermissionManager ()
 
 getActionMapper ()
 
 getLocalization ()
 
 getMessage ()
 
 getConfiguration ()
 
 assignResponseDefaults ()
 
 isLocalizedRequest ()
 
 checkLanguageParameter ()
 

Additional Inherited Members

- Public Member Functions inherited from Controller
 __construct (Session $session, PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, ActionMapper $actionMapper, Localization $localization, Message $message, Configuration $configuration)
 
 initialize (Request $request, Response $response)
 
 execute ($method=null)
 
 getRequest ()
 
 getResponse ()
 

Member Function Documentation

validate ( )
protected
See also
Controller::validate()

Definition at line 62 of file AssociateController.php.

doExecute ( )
protected
See also
Controller::doExecute()

Definition at line 105 of file AssociateController.php.