/**
  * Get the grid request parameters.
  * @return array
  */
 function getRequestArgs()
 {
     $representation = $this->getAuthorizedContextObject(ASSOC_TYPE_REPRESENTATION);
     return array_merge(parent::getRequestArgs(), array('representationId' => $representation->getId()));
 }
 /**
  * @copydoc CategoryGridHandler::getRequestArgs()
  */
 function getRequestArgs()
 {
     $stageId = $this->getAuthorizedContextObject(ASSOC_TYPE_WORKFLOW_STAGE);
     return array_merge(array('stageId' => $stageId), parent::getRequestArgs());
 }