Files
Phraseanet/lib/Alchemy/Phrasea/Model/Proxies/__CG__AlchemyPhraseaModelEntitiesUser.php
2013-10-29 17:00:32 +01:00

574 lines
13 KiB
PHP

<?php
namespace Alchemy\Phrasea\Model\Proxies\__CG__\Alchemy\Phrasea\Model\Entities;
/**
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
*/
class User extends \Alchemy\Phrasea\Model\Entities\User implements \Doctrine\ORM\Proxy\Proxy
{
private $_entityPersister;
private $_identifier;
public $__isInitialized__ = false;
public function __construct($entityPersister, $identifier)
{
$this->_entityPersister = $entityPersister;
$this->_identifier = $identifier;
}
/** @private */
public function __load()
{
if (!$this->__isInitialized__ && $this->_entityPersister) {
$this->__isInitialized__ = true;
if (method_exists($this, "__wakeup")) {
// call this after __isInitialized__to avoid infinite recursion
// but before loading to emulate what ClassMetadata::newInstance()
// provides.
$this->__wakeup();
}
if ($this->_entityPersister->load($this->_identifier, $this) === null) {
throw new \Doctrine\ORM\EntityNotFoundException();
}
unset($this->_entityPersister, $this->_identifier);
}
}
/** @private */
public function __isInitialized()
{
return $this->__isInitialized__;
}
public function getId()
{
if ($this->__isInitialized__ === false) {
return (int) $this->_identifier["id"];
}
$this->__load();
return parent::getId();
}
public function getLogin()
{
$this->__load();
return parent::getLogin();
}
public function setLogin($login)
{
$this->__load();
return parent::setLogin($login);
}
public function getEmail()
{
$this->__load();
return parent::getEmail();
}
public function setEmail($email)
{
$this->__load();
return parent::setEmail($email);
}
public function getPassword()
{
$this->__load();
return parent::getPassword();
}
public function setPassword($password)
{
$this->__load();
return parent::setPassword($password);
}
public function getNonce()
{
$this->__load();
return parent::getNonce();
}
public function setNonce($nonce)
{
$this->__load();
return parent::setNonce($nonce);
}
public function isSaltedPassword()
{
$this->__load();
return parent::isSaltedPassword();
}
public function setSaltedPassword($saltedPassword)
{
$this->__load();
return parent::setSaltedPassword($saltedPassword);
}
public function getFirstName()
{
$this->__load();
return parent::getFirstName();
}
public function setFirstName($firstName)
{
$this->__load();
return parent::setFirstName($firstName);
}
public function getLastName()
{
$this->__load();
return parent::getLastName();
}
public function setLastName($lastName)
{
$this->__load();
return parent::setLastName($lastName);
}
public function getGender()
{
$this->__load();
return parent::getGender();
}
public function setGender($gender)
{
$this->__load();
return parent::setGender($gender);
}
public function getAddress()
{
$this->__load();
return parent::getAddress();
}
public function setAddress($address)
{
$this->__load();
return parent::setAddress($address);
}
public function getCity()
{
$this->__load();
return parent::getCity();
}
public function setCity($city)
{
$this->__load();
return parent::setCity($city);
}
public function getCountry()
{
$this->__load();
return parent::getCountry();
}
public function setCountry($country)
{
$this->__load();
return parent::setCountry($country);
}
public function getZipCode()
{
$this->__load();
return parent::getZipCode();
}
public function setZipCode($zipCode)
{
$this->__load();
return parent::setZipCode($zipCode);
}
public function getGeonameId()
{
$this->__load();
return parent::getGeonameId();
}
public function setGeonameId($geonameId)
{
$this->__load();
return parent::setGeonameId($geonameId);
}
public function getLocale()
{
$this->__load();
return parent::getLocale();
}
public function setLocale($locale)
{
$this->__load();
return parent::setLocale($locale);
}
public function getTimezone()
{
$this->__load();
return parent::getTimezone();
}
public function setTimezone($timezone)
{
$this->__load();
return parent::setTimezone($timezone);
}
public function getJob()
{
$this->__load();
return parent::getJob();
}
public function setJob($job)
{
$this->__load();
return parent::setJob($job);
}
public function getActivity()
{
$this->__load();
return parent::getActivity();
}
public function setActivity($activity)
{
$this->__load();
return parent::setActivity($activity);
}
public function getCompany()
{
$this->__load();
return parent::getCompany();
}
public function setCompany($company)
{
$this->__load();
return parent::setCompany($company);
}
public function getPhone()
{
$this->__load();
return parent::getPhone();
}
public function setPhone($phone)
{
$this->__load();
return parent::setPhone($phone);
}
public function getFax()
{
$this->__load();
return parent::getFax();
}
public function setFax($fax)
{
$this->__load();
return parent::setFax($fax);
}
public function isAdmin()
{
$this->__load();
return parent::isAdmin();
}
public function setAdmin($admin)
{
$this->__load();
return parent::setAdmin($admin);
}
public function isGuest()
{
$this->__load();
return parent::isGuest();
}
public function setGuest($guest)
{
$this->__load();
return parent::setGuest($guest);
}
public function hasMailNotificationsActivated()
{
$this->__load();
return parent::hasMailNotificationsActivated();
}
public function setMailNotificationsActivated($mailNotifications)
{
$this->__load();
return parent::setMailNotificationsActivated($mailNotifications);
}
public function hasRequestNotificationsActivated()
{
$this->__load();
return parent::hasRequestNotificationsActivated();
}
public function setRequestNotificationsActivated($requestNotifications)
{
$this->__load();
return parent::setRequestNotificationsActivated($requestNotifications);
}
public function hasLdapCreated()
{
$this->__load();
return parent::hasLdapCreated();
}
public function setLdapCreated($ldapCreated)
{
$this->__load();
return parent::setLdapCreated($ldapCreated);
}
public function getModelOf()
{
$this->__load();
return parent::getModelOf();
}
public function setModelOf(\Alchemy\Phrasea\Model\Entities\User $owner)
{
$this->__load();
return parent::setModelOf($owner);
}
public function getLastModel()
{
$this->__load();
return parent::getLastModel();
}
public function setLastModel($lastModel)
{
$this->__load();
return parent::setLastModel($lastModel);
}
public function getPushList()
{
$this->__load();
return parent::getPushList();
}
public function setPushList($pushList)
{
$this->__load();
return parent::setPushList($pushList);
}
public function canChangeProfil()
{
$this->__load();
return parent::canChangeProfil();
}
public function setCanChangeProfil($canChangeProfil)
{
$this->__load();
return parent::setCanChangeProfil($canChangeProfil);
}
public function canChangeFtpProfil()
{
$this->__load();
return parent::canChangeFtpProfil();
}
public function setCanChangeFtpProfil($canChangeFtpProfil)
{
$this->__load();
return parent::setCanChangeFtpProfil($canChangeFtpProfil);
}
public function getLastConnection()
{
$this->__load();
return parent::getLastConnection();
}
public function setLastConnection(\DateTime $lastConnection)
{
$this->__load();
return parent::setLastConnection($lastConnection);
}
public function isMailLocked()
{
$this->__load();
return parent::isMailLocked();
}
public function setMailLocked($mailLocked)
{
$this->__load();
return parent::setMailLocked($mailLocked);
}
public function isDeleted()
{
$this->__load();
return parent::isDeleted();
}
public function setDeleted($deleted)
{
$this->__load();
return parent::setDeleted($deleted);
}
public function getCreated()
{
$this->__load();
return parent::getCreated();
}
public function getUpdated()
{
$this->__load();
return parent::getUpdated();
}
public function setCreated(\DateTime $created)
{
$this->__load();
return parent::setCreated($created);
}
public function setUpdated(\DateTime $updated)
{
$this->__load();
return parent::setUpdated($updated);
}
public function getFtpCredential()
{
$this->__load();
return parent::getFtpCredential();
}
public function setFtpCredential(\Alchemy\Phrasea\Model\Entities\FtpCredential $ftpCredential = NULL)
{
$this->__load();
return parent::setFtpCredential($ftpCredential);
}
public function getQueries()
{
$this->__load();
return parent::getQueries();
}
public function AddQuery(\Alchemy\Phrasea\Model\Entities\UserQuery $query)
{
$this->__load();
return parent::AddQuery($query);
}
public function getSettings()
{
$this->__load();
return parent::getSettings();
}
public function getSettingValue($name, $default = NULL)
{
$this->__load();
return parent::getSettingValue($name, $default);
}
public function addSetting(\Alchemy\Phrasea\Model\Entities\UserSetting $setting)
{
$this->__load();
return parent::addSetting($setting);
}
public function getNotificationSettings()
{
$this->__load();
return parent::getNotificationSettings();
}
public function addNotificationSettings(\Alchemy\Phrasea\Model\Entities\UserNotificationSetting $notificationSetting)
{
$this->__load();
return parent::addNotificationSettings($notificationSetting);
}
public function ACL(\Alchemy\Phrasea\Application $app)
{
$this->__load();
return parent::ACL($app);
}
public function isTemplate()
{
$this->__load();
return parent::isTemplate();
}
public function isSpecial()
{
$this->__load();
return parent::isSpecial();
}
public function getDisplayName()
{
$this->__load();
return parent::getDisplayName();
}
public function __sleep()
{
return array('__isInitialized__', 'id', 'login', 'email', 'password', 'nonce', 'saltedPassword', 'firstName', 'lastName', 'gender', 'address', 'city', 'country', 'zipCode', 'geonameId', 'locale', 'timezone', 'job', 'activity', 'company', 'phone', 'fax', 'admin', 'guest', 'mailNotificationsActivated', 'requestNotificationsActivated', 'ldapCreated', 'lastModel', 'pushList', 'canChangeProfil', 'canChangeFtpProfil', 'lastConnection', 'mailLocked', 'deleted', 'created', 'updated', 'modelOf', 'ftpCredential', 'queries', 'settings', 'notificationSettings');
}
public function __clone()
{
if (!$this->__isInitialized__ && $this->_entityPersister) {
$this->__isInitialized__ = true;
$class = $this->_entityPersister->getClassMetadata();
$original = $this->_entityPersister->load($this->_identifier);
if ($original === null) {
throw new \Doctrine\ORM\EntityNotFoundException();
}
foreach ($class->reflFields as $field => $reflProperty) {
$reflProperty->setValue($this, $reflProperty->getValue($original));
}
unset($this->_entityPersister, $this->_identifier);
}
}
}