public function registerFacebookPublish($sweepstakeId, $userId, $wayId, $noPoint)
 {
     $this->setCurrentState(self::$STATE__REGISTER_FACEBOOK_PUBLISH);
     $this->userId = $userId;
     $this->sweepstakeId = $sweepstakeId;
     $pointPublish = false;
     if ($noPoint != "1") {
         $pointPublishDate = UserPublish_table::getLastPointDate($sweepstakeId, $userId, self::$publishType_facebookPublish);
         if (time() - $pointPublishDate >= self::$publishPointInterval) {
             $pointPublish = true;
             $this->appPoint = 1;
             SweepstakeUser_table::addPoint($this->sweepstakeId, $this->userId, $this->appPoint);
         }
     }
     UserPublish_table::setPublish($sweepstakeId, $userId, $wayId, self::$publishType_facebookPublish, "", $pointPublish);
     SweepstakeUser_table::registerPublish($userId, $sweepstakeId);
     SweepstakeStatistics_table::registerPublish($this->sweepstakeId);
 }