public function getName() {
     return Pap_Common_Constants::getTypeAsText($this->getMainType()) . ' of ' . parent::getName();
 }
	protected function translateCommTypes(Gpf_Data_RecordSet $commTypes) {
		foreach ($commTypes as $commType) {
			if ($commType->get(Pap_Db_Table_CommissionTypes::TYPE) === Pap_Common_Constants::TYPE_ACTION) {
				continue;
			}
			$commType->set('name', $this->_localize(Pap_Common_Constants::getTypeAsText($commType->get(Pap_Db_Table_CommissionTypes::TYPE))));
		}
	}
	/**
	 * @param $row
	 * @return DataRow or null
	 */
	public function filterRow(Gpf_Data_Row $row) {
		$row->set(Pap_Db_Table_Transactions::R_STATUS, Pap_Common_Constants::getStatusAsText($row->get(Pap_Db_Table_Transactions::R_STATUS)));
		$row->set(Pap_Db_Table_Transactions::PAYOUT_STATUS, Pap_Common_Constants::getPayoutStatusAsText($row->get(Pap_Db_Table_Transactions::PAYOUT_STATUS)));
		$row->set(Pap_Db_Table_Transactions::R_TYPE, Pap_Common_Constants::getTypeAsText($row->get(Pap_Db_Table_Transactions::R_TYPE)));
		return $row;
	}
 protected function getType($type) {
     return Pap_Common_Constants::getTypeAsText($type);
 }
 public function setTransactionType($type) {
     $this->transactionType = $type;
     $this->name = Pap_Common_Constants::getTypeAsText($type);
 }