Merge remote-tracking branch 'origin/feature/HOR-3274' into feature/HOR-3559
This commit is contained in:
@@ -77,9 +77,9 @@ class WebEntryEventMapBuilder
|
||||
|
||||
$tMap->addColumn('ACT_UID', 'ActUid', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
|
||||
$tMap->addColumn('DYN_UID', 'DynUid', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
$tMap->addColumn('DYN_UID', 'DynUid', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
$tMap->addColumn('USR_UID', 'UsrUid', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
$tMap->addColumn('USR_UID', 'UsrUid', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
$tMap->addColumn('WEE_STATUS', 'WeeStatus', 'string', CreoleTypes::VARCHAR, true, 10);
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ class WebEntryMapBuilder
|
||||
|
||||
$tMap->addColumn('TAS_UID', 'TasUid', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
|
||||
$tMap->addColumn('DYN_UID', 'DynUid', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
$tMap->addColumn('DYN_UID', 'DynUid', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
$tMap->addColumn('USR_UID', 'UsrUid', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
@@ -89,6 +89,36 @@ class WebEntryMapBuilder
|
||||
|
||||
$tMap->addColumn('WE_UPDATE_DATE', 'WeUpdateDate', 'int', CreoleTypes::TIMESTAMP, false, null);
|
||||
|
||||
$tMap->addColumn('WE_TYPE', 'WeType', 'string', CreoleTypes::VARCHAR, true, 8);
|
||||
|
||||
$tMap->addColumn('WE_CUSTOM_TITLE', 'WeCustomTitle', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('WE_AUTHENTICATION', 'WeAuthentication', 'string', CreoleTypes::VARCHAR, true, 14);
|
||||
|
||||
$tMap->addColumn('WE_HIDE_INFORMATION_BAR', 'WeHideInformationBar', 'string', CreoleTypes::CHAR, false, 1);
|
||||
|
||||
$tMap->addColumn('WE_CALLBACK', 'WeCallback', 'string', CreoleTypes::VARCHAR, true, 13);
|
||||
|
||||
$tMap->addColumn('WE_CALLBACK_URL', 'WeCallbackUrl', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('WE_LINK_GENERATION', 'WeLinkGeneration', 'string', CreoleTypes::VARCHAR, true, 8);
|
||||
|
||||
$tMap->addColumn('WE_LINK_SKIN', 'WeLinkSkin', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('WE_LINK_LANGUAGE', 'WeLinkLanguage', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('WE_LINK_DOMAIN', 'WeLinkDomain', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('WE_SHOW_IN_NEW_CASE', 'WeShowInNewCase', 'string', CreoleTypes::CHAR, false, 1);
|
||||
|
||||
$tMap->addValidator('WE_TYPE', 'validValues', 'propel.validator.ValidValuesValidator', 'SINGLE|MULTIPLE', 'Please enter a valid value for WE_TYPE');
|
||||
|
||||
$tMap->addValidator('WE_AUTHENTICATION', 'validValues', 'propel.validator.ValidValuesValidator', 'ANONYMOUS|LOGIN_REQUIRED', 'Please enter a valid value for WE_AUTHENTICATION');
|
||||
|
||||
$tMap->addValidator('WE_CALLBACK', 'validValues', 'propel.validator.ValidValuesValidator', 'PROCESSMAKER|CUSTOM|CUSTOM_CLEAR', 'Please enter a valid value for WE_CALLBACK');
|
||||
|
||||
$tMap->addValidator('WE_LINK_GENERATION', 'validValues', 'propel.validator.ValidValuesValidator', 'DEFAULT|ADVANCED', 'Please enter a valid value for WE_LINK_GENERATION');
|
||||
|
||||
} // doBuild()
|
||||
|
||||
} // WebEntryMapBuilder
|
||||
|
||||
@@ -55,7 +55,7 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
* The value for the usr_uid field.
|
||||
* @var string
|
||||
*/
|
||||
protected $usr_uid = '';
|
||||
protected $usr_uid;
|
||||
|
||||
/**
|
||||
* The value for the we_method field.
|
||||
@@ -99,6 +99,72 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
*/
|
||||
protected $we_update_date;
|
||||
|
||||
/**
|
||||
* The value for the we_type field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_type = 'SINGLE';
|
||||
|
||||
/**
|
||||
* The value for the we_custom_title field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_custom_title;
|
||||
|
||||
/**
|
||||
* The value for the we_authentication field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_authentication = 'ANONYMOUS';
|
||||
|
||||
/**
|
||||
* The value for the we_hide_information_bar field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_hide_information_bar = '1';
|
||||
|
||||
/**
|
||||
* The value for the we_callback field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_callback = 'PROCESSMAKER';
|
||||
|
||||
/**
|
||||
* The value for the we_callback_url field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_callback_url;
|
||||
|
||||
/**
|
||||
* The value for the we_link_generation field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_link_generation = 'DEFAULT';
|
||||
|
||||
/**
|
||||
* The value for the we_link_skin field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_link_skin;
|
||||
|
||||
/**
|
||||
* The value for the we_link_language field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_link_language;
|
||||
|
||||
/**
|
||||
* The value for the we_link_domain field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_link_domain;
|
||||
|
||||
/**
|
||||
* The value for the we_show_in_new_case field.
|
||||
* @var string
|
||||
*/
|
||||
protected $we_show_in_new_case = '1';
|
||||
|
||||
/**
|
||||
* Flag to prevent endless save loop, if this object is referenced
|
||||
* by another object which falls in this transaction.
|
||||
@@ -287,6 +353,127 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_type] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeType()
|
||||
{
|
||||
|
||||
return $this->we_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_custom_title] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeCustomTitle()
|
||||
{
|
||||
|
||||
return $this->we_custom_title;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_authentication] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeAuthentication()
|
||||
{
|
||||
|
||||
return $this->we_authentication;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_hide_information_bar] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeHideInformationBar()
|
||||
{
|
||||
|
||||
return $this->we_hide_information_bar;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_callback] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeCallback()
|
||||
{
|
||||
|
||||
return $this->we_callback;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_callback_url] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeCallbackUrl()
|
||||
{
|
||||
|
||||
return $this->we_callback_url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_link_generation] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeLinkGeneration()
|
||||
{
|
||||
|
||||
return $this->we_link_generation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_link_skin] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeLinkSkin()
|
||||
{
|
||||
|
||||
return $this->we_link_skin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_link_language] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeLinkLanguage()
|
||||
{
|
||||
|
||||
return $this->we_link_language;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_link_domain] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeLinkDomain()
|
||||
{
|
||||
|
||||
return $this->we_link_domain;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [we_show_in_new_case] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getWeShowInNewCase()
|
||||
{
|
||||
|
||||
return $this->we_show_in_new_case;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of [we_uid] column.
|
||||
*
|
||||
@@ -390,7 +577,7 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->usr_uid !== $v || $v === '') {
|
||||
if ($this->usr_uid !== $v) {
|
||||
$this->usr_uid = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::USR_UID;
|
||||
}
|
||||
@@ -565,6 +752,248 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
|
||||
} // setWeUpdateDate()
|
||||
|
||||
/**
|
||||
* Set the value of [we_type] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeType($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_type !== $v || $v === 'SINGLE') {
|
||||
$this->we_type = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_TYPE;
|
||||
}
|
||||
|
||||
} // setWeType()
|
||||
|
||||
/**
|
||||
* Set the value of [we_custom_title] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeCustomTitle($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_custom_title !== $v) {
|
||||
$this->we_custom_title = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_CUSTOM_TITLE;
|
||||
}
|
||||
|
||||
} // setWeCustomTitle()
|
||||
|
||||
/**
|
||||
* Set the value of [we_authentication] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeAuthentication($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_authentication !== $v || $v === 'ANONYMOUS') {
|
||||
$this->we_authentication = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_AUTHENTICATION;
|
||||
}
|
||||
|
||||
} // setWeAuthentication()
|
||||
|
||||
/**
|
||||
* Set the value of [we_hide_information_bar] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeHideInformationBar($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_hide_information_bar !== $v || $v === '1') {
|
||||
$this->we_hide_information_bar = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_HIDE_INFORMATION_BAR;
|
||||
}
|
||||
|
||||
} // setWeHideInformationBar()
|
||||
|
||||
/**
|
||||
* Set the value of [we_callback] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeCallback($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_callback !== $v || $v === 'PROCESSMAKER') {
|
||||
$this->we_callback = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_CALLBACK;
|
||||
}
|
||||
|
||||
} // setWeCallback()
|
||||
|
||||
/**
|
||||
* Set the value of [we_callback_url] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeCallbackUrl($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_callback_url !== $v) {
|
||||
$this->we_callback_url = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_CALLBACK_URL;
|
||||
}
|
||||
|
||||
} // setWeCallbackUrl()
|
||||
|
||||
/**
|
||||
* Set the value of [we_link_generation] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeLinkGeneration($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_link_generation !== $v || $v === 'DEFAULT') {
|
||||
$this->we_link_generation = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_LINK_GENERATION;
|
||||
}
|
||||
|
||||
} // setWeLinkGeneration()
|
||||
|
||||
/**
|
||||
* Set the value of [we_link_skin] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeLinkSkin($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_link_skin !== $v) {
|
||||
$this->we_link_skin = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_LINK_SKIN;
|
||||
}
|
||||
|
||||
} // setWeLinkSkin()
|
||||
|
||||
/**
|
||||
* Set the value of [we_link_language] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeLinkLanguage($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_link_language !== $v) {
|
||||
$this->we_link_language = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_LINK_LANGUAGE;
|
||||
}
|
||||
|
||||
} // setWeLinkLanguage()
|
||||
|
||||
/**
|
||||
* Set the value of [we_link_domain] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeLinkDomain($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_link_domain !== $v) {
|
||||
$this->we_link_domain = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_LINK_DOMAIN;
|
||||
}
|
||||
|
||||
} // setWeLinkDomain()
|
||||
|
||||
/**
|
||||
* Set the value of [we_show_in_new_case] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setWeShowInNewCase($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is string,
|
||||
// we will cast the input to a string (if it is not).
|
||||
if ($v !== null && !is_string($v)) {
|
||||
$v = (string) $v;
|
||||
}
|
||||
|
||||
if ($this->we_show_in_new_case !== $v || $v === '1') {
|
||||
$this->we_show_in_new_case = $v;
|
||||
$this->modifiedColumns[] = WebEntryPeer::WE_SHOW_IN_NEW_CASE;
|
||||
}
|
||||
|
||||
} // setWeShowInNewCase()
|
||||
|
||||
/**
|
||||
* Hydrates (populates) the object variables with values from the database resultset.
|
||||
*
|
||||
@@ -606,12 +1035,34 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
|
||||
$this->we_update_date = $rs->getTimestamp($startcol + 11, null);
|
||||
|
||||
$this->we_type = $rs->getString($startcol + 12);
|
||||
|
||||
$this->we_custom_title = $rs->getString($startcol + 13);
|
||||
|
||||
$this->we_authentication = $rs->getString($startcol + 14);
|
||||
|
||||
$this->we_hide_information_bar = $rs->getString($startcol + 15);
|
||||
|
||||
$this->we_callback = $rs->getString($startcol + 16);
|
||||
|
||||
$this->we_callback_url = $rs->getString($startcol + 17);
|
||||
|
||||
$this->we_link_generation = $rs->getString($startcol + 18);
|
||||
|
||||
$this->we_link_skin = $rs->getString($startcol + 19);
|
||||
|
||||
$this->we_link_language = $rs->getString($startcol + 20);
|
||||
|
||||
$this->we_link_domain = $rs->getString($startcol + 21);
|
||||
|
||||
$this->we_show_in_new_case = $rs->getString($startcol + 22);
|
||||
|
||||
$this->resetModified();
|
||||
|
||||
$this->setNew(false);
|
||||
|
||||
// FIXME - using NUM_COLUMNS may be clearer.
|
||||
return $startcol + 12; // 12 = WebEntryPeer::NUM_COLUMNS - WebEntryPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
return $startcol + 23; // 23 = WebEntryPeer::NUM_COLUMNS - WebEntryPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
|
||||
} catch (Exception $e) {
|
||||
throw new PropelException("Error populating WebEntry object", $e);
|
||||
@@ -851,6 +1302,39 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
case 11:
|
||||
return $this->getWeUpdateDate();
|
||||
break;
|
||||
case 12:
|
||||
return $this->getWeType();
|
||||
break;
|
||||
case 13:
|
||||
return $this->getWeCustomTitle();
|
||||
break;
|
||||
case 14:
|
||||
return $this->getWeAuthentication();
|
||||
break;
|
||||
case 15:
|
||||
return $this->getWeHideInformationBar();
|
||||
break;
|
||||
case 16:
|
||||
return $this->getWeCallback();
|
||||
break;
|
||||
case 17:
|
||||
return $this->getWeCallbackUrl();
|
||||
break;
|
||||
case 18:
|
||||
return $this->getWeLinkGeneration();
|
||||
break;
|
||||
case 19:
|
||||
return $this->getWeLinkSkin();
|
||||
break;
|
||||
case 20:
|
||||
return $this->getWeLinkLanguage();
|
||||
break;
|
||||
case 21:
|
||||
return $this->getWeLinkDomain();
|
||||
break;
|
||||
case 22:
|
||||
return $this->getWeShowInNewCase();
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
break;
|
||||
@@ -883,6 +1367,17 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
$keys[9] => $this->getWeUpdateUsrUid(),
|
||||
$keys[10] => $this->getWeCreateDate(),
|
||||
$keys[11] => $this->getWeUpdateDate(),
|
||||
$keys[12] => $this->getWeType(),
|
||||
$keys[13] => $this->getWeCustomTitle(),
|
||||
$keys[14] => $this->getWeAuthentication(),
|
||||
$keys[15] => $this->getWeHideInformationBar(),
|
||||
$keys[16] => $this->getWeCallback(),
|
||||
$keys[17] => $this->getWeCallbackUrl(),
|
||||
$keys[18] => $this->getWeLinkGeneration(),
|
||||
$keys[19] => $this->getWeLinkSkin(),
|
||||
$keys[20] => $this->getWeLinkLanguage(),
|
||||
$keys[21] => $this->getWeLinkDomain(),
|
||||
$keys[22] => $this->getWeShowInNewCase(),
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
@@ -950,6 +1445,39 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
case 11:
|
||||
$this->setWeUpdateDate($value);
|
||||
break;
|
||||
case 12:
|
||||
$this->setWeType($value);
|
||||
break;
|
||||
case 13:
|
||||
$this->setWeCustomTitle($value);
|
||||
break;
|
||||
case 14:
|
||||
$this->setWeAuthentication($value);
|
||||
break;
|
||||
case 15:
|
||||
$this->setWeHideInformationBar($value);
|
||||
break;
|
||||
case 16:
|
||||
$this->setWeCallback($value);
|
||||
break;
|
||||
case 17:
|
||||
$this->setWeCallbackUrl($value);
|
||||
break;
|
||||
case 18:
|
||||
$this->setWeLinkGeneration($value);
|
||||
break;
|
||||
case 19:
|
||||
$this->setWeLinkSkin($value);
|
||||
break;
|
||||
case 20:
|
||||
$this->setWeLinkLanguage($value);
|
||||
break;
|
||||
case 21:
|
||||
$this->setWeLinkDomain($value);
|
||||
break;
|
||||
case 22:
|
||||
$this->setWeShowInNewCase($value);
|
||||
break;
|
||||
} // switch()
|
||||
}
|
||||
|
||||
@@ -1021,6 +1549,50 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
$this->setWeUpdateDate($arr[$keys[11]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[12], $arr)) {
|
||||
$this->setWeType($arr[$keys[12]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[13], $arr)) {
|
||||
$this->setWeCustomTitle($arr[$keys[13]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[14], $arr)) {
|
||||
$this->setWeAuthentication($arr[$keys[14]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[15], $arr)) {
|
||||
$this->setWeHideInformationBar($arr[$keys[15]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[16], $arr)) {
|
||||
$this->setWeCallback($arr[$keys[16]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[17], $arr)) {
|
||||
$this->setWeCallbackUrl($arr[$keys[17]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[18], $arr)) {
|
||||
$this->setWeLinkGeneration($arr[$keys[18]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[19], $arr)) {
|
||||
$this->setWeLinkSkin($arr[$keys[19]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[20], $arr)) {
|
||||
$this->setWeLinkLanguage($arr[$keys[20]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[21], $arr)) {
|
||||
$this->setWeLinkDomain($arr[$keys[21]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[22], $arr)) {
|
||||
$this->setWeShowInNewCase($arr[$keys[22]]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1080,6 +1652,50 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
$criteria->add(WebEntryPeer::WE_UPDATE_DATE, $this->we_update_date);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_TYPE)) {
|
||||
$criteria->add(WebEntryPeer::WE_TYPE, $this->we_type);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_CUSTOM_TITLE)) {
|
||||
$criteria->add(WebEntryPeer::WE_CUSTOM_TITLE, $this->we_custom_title);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_AUTHENTICATION)) {
|
||||
$criteria->add(WebEntryPeer::WE_AUTHENTICATION, $this->we_authentication);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_HIDE_INFORMATION_BAR)) {
|
||||
$criteria->add(WebEntryPeer::WE_HIDE_INFORMATION_BAR, $this->we_hide_information_bar);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_CALLBACK)) {
|
||||
$criteria->add(WebEntryPeer::WE_CALLBACK, $this->we_callback);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_CALLBACK_URL)) {
|
||||
$criteria->add(WebEntryPeer::WE_CALLBACK_URL, $this->we_callback_url);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_LINK_GENERATION)) {
|
||||
$criteria->add(WebEntryPeer::WE_LINK_GENERATION, $this->we_link_generation);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_LINK_SKIN)) {
|
||||
$criteria->add(WebEntryPeer::WE_LINK_SKIN, $this->we_link_skin);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_LINK_LANGUAGE)) {
|
||||
$criteria->add(WebEntryPeer::WE_LINK_LANGUAGE, $this->we_link_language);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_LINK_DOMAIN)) {
|
||||
$criteria->add(WebEntryPeer::WE_LINK_DOMAIN, $this->we_link_domain);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(WebEntryPeer::WE_SHOW_IN_NEW_CASE)) {
|
||||
$criteria->add(WebEntryPeer::WE_SHOW_IN_NEW_CASE, $this->we_show_in_new_case);
|
||||
}
|
||||
|
||||
|
||||
return $criteria;
|
||||
}
|
||||
@@ -1156,6 +1772,28 @@ abstract class BaseWebEntry extends BaseObject implements Persistent
|
||||
|
||||
$copyObj->setWeUpdateDate($this->we_update_date);
|
||||
|
||||
$copyObj->setWeType($this->we_type);
|
||||
|
||||
$copyObj->setWeCustomTitle($this->we_custom_title);
|
||||
|
||||
$copyObj->setWeAuthentication($this->we_authentication);
|
||||
|
||||
$copyObj->setWeHideInformationBar($this->we_hide_information_bar);
|
||||
|
||||
$copyObj->setWeCallback($this->we_callback);
|
||||
|
||||
$copyObj->setWeCallbackUrl($this->we_callback_url);
|
||||
|
||||
$copyObj->setWeLinkGeneration($this->we_link_generation);
|
||||
|
||||
$copyObj->setWeLinkSkin($this->we_link_skin);
|
||||
|
||||
$copyObj->setWeLinkLanguage($this->we_link_language);
|
||||
|
||||
$copyObj->setWeLinkDomain($this->we_link_domain);
|
||||
|
||||
$copyObj->setWeShowInNewCase($this->we_show_in_new_case);
|
||||
|
||||
|
||||
$copyObj->setNew(true);
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ abstract class BaseWebEntryPeer
|
||||
const CLASS_DEFAULT = 'classes.model.WebEntry';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 12;
|
||||
const NUM_COLUMNS = 23;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
@@ -67,6 +67,39 @@ abstract class BaseWebEntryPeer
|
||||
/** the column name for the WE_UPDATE_DATE field */
|
||||
const WE_UPDATE_DATE = 'WEB_ENTRY.WE_UPDATE_DATE';
|
||||
|
||||
/** the column name for the WE_TYPE field */
|
||||
const WE_TYPE = 'WEB_ENTRY.WE_TYPE';
|
||||
|
||||
/** the column name for the WE_CUSTOM_TITLE field */
|
||||
const WE_CUSTOM_TITLE = 'WEB_ENTRY.WE_CUSTOM_TITLE';
|
||||
|
||||
/** the column name for the WE_AUTHENTICATION field */
|
||||
const WE_AUTHENTICATION = 'WEB_ENTRY.WE_AUTHENTICATION';
|
||||
|
||||
/** the column name for the WE_HIDE_INFORMATION_BAR field */
|
||||
const WE_HIDE_INFORMATION_BAR = 'WEB_ENTRY.WE_HIDE_INFORMATION_BAR';
|
||||
|
||||
/** the column name for the WE_CALLBACK field */
|
||||
const WE_CALLBACK = 'WEB_ENTRY.WE_CALLBACK';
|
||||
|
||||
/** the column name for the WE_CALLBACK_URL field */
|
||||
const WE_CALLBACK_URL = 'WEB_ENTRY.WE_CALLBACK_URL';
|
||||
|
||||
/** the column name for the WE_LINK_GENERATION field */
|
||||
const WE_LINK_GENERATION = 'WEB_ENTRY.WE_LINK_GENERATION';
|
||||
|
||||
/** the column name for the WE_LINK_SKIN field */
|
||||
const WE_LINK_SKIN = 'WEB_ENTRY.WE_LINK_SKIN';
|
||||
|
||||
/** the column name for the WE_LINK_LANGUAGE field */
|
||||
const WE_LINK_LANGUAGE = 'WEB_ENTRY.WE_LINK_LANGUAGE';
|
||||
|
||||
/** the column name for the WE_LINK_DOMAIN field */
|
||||
const WE_LINK_DOMAIN = 'WEB_ENTRY.WE_LINK_DOMAIN';
|
||||
|
||||
/** the column name for the WE_SHOW_IN_NEW_CASE field */
|
||||
const WE_SHOW_IN_NEW_CASE = 'WEB_ENTRY.WE_SHOW_IN_NEW_CASE';
|
||||
|
||||
/** The PHP to DB Name Mapping */
|
||||
private static $phpNameMap = null;
|
||||
|
||||
@@ -78,10 +111,10 @@ abstract class BaseWebEntryPeer
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('WeUid', 'ProUid', 'TasUid', 'DynUid', 'UsrUid', 'WeMethod', 'WeInputDocumentAccess', 'WeData', 'WeCreateUsrUid', 'WeUpdateUsrUid', 'WeCreateDate', 'WeUpdateDate', ),
|
||||
BasePeer::TYPE_COLNAME => array (WebEntryPeer::WE_UID, WebEntryPeer::PRO_UID, WebEntryPeer::TAS_UID, WebEntryPeer::DYN_UID, WebEntryPeer::USR_UID, WebEntryPeer::WE_METHOD, WebEntryPeer::WE_INPUT_DOCUMENT_ACCESS, WebEntryPeer::WE_DATA, WebEntryPeer::WE_CREATE_USR_UID, WebEntryPeer::WE_UPDATE_USR_UID, WebEntryPeer::WE_CREATE_DATE, WebEntryPeer::WE_UPDATE_DATE, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('WE_UID', 'PRO_UID', 'TAS_UID', 'DYN_UID', 'USR_UID', 'WE_METHOD', 'WE_INPUT_DOCUMENT_ACCESS', 'WE_DATA', 'WE_CREATE_USR_UID', 'WE_UPDATE_USR_UID', 'WE_CREATE_DATE', 'WE_UPDATE_DATE', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, )
|
||||
BasePeer::TYPE_PHPNAME => array ('WeUid', 'ProUid', 'TasUid', 'DynUid', 'UsrUid', 'WeMethod', 'WeInputDocumentAccess', 'WeData', 'WeCreateUsrUid', 'WeUpdateUsrUid', 'WeCreateDate', 'WeUpdateDate', 'WeType', 'WeCustomTitle', 'WeAuthentication', 'WeHideInformationBar', 'WeCallback', 'WeCallbackUrl', 'WeLinkGeneration', 'WeLinkSkin', 'WeLinkLanguage', 'WeLinkDomain', 'WeShowInNewCase', ),
|
||||
BasePeer::TYPE_COLNAME => array (WebEntryPeer::WE_UID, WebEntryPeer::PRO_UID, WebEntryPeer::TAS_UID, WebEntryPeer::DYN_UID, WebEntryPeer::USR_UID, WebEntryPeer::WE_METHOD, WebEntryPeer::WE_INPUT_DOCUMENT_ACCESS, WebEntryPeer::WE_DATA, WebEntryPeer::WE_CREATE_USR_UID, WebEntryPeer::WE_UPDATE_USR_UID, WebEntryPeer::WE_CREATE_DATE, WebEntryPeer::WE_UPDATE_DATE, WebEntryPeer::WE_TYPE, WebEntryPeer::WE_CUSTOM_TITLE, WebEntryPeer::WE_AUTHENTICATION, WebEntryPeer::WE_HIDE_INFORMATION_BAR, WebEntryPeer::WE_CALLBACK, WebEntryPeer::WE_CALLBACK_URL, WebEntryPeer::WE_LINK_GENERATION, WebEntryPeer::WE_LINK_SKIN, WebEntryPeer::WE_LINK_LANGUAGE, WebEntryPeer::WE_LINK_DOMAIN, WebEntryPeer::WE_SHOW_IN_NEW_CASE, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('WE_UID', 'PRO_UID', 'TAS_UID', 'DYN_UID', 'USR_UID', 'WE_METHOD', 'WE_INPUT_DOCUMENT_ACCESS', 'WE_DATA', 'WE_CREATE_USR_UID', 'WE_UPDATE_USR_UID', 'WE_CREATE_DATE', 'WE_UPDATE_DATE', 'WE_TYPE', 'WE_CUSTOM_TITLE', 'WE_AUTHENTICATION', 'WE_HIDE_INFORMATION_BAR', 'WE_CALLBACK', 'WE_CALLBACK_URL', 'WE_LINK_GENERATION', 'WE_LINK_SKIN', 'WE_LINK_LANGUAGE', 'WE_LINK_DOMAIN', 'WE_SHOW_IN_NEW_CASE', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -91,10 +124,10 @@ abstract class BaseWebEntryPeer
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('WeUid' => 0, 'ProUid' => 1, 'TasUid' => 2, 'DynUid' => 3, 'UsrUid' => 4, 'WeMethod' => 5, 'WeInputDocumentAccess' => 6, 'WeData' => 7, 'WeCreateUsrUid' => 8, 'WeUpdateUsrUid' => 9, 'WeCreateDate' => 10, 'WeUpdateDate' => 11, ),
|
||||
BasePeer::TYPE_COLNAME => array (WebEntryPeer::WE_UID => 0, WebEntryPeer::PRO_UID => 1, WebEntryPeer::TAS_UID => 2, WebEntryPeer::DYN_UID => 3, WebEntryPeer::USR_UID => 4, WebEntryPeer::WE_METHOD => 5, WebEntryPeer::WE_INPUT_DOCUMENT_ACCESS => 6, WebEntryPeer::WE_DATA => 7, WebEntryPeer::WE_CREATE_USR_UID => 8, WebEntryPeer::WE_UPDATE_USR_UID => 9, WebEntryPeer::WE_CREATE_DATE => 10, WebEntryPeer::WE_UPDATE_DATE => 11, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('WE_UID' => 0, 'PRO_UID' => 1, 'TAS_UID' => 2, 'DYN_UID' => 3, 'USR_UID' => 4, 'WE_METHOD' => 5, 'WE_INPUT_DOCUMENT_ACCESS' => 6, 'WE_DATA' => 7, 'WE_CREATE_USR_UID' => 8, 'WE_UPDATE_USR_UID' => 9, 'WE_CREATE_DATE' => 10, 'WE_UPDATE_DATE' => 11, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, )
|
||||
BasePeer::TYPE_PHPNAME => array ('WeUid' => 0, 'ProUid' => 1, 'TasUid' => 2, 'DynUid' => 3, 'UsrUid' => 4, 'WeMethod' => 5, 'WeInputDocumentAccess' => 6, 'WeData' => 7, 'WeCreateUsrUid' => 8, 'WeUpdateUsrUid' => 9, 'WeCreateDate' => 10, 'WeUpdateDate' => 11, 'WeType' => 12, 'WeCustomTitle' => 13, 'WeAuthentication' => 14, 'WeHideInformationBar' => 15, 'WeCallback' => 16, 'WeCallbackUrl' => 17, 'WeLinkGeneration' => 18, 'WeLinkSkin' => 19, 'WeLinkLanguage' => 20, 'WeLinkDomain' => 21, 'WeShowInNewCase' => 22, ),
|
||||
BasePeer::TYPE_COLNAME => array (WebEntryPeer::WE_UID => 0, WebEntryPeer::PRO_UID => 1, WebEntryPeer::TAS_UID => 2, WebEntryPeer::DYN_UID => 3, WebEntryPeer::USR_UID => 4, WebEntryPeer::WE_METHOD => 5, WebEntryPeer::WE_INPUT_DOCUMENT_ACCESS => 6, WebEntryPeer::WE_DATA => 7, WebEntryPeer::WE_CREATE_USR_UID => 8, WebEntryPeer::WE_UPDATE_USR_UID => 9, WebEntryPeer::WE_CREATE_DATE => 10, WebEntryPeer::WE_UPDATE_DATE => 11, WebEntryPeer::WE_TYPE => 12, WebEntryPeer::WE_CUSTOM_TITLE => 13, WebEntryPeer::WE_AUTHENTICATION => 14, WebEntryPeer::WE_HIDE_INFORMATION_BAR => 15, WebEntryPeer::WE_CALLBACK => 16, WebEntryPeer::WE_CALLBACK_URL => 17, WebEntryPeer::WE_LINK_GENERATION => 18, WebEntryPeer::WE_LINK_SKIN => 19, WebEntryPeer::WE_LINK_LANGUAGE => 20, WebEntryPeer::WE_LINK_DOMAIN => 21, WebEntryPeer::WE_SHOW_IN_NEW_CASE => 22, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('WE_UID' => 0, 'PRO_UID' => 1, 'TAS_UID' => 2, 'DYN_UID' => 3, 'USR_UID' => 4, 'WE_METHOD' => 5, 'WE_INPUT_DOCUMENT_ACCESS' => 6, 'WE_DATA' => 7, 'WE_CREATE_USR_UID' => 8, 'WE_UPDATE_USR_UID' => 9, 'WE_CREATE_DATE' => 10, 'WE_UPDATE_DATE' => 11, 'WE_TYPE' => 12, 'WE_CUSTOM_TITLE' => 13, 'WE_AUTHENTICATION' => 14, 'WE_HIDE_INFORMATION_BAR' => 15, 'WE_CALLBACK' => 16, 'WE_CALLBACK_URL' => 17, 'WE_LINK_GENERATION' => 18, 'WE_LINK_SKIN' => 19, 'WE_LINK_LANGUAGE' => 20, 'WE_LINK_DOMAIN' => 21, 'WE_SHOW_IN_NEW_CASE' => 22, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -219,6 +252,28 @@ abstract class BaseWebEntryPeer
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_UPDATE_DATE);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_TYPE);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_CUSTOM_TITLE);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_AUTHENTICATION);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_HIDE_INFORMATION_BAR);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_CALLBACK);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_CALLBACK_URL);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_LINK_GENERATION);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_LINK_SKIN);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_LINK_LANGUAGE);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_LINK_DOMAIN);
|
||||
|
||||
$criteria->addSelectColumn(WebEntryPeer::WE_SHOW_IN_NEW_CASE);
|
||||
|
||||
}
|
||||
|
||||
const COUNT = 'COUNT(WEB_ENTRY.WE_UID)';
|
||||
@@ -549,6 +604,18 @@ abstract class BaseWebEntryPeer
|
||||
}
|
||||
} else {
|
||||
|
||||
if ($obj->isNew() || $obj->isColumnModified(WebEntryPeer::WE_TYPE))
|
||||
$columns[WebEntryPeer::WE_TYPE] = $obj->getWeType();
|
||||
|
||||
if ($obj->isNew() || $obj->isColumnModified(WebEntryPeer::WE_AUTHENTICATION))
|
||||
$columns[WebEntryPeer::WE_AUTHENTICATION] = $obj->getWeAuthentication();
|
||||
|
||||
if ($obj->isNew() || $obj->isColumnModified(WebEntryPeer::WE_CALLBACK))
|
||||
$columns[WebEntryPeer::WE_CALLBACK] = $obj->getWeCallback();
|
||||
|
||||
if ($obj->isNew() || $obj->isColumnModified(WebEntryPeer::WE_LINK_GENERATION))
|
||||
$columns[WebEntryPeer::WE_LINK_GENERATION] = $obj->getWeLinkGeneration();
|
||||
|
||||
}
|
||||
|
||||
return BasePeer::doValidate(WebEntryPeer::DATABASE_NAME, WebEntryPeer::TABLE_NAME, $columns);
|
||||
|
||||
Reference in New Issue
Block a user