public function save()
 {
     if (!$this->getMailKey()) {
         $this->setMailKey(Filesystem::readRandomCharacters(20));
     }
     return parent::save();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_COLUMN_SCHEMA => array('itemStatus' => 'uint32', 'itemDateNuanced' => 'epoch'), self::CONFIG_KEY_SCHEMA => array('key_one_per_queue' => array('columns' => array('itemPHID', 'queuePHID'), 'unique' => true), 'key_queue' => array('columns' => array('queuePHID', 'itemStatus', 'itemDateNuanced', 'id')))) + parent::getConfiguration();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_TIMESTAMPS => false, self::CONFIG_SERIALIZATION => array('parameters' => self::SERIALIZATION_JSON), self::CONFIG_COLUMN_SCHEMA => array('command' => 'text64'), self::CONFIG_KEY_SCHEMA => array('key_item' => array('columns' => array('itemPHID')))) + parent::getConfiguration();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_AUX_PHID => true, self::CONFIG_SERIALIZATION => array('properties' => self::SERIALIZATION_JSON), self::CONFIG_COLUMN_SCHEMA => array('cursorType' => 'text32', 'cursorKey' => 'text32'), self::CONFIG_KEY_SCHEMA => array('key_source' => array('columns' => array('sourcePHID', 'cursorKey'), 'unique' => true))) + parent::getConfiguration();
 }
 public function getConfiguration()
 {
     return array(self::CONFIG_SERIALIZATION => array('data' => self::SERIALIZATION_JSON)) + parent::getConfiguration();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_AUX_PHID => true, self::CONFIG_SERIALIZATION => array('data' => self::SERIALIZATION_JSON)) + parent::getConfiguration();
 }
 protected function getConfiguration()
 {
     return array(self::CONFIG_SERIALIZATION => array('data' => self::SERIALIZATION_JSON), self::CONFIG_COLUMN_SCHEMA => array('sourceKey' => 'text128'), self::CONFIG_KEY_SCHEMA => array('key_source_key' => array('columns' => array('sourcePHID', 'sourceKey'), 'unique' => true), 'key_requestor' => array('columns' => array('requestorPHID', 'id')), 'key_source' => array('columns' => array('sourcePHID', 'id')))) + parent::getConfiguration();
 }