HOR-2456: Schema

This commit is contained in:
Paula Quispe
2017-01-09 17:13:48 -04:00
parent 28477a6667
commit f99203c055
24 changed files with 1860 additions and 936 deletions

View File

@@ -93,6 +93,10 @@ class AppDelayMapBuilder
$tMap->addColumn('APP_AUTOMATIC_DISABLED_DATE', 'AppAutomaticDisabledDate', 'int', CreoleTypes::TIMESTAMP, false, null);
$tMap->addColumn('APP_NUMBER', 'AppNumber', 'int', CreoleTypes::INTEGER, false, null);
$tMap->addColumn('DELEGATION_ID', 'DelegationId', 'int', CreoleTypes::INTEGER, false, null);
} // doBuild()
} // AppDelayMapBuilder

View File

@@ -63,12 +63,16 @@ class AppDelegationMapBuilder
$tMap = $this->dbMap->addTable('APP_DELEGATION');
$tMap->setPhpName('AppDelegation');
$tMap->setUseIdGenerator(false);
$tMap->setUseIdGenerator(true);
$tMap->addPrimaryKey('APP_UID', 'AppUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('DEL_INDEX', 'DelIndex', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('DELEGATION_ID', 'DelegationId', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('APP_NUMBER', 'AppNumber', 'int', CreoleTypes::INTEGER, false, null);
$tMap->addColumn('DEL_PREVIOUS', 'DelPrevious', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('DEL_LAST_INDEX', 'DelLastIndex', 'int', CreoleTypes::INTEGER, true, null);
@@ -113,6 +117,12 @@ class AppDelegationMapBuilder
$tMap->addColumn('APP_OVERDUE_PERCENTAGE', 'AppOverduePercentage', 'double', CreoleTypes::DOUBLE, true, null);
$tMap->addColumn('USR_ID', 'UsrId', 'int', CreoleTypes::INTEGER, false, null);
$tMap->addColumn('PRO_ID', 'ProId', 'int', CreoleTypes::INTEGER, false, null);
$tMap->addColumn('TAS_ID', 'TasId', 'int', CreoleTypes::INTEGER, false, null);
$tMap->addValidator('DEL_TYPE', 'validValues', 'propel.validator.ValidValuesValidator', 'NORMAL|PARALLEL', 'Please select a valid status.');
$tMap->addValidator('DEL_PRIORITY', 'validValues', 'propel.validator.ValidValuesValidator', '1|2|3|4|5', 'Please select a valid Priority.');

View File

@@ -75,6 +75,10 @@ class AppThreadMapBuilder
$tMap->addColumn('DEL_INDEX', 'DelIndex', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('APP_NUMBER', 'AppNumber', 'int', CreoleTypes::INTEGER, false, null);
$tMap->addColumn('DELEGATION_ID', 'DelegationId', 'int', CreoleTypes::INTEGER, false, null);
$tMap->addValidator('APP_THREAD_STATUS', 'validValues', 'propel.validator.ValidValuesValidator', 'CLOSED|OPEN', 'Please select a valid status.');
} // doBuild()

View File

@@ -77,6 +77,8 @@ class ApplicationMapBuilder
$tMap->addColumn('APP_STATUS', 'AppStatus', 'string', CreoleTypes::VARCHAR, true, 100);
$tMap->addColumn('APP_STATUS_ID', 'AppStatusId', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('PRO_UID', 'ProUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addColumn('APP_PROC_STATUS', 'AppProcStatus', 'string', CreoleTypes::VARCHAR, true, 100);

View File

@@ -63,10 +63,12 @@ class ProcessMapBuilder
$tMap = $this->dbMap->addTable('PROCESS');
$tMap->setPhpName('Process');
$tMap->setUseIdGenerator(false);
$tMap->setUseIdGenerator(true);
$tMap->addPrimaryKey('PRO_UID', 'ProUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addColumn('PRO_ID', 'ProId', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('PRO_TITLE', 'ProTitle', 'string', CreoleTypes::LONGVARCHAR, true, null);
$tMap->addColumn('PRO_DESCRIPTION', 'ProDescription', 'string', CreoleTypes::LONGVARCHAR, false, null);

View File

@@ -63,12 +63,14 @@ class TaskMapBuilder
$tMap = $this->dbMap->addTable('TASK');
$tMap->setPhpName('Task');
$tMap->setUseIdGenerator(false);
$tMap->setUseIdGenerator(true);
$tMap->addColumn('PRO_UID', 'ProUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('TAS_UID', 'TasUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addColumn('TAS_ID', 'TasId', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('TAS_TITLE', 'TasTitle', 'string', CreoleTypes::LONGVARCHAR, true, null);
$tMap->addColumn('TAS_DESCRIPTION', 'TasDescription', 'string', CreoleTypes::LONGVARCHAR, false, null);

View File

@@ -63,10 +63,12 @@ class UsersMapBuilder
$tMap = $this->dbMap->addTable('USERS');
$tMap->setPhpName('Users');
$tMap->setUseIdGenerator(false);
$tMap->setUseIdGenerator(true);
$tMap->addPrimaryKey('USR_UID', 'UsrUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addColumn('USR_ID', 'UsrId', 'int', CreoleTypes::INTEGER, true, null);
$tMap->addColumn('USR_USERNAME', 'UsrUsername', 'string', CreoleTypes::VARCHAR, true, 100);
$tMap->addColumn('USR_PASSWORD', 'UsrPassword', 'string', CreoleTypes::VARCHAR, true, 128);

View File

@@ -111,6 +111,18 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
*/
protected $app_automatic_disabled_date;
/**
* The value for the app_number field.
* @var int
*/
protected $app_number = 0;
/**
* The value for the delegation_id field.
* @var int
*/
protected $delegation_id = 0;
/**
* Flag to prevent endless save loop, if this object is referenced
* by another object which falls in this transaction.
@@ -342,6 +354,28 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
}
}
/**
* Get the [app_number] column value.
*
* @return int
*/
public function getAppNumber()
{
return $this->app_number;
}
/**
* Get the [delegation_id] column value.
*
* @return int
*/
public function getDelegationId()
{
return $this->delegation_id;
}
/**
* Set the value of [app_delay_uid] column.
*
@@ -671,6 +705,50 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
} // setAppAutomaticDisabledDate()
/**
* Set the value of [app_number] column.
*
* @param int $v new value
* @return void
*/
public function setAppNumber($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->app_number !== $v || $v === 0) {
$this->app_number = $v;
$this->modifiedColumns[] = AppDelayPeer::APP_NUMBER;
}
} // setAppNumber()
/**
* Set the value of [delegation_id] column.
*
* @param int $v new value
* @return void
*/
public function setDelegationId($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->delegation_id !== $v || $v === 0) {
$this->delegation_id = $v;
$this->modifiedColumns[] = AppDelayPeer::DELEGATION_ID;
}
} // setDelegationId()
/**
* Hydrates (populates) the object variables with values from the database resultset.
*
@@ -716,12 +794,16 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
$this->app_automatic_disabled_date = $rs->getTimestamp($startcol + 13, null);
$this->app_number = $rs->getInt($startcol + 14);
$this->delegation_id = $rs->getInt($startcol + 15);
$this->resetModified();
$this->setNew(false);
// FIXME - using NUM_COLUMNS may be clearer.
return $startcol + 14; // 14 = AppDelayPeer::NUM_COLUMNS - AppDelayPeer::NUM_LAZY_LOAD_COLUMNS).
return $startcol + 16; // 16 = AppDelayPeer::NUM_COLUMNS - AppDelayPeer::NUM_LAZY_LOAD_COLUMNS).
} catch (Exception $e) {
throw new PropelException("Error populating AppDelay object", $e);
@@ -967,6 +1049,12 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
case 13:
return $this->getAppAutomaticDisabledDate();
break;
case 14:
return $this->getAppNumber();
break;
case 15:
return $this->getDelegationId();
break;
default:
return null;
break;
@@ -1001,6 +1089,8 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
$keys[11] => $this->getAppDisableActionUser(),
$keys[12] => $this->getAppDisableActionDate(),
$keys[13] => $this->getAppAutomaticDisabledDate(),
$keys[14] => $this->getAppNumber(),
$keys[15] => $this->getDelegationId(),
);
return $result;
}
@@ -1074,6 +1164,12 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
case 13:
$this->setAppAutomaticDisabledDate($value);
break;
case 14:
$this->setAppNumber($value);
break;
case 15:
$this->setDelegationId($value);
break;
} // switch()
}
@@ -1153,6 +1249,14 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
$this->setAppAutomaticDisabledDate($arr[$keys[13]]);
}
if (array_key_exists($keys[14], $arr)) {
$this->setAppNumber($arr[$keys[14]]);
}
if (array_key_exists($keys[15], $arr)) {
$this->setDelegationId($arr[$keys[15]]);
}
}
/**
@@ -1220,6 +1324,14 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
$criteria->add(AppDelayPeer::APP_AUTOMATIC_DISABLED_DATE, $this->app_automatic_disabled_date);
}
if ($this->isColumnModified(AppDelayPeer::APP_NUMBER)) {
$criteria->add(AppDelayPeer::APP_NUMBER, $this->app_number);
}
if ($this->isColumnModified(AppDelayPeer::DELEGATION_ID)) {
$criteria->add(AppDelayPeer::DELEGATION_ID, $this->delegation_id);
}
return $criteria;
}
@@ -1300,6 +1412,10 @@ abstract class BaseAppDelay extends BaseObject implements Persistent
$copyObj->setAppAutomaticDisabledDate($this->app_automatic_disabled_date);
$copyObj->setAppNumber($this->app_number);
$copyObj->setDelegationId($this->delegation_id);
$copyObj->setNew(true);

View File

@@ -25,7 +25,7 @@ abstract class BaseAppDelayPeer
const CLASS_DEFAULT = 'classes.model.AppDelay';
/** The total number of columns. */
const NUM_COLUMNS = 14;
const NUM_COLUMNS = 16;
/** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0;
@@ -73,6 +73,12 @@ abstract class BaseAppDelayPeer
/** the column name for the APP_AUTOMATIC_DISABLED_DATE field */
const APP_AUTOMATIC_DISABLED_DATE = 'APP_DELAY.APP_AUTOMATIC_DISABLED_DATE';
/** the column name for the APP_NUMBER field */
const APP_NUMBER = 'APP_DELAY.APP_NUMBER';
/** the column name for the DELEGATION_ID field */
const DELEGATION_ID = 'APP_DELAY.DELEGATION_ID';
/** The PHP to DB Name Mapping */
private static $phpNameMap = null;
@@ -84,10 +90,10 @@ abstract class BaseAppDelayPeer
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
*/
private static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('AppDelayUid', 'ProUid', 'AppUid', 'AppThreadIndex', 'AppDelIndex', 'AppType', 'AppStatus', 'AppNextTask', 'AppDelegationUser', 'AppEnableActionUser', 'AppEnableActionDate', 'AppDisableActionUser', 'AppDisableActionDate', 'AppAutomaticDisabledDate', ),
BasePeer::TYPE_COLNAME => array (AppDelayPeer::APP_DELAY_UID, AppDelayPeer::PRO_UID, AppDelayPeer::APP_UID, AppDelayPeer::APP_THREAD_INDEX, AppDelayPeer::APP_DEL_INDEX, AppDelayPeer::APP_TYPE, AppDelayPeer::APP_STATUS, AppDelayPeer::APP_NEXT_TASK, AppDelayPeer::APP_DELEGATION_USER, AppDelayPeer::APP_ENABLE_ACTION_USER, AppDelayPeer::APP_ENABLE_ACTION_DATE, AppDelayPeer::APP_DISABLE_ACTION_USER, AppDelayPeer::APP_DISABLE_ACTION_DATE, AppDelayPeer::APP_AUTOMATIC_DISABLED_DATE, ),
BasePeer::TYPE_FIELDNAME => array ('APP_DELAY_UID', 'PRO_UID', 'APP_UID', 'APP_THREAD_INDEX', 'APP_DEL_INDEX', 'APP_TYPE', 'APP_STATUS', 'APP_NEXT_TASK', 'APP_DELEGATION_USER', 'APP_ENABLE_ACTION_USER', 'APP_ENABLE_ACTION_DATE', 'APP_DISABLE_ACTION_USER', 'APP_DISABLE_ACTION_DATE', 'APP_AUTOMATIC_DISABLED_DATE', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, )
BasePeer::TYPE_PHPNAME => array ('AppDelayUid', 'ProUid', 'AppUid', 'AppThreadIndex', 'AppDelIndex', 'AppType', 'AppStatus', 'AppNextTask', 'AppDelegationUser', 'AppEnableActionUser', 'AppEnableActionDate', 'AppDisableActionUser', 'AppDisableActionDate', 'AppAutomaticDisabledDate', 'AppNumber', 'DelegationId', ),
BasePeer::TYPE_COLNAME => array (AppDelayPeer::APP_DELAY_UID, AppDelayPeer::PRO_UID, AppDelayPeer::APP_UID, AppDelayPeer::APP_THREAD_INDEX, AppDelayPeer::APP_DEL_INDEX, AppDelayPeer::APP_TYPE, AppDelayPeer::APP_STATUS, AppDelayPeer::APP_NEXT_TASK, AppDelayPeer::APP_DELEGATION_USER, AppDelayPeer::APP_ENABLE_ACTION_USER, AppDelayPeer::APP_ENABLE_ACTION_DATE, AppDelayPeer::APP_DISABLE_ACTION_USER, AppDelayPeer::APP_DISABLE_ACTION_DATE, AppDelayPeer::APP_AUTOMATIC_DISABLED_DATE, AppDelayPeer::APP_NUMBER, AppDelayPeer::DELEGATION_ID, ),
BasePeer::TYPE_FIELDNAME => array ('APP_DELAY_UID', 'PRO_UID', 'APP_UID', 'APP_THREAD_INDEX', 'APP_DEL_INDEX', 'APP_TYPE', 'APP_STATUS', 'APP_NEXT_TASK', 'APP_DELEGATION_USER', 'APP_ENABLE_ACTION_USER', 'APP_ENABLE_ACTION_DATE', 'APP_DISABLE_ACTION_USER', 'APP_DISABLE_ACTION_DATE', 'APP_AUTOMATIC_DISABLED_DATE', 'APP_NUMBER', 'DELEGATION_ID', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, )
);
/**
@@ -97,10 +103,10 @@ abstract class BaseAppDelayPeer
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/
private static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('AppDelayUid' => 0, 'ProUid' => 1, 'AppUid' => 2, 'AppThreadIndex' => 3, 'AppDelIndex' => 4, 'AppType' => 5, 'AppStatus' => 6, 'AppNextTask' => 7, 'AppDelegationUser' => 8, 'AppEnableActionUser' => 9, 'AppEnableActionDate' => 10, 'AppDisableActionUser' => 11, 'AppDisableActionDate' => 12, 'AppAutomaticDisabledDate' => 13, ),
BasePeer::TYPE_COLNAME => array (AppDelayPeer::APP_DELAY_UID => 0, AppDelayPeer::PRO_UID => 1, AppDelayPeer::APP_UID => 2, AppDelayPeer::APP_THREAD_INDEX => 3, AppDelayPeer::APP_DEL_INDEX => 4, AppDelayPeer::APP_TYPE => 5, AppDelayPeer::APP_STATUS => 6, AppDelayPeer::APP_NEXT_TASK => 7, AppDelayPeer::APP_DELEGATION_USER => 8, AppDelayPeer::APP_ENABLE_ACTION_USER => 9, AppDelayPeer::APP_ENABLE_ACTION_DATE => 10, AppDelayPeer::APP_DISABLE_ACTION_USER => 11, AppDelayPeer::APP_DISABLE_ACTION_DATE => 12, AppDelayPeer::APP_AUTOMATIC_DISABLED_DATE => 13, ),
BasePeer::TYPE_FIELDNAME => array ('APP_DELAY_UID' => 0, 'PRO_UID' => 1, 'APP_UID' => 2, 'APP_THREAD_INDEX' => 3, 'APP_DEL_INDEX' => 4, 'APP_TYPE' => 5, 'APP_STATUS' => 6, 'APP_NEXT_TASK' => 7, 'APP_DELEGATION_USER' => 8, 'APP_ENABLE_ACTION_USER' => 9, 'APP_ENABLE_ACTION_DATE' => 10, 'APP_DISABLE_ACTION_USER' => 11, 'APP_DISABLE_ACTION_DATE' => 12, 'APP_AUTOMATIC_DISABLED_DATE' => 13, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, )
BasePeer::TYPE_PHPNAME => array ('AppDelayUid' => 0, 'ProUid' => 1, 'AppUid' => 2, 'AppThreadIndex' => 3, 'AppDelIndex' => 4, 'AppType' => 5, 'AppStatus' => 6, 'AppNextTask' => 7, 'AppDelegationUser' => 8, 'AppEnableActionUser' => 9, 'AppEnableActionDate' => 10, 'AppDisableActionUser' => 11, 'AppDisableActionDate' => 12, 'AppAutomaticDisabledDate' => 13, 'AppNumber' => 14, 'DelegationId' => 15, ),
BasePeer::TYPE_COLNAME => array (AppDelayPeer::APP_DELAY_UID => 0, AppDelayPeer::PRO_UID => 1, AppDelayPeer::APP_UID => 2, AppDelayPeer::APP_THREAD_INDEX => 3, AppDelayPeer::APP_DEL_INDEX => 4, AppDelayPeer::APP_TYPE => 5, AppDelayPeer::APP_STATUS => 6, AppDelayPeer::APP_NEXT_TASK => 7, AppDelayPeer::APP_DELEGATION_USER => 8, AppDelayPeer::APP_ENABLE_ACTION_USER => 9, AppDelayPeer::APP_ENABLE_ACTION_DATE => 10, AppDelayPeer::APP_DISABLE_ACTION_USER => 11, AppDelayPeer::APP_DISABLE_ACTION_DATE => 12, AppDelayPeer::APP_AUTOMATIC_DISABLED_DATE => 13, AppDelayPeer::APP_NUMBER => 14, AppDelayPeer::DELEGATION_ID => 15, ),
BasePeer::TYPE_FIELDNAME => array ('APP_DELAY_UID' => 0, 'PRO_UID' => 1, 'APP_UID' => 2, 'APP_THREAD_INDEX' => 3, 'APP_DEL_INDEX' => 4, 'APP_TYPE' => 5, 'APP_STATUS' => 6, 'APP_NEXT_TASK' => 7, 'APP_DELEGATION_USER' => 8, 'APP_ENABLE_ACTION_USER' => 9, 'APP_ENABLE_ACTION_DATE' => 10, 'APP_DISABLE_ACTION_USER' => 11, 'APP_DISABLE_ACTION_DATE' => 12, 'APP_AUTOMATIC_DISABLED_DATE' => 13, 'APP_NUMBER' => 14, 'DELEGATION_ID' => 15, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, )
);
/**
@@ -229,6 +235,10 @@ abstract class BaseAppDelayPeer
$criteria->addSelectColumn(AppDelayPeer::APP_AUTOMATIC_DISABLED_DATE);
$criteria->addSelectColumn(AppDelayPeer::APP_NUMBER);
$criteria->addSelectColumn(AppDelayPeer::DELEGATION_ID);
}
const COUNT = 'COUNT(APP_DELAY.APP_DELAY_UID)';

View File

@@ -39,6 +39,18 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
*/
protected $del_index = 0;
/**
* The value for the delegation_id field.
* @var int
*/
protected $delegation_id;
/**
* The value for the app_number field.
* @var int
*/
protected $app_number = 0;
/**
* The value for the del_previous field.
* @var int
@@ -171,6 +183,24 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
*/
protected $app_overdue_percentage = 0;
/**
* The value for the usr_id field.
* @var int
*/
protected $usr_id = 0;
/**
* The value for the pro_id field.
* @var int
*/
protected $pro_id = 0;
/**
* The value for the tas_id field.
* @var int
*/
protected $tas_id = 0;
/**
* Flag to prevent endless save loop, if this object is referenced
* by another object which falls in this transaction.
@@ -207,6 +237,28 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
return $this->del_index;
}
/**
* Get the [delegation_id] column value.
*
* @return int
*/
public function getDelegationId()
{
return $this->delegation_id;
}
/**
* Get the [app_number] column value.
*
* @return int
*/
public function getAppNumber()
{
return $this->app_number;
}
/**
* Get the [del_previous] column value.
*
@@ -554,6 +606,39 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
return $this->app_overdue_percentage;
}
/**
* Get the [usr_id] column value.
*
* @return int
*/
public function getUsrId()
{
return $this->usr_id;
}
/**
* Get the [pro_id] column value.
*
* @return int
*/
public function getProId()
{
return $this->pro_id;
}
/**
* Get the [tas_id] column value.
*
* @return int
*/
public function getTasId()
{
return $this->tas_id;
}
/**
* Set the value of [app_uid] column.
*
@@ -598,6 +683,50 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
} // setDelIndex()
/**
* Set the value of [delegation_id] column.
*
* @param int $v new value
* @return void
*/
public function setDelegationId($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->delegation_id !== $v) {
$this->delegation_id = $v;
$this->modifiedColumns[] = AppDelegationPeer::DELEGATION_ID;
}
} // setDelegationId()
/**
* Set the value of [app_number] column.
*
* @param int $v new value
* @return void
*/
public function setAppNumber($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->app_number !== $v || $v === 0) {
$this->app_number = $v;
$this->modifiedColumns[] = AppDelegationPeer::APP_NUMBER;
}
} // setAppNumber()
/**
* Set the value of [del_previous] column.
*
@@ -1093,6 +1222,72 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
} // setAppOverduePercentage()
/**
* Set the value of [usr_id] column.
*
* @param int $v new value
* @return void
*/
public function setUsrId($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->usr_id !== $v || $v === 0) {
$this->usr_id = $v;
$this->modifiedColumns[] = AppDelegationPeer::USR_ID;
}
} // setUsrId()
/**
* Set the value of [pro_id] column.
*
* @param int $v new value
* @return void
*/
public function setProId($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->pro_id !== $v || $v === 0) {
$this->pro_id = $v;
$this->modifiedColumns[] = AppDelegationPeer::PRO_ID;
}
} // setProId()
/**
* Set the value of [tas_id] column.
*
* @param int $v new value
* @return void
*/
public function setTasId($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->tas_id !== $v || $v === 0) {
$this->tas_id = $v;
$this->modifiedColumns[] = AppDelegationPeer::TAS_ID;
}
} // setTasId()
/**
* Hydrates (populates) the object variables with values from the database resultset.
*
@@ -1114,56 +1309,66 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
$this->del_index = $rs->getInt($startcol + 1);
$this->del_previous = $rs->getInt($startcol + 2);
$this->delegation_id = $rs->getInt($startcol + 2);
$this->del_last_index = $rs->getInt($startcol + 3);
$this->app_number = $rs->getInt($startcol + 3);
$this->pro_uid = $rs->getString($startcol + 4);
$this->del_previous = $rs->getInt($startcol + 4);
$this->tas_uid = $rs->getString($startcol + 5);
$this->del_last_index = $rs->getInt($startcol + 5);
$this->usr_uid = $rs->getString($startcol + 6);
$this->pro_uid = $rs->getString($startcol + 6);
$this->del_type = $rs->getString($startcol + 7);
$this->tas_uid = $rs->getString($startcol + 7);
$this->del_thread = $rs->getInt($startcol + 8);
$this->usr_uid = $rs->getString($startcol + 8);
$this->del_thread_status = $rs->getString($startcol + 9);
$this->del_type = $rs->getString($startcol + 9);
$this->del_priority = $rs->getString($startcol + 10);
$this->del_thread = $rs->getInt($startcol + 10);
$this->del_delegate_date = $rs->getTimestamp($startcol + 11, null);
$this->del_thread_status = $rs->getString($startcol + 11);
$this->del_init_date = $rs->getTimestamp($startcol + 12, null);
$this->del_priority = $rs->getString($startcol + 12);
$this->del_finish_date = $rs->getTimestamp($startcol + 13, null);
$this->del_delegate_date = $rs->getTimestamp($startcol + 13, null);
$this->del_task_due_date = $rs->getTimestamp($startcol + 14, null);
$this->del_init_date = $rs->getTimestamp($startcol + 14, null);
$this->del_risk_date = $rs->getTimestamp($startcol + 15, null);
$this->del_finish_date = $rs->getTimestamp($startcol + 15, null);
$this->del_duration = $rs->getFloat($startcol + 16);
$this->del_task_due_date = $rs->getTimestamp($startcol + 16, null);
$this->del_queue_duration = $rs->getFloat($startcol + 17);
$this->del_risk_date = $rs->getTimestamp($startcol + 17, null);
$this->del_delay_duration = $rs->getFloat($startcol + 18);
$this->del_duration = $rs->getFloat($startcol + 18);
$this->del_started = $rs->getInt($startcol + 19);
$this->del_queue_duration = $rs->getFloat($startcol + 19);
$this->del_finished = $rs->getInt($startcol + 20);
$this->del_delay_duration = $rs->getFloat($startcol + 20);
$this->del_delayed = $rs->getInt($startcol + 21);
$this->del_started = $rs->getInt($startcol + 21);
$this->del_data = $rs->getString($startcol + 22);
$this->del_finished = $rs->getInt($startcol + 22);
$this->app_overdue_percentage = $rs->getFloat($startcol + 23);
$this->del_delayed = $rs->getInt($startcol + 23);
$this->del_data = $rs->getString($startcol + 24);
$this->app_overdue_percentage = $rs->getFloat($startcol + 25);
$this->usr_id = $rs->getInt($startcol + 26);
$this->pro_id = $rs->getInt($startcol + 27);
$this->tas_id = $rs->getInt($startcol + 28);
$this->resetModified();
$this->setNew(false);
// FIXME - using NUM_COLUMNS may be clearer.
return $startcol + 24; // 24 = AppDelegationPeer::NUM_COLUMNS - AppDelegationPeer::NUM_LAZY_LOAD_COLUMNS).
return $startcol + 29; // 29 = AppDelegationPeer::NUM_COLUMNS - AppDelegationPeer::NUM_LAZY_LOAD_COLUMNS).
} catch (Exception $e) {
throw new PropelException("Error populating AppDelegation object", $e);
@@ -1374,71 +1579,86 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
return $this->getDelIndex();
break;
case 2:
return $this->getDelPrevious();
return $this->getDelegationId();
break;
case 3:
return $this->getDelLastIndex();
return $this->getAppNumber();
break;
case 4:
return $this->getProUid();
return $this->getDelPrevious();
break;
case 5:
return $this->getTasUid();
return $this->getDelLastIndex();
break;
case 6:
return $this->getUsrUid();
return $this->getProUid();
break;
case 7:
return $this->getDelType();
return $this->getTasUid();
break;
case 8:
return $this->getDelThread();
return $this->getUsrUid();
break;
case 9:
return $this->getDelThreadStatus();
return $this->getDelType();
break;
case 10:
return $this->getDelPriority();
return $this->getDelThread();
break;
case 11:
return $this->getDelDelegateDate();
return $this->getDelThreadStatus();
break;
case 12:
return $this->getDelInitDate();
return $this->getDelPriority();
break;
case 13:
return $this->getDelFinishDate();
return $this->getDelDelegateDate();
break;
case 14:
return $this->getDelTaskDueDate();
return $this->getDelInitDate();
break;
case 15:
return $this->getDelRiskDate();
return $this->getDelFinishDate();
break;
case 16:
return $this->getDelDuration();
return $this->getDelTaskDueDate();
break;
case 17:
return $this->getDelQueueDuration();
return $this->getDelRiskDate();
break;
case 18:
return $this->getDelDelayDuration();
return $this->getDelDuration();
break;
case 19:
return $this->getDelStarted();
return $this->getDelQueueDuration();
break;
case 20:
return $this->getDelFinished();
return $this->getDelDelayDuration();
break;
case 21:
return $this->getDelDelayed();
return $this->getDelStarted();
break;
case 22:
return $this->getDelData();
return $this->getDelFinished();
break;
case 23:
return $this->getDelDelayed();
break;
case 24:
return $this->getDelData();
break;
case 25:
return $this->getAppOverduePercentage();
break;
case 26:
return $this->getUsrId();
break;
case 27:
return $this->getProId();
break;
case 28:
return $this->getTasId();
break;
default:
return null;
break;
@@ -1461,28 +1681,33 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
$result = array(
$keys[0] => $this->getAppUid(),
$keys[1] => $this->getDelIndex(),
$keys[2] => $this->getDelPrevious(),
$keys[3] => $this->getDelLastIndex(),
$keys[4] => $this->getProUid(),
$keys[5] => $this->getTasUid(),
$keys[6] => $this->getUsrUid(),
$keys[7] => $this->getDelType(),
$keys[8] => $this->getDelThread(),
$keys[9] => $this->getDelThreadStatus(),
$keys[10] => $this->getDelPriority(),
$keys[11] => $this->getDelDelegateDate(),
$keys[12] => $this->getDelInitDate(),
$keys[13] => $this->getDelFinishDate(),
$keys[14] => $this->getDelTaskDueDate(),
$keys[15] => $this->getDelRiskDate(),
$keys[16] => $this->getDelDuration(),
$keys[17] => $this->getDelQueueDuration(),
$keys[18] => $this->getDelDelayDuration(),
$keys[19] => $this->getDelStarted(),
$keys[20] => $this->getDelFinished(),
$keys[21] => $this->getDelDelayed(),
$keys[22] => $this->getDelData(),
$keys[23] => $this->getAppOverduePercentage(),
$keys[2] => $this->getDelegationId(),
$keys[3] => $this->getAppNumber(),
$keys[4] => $this->getDelPrevious(),
$keys[5] => $this->getDelLastIndex(),
$keys[6] => $this->getProUid(),
$keys[7] => $this->getTasUid(),
$keys[8] => $this->getUsrUid(),
$keys[9] => $this->getDelType(),
$keys[10] => $this->getDelThread(),
$keys[11] => $this->getDelThreadStatus(),
$keys[12] => $this->getDelPriority(),
$keys[13] => $this->getDelDelegateDate(),
$keys[14] => $this->getDelInitDate(),
$keys[15] => $this->getDelFinishDate(),
$keys[16] => $this->getDelTaskDueDate(),
$keys[17] => $this->getDelRiskDate(),
$keys[18] => $this->getDelDuration(),
$keys[19] => $this->getDelQueueDuration(),
$keys[20] => $this->getDelDelayDuration(),
$keys[21] => $this->getDelStarted(),
$keys[22] => $this->getDelFinished(),
$keys[23] => $this->getDelDelayed(),
$keys[24] => $this->getDelData(),
$keys[25] => $this->getAppOverduePercentage(),
$keys[26] => $this->getUsrId(),
$keys[27] => $this->getProId(),
$keys[28] => $this->getTasId(),
);
return $result;
}
@@ -1521,71 +1746,86 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
$this->setDelIndex($value);
break;
case 2:
$this->setDelPrevious($value);
$this->setDelegationId($value);
break;
case 3:
$this->setDelLastIndex($value);
$this->setAppNumber($value);
break;
case 4:
$this->setProUid($value);
$this->setDelPrevious($value);
break;
case 5:
$this->setTasUid($value);
$this->setDelLastIndex($value);
break;
case 6:
$this->setUsrUid($value);
$this->setProUid($value);
break;
case 7:
$this->setDelType($value);
$this->setTasUid($value);
break;
case 8:
$this->setDelThread($value);
$this->setUsrUid($value);
break;
case 9:
$this->setDelThreadStatus($value);
$this->setDelType($value);
break;
case 10:
$this->setDelPriority($value);
$this->setDelThread($value);
break;
case 11:
$this->setDelDelegateDate($value);
$this->setDelThreadStatus($value);
break;
case 12:
$this->setDelInitDate($value);
$this->setDelPriority($value);
break;
case 13:
$this->setDelFinishDate($value);
$this->setDelDelegateDate($value);
break;
case 14:
$this->setDelTaskDueDate($value);
$this->setDelInitDate($value);
break;
case 15:
$this->setDelRiskDate($value);
$this->setDelFinishDate($value);
break;
case 16:
$this->setDelDuration($value);
$this->setDelTaskDueDate($value);
break;
case 17:
$this->setDelQueueDuration($value);
$this->setDelRiskDate($value);
break;
case 18:
$this->setDelDelayDuration($value);
$this->setDelDuration($value);
break;
case 19:
$this->setDelStarted($value);
$this->setDelQueueDuration($value);
break;
case 20:
$this->setDelFinished($value);
$this->setDelDelayDuration($value);
break;
case 21:
$this->setDelDelayed($value);
$this->setDelStarted($value);
break;
case 22:
$this->setDelData($value);
$this->setDelFinished($value);
break;
case 23:
$this->setDelDelayed($value);
break;
case 24:
$this->setDelData($value);
break;
case 25:
$this->setAppOverduePercentage($value);
break;
case 26:
$this->setUsrId($value);
break;
case 27:
$this->setProId($value);
break;
case 28:
$this->setTasId($value);
break;
} // switch()
}
@@ -1618,91 +1858,111 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
}
if (array_key_exists($keys[2], $arr)) {
$this->setDelPrevious($arr[$keys[2]]);
$this->setDelegationId($arr[$keys[2]]);
}
if (array_key_exists($keys[3], $arr)) {
$this->setDelLastIndex($arr[$keys[3]]);
$this->setAppNumber($arr[$keys[3]]);
}
if (array_key_exists($keys[4], $arr)) {
$this->setProUid($arr[$keys[4]]);
$this->setDelPrevious($arr[$keys[4]]);
}
if (array_key_exists($keys[5], $arr)) {
$this->setTasUid($arr[$keys[5]]);
$this->setDelLastIndex($arr[$keys[5]]);
}
if (array_key_exists($keys[6], $arr)) {
$this->setUsrUid($arr[$keys[6]]);
$this->setProUid($arr[$keys[6]]);
}
if (array_key_exists($keys[7], $arr)) {
$this->setDelType($arr[$keys[7]]);
$this->setTasUid($arr[$keys[7]]);
}
if (array_key_exists($keys[8], $arr)) {
$this->setDelThread($arr[$keys[8]]);
$this->setUsrUid($arr[$keys[8]]);
}
if (array_key_exists($keys[9], $arr)) {
$this->setDelThreadStatus($arr[$keys[9]]);
$this->setDelType($arr[$keys[9]]);
}
if (array_key_exists($keys[10], $arr)) {
$this->setDelPriority($arr[$keys[10]]);
$this->setDelThread($arr[$keys[10]]);
}
if (array_key_exists($keys[11], $arr)) {
$this->setDelDelegateDate($arr[$keys[11]]);
$this->setDelThreadStatus($arr[$keys[11]]);
}
if (array_key_exists($keys[12], $arr)) {
$this->setDelInitDate($arr[$keys[12]]);
$this->setDelPriority($arr[$keys[12]]);
}
if (array_key_exists($keys[13], $arr)) {
$this->setDelFinishDate($arr[$keys[13]]);
$this->setDelDelegateDate($arr[$keys[13]]);
}
if (array_key_exists($keys[14], $arr)) {
$this->setDelTaskDueDate($arr[$keys[14]]);
$this->setDelInitDate($arr[$keys[14]]);
}
if (array_key_exists($keys[15], $arr)) {
$this->setDelRiskDate($arr[$keys[15]]);
$this->setDelFinishDate($arr[$keys[15]]);
}
if (array_key_exists($keys[16], $arr)) {
$this->setDelDuration($arr[$keys[16]]);
$this->setDelTaskDueDate($arr[$keys[16]]);
}
if (array_key_exists($keys[17], $arr)) {
$this->setDelQueueDuration($arr[$keys[17]]);
$this->setDelRiskDate($arr[$keys[17]]);
}
if (array_key_exists($keys[18], $arr)) {
$this->setDelDelayDuration($arr[$keys[18]]);
$this->setDelDuration($arr[$keys[18]]);
}
if (array_key_exists($keys[19], $arr)) {
$this->setDelStarted($arr[$keys[19]]);
$this->setDelQueueDuration($arr[$keys[19]]);
}
if (array_key_exists($keys[20], $arr)) {
$this->setDelFinished($arr[$keys[20]]);
$this->setDelDelayDuration($arr[$keys[20]]);
}
if (array_key_exists($keys[21], $arr)) {
$this->setDelDelayed($arr[$keys[21]]);
$this->setDelStarted($arr[$keys[21]]);
}
if (array_key_exists($keys[22], $arr)) {
$this->setDelData($arr[$keys[22]]);
$this->setDelFinished($arr[$keys[22]]);
}
if (array_key_exists($keys[23], $arr)) {
$this->setAppOverduePercentage($arr[$keys[23]]);
$this->setDelDelayed($arr[$keys[23]]);
}
if (array_key_exists($keys[24], $arr)) {
$this->setDelData($arr[$keys[24]]);
}
if (array_key_exists($keys[25], $arr)) {
$this->setAppOverduePercentage($arr[$keys[25]]);
}
if (array_key_exists($keys[26], $arr)) {
$this->setUsrId($arr[$keys[26]]);
}
if (array_key_exists($keys[27], $arr)) {
$this->setProId($arr[$keys[27]]);
}
if (array_key_exists($keys[28], $arr)) {
$this->setTasId($arr[$keys[28]]);
}
}
@@ -1724,6 +1984,14 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
$criteria->add(AppDelegationPeer::DEL_INDEX, $this->del_index);
}
if ($this->isColumnModified(AppDelegationPeer::DELEGATION_ID)) {
$criteria->add(AppDelegationPeer::DELEGATION_ID, $this->delegation_id);
}
if ($this->isColumnModified(AppDelegationPeer::APP_NUMBER)) {
$criteria->add(AppDelegationPeer::APP_NUMBER, $this->app_number);
}
if ($this->isColumnModified(AppDelegationPeer::DEL_PREVIOUS)) {
$criteria->add(AppDelegationPeer::DEL_PREVIOUS, $this->del_previous);
}
@@ -1812,6 +2080,18 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
$criteria->add(AppDelegationPeer::APP_OVERDUE_PERCENTAGE, $this->app_overdue_percentage);
}
if ($this->isColumnModified(AppDelegationPeer::USR_ID)) {
$criteria->add(AppDelegationPeer::USR_ID, $this->usr_id);
}
if ($this->isColumnModified(AppDelegationPeer::PRO_ID)) {
$criteria->add(AppDelegationPeer::PRO_ID, $this->pro_id);
}
if ($this->isColumnModified(AppDelegationPeer::TAS_ID)) {
$criteria->add(AppDelegationPeer::TAS_ID, $this->tas_id);
}
return $criteria;
}
@@ -1878,6 +2158,10 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
public function copyInto($copyObj, $deepCopy = false)
{
$copyObj->setDelegationId($this->delegation_id);
$copyObj->setAppNumber($this->app_number);
$copyObj->setDelPrevious($this->del_previous);
$copyObj->setDelLastIndex($this->del_last_index);
@@ -1922,6 +2206,12 @@ abstract class BaseAppDelegation extends BaseObject implements Persistent
$copyObj->setAppOverduePercentage($this->app_overdue_percentage);
$copyObj->setUsrId($this->usr_id);
$copyObj->setProId($this->pro_id);
$copyObj->setTasId($this->tas_id);
$copyObj->setNew(true);

View File

@@ -25,7 +25,7 @@ abstract class BaseAppDelegationPeer
const CLASS_DEFAULT = 'classes.model.AppDelegation';
/** The total number of columns. */
const NUM_COLUMNS = 24;
const NUM_COLUMNS = 29;
/** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0;
@@ -37,6 +37,12 @@ abstract class BaseAppDelegationPeer
/** the column name for the DEL_INDEX field */
const DEL_INDEX = 'APP_DELEGATION.DEL_INDEX';
/** the column name for the DELEGATION_ID field */
const DELEGATION_ID = 'APP_DELEGATION.DELEGATION_ID';
/** the column name for the APP_NUMBER field */
const APP_NUMBER = 'APP_DELEGATION.APP_NUMBER';
/** the column name for the DEL_PREVIOUS field */
const DEL_PREVIOUS = 'APP_DELEGATION.DEL_PREVIOUS';
@@ -103,6 +109,15 @@ abstract class BaseAppDelegationPeer
/** the column name for the APP_OVERDUE_PERCENTAGE field */
const APP_OVERDUE_PERCENTAGE = 'APP_DELEGATION.APP_OVERDUE_PERCENTAGE';
/** the column name for the USR_ID field */
const USR_ID = 'APP_DELEGATION.USR_ID';
/** the column name for the PRO_ID field */
const PRO_ID = 'APP_DELEGATION.PRO_ID';
/** the column name for the TAS_ID field */
const TAS_ID = 'APP_DELEGATION.TAS_ID';
/** The PHP to DB Name Mapping */
private static $phpNameMap = null;
@@ -114,10 +129,10 @@ abstract class BaseAppDelegationPeer
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
*/
private static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('AppUid', 'DelIndex', 'DelPrevious', 'DelLastIndex', 'ProUid', 'TasUid', 'UsrUid', 'DelType', 'DelThread', 'DelThreadStatus', 'DelPriority', 'DelDelegateDate', 'DelInitDate', 'DelFinishDate', 'DelTaskDueDate', 'DelRiskDate', 'DelDuration', 'DelQueueDuration', 'DelDelayDuration', 'DelStarted', 'DelFinished', 'DelDelayed', 'DelData', 'AppOverduePercentage', ),
BasePeer::TYPE_COLNAME => array (AppDelegationPeer::APP_UID, AppDelegationPeer::DEL_INDEX, AppDelegationPeer::DEL_PREVIOUS, AppDelegationPeer::DEL_LAST_INDEX, AppDelegationPeer::PRO_UID, AppDelegationPeer::TAS_UID, AppDelegationPeer::USR_UID, AppDelegationPeer::DEL_TYPE, AppDelegationPeer::DEL_THREAD, AppDelegationPeer::DEL_THREAD_STATUS, AppDelegationPeer::DEL_PRIORITY, AppDelegationPeer::DEL_DELEGATE_DATE, AppDelegationPeer::DEL_INIT_DATE, AppDelegationPeer::DEL_FINISH_DATE, AppDelegationPeer::DEL_TASK_DUE_DATE, AppDelegationPeer::DEL_RISK_DATE, AppDelegationPeer::DEL_DURATION, AppDelegationPeer::DEL_QUEUE_DURATION, AppDelegationPeer::DEL_DELAY_DURATION, AppDelegationPeer::DEL_STARTED, AppDelegationPeer::DEL_FINISHED, AppDelegationPeer::DEL_DELAYED, AppDelegationPeer::DEL_DATA, AppDelegationPeer::APP_OVERDUE_PERCENTAGE, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'DEL_INDEX', 'DEL_PREVIOUS', 'DEL_LAST_INDEX', 'PRO_UID', 'TAS_UID', 'USR_UID', 'DEL_TYPE', 'DEL_THREAD', 'DEL_THREAD_STATUS', 'DEL_PRIORITY', 'DEL_DELEGATE_DATE', 'DEL_INIT_DATE', 'DEL_FINISH_DATE', 'DEL_TASK_DUE_DATE', 'DEL_RISK_DATE', 'DEL_DURATION', 'DEL_QUEUE_DURATION', 'DEL_DELAY_DURATION', 'DEL_STARTED', 'DEL_FINISHED', 'DEL_DELAYED', 'DEL_DATA', 'APP_OVERDUE_PERCENTAGE', ),
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, 23, )
BasePeer::TYPE_PHPNAME => array ('AppUid', 'DelIndex', 'DelegationId', 'AppNumber', 'DelPrevious', 'DelLastIndex', 'ProUid', 'TasUid', 'UsrUid', 'DelType', 'DelThread', 'DelThreadStatus', 'DelPriority', 'DelDelegateDate', 'DelInitDate', 'DelFinishDate', 'DelTaskDueDate', 'DelRiskDate', 'DelDuration', 'DelQueueDuration', 'DelDelayDuration', 'DelStarted', 'DelFinished', 'DelDelayed', 'DelData', 'AppOverduePercentage', 'UsrId', 'ProId', 'TasId', ),
BasePeer::TYPE_COLNAME => array (AppDelegationPeer::APP_UID, AppDelegationPeer::DEL_INDEX, AppDelegationPeer::DELEGATION_ID, AppDelegationPeer::APP_NUMBER, AppDelegationPeer::DEL_PREVIOUS, AppDelegationPeer::DEL_LAST_INDEX, AppDelegationPeer::PRO_UID, AppDelegationPeer::TAS_UID, AppDelegationPeer::USR_UID, AppDelegationPeer::DEL_TYPE, AppDelegationPeer::DEL_THREAD, AppDelegationPeer::DEL_THREAD_STATUS, AppDelegationPeer::DEL_PRIORITY, AppDelegationPeer::DEL_DELEGATE_DATE, AppDelegationPeer::DEL_INIT_DATE, AppDelegationPeer::DEL_FINISH_DATE, AppDelegationPeer::DEL_TASK_DUE_DATE, AppDelegationPeer::DEL_RISK_DATE, AppDelegationPeer::DEL_DURATION, AppDelegationPeer::DEL_QUEUE_DURATION, AppDelegationPeer::DEL_DELAY_DURATION, AppDelegationPeer::DEL_STARTED, AppDelegationPeer::DEL_FINISHED, AppDelegationPeer::DEL_DELAYED, AppDelegationPeer::DEL_DATA, AppDelegationPeer::APP_OVERDUE_PERCENTAGE, AppDelegationPeer::USR_ID, AppDelegationPeer::PRO_ID, AppDelegationPeer::TAS_ID, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'DEL_INDEX', 'DELEGATION_ID', 'APP_NUMBER', 'DEL_PREVIOUS', 'DEL_LAST_INDEX', 'PRO_UID', 'TAS_UID', 'USR_UID', 'DEL_TYPE', 'DEL_THREAD', 'DEL_THREAD_STATUS', 'DEL_PRIORITY', 'DEL_DELEGATE_DATE', 'DEL_INIT_DATE', 'DEL_FINISH_DATE', 'DEL_TASK_DUE_DATE', 'DEL_RISK_DATE', 'DEL_DURATION', 'DEL_QUEUE_DURATION', 'DEL_DELAY_DURATION', 'DEL_STARTED', 'DEL_FINISHED', 'DEL_DELAYED', 'DEL_DATA', 'APP_OVERDUE_PERCENTAGE', 'USR_ID', 'PRO_ID', 'TAS_ID', ),
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, 23, 24, 25, 26, 27, 28, )
);
/**
@@ -127,10 +142,10 @@ abstract class BaseAppDelegationPeer
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/
private static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'DelIndex' => 1, 'DelPrevious' => 2, 'DelLastIndex' => 3, 'ProUid' => 4, 'TasUid' => 5, 'UsrUid' => 6, 'DelType' => 7, 'DelThread' => 8, 'DelThreadStatus' => 9, 'DelPriority' => 10, 'DelDelegateDate' => 11, 'DelInitDate' => 12, 'DelFinishDate' => 13, 'DelTaskDueDate' => 14, 'DelRiskDate' => 15, 'DelDuration' => 16, 'DelQueueDuration' => 17, 'DelDelayDuration' => 18, 'DelStarted' => 19, 'DelFinished' => 20, 'DelDelayed' => 21, 'DelData' => 22, 'AppOverduePercentage' => 23, ),
BasePeer::TYPE_COLNAME => array (AppDelegationPeer::APP_UID => 0, AppDelegationPeer::DEL_INDEX => 1, AppDelegationPeer::DEL_PREVIOUS => 2, AppDelegationPeer::DEL_LAST_INDEX => 3, AppDelegationPeer::PRO_UID => 4, AppDelegationPeer::TAS_UID => 5, AppDelegationPeer::USR_UID => 6, AppDelegationPeer::DEL_TYPE => 7, AppDelegationPeer::DEL_THREAD => 8, AppDelegationPeer::DEL_THREAD_STATUS => 9, AppDelegationPeer::DEL_PRIORITY => 10, AppDelegationPeer::DEL_DELEGATE_DATE => 11, AppDelegationPeer::DEL_INIT_DATE => 12, AppDelegationPeer::DEL_FINISH_DATE => 13, AppDelegationPeer::DEL_TASK_DUE_DATE => 14, AppDelegationPeer::DEL_RISK_DATE => 15, AppDelegationPeer::DEL_DURATION => 16, AppDelegationPeer::DEL_QUEUE_DURATION => 17, AppDelegationPeer::DEL_DELAY_DURATION => 18, AppDelegationPeer::DEL_STARTED => 19, AppDelegationPeer::DEL_FINISHED => 20, AppDelegationPeer::DEL_DELAYED => 21, AppDelegationPeer::DEL_DATA => 22, AppDelegationPeer::APP_OVERDUE_PERCENTAGE => 23, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'DEL_INDEX' => 1, 'DEL_PREVIOUS' => 2, 'DEL_LAST_INDEX' => 3, 'PRO_UID' => 4, 'TAS_UID' => 5, 'USR_UID' => 6, 'DEL_TYPE' => 7, 'DEL_THREAD' => 8, 'DEL_THREAD_STATUS' => 9, 'DEL_PRIORITY' => 10, 'DEL_DELEGATE_DATE' => 11, 'DEL_INIT_DATE' => 12, 'DEL_FINISH_DATE' => 13, 'DEL_TASK_DUE_DATE' => 14, 'DEL_RISK_DATE' => 15, 'DEL_DURATION' => 16, 'DEL_QUEUE_DURATION' => 17, 'DEL_DELAY_DURATION' => 18, 'DEL_STARTED' => 19, 'DEL_FINISHED' => 20, 'DEL_DELAYED' => 21, 'DEL_DATA' => 22, 'APP_OVERDUE_PERCENTAGE' => 23, ),
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, 23, )
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'DelIndex' => 1, 'DelegationId' => 2, 'AppNumber' => 3, 'DelPrevious' => 4, 'DelLastIndex' => 5, 'ProUid' => 6, 'TasUid' => 7, 'UsrUid' => 8, 'DelType' => 9, 'DelThread' => 10, 'DelThreadStatus' => 11, 'DelPriority' => 12, 'DelDelegateDate' => 13, 'DelInitDate' => 14, 'DelFinishDate' => 15, 'DelTaskDueDate' => 16, 'DelRiskDate' => 17, 'DelDuration' => 18, 'DelQueueDuration' => 19, 'DelDelayDuration' => 20, 'DelStarted' => 21, 'DelFinished' => 22, 'DelDelayed' => 23, 'DelData' => 24, 'AppOverduePercentage' => 25, 'UsrId' => 26, 'ProId' => 27, 'TasId' => 28, ),
BasePeer::TYPE_COLNAME => array (AppDelegationPeer::APP_UID => 0, AppDelegationPeer::DEL_INDEX => 1, AppDelegationPeer::DELEGATION_ID => 2, AppDelegationPeer::APP_NUMBER => 3, AppDelegationPeer::DEL_PREVIOUS => 4, AppDelegationPeer::DEL_LAST_INDEX => 5, AppDelegationPeer::PRO_UID => 6, AppDelegationPeer::TAS_UID => 7, AppDelegationPeer::USR_UID => 8, AppDelegationPeer::DEL_TYPE => 9, AppDelegationPeer::DEL_THREAD => 10, AppDelegationPeer::DEL_THREAD_STATUS => 11, AppDelegationPeer::DEL_PRIORITY => 12, AppDelegationPeer::DEL_DELEGATE_DATE => 13, AppDelegationPeer::DEL_INIT_DATE => 14, AppDelegationPeer::DEL_FINISH_DATE => 15, AppDelegationPeer::DEL_TASK_DUE_DATE => 16, AppDelegationPeer::DEL_RISK_DATE => 17, AppDelegationPeer::DEL_DURATION => 18, AppDelegationPeer::DEL_QUEUE_DURATION => 19, AppDelegationPeer::DEL_DELAY_DURATION => 20, AppDelegationPeer::DEL_STARTED => 21, AppDelegationPeer::DEL_FINISHED => 22, AppDelegationPeer::DEL_DELAYED => 23, AppDelegationPeer::DEL_DATA => 24, AppDelegationPeer::APP_OVERDUE_PERCENTAGE => 25, AppDelegationPeer::USR_ID => 26, AppDelegationPeer::PRO_ID => 27, AppDelegationPeer::TAS_ID => 28, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'DEL_INDEX' => 1, 'DELEGATION_ID' => 2, 'APP_NUMBER' => 3, 'DEL_PREVIOUS' => 4, 'DEL_LAST_INDEX' => 5, 'PRO_UID' => 6, 'TAS_UID' => 7, 'USR_UID' => 8, 'DEL_TYPE' => 9, 'DEL_THREAD' => 10, 'DEL_THREAD_STATUS' => 11, 'DEL_PRIORITY' => 12, 'DEL_DELEGATE_DATE' => 13, 'DEL_INIT_DATE' => 14, 'DEL_FINISH_DATE' => 15, 'DEL_TASK_DUE_DATE' => 16, 'DEL_RISK_DATE' => 17, 'DEL_DURATION' => 18, 'DEL_QUEUE_DURATION' => 19, 'DEL_DELAY_DURATION' => 20, 'DEL_STARTED' => 21, 'DEL_FINISHED' => 22, 'DEL_DELAYED' => 23, 'DEL_DATA' => 24, 'APP_OVERDUE_PERCENTAGE' => 25, 'USR_ID' => 26, 'PRO_ID' => 27, 'TAS_ID' => 28, ),
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, 23, 24, 25, 26, 27, 28, )
);
/**
@@ -235,6 +250,10 @@ abstract class BaseAppDelegationPeer
$criteria->addSelectColumn(AppDelegationPeer::DEL_INDEX);
$criteria->addSelectColumn(AppDelegationPeer::DELEGATION_ID);
$criteria->addSelectColumn(AppDelegationPeer::APP_NUMBER);
$criteria->addSelectColumn(AppDelegationPeer::DEL_PREVIOUS);
$criteria->addSelectColumn(AppDelegationPeer::DEL_LAST_INDEX);
@@ -279,6 +298,12 @@ abstract class BaseAppDelegationPeer
$criteria->addSelectColumn(AppDelegationPeer::APP_OVERDUE_PERCENTAGE);
$criteria->addSelectColumn(AppDelegationPeer::USR_ID);
$criteria->addSelectColumn(AppDelegationPeer::PRO_ID);
$criteria->addSelectColumn(AppDelegationPeer::TAS_ID);
}
const COUNT = 'COUNT(APP_DELEGATION.APP_UID)';

View File

@@ -57,6 +57,18 @@ abstract class BaseAppThread extends BaseObject implements Persistent
*/
protected $del_index = 0;
/**
* The value for the app_number field.
* @var int
*/
protected $app_number = 0;
/**
* The value for the delegation_id field.
* @var int
*/
protected $delegation_id = 0;
/**
* Flag to prevent endless save loop, if this object is referenced
* by another object which falls in this transaction.
@@ -126,6 +138,28 @@ abstract class BaseAppThread extends BaseObject implements Persistent
return $this->del_index;
}
/**
* Get the [app_number] column value.
*
* @return int
*/
public function getAppNumber()
{
return $this->app_number;
}
/**
* Get the [delegation_id] column value.
*
* @return int
*/
public function getDelegationId()
{
return $this->delegation_id;
}
/**
* Set the value of [app_uid] column.
*
@@ -236,6 +270,50 @@ abstract class BaseAppThread extends BaseObject implements Persistent
} // setDelIndex()
/**
* Set the value of [app_number] column.
*
* @param int $v new value
* @return void
*/
public function setAppNumber($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->app_number !== $v || $v === 0) {
$this->app_number = $v;
$this->modifiedColumns[] = AppThreadPeer::APP_NUMBER;
}
} // setAppNumber()
/**
* Set the value of [delegation_id] column.
*
* @param int $v new value
* @return void
*/
public function setDelegationId($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->delegation_id !== $v || $v === 0) {
$this->delegation_id = $v;
$this->modifiedColumns[] = AppThreadPeer::DELEGATION_ID;
}
} // setDelegationId()
/**
* Hydrates (populates) the object variables with values from the database resultset.
*
@@ -263,12 +341,16 @@ abstract class BaseAppThread extends BaseObject implements Persistent
$this->del_index = $rs->getInt($startcol + 4);
$this->app_number = $rs->getInt($startcol + 5);
$this->delegation_id = $rs->getInt($startcol + 6);
$this->resetModified();
$this->setNew(false);
// FIXME - using NUM_COLUMNS may be clearer.
return $startcol + 5; // 5 = AppThreadPeer::NUM_COLUMNS - AppThreadPeer::NUM_LAZY_LOAD_COLUMNS).
return $startcol + 7; // 7 = AppThreadPeer::NUM_COLUMNS - AppThreadPeer::NUM_LAZY_LOAD_COLUMNS).
} catch (Exception $e) {
throw new PropelException("Error populating AppThread object", $e);
@@ -487,6 +569,12 @@ abstract class BaseAppThread extends BaseObject implements Persistent
case 4:
return $this->getDelIndex();
break;
case 5:
return $this->getAppNumber();
break;
case 6:
return $this->getDelegationId();
break;
default:
return null;
break;
@@ -512,6 +600,8 @@ abstract class BaseAppThread extends BaseObject implements Persistent
$keys[2] => $this->getAppThreadParent(),
$keys[3] => $this->getAppThreadStatus(),
$keys[4] => $this->getDelIndex(),
$keys[5] => $this->getAppNumber(),
$keys[6] => $this->getDelegationId(),
);
return $result;
}
@@ -558,6 +648,12 @@ abstract class BaseAppThread extends BaseObject implements Persistent
case 4:
$this->setDelIndex($value);
break;
case 5:
$this->setAppNumber($value);
break;
case 6:
$this->setDelegationId($value);
break;
} // switch()
}
@@ -601,6 +697,14 @@ abstract class BaseAppThread extends BaseObject implements Persistent
$this->setDelIndex($arr[$keys[4]]);
}
if (array_key_exists($keys[5], $arr)) {
$this->setAppNumber($arr[$keys[5]]);
}
if (array_key_exists($keys[6], $arr)) {
$this->setDelegationId($arr[$keys[6]]);
}
}
/**
@@ -632,6 +736,14 @@ abstract class BaseAppThread extends BaseObject implements Persistent
$criteria->add(AppThreadPeer::DEL_INDEX, $this->del_index);
}
if ($this->isColumnModified(AppThreadPeer::APP_NUMBER)) {
$criteria->add(AppThreadPeer::APP_NUMBER, $this->app_number);
}
if ($this->isColumnModified(AppThreadPeer::DELEGATION_ID)) {
$criteria->add(AppThreadPeer::DELEGATION_ID, $this->delegation_id);
}
return $criteria;
}
@@ -704,6 +816,10 @@ abstract class BaseAppThread extends BaseObject implements Persistent
$copyObj->setDelIndex($this->del_index);
$copyObj->setAppNumber($this->app_number);
$copyObj->setDelegationId($this->delegation_id);
$copyObj->setNew(true);

View File

@@ -25,7 +25,7 @@ abstract class BaseAppThreadPeer
const CLASS_DEFAULT = 'classes.model.AppThread';
/** The total number of columns. */
const NUM_COLUMNS = 5;
const NUM_COLUMNS = 7;
/** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0;
@@ -46,6 +46,12 @@ abstract class BaseAppThreadPeer
/** the column name for the DEL_INDEX field */
const DEL_INDEX = 'APP_THREAD.DEL_INDEX';
/** the column name for the APP_NUMBER field */
const APP_NUMBER = 'APP_THREAD.APP_NUMBER';
/** the column name for the DELEGATION_ID field */
const DELEGATION_ID = 'APP_THREAD.DELEGATION_ID';
/** The PHP to DB Name Mapping */
private static $phpNameMap = null;
@@ -57,10 +63,10 @@ abstract class BaseAppThreadPeer
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
*/
private static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('AppUid', 'AppThreadIndex', 'AppThreadParent', 'AppThreadStatus', 'DelIndex', ),
BasePeer::TYPE_COLNAME => array (AppThreadPeer::APP_UID, AppThreadPeer::APP_THREAD_INDEX, AppThreadPeer::APP_THREAD_PARENT, AppThreadPeer::APP_THREAD_STATUS, AppThreadPeer::DEL_INDEX, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'APP_THREAD_INDEX', 'APP_THREAD_PARENT', 'APP_THREAD_STATUS', 'DEL_INDEX', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, )
BasePeer::TYPE_PHPNAME => array ('AppUid', 'AppThreadIndex', 'AppThreadParent', 'AppThreadStatus', 'DelIndex', 'AppNumber', 'DelegationId', ),
BasePeer::TYPE_COLNAME => array (AppThreadPeer::APP_UID, AppThreadPeer::APP_THREAD_INDEX, AppThreadPeer::APP_THREAD_PARENT, AppThreadPeer::APP_THREAD_STATUS, AppThreadPeer::DEL_INDEX, AppThreadPeer::APP_NUMBER, AppThreadPeer::DELEGATION_ID, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'APP_THREAD_INDEX', 'APP_THREAD_PARENT', 'APP_THREAD_STATUS', 'DEL_INDEX', 'APP_NUMBER', 'DELEGATION_ID', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, )
);
/**
@@ -70,10 +76,10 @@ abstract class BaseAppThreadPeer
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/
private static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'AppThreadIndex' => 1, 'AppThreadParent' => 2, 'AppThreadStatus' => 3, 'DelIndex' => 4, ),
BasePeer::TYPE_COLNAME => array (AppThreadPeer::APP_UID => 0, AppThreadPeer::APP_THREAD_INDEX => 1, AppThreadPeer::APP_THREAD_PARENT => 2, AppThreadPeer::APP_THREAD_STATUS => 3, AppThreadPeer::DEL_INDEX => 4, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'APP_THREAD_INDEX' => 1, 'APP_THREAD_PARENT' => 2, 'APP_THREAD_STATUS' => 3, 'DEL_INDEX' => 4, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, )
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'AppThreadIndex' => 1, 'AppThreadParent' => 2, 'AppThreadStatus' => 3, 'DelIndex' => 4, 'AppNumber' => 5, 'DelegationId' => 6, ),
BasePeer::TYPE_COLNAME => array (AppThreadPeer::APP_UID => 0, AppThreadPeer::APP_THREAD_INDEX => 1, AppThreadPeer::APP_THREAD_PARENT => 2, AppThreadPeer::APP_THREAD_STATUS => 3, AppThreadPeer::DEL_INDEX => 4, AppThreadPeer::APP_NUMBER => 5, AppThreadPeer::DELEGATION_ID => 6, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'APP_THREAD_INDEX' => 1, 'APP_THREAD_PARENT' => 2, 'APP_THREAD_STATUS' => 3, 'DEL_INDEX' => 4, 'APP_NUMBER' => 5, 'DELEGATION_ID' => 6, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, )
);
/**
@@ -184,6 +190,10 @@ abstract class BaseAppThreadPeer
$criteria->addSelectColumn(AppThreadPeer::DEL_INDEX);
$criteria->addSelectColumn(AppThreadPeer::APP_NUMBER);
$criteria->addSelectColumn(AppThreadPeer::DELEGATION_ID);
}
const COUNT = 'COUNT(APP_THREAD.APP_UID)';

View File

@@ -63,6 +63,12 @@ abstract class BaseApplication extends BaseObject implements Persistent
*/
protected $app_status = '';
/**
* The value for the app_status_id field.
* @var int
*/
protected $app_status_id = 1;
/**
* The value for the pro_uid field.
* @var string
@@ -239,6 +245,17 @@ abstract class BaseApplication extends BaseObject implements Persistent
return $this->app_status;
}
/**
* Get the [app_status_id] column value.
*
* @return int
*/
public function getAppStatusId()
{
return $this->app_status_id;
}
/**
* Get the [pro_uid] column value.
*
@@ -631,6 +648,28 @@ abstract class BaseApplication extends BaseObject implements Persistent
} // setAppStatus()
/**
* Set the value of [app_status_id] column.
*
* @param int $v new value
* @return void
*/
public function setAppStatusId($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->app_status_id !== $v || $v === 1) {
$this->app_status_id = $v;
$this->modifiedColumns[] = ApplicationPeer::APP_STATUS_ID;
}
} // setAppStatusId()
/**
* Set the value of [pro_uid] column.
*
@@ -1028,44 +1067,46 @@ abstract class BaseApplication extends BaseObject implements Persistent
$this->app_status = $rs->getString($startcol + 5);
$this->pro_uid = $rs->getString($startcol + 6);
$this->app_status_id = $rs->getInt($startcol + 6);
$this->app_proc_status = $rs->getString($startcol + 7);
$this->pro_uid = $rs->getString($startcol + 7);
$this->app_proc_code = $rs->getString($startcol + 8);
$this->app_proc_status = $rs->getString($startcol + 8);
$this->app_parallel = $rs->getString($startcol + 9);
$this->app_proc_code = $rs->getString($startcol + 9);
$this->app_init_user = $rs->getString($startcol + 10);
$this->app_parallel = $rs->getString($startcol + 10);
$this->app_cur_user = $rs->getString($startcol + 11);
$this->app_init_user = $rs->getString($startcol + 11);
$this->app_create_date = $rs->getTimestamp($startcol + 12, null);
$this->app_cur_user = $rs->getString($startcol + 12);
$this->app_init_date = $rs->getTimestamp($startcol + 13, null);
$this->app_create_date = $rs->getTimestamp($startcol + 13, null);
$this->app_finish_date = $rs->getTimestamp($startcol + 14, null);
$this->app_init_date = $rs->getTimestamp($startcol + 14, null);
$this->app_update_date = $rs->getTimestamp($startcol + 15, null);
$this->app_finish_date = $rs->getTimestamp($startcol + 15, null);
$this->app_data = $rs->getString($startcol + 16);
$this->app_update_date = $rs->getTimestamp($startcol + 16, null);
$this->app_pin = $rs->getString($startcol + 17);
$this->app_data = $rs->getString($startcol + 17);
$this->app_duration = $rs->getFloat($startcol + 18);
$this->app_pin = $rs->getString($startcol + 18);
$this->app_delay_duration = $rs->getFloat($startcol + 19);
$this->app_duration = $rs->getFloat($startcol + 19);
$this->app_drive_folder_uid = $rs->getString($startcol + 20);
$this->app_delay_duration = $rs->getFloat($startcol + 20);
$this->app_routing_data = $rs->getString($startcol + 21);
$this->app_drive_folder_uid = $rs->getString($startcol + 21);
$this->app_routing_data = $rs->getString($startcol + 22);
$this->resetModified();
$this->setNew(false);
// FIXME - using NUM_COLUMNS may be clearer.
return $startcol + 22; // 22 = ApplicationPeer::NUM_COLUMNS - ApplicationPeer::NUM_LAZY_LOAD_COLUMNS).
return $startcol + 23; // 23 = ApplicationPeer::NUM_COLUMNS - ApplicationPeer::NUM_LAZY_LOAD_COLUMNS).
} catch (Exception $e) {
throw new PropelException("Error populating Application object", $e);
@@ -1288,51 +1329,54 @@ abstract class BaseApplication extends BaseObject implements Persistent
return $this->getAppStatus();
break;
case 6:
return $this->getProUid();
return $this->getAppStatusId();
break;
case 7:
return $this->getAppProcStatus();
return $this->getProUid();
break;
case 8:
return $this->getAppProcCode();
return $this->getAppProcStatus();
break;
case 9:
return $this->getAppParallel();
return $this->getAppProcCode();
break;
case 10:
return $this->getAppInitUser();
return $this->getAppParallel();
break;
case 11:
return $this->getAppCurUser();
return $this->getAppInitUser();
break;
case 12:
return $this->getAppCreateDate();
return $this->getAppCurUser();
break;
case 13:
return $this->getAppInitDate();
return $this->getAppCreateDate();
break;
case 14:
return $this->getAppFinishDate();
return $this->getAppInitDate();
break;
case 15:
return $this->getAppUpdateDate();
return $this->getAppFinishDate();
break;
case 16:
return $this->getAppData();
return $this->getAppUpdateDate();
break;
case 17:
return $this->getAppPin();
return $this->getAppData();
break;
case 18:
return $this->getAppDuration();
return $this->getAppPin();
break;
case 19:
return $this->getAppDelayDuration();
return $this->getAppDuration();
break;
case 20:
return $this->getAppDriveFolderUid();
return $this->getAppDelayDuration();
break;
case 21:
return $this->getAppDriveFolderUid();
break;
case 22:
return $this->getAppRoutingData();
break;
default:
@@ -1361,22 +1405,23 @@ abstract class BaseApplication extends BaseObject implements Persistent
$keys[3] => $this->getAppNumber(),
$keys[4] => $this->getAppParent(),
$keys[5] => $this->getAppStatus(),
$keys[6] => $this->getProUid(),
$keys[7] => $this->getAppProcStatus(),
$keys[8] => $this->getAppProcCode(),
$keys[9] => $this->getAppParallel(),
$keys[10] => $this->getAppInitUser(),
$keys[11] => $this->getAppCurUser(),
$keys[12] => $this->getAppCreateDate(),
$keys[13] => $this->getAppInitDate(),
$keys[14] => $this->getAppFinishDate(),
$keys[15] => $this->getAppUpdateDate(),
$keys[16] => $this->getAppData(),
$keys[17] => $this->getAppPin(),
$keys[18] => $this->getAppDuration(),
$keys[19] => $this->getAppDelayDuration(),
$keys[20] => $this->getAppDriveFolderUid(),
$keys[21] => $this->getAppRoutingData(),
$keys[6] => $this->getAppStatusId(),
$keys[7] => $this->getProUid(),
$keys[8] => $this->getAppProcStatus(),
$keys[9] => $this->getAppProcCode(),
$keys[10] => $this->getAppParallel(),
$keys[11] => $this->getAppInitUser(),
$keys[12] => $this->getAppCurUser(),
$keys[13] => $this->getAppCreateDate(),
$keys[14] => $this->getAppInitDate(),
$keys[15] => $this->getAppFinishDate(),
$keys[16] => $this->getAppUpdateDate(),
$keys[17] => $this->getAppData(),
$keys[18] => $this->getAppPin(),
$keys[19] => $this->getAppDuration(),
$keys[20] => $this->getAppDelayDuration(),
$keys[21] => $this->getAppDriveFolderUid(),
$keys[22] => $this->getAppRoutingData(),
);
return $result;
}
@@ -1427,51 +1472,54 @@ abstract class BaseApplication extends BaseObject implements Persistent
$this->setAppStatus($value);
break;
case 6:
$this->setProUid($value);
$this->setAppStatusId($value);
break;
case 7:
$this->setAppProcStatus($value);
$this->setProUid($value);
break;
case 8:
$this->setAppProcCode($value);
$this->setAppProcStatus($value);
break;
case 9:
$this->setAppParallel($value);
$this->setAppProcCode($value);
break;
case 10:
$this->setAppInitUser($value);
$this->setAppParallel($value);
break;
case 11:
$this->setAppCurUser($value);
$this->setAppInitUser($value);
break;
case 12:
$this->setAppCreateDate($value);
$this->setAppCurUser($value);
break;
case 13:
$this->setAppInitDate($value);
$this->setAppCreateDate($value);
break;
case 14:
$this->setAppFinishDate($value);
$this->setAppInitDate($value);
break;
case 15:
$this->setAppUpdateDate($value);
$this->setAppFinishDate($value);
break;
case 16:
$this->setAppData($value);
$this->setAppUpdateDate($value);
break;
case 17:
$this->setAppPin($value);
$this->setAppData($value);
break;
case 18:
$this->setAppDuration($value);
$this->setAppPin($value);
break;
case 19:
$this->setAppDelayDuration($value);
$this->setAppDuration($value);
break;
case 20:
$this->setAppDriveFolderUid($value);
$this->setAppDelayDuration($value);
break;
case 21:
$this->setAppDriveFolderUid($value);
break;
case 22:
$this->setAppRoutingData($value);
break;
} // switch()
@@ -1522,67 +1570,71 @@ abstract class BaseApplication extends BaseObject implements Persistent
}
if (array_key_exists($keys[6], $arr)) {
$this->setProUid($arr[$keys[6]]);
$this->setAppStatusId($arr[$keys[6]]);
}
if (array_key_exists($keys[7], $arr)) {
$this->setAppProcStatus($arr[$keys[7]]);
$this->setProUid($arr[$keys[7]]);
}
if (array_key_exists($keys[8], $arr)) {
$this->setAppProcCode($arr[$keys[8]]);
$this->setAppProcStatus($arr[$keys[8]]);
}
if (array_key_exists($keys[9], $arr)) {
$this->setAppParallel($arr[$keys[9]]);
$this->setAppProcCode($arr[$keys[9]]);
}
if (array_key_exists($keys[10], $arr)) {
$this->setAppInitUser($arr[$keys[10]]);
$this->setAppParallel($arr[$keys[10]]);
}
if (array_key_exists($keys[11], $arr)) {
$this->setAppCurUser($arr[$keys[11]]);
$this->setAppInitUser($arr[$keys[11]]);
}
if (array_key_exists($keys[12], $arr)) {
$this->setAppCreateDate($arr[$keys[12]]);
$this->setAppCurUser($arr[$keys[12]]);
}
if (array_key_exists($keys[13], $arr)) {
$this->setAppInitDate($arr[$keys[13]]);
$this->setAppCreateDate($arr[$keys[13]]);
}
if (array_key_exists($keys[14], $arr)) {
$this->setAppFinishDate($arr[$keys[14]]);
$this->setAppInitDate($arr[$keys[14]]);
}
if (array_key_exists($keys[15], $arr)) {
$this->setAppUpdateDate($arr[$keys[15]]);
$this->setAppFinishDate($arr[$keys[15]]);
}
if (array_key_exists($keys[16], $arr)) {
$this->setAppData($arr[$keys[16]]);
$this->setAppUpdateDate($arr[$keys[16]]);
}
if (array_key_exists($keys[17], $arr)) {
$this->setAppPin($arr[$keys[17]]);
$this->setAppData($arr[$keys[17]]);
}
if (array_key_exists($keys[18], $arr)) {
$this->setAppDuration($arr[$keys[18]]);
$this->setAppPin($arr[$keys[18]]);
}
if (array_key_exists($keys[19], $arr)) {
$this->setAppDelayDuration($arr[$keys[19]]);
$this->setAppDuration($arr[$keys[19]]);
}
if (array_key_exists($keys[20], $arr)) {
$this->setAppDriveFolderUid($arr[$keys[20]]);
$this->setAppDelayDuration($arr[$keys[20]]);
}
if (array_key_exists($keys[21], $arr)) {
$this->setAppRoutingData($arr[$keys[21]]);
$this->setAppDriveFolderUid($arr[$keys[21]]);
}
if (array_key_exists($keys[22], $arr)) {
$this->setAppRoutingData($arr[$keys[22]]);
}
}
@@ -1620,6 +1672,10 @@ abstract class BaseApplication extends BaseObject implements Persistent
$criteria->add(ApplicationPeer::APP_STATUS, $this->app_status);
}
if ($this->isColumnModified(ApplicationPeer::APP_STATUS_ID)) {
$criteria->add(ApplicationPeer::APP_STATUS_ID, $this->app_status_id);
}
if ($this->isColumnModified(ApplicationPeer::PRO_UID)) {
$criteria->add(ApplicationPeer::PRO_UID, $this->pro_uid);
}
@@ -1748,6 +1804,8 @@ abstract class BaseApplication extends BaseObject implements Persistent
$copyObj->setAppStatus($this->app_status);
$copyObj->setAppStatusId($this->app_status_id);
$copyObj->setProUid($this->pro_uid);
$copyObj->setAppProcStatus($this->app_proc_status);

View File

@@ -25,7 +25,7 @@ abstract class BaseApplicationPeer
const CLASS_DEFAULT = 'classes.model.Application';
/** The total number of columns. */
const NUM_COLUMNS = 22;
const NUM_COLUMNS = 23;
/** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0;
@@ -49,6 +49,9 @@ abstract class BaseApplicationPeer
/** the column name for the APP_STATUS field */
const APP_STATUS = 'APPLICATION.APP_STATUS';
/** the column name for the APP_STATUS_ID field */
const APP_STATUS_ID = 'APPLICATION.APP_STATUS_ID';
/** the column name for the PRO_UID field */
const PRO_UID = 'APPLICATION.PRO_UID';
@@ -108,10 +111,10 @@ abstract class BaseApplicationPeer
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
*/
private static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('AppUid', 'AppTitle', 'AppDescription', 'AppNumber', 'AppParent', 'AppStatus', 'ProUid', 'AppProcStatus', 'AppProcCode', 'AppParallel', 'AppInitUser', 'AppCurUser', 'AppCreateDate', 'AppInitDate', 'AppFinishDate', 'AppUpdateDate', 'AppData', 'AppPin', 'AppDuration', 'AppDelayDuration', 'AppDriveFolderUid', 'AppRoutingData', ),
BasePeer::TYPE_COLNAME => array (ApplicationPeer::APP_UID, ApplicationPeer::APP_TITLE, ApplicationPeer::APP_DESCRIPTION, ApplicationPeer::APP_NUMBER, ApplicationPeer::APP_PARENT, ApplicationPeer::APP_STATUS, ApplicationPeer::PRO_UID, ApplicationPeer::APP_PROC_STATUS, ApplicationPeer::APP_PROC_CODE, ApplicationPeer::APP_PARALLEL, ApplicationPeer::APP_INIT_USER, ApplicationPeer::APP_CUR_USER, ApplicationPeer::APP_CREATE_DATE, ApplicationPeer::APP_INIT_DATE, ApplicationPeer::APP_FINISH_DATE, ApplicationPeer::APP_UPDATE_DATE, ApplicationPeer::APP_DATA, ApplicationPeer::APP_PIN, ApplicationPeer::APP_DURATION, ApplicationPeer::APP_DELAY_DURATION, ApplicationPeer::APP_DRIVE_FOLDER_UID, ApplicationPeer::APP_ROUTING_DATA, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'APP_TITLE', 'APP_DESCRIPTION', 'APP_NUMBER', 'APP_PARENT', 'APP_STATUS', 'PRO_UID', 'APP_PROC_STATUS', 'APP_PROC_CODE', 'APP_PARALLEL', 'APP_INIT_USER', 'APP_CUR_USER', 'APP_CREATE_DATE', 'APP_INIT_DATE', 'APP_FINISH_DATE', 'APP_UPDATE_DATE', 'APP_DATA', 'APP_PIN', 'APP_DURATION', 'APP_DELAY_DURATION', 'APP_DRIVE_FOLDER_UID', 'APP_ROUTING_DATA', ),
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, )
BasePeer::TYPE_PHPNAME => array ('AppUid', 'AppTitle', 'AppDescription', 'AppNumber', 'AppParent', 'AppStatus', 'AppStatusId', 'ProUid', 'AppProcStatus', 'AppProcCode', 'AppParallel', 'AppInitUser', 'AppCurUser', 'AppCreateDate', 'AppInitDate', 'AppFinishDate', 'AppUpdateDate', 'AppData', 'AppPin', 'AppDuration', 'AppDelayDuration', 'AppDriveFolderUid', 'AppRoutingData', ),
BasePeer::TYPE_COLNAME => array (ApplicationPeer::APP_UID, ApplicationPeer::APP_TITLE, ApplicationPeer::APP_DESCRIPTION, ApplicationPeer::APP_NUMBER, ApplicationPeer::APP_PARENT, ApplicationPeer::APP_STATUS, ApplicationPeer::APP_STATUS_ID, ApplicationPeer::PRO_UID, ApplicationPeer::APP_PROC_STATUS, ApplicationPeer::APP_PROC_CODE, ApplicationPeer::APP_PARALLEL, ApplicationPeer::APP_INIT_USER, ApplicationPeer::APP_CUR_USER, ApplicationPeer::APP_CREATE_DATE, ApplicationPeer::APP_INIT_DATE, ApplicationPeer::APP_FINISH_DATE, ApplicationPeer::APP_UPDATE_DATE, ApplicationPeer::APP_DATA, ApplicationPeer::APP_PIN, ApplicationPeer::APP_DURATION, ApplicationPeer::APP_DELAY_DURATION, ApplicationPeer::APP_DRIVE_FOLDER_UID, ApplicationPeer::APP_ROUTING_DATA, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID', 'APP_TITLE', 'APP_DESCRIPTION', 'APP_NUMBER', 'APP_PARENT', 'APP_STATUS', 'APP_STATUS_ID', 'PRO_UID', 'APP_PROC_STATUS', 'APP_PROC_CODE', 'APP_PARALLEL', 'APP_INIT_USER', 'APP_CUR_USER', 'APP_CREATE_DATE', 'APP_INIT_DATE', 'APP_FINISH_DATE', 'APP_UPDATE_DATE', 'APP_DATA', 'APP_PIN', 'APP_DURATION', 'APP_DELAY_DURATION', 'APP_DRIVE_FOLDER_UID', 'APP_ROUTING_DATA', ),
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, )
);
/**
@@ -121,10 +124,10 @@ abstract class BaseApplicationPeer
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/
private static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'AppTitle' => 1, 'AppDescription' => 2, 'AppNumber' => 3, 'AppParent' => 4, 'AppStatus' => 5, 'ProUid' => 6, 'AppProcStatus' => 7, 'AppProcCode' => 8, 'AppParallel' => 9, 'AppInitUser' => 10, 'AppCurUser' => 11, 'AppCreateDate' => 12, 'AppInitDate' => 13, 'AppFinishDate' => 14, 'AppUpdateDate' => 15, 'AppData' => 16, 'AppPin' => 17, 'AppDuration' => 18, 'AppDelayDuration' => 19, 'AppDriveFolderUid' => 20, 'AppRoutingData' => 21, ),
BasePeer::TYPE_COLNAME => array (ApplicationPeer::APP_UID => 0, ApplicationPeer::APP_TITLE => 1, ApplicationPeer::APP_DESCRIPTION => 2, ApplicationPeer::APP_NUMBER => 3, ApplicationPeer::APP_PARENT => 4, ApplicationPeer::APP_STATUS => 5, ApplicationPeer::PRO_UID => 6, ApplicationPeer::APP_PROC_STATUS => 7, ApplicationPeer::APP_PROC_CODE => 8, ApplicationPeer::APP_PARALLEL => 9, ApplicationPeer::APP_INIT_USER => 10, ApplicationPeer::APP_CUR_USER => 11, ApplicationPeer::APP_CREATE_DATE => 12, ApplicationPeer::APP_INIT_DATE => 13, ApplicationPeer::APP_FINISH_DATE => 14, ApplicationPeer::APP_UPDATE_DATE => 15, ApplicationPeer::APP_DATA => 16, ApplicationPeer::APP_PIN => 17, ApplicationPeer::APP_DURATION => 18, ApplicationPeer::APP_DELAY_DURATION => 19, ApplicationPeer::APP_DRIVE_FOLDER_UID => 20, ApplicationPeer::APP_ROUTING_DATA => 21, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'APP_TITLE' => 1, 'APP_DESCRIPTION' => 2, 'APP_NUMBER' => 3, 'APP_PARENT' => 4, 'APP_STATUS' => 5, 'PRO_UID' => 6, 'APP_PROC_STATUS' => 7, 'APP_PROC_CODE' => 8, 'APP_PARALLEL' => 9, 'APP_INIT_USER' => 10, 'APP_CUR_USER' => 11, 'APP_CREATE_DATE' => 12, 'APP_INIT_DATE' => 13, 'APP_FINISH_DATE' => 14, 'APP_UPDATE_DATE' => 15, 'APP_DATA' => 16, 'APP_PIN' => 17, 'APP_DURATION' => 18, 'APP_DELAY_DURATION' => 19, 'APP_DRIVE_FOLDER_UID' => 20, 'APP_ROUTING_DATA' => 21, ),
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, )
BasePeer::TYPE_PHPNAME => array ('AppUid' => 0, 'AppTitle' => 1, 'AppDescription' => 2, 'AppNumber' => 3, 'AppParent' => 4, 'AppStatus' => 5, 'AppStatusId' => 6, 'ProUid' => 7, 'AppProcStatus' => 8, 'AppProcCode' => 9, 'AppParallel' => 10, 'AppInitUser' => 11, 'AppCurUser' => 12, 'AppCreateDate' => 13, 'AppInitDate' => 14, 'AppFinishDate' => 15, 'AppUpdateDate' => 16, 'AppData' => 17, 'AppPin' => 18, 'AppDuration' => 19, 'AppDelayDuration' => 20, 'AppDriveFolderUid' => 21, 'AppRoutingData' => 22, ),
BasePeer::TYPE_COLNAME => array (ApplicationPeer::APP_UID => 0, ApplicationPeer::APP_TITLE => 1, ApplicationPeer::APP_DESCRIPTION => 2, ApplicationPeer::APP_NUMBER => 3, ApplicationPeer::APP_PARENT => 4, ApplicationPeer::APP_STATUS => 5, ApplicationPeer::APP_STATUS_ID => 6, ApplicationPeer::PRO_UID => 7, ApplicationPeer::APP_PROC_STATUS => 8, ApplicationPeer::APP_PROC_CODE => 9, ApplicationPeer::APP_PARALLEL => 10, ApplicationPeer::APP_INIT_USER => 11, ApplicationPeer::APP_CUR_USER => 12, ApplicationPeer::APP_CREATE_DATE => 13, ApplicationPeer::APP_INIT_DATE => 14, ApplicationPeer::APP_FINISH_DATE => 15, ApplicationPeer::APP_UPDATE_DATE => 16, ApplicationPeer::APP_DATA => 17, ApplicationPeer::APP_PIN => 18, ApplicationPeer::APP_DURATION => 19, ApplicationPeer::APP_DELAY_DURATION => 20, ApplicationPeer::APP_DRIVE_FOLDER_UID => 21, ApplicationPeer::APP_ROUTING_DATA => 22, ),
BasePeer::TYPE_FIELDNAME => array ('APP_UID' => 0, 'APP_TITLE' => 1, 'APP_DESCRIPTION' => 2, 'APP_NUMBER' => 3, 'APP_PARENT' => 4, 'APP_STATUS' => 5, 'APP_STATUS_ID' => 6, 'PRO_UID' => 7, 'APP_PROC_STATUS' => 8, 'APP_PROC_CODE' => 9, 'APP_PARALLEL' => 10, 'APP_INIT_USER' => 11, 'APP_CUR_USER' => 12, 'APP_CREATE_DATE' => 13, 'APP_INIT_DATE' => 14, 'APP_FINISH_DATE' => 15, 'APP_UPDATE_DATE' => 16, 'APP_DATA' => 17, 'APP_PIN' => 18, 'APP_DURATION' => 19, 'APP_DELAY_DURATION' => 20, 'APP_DRIVE_FOLDER_UID' => 21, 'APP_ROUTING_DATA' => 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, )
);
/**
@@ -237,6 +240,8 @@ abstract class BaseApplicationPeer
$criteria->addSelectColumn(ApplicationPeer::APP_STATUS);
$criteria->addSelectColumn(ApplicationPeer::APP_STATUS_ID);
$criteria->addSelectColumn(ApplicationPeer::PRO_UID);
$criteria->addSelectColumn(ApplicationPeer::APP_PROC_STATUS);

View File

@@ -1842,7 +1842,7 @@ abstract class BaseListParticipatedLast extends BaseObject implements Persistent
$copyObj->setUsrUid(''); // this is a pkey column, so set to default value
$copyObj->setDelIndex(''); // this is a pkey column, so set to default value
$copyObj->setDelIndex('0'); // this is a pkey column, so set to default value
}

View File

@@ -33,6 +33,12 @@ abstract class BaseProcess extends BaseObject implements Persistent
*/
protected $pro_uid = '';
/**
* The value for the pro_id field.
* @var int
*/
protected $pro_id;
/**
* The value for the pro_title field.
* @var string
@@ -292,6 +298,17 @@ abstract class BaseProcess extends BaseObject implements Persistent
return $this->pro_uid;
}
/**
* Get the [pro_id] column value.
*
* @return int
*/
public function getProId()
{
return $this->pro_id;
}
/**
* Get the [pro_title] column value.
*
@@ -785,6 +802,28 @@ abstract class BaseProcess extends BaseObject implements Persistent
} // setProUid()
/**
* Set the value of [pro_id] column.
*
* @param int $v new value
* @return void
*/
public function setProId($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->pro_id !== $v) {
$this->pro_id = $v;
$this->modifiedColumns[] = ProcessPeer::PRO_ID;
}
} // setProId()
/**
* Set the value of [pro_title] column.
*
@@ -1664,90 +1703,92 @@ abstract class BaseProcess extends BaseObject implements Persistent
$this->pro_uid = $rs->getString($startcol + 0);
$this->pro_title = $rs->getString($startcol + 1);
$this->pro_id = $rs->getInt($startcol + 1);
$this->pro_description = $rs->getString($startcol + 2);
$this->pro_title = $rs->getString($startcol + 2);
$this->pro_parent = $rs->getString($startcol + 3);
$this->pro_description = $rs->getString($startcol + 3);
$this->pro_time = $rs->getFloat($startcol + 4);
$this->pro_parent = $rs->getString($startcol + 4);
$this->pro_timeunit = $rs->getString($startcol + 5);
$this->pro_time = $rs->getFloat($startcol + 5);
$this->pro_status = $rs->getString($startcol + 6);
$this->pro_timeunit = $rs->getString($startcol + 6);
$this->pro_type_day = $rs->getString($startcol + 7);
$this->pro_status = $rs->getString($startcol + 7);
$this->pro_type = $rs->getString($startcol + 8);
$this->pro_type_day = $rs->getString($startcol + 8);
$this->pro_assignment = $rs->getString($startcol + 9);
$this->pro_type = $rs->getString($startcol + 9);
$this->pro_show_map = $rs->getInt($startcol + 10);
$this->pro_assignment = $rs->getString($startcol + 10);
$this->pro_show_message = $rs->getInt($startcol + 11);
$this->pro_show_map = $rs->getInt($startcol + 11);
$this->pro_subprocess = $rs->getInt($startcol + 12);
$this->pro_show_message = $rs->getInt($startcol + 12);
$this->pro_tri_create = $rs->getString($startcol + 13);
$this->pro_subprocess = $rs->getInt($startcol + 13);
$this->pro_tri_open = $rs->getString($startcol + 14);
$this->pro_tri_create = $rs->getString($startcol + 14);
$this->pro_tri_deleted = $rs->getString($startcol + 15);
$this->pro_tri_open = $rs->getString($startcol + 15);
$this->pro_tri_canceled = $rs->getString($startcol + 16);
$this->pro_tri_deleted = $rs->getString($startcol + 16);
$this->pro_tri_paused = $rs->getString($startcol + 17);
$this->pro_tri_canceled = $rs->getString($startcol + 17);
$this->pro_tri_reassigned = $rs->getString($startcol + 18);
$this->pro_tri_paused = $rs->getString($startcol + 18);
$this->pro_tri_unpaused = $rs->getString($startcol + 19);
$this->pro_tri_reassigned = $rs->getString($startcol + 19);
$this->pro_type_process = $rs->getString($startcol + 20);
$this->pro_tri_unpaused = $rs->getString($startcol + 20);
$this->pro_show_delegate = $rs->getInt($startcol + 21);
$this->pro_type_process = $rs->getString($startcol + 21);
$this->pro_show_dynaform = $rs->getInt($startcol + 22);
$this->pro_show_delegate = $rs->getInt($startcol + 22);
$this->pro_category = $rs->getString($startcol + 23);
$this->pro_show_dynaform = $rs->getInt($startcol + 23);
$this->pro_sub_category = $rs->getString($startcol + 24);
$this->pro_category = $rs->getString($startcol + 24);
$this->pro_industry = $rs->getInt($startcol + 25);
$this->pro_sub_category = $rs->getString($startcol + 25);
$this->pro_update_date = $rs->getTimestamp($startcol + 26, null);
$this->pro_industry = $rs->getInt($startcol + 26);
$this->pro_create_date = $rs->getTimestamp($startcol + 27, null);
$this->pro_update_date = $rs->getTimestamp($startcol + 27, null);
$this->pro_create_user = $rs->getString($startcol + 28);
$this->pro_create_date = $rs->getTimestamp($startcol + 28, null);
$this->pro_height = $rs->getInt($startcol + 29);
$this->pro_create_user = $rs->getString($startcol + 29);
$this->pro_width = $rs->getInt($startcol + 30);
$this->pro_height = $rs->getInt($startcol + 30);
$this->pro_title_x = $rs->getInt($startcol + 31);
$this->pro_width = $rs->getInt($startcol + 31);
$this->pro_title_y = $rs->getInt($startcol + 32);
$this->pro_title_x = $rs->getInt($startcol + 32);
$this->pro_debug = $rs->getInt($startcol + 33);
$this->pro_title_y = $rs->getInt($startcol + 33);
$this->pro_dynaforms = $rs->getString($startcol + 34);
$this->pro_debug = $rs->getInt($startcol + 34);
$this->pro_derivation_screen_tpl = $rs->getString($startcol + 35);
$this->pro_dynaforms = $rs->getString($startcol + 35);
$this->pro_cost = $rs->getFloat($startcol + 36);
$this->pro_derivation_screen_tpl = $rs->getString($startcol + 36);
$this->pro_unit_cost = $rs->getString($startcol + 37);
$this->pro_cost = $rs->getFloat($startcol + 37);
$this->pro_itee = $rs->getInt($startcol + 38);
$this->pro_unit_cost = $rs->getString($startcol + 38);
$this->pro_action_done = $rs->getString($startcol + 39);
$this->pro_itee = $rs->getInt($startcol + 39);
$this->pro_action_done = $rs->getString($startcol + 40);
$this->resetModified();
$this->setNew(false);
// FIXME - using NUM_COLUMNS may be clearer.
return $startcol + 40; // 40 = ProcessPeer::NUM_COLUMNS - ProcessPeer::NUM_LAZY_LOAD_COLUMNS).
return $startcol + 41; // 41 = ProcessPeer::NUM_COLUMNS - ProcessPeer::NUM_LAZY_LOAD_COLUMNS).
} catch (Exception $e) {
throw new PropelException("Error populating Process object", $e);
@@ -1955,120 +1996,123 @@ abstract class BaseProcess extends BaseObject implements Persistent
return $this->getProUid();
break;
case 1:
return $this->getProTitle();
return $this->getProId();
break;
case 2:
return $this->getProDescription();
return $this->getProTitle();
break;
case 3:
return $this->getProParent();
return $this->getProDescription();
break;
case 4:
return $this->getProTime();
return $this->getProParent();
break;
case 5:
return $this->getProTimeunit();
return $this->getProTime();
break;
case 6:
return $this->getProStatus();
return $this->getProTimeunit();
break;
case 7:
return $this->getProTypeDay();
return $this->getProStatus();
break;
case 8:
return $this->getProType();
return $this->getProTypeDay();
break;
case 9:
return $this->getProAssignment();
return $this->getProType();
break;
case 10:
return $this->getProShowMap();
return $this->getProAssignment();
break;
case 11:
return $this->getProShowMessage();
return $this->getProShowMap();
break;
case 12:
return $this->getProSubprocess();
return $this->getProShowMessage();
break;
case 13:
return $this->getProTriCreate();
return $this->getProSubprocess();
break;
case 14:
return $this->getProTriOpen();
return $this->getProTriCreate();
break;
case 15:
return $this->getProTriDeleted();
return $this->getProTriOpen();
break;
case 16:
return $this->getProTriCanceled();
return $this->getProTriDeleted();
break;
case 17:
return $this->getProTriPaused();
return $this->getProTriCanceled();
break;
case 18:
return $this->getProTriReassigned();
return $this->getProTriPaused();
break;
case 19:
return $this->getProTriUnpaused();
return $this->getProTriReassigned();
break;
case 20:
return $this->getProTypeProcess();
return $this->getProTriUnpaused();
break;
case 21:
return $this->getProShowDelegate();
return $this->getProTypeProcess();
break;
case 22:
return $this->getProShowDynaform();
return $this->getProShowDelegate();
break;
case 23:
return $this->getProCategory();
return $this->getProShowDynaform();
break;
case 24:
return $this->getProSubCategory();
return $this->getProCategory();
break;
case 25:
return $this->getProIndustry();
return $this->getProSubCategory();
break;
case 26:
return $this->getProUpdateDate();
return $this->getProIndustry();
break;
case 27:
return $this->getProCreateDate();
return $this->getProUpdateDate();
break;
case 28:
return $this->getProCreateUser();
return $this->getProCreateDate();
break;
case 29:
return $this->getProHeight();
return $this->getProCreateUser();
break;
case 30:
return $this->getProWidth();
return $this->getProHeight();
break;
case 31:
return $this->getProTitleX();
return $this->getProWidth();
break;
case 32:
return $this->getProTitleY();
return $this->getProTitleX();
break;
case 33:
return $this->getProDebug();
return $this->getProTitleY();
break;
case 34:
return $this->getProDynaforms();
return $this->getProDebug();
break;
case 35:
return $this->getProDerivationScreenTpl();
return $this->getProDynaforms();
break;
case 36:
return $this->getProCost();
return $this->getProDerivationScreenTpl();
break;
case 37:
return $this->getProUnitCost();
return $this->getProCost();
break;
case 38:
return $this->getProItee();
return $this->getProUnitCost();
break;
case 39:
return $this->getProItee();
break;
case 40:
return $this->getProActionDone();
break;
default:
@@ -2092,45 +2136,46 @@ abstract class BaseProcess extends BaseObject implements Persistent
$keys = ProcessPeer::getFieldNames($keyType);
$result = array(
$keys[0] => $this->getProUid(),
$keys[1] => $this->getProTitle(),
$keys[2] => $this->getProDescription(),
$keys[3] => $this->getProParent(),
$keys[4] => $this->getProTime(),
$keys[5] => $this->getProTimeunit(),
$keys[6] => $this->getProStatus(),
$keys[7] => $this->getProTypeDay(),
$keys[8] => $this->getProType(),
$keys[9] => $this->getProAssignment(),
$keys[10] => $this->getProShowMap(),
$keys[11] => $this->getProShowMessage(),
$keys[12] => $this->getProSubprocess(),
$keys[13] => $this->getProTriCreate(),
$keys[14] => $this->getProTriOpen(),
$keys[15] => $this->getProTriDeleted(),
$keys[16] => $this->getProTriCanceled(),
$keys[17] => $this->getProTriPaused(),
$keys[18] => $this->getProTriReassigned(),
$keys[19] => $this->getProTriUnpaused(),
$keys[20] => $this->getProTypeProcess(),
$keys[21] => $this->getProShowDelegate(),
$keys[22] => $this->getProShowDynaform(),
$keys[23] => $this->getProCategory(),
$keys[24] => $this->getProSubCategory(),
$keys[25] => $this->getProIndustry(),
$keys[26] => $this->getProUpdateDate(),
$keys[27] => $this->getProCreateDate(),
$keys[28] => $this->getProCreateUser(),
$keys[29] => $this->getProHeight(),
$keys[30] => $this->getProWidth(),
$keys[31] => $this->getProTitleX(),
$keys[32] => $this->getProTitleY(),
$keys[33] => $this->getProDebug(),
$keys[34] => $this->getProDynaforms(),
$keys[35] => $this->getProDerivationScreenTpl(),
$keys[36] => $this->getProCost(),
$keys[37] => $this->getProUnitCost(),
$keys[38] => $this->getProItee(),
$keys[39] => $this->getProActionDone(),
$keys[1] => $this->getProId(),
$keys[2] => $this->getProTitle(),
$keys[3] => $this->getProDescription(),
$keys[4] => $this->getProParent(),
$keys[5] => $this->getProTime(),
$keys[6] => $this->getProTimeunit(),
$keys[7] => $this->getProStatus(),
$keys[8] => $this->getProTypeDay(),
$keys[9] => $this->getProType(),
$keys[10] => $this->getProAssignment(),
$keys[11] => $this->getProShowMap(),
$keys[12] => $this->getProShowMessage(),
$keys[13] => $this->getProSubprocess(),
$keys[14] => $this->getProTriCreate(),
$keys[15] => $this->getProTriOpen(),
$keys[16] => $this->getProTriDeleted(),
$keys[17] => $this->getProTriCanceled(),
$keys[18] => $this->getProTriPaused(),
$keys[19] => $this->getProTriReassigned(),
$keys[20] => $this->getProTriUnpaused(),
$keys[21] => $this->getProTypeProcess(),
$keys[22] => $this->getProShowDelegate(),
$keys[23] => $this->getProShowDynaform(),
$keys[24] => $this->getProCategory(),
$keys[25] => $this->getProSubCategory(),
$keys[26] => $this->getProIndustry(),
$keys[27] => $this->getProUpdateDate(),
$keys[28] => $this->getProCreateDate(),
$keys[29] => $this->getProCreateUser(),
$keys[30] => $this->getProHeight(),
$keys[31] => $this->getProWidth(),
$keys[32] => $this->getProTitleX(),
$keys[33] => $this->getProTitleY(),
$keys[34] => $this->getProDebug(),
$keys[35] => $this->getProDynaforms(),
$keys[36] => $this->getProDerivationScreenTpl(),
$keys[37] => $this->getProCost(),
$keys[38] => $this->getProUnitCost(),
$keys[39] => $this->getProItee(),
$keys[40] => $this->getProActionDone(),
);
return $result;
}
@@ -2166,120 +2211,123 @@ abstract class BaseProcess extends BaseObject implements Persistent
$this->setProUid($value);
break;
case 1:
$this->setProTitle($value);
$this->setProId($value);
break;
case 2:
$this->setProDescription($value);
$this->setProTitle($value);
break;
case 3:
$this->setProParent($value);
$this->setProDescription($value);
break;
case 4:
$this->setProTime($value);
$this->setProParent($value);
break;
case 5:
$this->setProTimeunit($value);
$this->setProTime($value);
break;
case 6:
$this->setProStatus($value);
$this->setProTimeunit($value);
break;
case 7:
$this->setProTypeDay($value);
$this->setProStatus($value);
break;
case 8:
$this->setProType($value);
$this->setProTypeDay($value);
break;
case 9:
$this->setProAssignment($value);
$this->setProType($value);
break;
case 10:
$this->setProShowMap($value);
$this->setProAssignment($value);
break;
case 11:
$this->setProShowMessage($value);
$this->setProShowMap($value);
break;
case 12:
$this->setProSubprocess($value);
$this->setProShowMessage($value);
break;
case 13:
$this->setProTriCreate($value);
$this->setProSubprocess($value);
break;
case 14:
$this->setProTriOpen($value);
$this->setProTriCreate($value);
break;
case 15:
$this->setProTriDeleted($value);
$this->setProTriOpen($value);
break;
case 16:
$this->setProTriCanceled($value);
$this->setProTriDeleted($value);
break;
case 17:
$this->setProTriPaused($value);
$this->setProTriCanceled($value);
break;
case 18:
$this->setProTriReassigned($value);
$this->setProTriPaused($value);
break;
case 19:
$this->setProTriUnpaused($value);
$this->setProTriReassigned($value);
break;
case 20:
$this->setProTypeProcess($value);
$this->setProTriUnpaused($value);
break;
case 21:
$this->setProShowDelegate($value);
$this->setProTypeProcess($value);
break;
case 22:
$this->setProShowDynaform($value);
$this->setProShowDelegate($value);
break;
case 23:
$this->setProCategory($value);
$this->setProShowDynaform($value);
break;
case 24:
$this->setProSubCategory($value);
$this->setProCategory($value);
break;
case 25:
$this->setProIndustry($value);
$this->setProSubCategory($value);
break;
case 26:
$this->setProUpdateDate($value);
$this->setProIndustry($value);
break;
case 27:
$this->setProCreateDate($value);
$this->setProUpdateDate($value);
break;
case 28:
$this->setProCreateUser($value);
$this->setProCreateDate($value);
break;
case 29:
$this->setProHeight($value);
$this->setProCreateUser($value);
break;
case 30:
$this->setProWidth($value);
$this->setProHeight($value);
break;
case 31:
$this->setProTitleX($value);
$this->setProWidth($value);
break;
case 32:
$this->setProTitleY($value);
$this->setProTitleX($value);
break;
case 33:
$this->setProDebug($value);
$this->setProTitleY($value);
break;
case 34:
$this->setProDynaforms($value);
$this->setProDebug($value);
break;
case 35:
$this->setProDerivationScreenTpl($value);
$this->setProDynaforms($value);
break;
case 36:
$this->setProCost($value);
$this->setProDerivationScreenTpl($value);
break;
case 37:
$this->setProUnitCost($value);
$this->setProCost($value);
break;
case 38:
$this->setProItee($value);
$this->setProUnitCost($value);
break;
case 39:
$this->setProItee($value);
break;
case 40:
$this->setProActionDone($value);
break;
} // switch()
@@ -2310,159 +2358,163 @@ abstract class BaseProcess extends BaseObject implements Persistent
}
if (array_key_exists($keys[1], $arr)) {
$this->setProTitle($arr[$keys[1]]);
$this->setProId($arr[$keys[1]]);
}
if (array_key_exists($keys[2], $arr)) {
$this->setProDescription($arr[$keys[2]]);
$this->setProTitle($arr[$keys[2]]);
}
if (array_key_exists($keys[3], $arr)) {
$this->setProParent($arr[$keys[3]]);
$this->setProDescription($arr[$keys[3]]);
}
if (array_key_exists($keys[4], $arr)) {
$this->setProTime($arr[$keys[4]]);
$this->setProParent($arr[$keys[4]]);
}
if (array_key_exists($keys[5], $arr)) {
$this->setProTimeunit($arr[$keys[5]]);
$this->setProTime($arr[$keys[5]]);
}
if (array_key_exists($keys[6], $arr)) {
$this->setProStatus($arr[$keys[6]]);
$this->setProTimeunit($arr[$keys[6]]);
}
if (array_key_exists($keys[7], $arr)) {
$this->setProTypeDay($arr[$keys[7]]);
$this->setProStatus($arr[$keys[7]]);
}
if (array_key_exists($keys[8], $arr)) {
$this->setProType($arr[$keys[8]]);
$this->setProTypeDay($arr[$keys[8]]);
}
if (array_key_exists($keys[9], $arr)) {
$this->setProAssignment($arr[$keys[9]]);
$this->setProType($arr[$keys[9]]);
}
if (array_key_exists($keys[10], $arr)) {
$this->setProShowMap($arr[$keys[10]]);
$this->setProAssignment($arr[$keys[10]]);
}
if (array_key_exists($keys[11], $arr)) {
$this->setProShowMessage($arr[$keys[11]]);
$this->setProShowMap($arr[$keys[11]]);
}
if (array_key_exists($keys[12], $arr)) {
$this->setProSubprocess($arr[$keys[12]]);
$this->setProShowMessage($arr[$keys[12]]);
}
if (array_key_exists($keys[13], $arr)) {
$this->setProTriCreate($arr[$keys[13]]);
$this->setProSubprocess($arr[$keys[13]]);
}
if (array_key_exists($keys[14], $arr)) {
$this->setProTriOpen($arr[$keys[14]]);
$this->setProTriCreate($arr[$keys[14]]);
}
if (array_key_exists($keys[15], $arr)) {
$this->setProTriDeleted($arr[$keys[15]]);
$this->setProTriOpen($arr[$keys[15]]);
}
if (array_key_exists($keys[16], $arr)) {
$this->setProTriCanceled($arr[$keys[16]]);
$this->setProTriDeleted($arr[$keys[16]]);
}
if (array_key_exists($keys[17], $arr)) {
$this->setProTriPaused($arr[$keys[17]]);
$this->setProTriCanceled($arr[$keys[17]]);
}
if (array_key_exists($keys[18], $arr)) {
$this->setProTriReassigned($arr[$keys[18]]);
$this->setProTriPaused($arr[$keys[18]]);
}
if (array_key_exists($keys[19], $arr)) {
$this->setProTriUnpaused($arr[$keys[19]]);
$this->setProTriReassigned($arr[$keys[19]]);
}
if (array_key_exists($keys[20], $arr)) {
$this->setProTypeProcess($arr[$keys[20]]);
$this->setProTriUnpaused($arr[$keys[20]]);
}
if (array_key_exists($keys[21], $arr)) {
$this->setProShowDelegate($arr[$keys[21]]);
$this->setProTypeProcess($arr[$keys[21]]);
}
if (array_key_exists($keys[22], $arr)) {
$this->setProShowDynaform($arr[$keys[22]]);
$this->setProShowDelegate($arr[$keys[22]]);
}
if (array_key_exists($keys[23], $arr)) {
$this->setProCategory($arr[$keys[23]]);
$this->setProShowDynaform($arr[$keys[23]]);
}
if (array_key_exists($keys[24], $arr)) {
$this->setProSubCategory($arr[$keys[24]]);
$this->setProCategory($arr[$keys[24]]);
}
if (array_key_exists($keys[25], $arr)) {
$this->setProIndustry($arr[$keys[25]]);
$this->setProSubCategory($arr[$keys[25]]);
}
if (array_key_exists($keys[26], $arr)) {
$this->setProUpdateDate($arr[$keys[26]]);
$this->setProIndustry($arr[$keys[26]]);
}
if (array_key_exists($keys[27], $arr)) {
$this->setProCreateDate($arr[$keys[27]]);
$this->setProUpdateDate($arr[$keys[27]]);
}
if (array_key_exists($keys[28], $arr)) {
$this->setProCreateUser($arr[$keys[28]]);
$this->setProCreateDate($arr[$keys[28]]);
}
if (array_key_exists($keys[29], $arr)) {
$this->setProHeight($arr[$keys[29]]);
$this->setProCreateUser($arr[$keys[29]]);
}
if (array_key_exists($keys[30], $arr)) {
$this->setProWidth($arr[$keys[30]]);
$this->setProHeight($arr[$keys[30]]);
}
if (array_key_exists($keys[31], $arr)) {
$this->setProTitleX($arr[$keys[31]]);
$this->setProWidth($arr[$keys[31]]);
}
if (array_key_exists($keys[32], $arr)) {
$this->setProTitleY($arr[$keys[32]]);
$this->setProTitleX($arr[$keys[32]]);
}
if (array_key_exists($keys[33], $arr)) {
$this->setProDebug($arr[$keys[33]]);
$this->setProTitleY($arr[$keys[33]]);
}
if (array_key_exists($keys[34], $arr)) {
$this->setProDynaforms($arr[$keys[34]]);
$this->setProDebug($arr[$keys[34]]);
}
if (array_key_exists($keys[35], $arr)) {
$this->setProDerivationScreenTpl($arr[$keys[35]]);
$this->setProDynaforms($arr[$keys[35]]);
}
if (array_key_exists($keys[36], $arr)) {
$this->setProCost($arr[$keys[36]]);
$this->setProDerivationScreenTpl($arr[$keys[36]]);
}
if (array_key_exists($keys[37], $arr)) {
$this->setProUnitCost($arr[$keys[37]]);
$this->setProCost($arr[$keys[37]]);
}
if (array_key_exists($keys[38], $arr)) {
$this->setProItee($arr[$keys[38]]);
$this->setProUnitCost($arr[$keys[38]]);
}
if (array_key_exists($keys[39], $arr)) {
$this->setProActionDone($arr[$keys[39]]);
$this->setProItee($arr[$keys[39]]);
}
if (array_key_exists($keys[40], $arr)) {
$this->setProActionDone($arr[$keys[40]]);
}
}
@@ -2480,6 +2532,10 @@ abstract class BaseProcess extends BaseObject implements Persistent
$criteria->add(ProcessPeer::PRO_UID, $this->pro_uid);
}
if ($this->isColumnModified(ProcessPeer::PRO_ID)) {
$criteria->add(ProcessPeer::PRO_ID, $this->pro_id);
}
if ($this->isColumnModified(ProcessPeer::PRO_TITLE)) {
$criteria->add(ProcessPeer::PRO_TITLE, $this->pro_title);
}
@@ -2690,6 +2746,8 @@ abstract class BaseProcess extends BaseObject implements Persistent
public function copyInto($copyObj, $deepCopy = false)
{
$copyObj->setProId($this->pro_id);
$copyObj->setProTitle($this->pro_title);
$copyObj->setProDescription($this->pro_description);

View File

@@ -25,7 +25,7 @@ abstract class BaseProcessPeer
const CLASS_DEFAULT = 'classes.model.Process';
/** The total number of columns. */
const NUM_COLUMNS = 40;
const NUM_COLUMNS = 41;
/** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0;
@@ -34,6 +34,9 @@ abstract class BaseProcessPeer
/** the column name for the PRO_UID field */
const PRO_UID = 'PROCESS.PRO_UID';
/** the column name for the PRO_ID field */
const PRO_ID = 'PROCESS.PRO_ID';
/** the column name for the PRO_TITLE field */
const PRO_TITLE = 'PROCESS.PRO_TITLE';
@@ -162,10 +165,10 @@ abstract class BaseProcessPeer
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
*/
private static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('ProUid', 'ProTitle', 'ProDescription', 'ProParent', 'ProTime', 'ProTimeunit', 'ProStatus', 'ProTypeDay', 'ProType', 'ProAssignment', 'ProShowMap', 'ProShowMessage', 'ProSubprocess', 'ProTriCreate', 'ProTriOpen', 'ProTriDeleted', 'ProTriCanceled', 'ProTriPaused', 'ProTriReassigned', 'ProTriUnpaused', 'ProTypeProcess', 'ProShowDelegate', 'ProShowDynaform', 'ProCategory', 'ProSubCategory', 'ProIndustry', 'ProUpdateDate', 'ProCreateDate', 'ProCreateUser', 'ProHeight', 'ProWidth', 'ProTitleX', 'ProTitleY', 'ProDebug', 'ProDynaforms', 'ProDerivationScreenTpl', 'ProCost', 'ProUnitCost', 'ProItee', 'ProActionDone', ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID, ProcessPeer::PRO_TITLE, ProcessPeer::PRO_DESCRIPTION, ProcessPeer::PRO_PARENT, ProcessPeer::PRO_TIME, ProcessPeer::PRO_TIMEUNIT, ProcessPeer::PRO_STATUS, ProcessPeer::PRO_TYPE_DAY, ProcessPeer::PRO_TYPE, ProcessPeer::PRO_ASSIGNMENT, ProcessPeer::PRO_SHOW_MAP, ProcessPeer::PRO_SHOW_MESSAGE, ProcessPeer::PRO_SUBPROCESS, ProcessPeer::PRO_TRI_CREATE, ProcessPeer::PRO_TRI_OPEN, ProcessPeer::PRO_TRI_DELETED, ProcessPeer::PRO_TRI_CANCELED, ProcessPeer::PRO_TRI_PAUSED, ProcessPeer::PRO_TRI_REASSIGNED, ProcessPeer::PRO_TRI_UNPAUSED, ProcessPeer::PRO_TYPE_PROCESS, ProcessPeer::PRO_SHOW_DELEGATE, ProcessPeer::PRO_SHOW_DYNAFORM, ProcessPeer::PRO_CATEGORY, ProcessPeer::PRO_SUB_CATEGORY, ProcessPeer::PRO_INDUSTRY, ProcessPeer::PRO_UPDATE_DATE, ProcessPeer::PRO_CREATE_DATE, ProcessPeer::PRO_CREATE_USER, ProcessPeer::PRO_HEIGHT, ProcessPeer::PRO_WIDTH, ProcessPeer::PRO_TITLE_X, ProcessPeer::PRO_TITLE_Y, ProcessPeer::PRO_DEBUG, ProcessPeer::PRO_DYNAFORMS, ProcessPeer::PRO_DERIVATION_SCREEN_TPL, ProcessPeer::PRO_COST, ProcessPeer::PRO_UNIT_COST, ProcessPeer::PRO_ITEE, ProcessPeer::PRO_ACTION_DONE, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID', 'PRO_TITLE', 'PRO_DESCRIPTION', 'PRO_PARENT', 'PRO_TIME', 'PRO_TIMEUNIT', 'PRO_STATUS', 'PRO_TYPE_DAY', 'PRO_TYPE', 'PRO_ASSIGNMENT', 'PRO_SHOW_MAP', 'PRO_SHOW_MESSAGE', 'PRO_SUBPROCESS', 'PRO_TRI_CREATE', 'PRO_TRI_OPEN', 'PRO_TRI_DELETED', 'PRO_TRI_CANCELED', 'PRO_TRI_PAUSED', 'PRO_TRI_REASSIGNED', 'PRO_TRI_UNPAUSED', 'PRO_TYPE_PROCESS', 'PRO_SHOW_DELEGATE', 'PRO_SHOW_DYNAFORM', 'PRO_CATEGORY', 'PRO_SUB_CATEGORY', 'PRO_INDUSTRY', 'PRO_UPDATE_DATE', 'PRO_CREATE_DATE', 'PRO_CREATE_USER', 'PRO_HEIGHT', 'PRO_WIDTH', 'PRO_TITLE_X', 'PRO_TITLE_Y', 'PRO_DEBUG', 'PRO_DYNAFORMS', 'PRO_DERIVATION_SCREEN_TPL', 'PRO_COST', 'PRO_UNIT_COST', 'PRO_ITEE', 'PRO_ACTION_DONE', ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, )
BasePeer::TYPE_PHPNAME => array ('ProUid', 'ProId', 'ProTitle', 'ProDescription', 'ProParent', 'ProTime', 'ProTimeunit', 'ProStatus', 'ProTypeDay', 'ProType', 'ProAssignment', 'ProShowMap', 'ProShowMessage', 'ProSubprocess', 'ProTriCreate', 'ProTriOpen', 'ProTriDeleted', 'ProTriCanceled', 'ProTriPaused', 'ProTriReassigned', 'ProTriUnpaused', 'ProTypeProcess', 'ProShowDelegate', 'ProShowDynaform', 'ProCategory', 'ProSubCategory', 'ProIndustry', 'ProUpdateDate', 'ProCreateDate', 'ProCreateUser', 'ProHeight', 'ProWidth', 'ProTitleX', 'ProTitleY', 'ProDebug', 'ProDynaforms', 'ProDerivationScreenTpl', 'ProCost', 'ProUnitCost', 'ProItee', 'ProActionDone', ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID, ProcessPeer::PRO_ID, ProcessPeer::PRO_TITLE, ProcessPeer::PRO_DESCRIPTION, ProcessPeer::PRO_PARENT, ProcessPeer::PRO_TIME, ProcessPeer::PRO_TIMEUNIT, ProcessPeer::PRO_STATUS, ProcessPeer::PRO_TYPE_DAY, ProcessPeer::PRO_TYPE, ProcessPeer::PRO_ASSIGNMENT, ProcessPeer::PRO_SHOW_MAP, ProcessPeer::PRO_SHOW_MESSAGE, ProcessPeer::PRO_SUBPROCESS, ProcessPeer::PRO_TRI_CREATE, ProcessPeer::PRO_TRI_OPEN, ProcessPeer::PRO_TRI_DELETED, ProcessPeer::PRO_TRI_CANCELED, ProcessPeer::PRO_TRI_PAUSED, ProcessPeer::PRO_TRI_REASSIGNED, ProcessPeer::PRO_TRI_UNPAUSED, ProcessPeer::PRO_TYPE_PROCESS, ProcessPeer::PRO_SHOW_DELEGATE, ProcessPeer::PRO_SHOW_DYNAFORM, ProcessPeer::PRO_CATEGORY, ProcessPeer::PRO_SUB_CATEGORY, ProcessPeer::PRO_INDUSTRY, ProcessPeer::PRO_UPDATE_DATE, ProcessPeer::PRO_CREATE_DATE, ProcessPeer::PRO_CREATE_USER, ProcessPeer::PRO_HEIGHT, ProcessPeer::PRO_WIDTH, ProcessPeer::PRO_TITLE_X, ProcessPeer::PRO_TITLE_Y, ProcessPeer::PRO_DEBUG, ProcessPeer::PRO_DYNAFORMS, ProcessPeer::PRO_DERIVATION_SCREEN_TPL, ProcessPeer::PRO_COST, ProcessPeer::PRO_UNIT_COST, ProcessPeer::PRO_ITEE, ProcessPeer::PRO_ACTION_DONE, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID', 'PRO_ID', 'PRO_TITLE', 'PRO_DESCRIPTION', 'PRO_PARENT', 'PRO_TIME', 'PRO_TIMEUNIT', 'PRO_STATUS', 'PRO_TYPE_DAY', 'PRO_TYPE', 'PRO_ASSIGNMENT', 'PRO_SHOW_MAP', 'PRO_SHOW_MESSAGE', 'PRO_SUBPROCESS', 'PRO_TRI_CREATE', 'PRO_TRI_OPEN', 'PRO_TRI_DELETED', 'PRO_TRI_CANCELED', 'PRO_TRI_PAUSED', 'PRO_TRI_REASSIGNED', 'PRO_TRI_UNPAUSED', 'PRO_TYPE_PROCESS', 'PRO_SHOW_DELEGATE', 'PRO_SHOW_DYNAFORM', 'PRO_CATEGORY', 'PRO_SUB_CATEGORY', 'PRO_INDUSTRY', 'PRO_UPDATE_DATE', 'PRO_CREATE_DATE', 'PRO_CREATE_USER', 'PRO_HEIGHT', 'PRO_WIDTH', 'PRO_TITLE_X', 'PRO_TITLE_Y', 'PRO_DEBUG', 'PRO_DYNAFORMS', 'PRO_DERIVATION_SCREEN_TPL', 'PRO_COST', 'PRO_UNIT_COST', 'PRO_ITEE', 'PRO_ACTION_DONE', ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, )
);
/**
@@ -175,10 +178,10 @@ abstract class BaseProcessPeer
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/
private static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('ProUid' => 0, 'ProTitle' => 1, 'ProDescription' => 2, 'ProParent' => 3, 'ProTime' => 4, 'ProTimeunit' => 5, 'ProStatus' => 6, 'ProTypeDay' => 7, 'ProType' => 8, 'ProAssignment' => 9, 'ProShowMap' => 10, 'ProShowMessage' => 11, 'ProSubprocess' => 12, 'ProTriCreate' => 13, 'ProTriOpen' => 14, 'ProTriDeleted' => 15, 'ProTriCanceled' => 16, 'ProTriPaused' => 17, 'ProTriReassigned' => 18, 'ProTriUnpaused' => 19, 'ProTypeProcess' => 20, 'ProShowDelegate' => 21, 'ProShowDynaform' => 22, 'ProCategory' => 23, 'ProSubCategory' => 24, 'ProIndustry' => 25, 'ProUpdateDate' => 26, 'ProCreateDate' => 27, 'ProCreateUser' => 28, 'ProHeight' => 29, 'ProWidth' => 30, 'ProTitleX' => 31, 'ProTitleY' => 32, 'ProDebug' => 33, 'ProDynaforms' => 34, 'ProDerivationScreenTpl' => 35, 'ProCost' => 36, 'ProUnitCost' => 37, 'ProItee' => 38, 'ProActionDone' => 39, ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID => 0, ProcessPeer::PRO_TITLE => 1, ProcessPeer::PRO_DESCRIPTION => 2, ProcessPeer::PRO_PARENT => 3, ProcessPeer::PRO_TIME => 4, ProcessPeer::PRO_TIMEUNIT => 5, ProcessPeer::PRO_STATUS => 6, ProcessPeer::PRO_TYPE_DAY => 7, ProcessPeer::PRO_TYPE => 8, ProcessPeer::PRO_ASSIGNMENT => 9, ProcessPeer::PRO_SHOW_MAP => 10, ProcessPeer::PRO_SHOW_MESSAGE => 11, ProcessPeer::PRO_SUBPROCESS => 12, ProcessPeer::PRO_TRI_CREATE => 13, ProcessPeer::PRO_TRI_OPEN => 14, ProcessPeer::PRO_TRI_DELETED => 15, ProcessPeer::PRO_TRI_CANCELED => 16, ProcessPeer::PRO_TRI_PAUSED => 17, ProcessPeer::PRO_TRI_REASSIGNED => 18, ProcessPeer::PRO_TRI_UNPAUSED => 19, ProcessPeer::PRO_TYPE_PROCESS => 20, ProcessPeer::PRO_SHOW_DELEGATE => 21, ProcessPeer::PRO_SHOW_DYNAFORM => 22, ProcessPeer::PRO_CATEGORY => 23, ProcessPeer::PRO_SUB_CATEGORY => 24, ProcessPeer::PRO_INDUSTRY => 25, ProcessPeer::PRO_UPDATE_DATE => 26, ProcessPeer::PRO_CREATE_DATE => 27, ProcessPeer::PRO_CREATE_USER => 28, ProcessPeer::PRO_HEIGHT => 29, ProcessPeer::PRO_WIDTH => 30, ProcessPeer::PRO_TITLE_X => 31, ProcessPeer::PRO_TITLE_Y => 32, ProcessPeer::PRO_DEBUG => 33, ProcessPeer::PRO_DYNAFORMS => 34, ProcessPeer::PRO_DERIVATION_SCREEN_TPL => 35, ProcessPeer::PRO_COST => 36, ProcessPeer::PRO_UNIT_COST => 37, ProcessPeer::PRO_ITEE => 38, ProcessPeer::PRO_ACTION_DONE => 39, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID' => 0, 'PRO_TITLE' => 1, 'PRO_DESCRIPTION' => 2, 'PRO_PARENT' => 3, 'PRO_TIME' => 4, 'PRO_TIMEUNIT' => 5, 'PRO_STATUS' => 6, 'PRO_TYPE_DAY' => 7, 'PRO_TYPE' => 8, 'PRO_ASSIGNMENT' => 9, 'PRO_SHOW_MAP' => 10, 'PRO_SHOW_MESSAGE' => 11, 'PRO_SUBPROCESS' => 12, 'PRO_TRI_CREATE' => 13, 'PRO_TRI_OPEN' => 14, 'PRO_TRI_DELETED' => 15, 'PRO_TRI_CANCELED' => 16, 'PRO_TRI_PAUSED' => 17, 'PRO_TRI_REASSIGNED' => 18, 'PRO_TRI_UNPAUSED' => 19, 'PRO_TYPE_PROCESS' => 20, 'PRO_SHOW_DELEGATE' => 21, 'PRO_SHOW_DYNAFORM' => 22, 'PRO_CATEGORY' => 23, 'PRO_SUB_CATEGORY' => 24, 'PRO_INDUSTRY' => 25, 'PRO_UPDATE_DATE' => 26, 'PRO_CREATE_DATE' => 27, 'PRO_CREATE_USER' => 28, 'PRO_HEIGHT' => 29, 'PRO_WIDTH' => 30, 'PRO_TITLE_X' => 31, 'PRO_TITLE_Y' => 32, 'PRO_DEBUG' => 33, 'PRO_DYNAFORMS' => 34, 'PRO_DERIVATION_SCREEN_TPL' => 35, 'PRO_COST' => 36, 'PRO_UNIT_COST' => 37, 'PRO_ITEE' => 38, 'PRO_ACTION_DONE' => 39, ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, )
BasePeer::TYPE_PHPNAME => array ('ProUid' => 0, 'ProId' => 1, 'ProTitle' => 2, 'ProDescription' => 3, 'ProParent' => 4, 'ProTime' => 5, 'ProTimeunit' => 6, 'ProStatus' => 7, 'ProTypeDay' => 8, 'ProType' => 9, 'ProAssignment' => 10, 'ProShowMap' => 11, 'ProShowMessage' => 12, 'ProSubprocess' => 13, 'ProTriCreate' => 14, 'ProTriOpen' => 15, 'ProTriDeleted' => 16, 'ProTriCanceled' => 17, 'ProTriPaused' => 18, 'ProTriReassigned' => 19, 'ProTriUnpaused' => 20, 'ProTypeProcess' => 21, 'ProShowDelegate' => 22, 'ProShowDynaform' => 23, 'ProCategory' => 24, 'ProSubCategory' => 25, 'ProIndustry' => 26, 'ProUpdateDate' => 27, 'ProCreateDate' => 28, 'ProCreateUser' => 29, 'ProHeight' => 30, 'ProWidth' => 31, 'ProTitleX' => 32, 'ProTitleY' => 33, 'ProDebug' => 34, 'ProDynaforms' => 35, 'ProDerivationScreenTpl' => 36, 'ProCost' => 37, 'ProUnitCost' => 38, 'ProItee' => 39, 'ProActionDone' => 40, ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID => 0, ProcessPeer::PRO_ID => 1, ProcessPeer::PRO_TITLE => 2, ProcessPeer::PRO_DESCRIPTION => 3, ProcessPeer::PRO_PARENT => 4, ProcessPeer::PRO_TIME => 5, ProcessPeer::PRO_TIMEUNIT => 6, ProcessPeer::PRO_STATUS => 7, ProcessPeer::PRO_TYPE_DAY => 8, ProcessPeer::PRO_TYPE => 9, ProcessPeer::PRO_ASSIGNMENT => 10, ProcessPeer::PRO_SHOW_MAP => 11, ProcessPeer::PRO_SHOW_MESSAGE => 12, ProcessPeer::PRO_SUBPROCESS => 13, ProcessPeer::PRO_TRI_CREATE => 14, ProcessPeer::PRO_TRI_OPEN => 15, ProcessPeer::PRO_TRI_DELETED => 16, ProcessPeer::PRO_TRI_CANCELED => 17, ProcessPeer::PRO_TRI_PAUSED => 18, ProcessPeer::PRO_TRI_REASSIGNED => 19, ProcessPeer::PRO_TRI_UNPAUSED => 20, ProcessPeer::PRO_TYPE_PROCESS => 21, ProcessPeer::PRO_SHOW_DELEGATE => 22, ProcessPeer::PRO_SHOW_DYNAFORM => 23, ProcessPeer::PRO_CATEGORY => 24, ProcessPeer::PRO_SUB_CATEGORY => 25, ProcessPeer::PRO_INDUSTRY => 26, ProcessPeer::PRO_UPDATE_DATE => 27, ProcessPeer::PRO_CREATE_DATE => 28, ProcessPeer::PRO_CREATE_USER => 29, ProcessPeer::PRO_HEIGHT => 30, ProcessPeer::PRO_WIDTH => 31, ProcessPeer::PRO_TITLE_X => 32, ProcessPeer::PRO_TITLE_Y => 33, ProcessPeer::PRO_DEBUG => 34, ProcessPeer::PRO_DYNAFORMS => 35, ProcessPeer::PRO_DERIVATION_SCREEN_TPL => 36, ProcessPeer::PRO_COST => 37, ProcessPeer::PRO_UNIT_COST => 38, ProcessPeer::PRO_ITEE => 39, ProcessPeer::PRO_ACTION_DONE => 40, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID' => 0, 'PRO_ID' => 1, 'PRO_TITLE' => 2, 'PRO_DESCRIPTION' => 3, 'PRO_PARENT' => 4, 'PRO_TIME' => 5, 'PRO_TIMEUNIT' => 6, 'PRO_STATUS' => 7, 'PRO_TYPE_DAY' => 8, 'PRO_TYPE' => 9, 'PRO_ASSIGNMENT' => 10, 'PRO_SHOW_MAP' => 11, 'PRO_SHOW_MESSAGE' => 12, 'PRO_SUBPROCESS' => 13, 'PRO_TRI_CREATE' => 14, 'PRO_TRI_OPEN' => 15, 'PRO_TRI_DELETED' => 16, 'PRO_TRI_CANCELED' => 17, 'PRO_TRI_PAUSED' => 18, 'PRO_TRI_REASSIGNED' => 19, 'PRO_TRI_UNPAUSED' => 20, 'PRO_TYPE_PROCESS' => 21, 'PRO_SHOW_DELEGATE' => 22, 'PRO_SHOW_DYNAFORM' => 23, 'PRO_CATEGORY' => 24, 'PRO_SUB_CATEGORY' => 25, 'PRO_INDUSTRY' => 26, 'PRO_UPDATE_DATE' => 27, 'PRO_CREATE_DATE' => 28, 'PRO_CREATE_USER' => 29, 'PRO_HEIGHT' => 30, 'PRO_WIDTH' => 31, 'PRO_TITLE_X' => 32, 'PRO_TITLE_Y' => 33, 'PRO_DEBUG' => 34, 'PRO_DYNAFORMS' => 35, 'PRO_DERIVATION_SCREEN_TPL' => 36, 'PRO_COST' => 37, 'PRO_UNIT_COST' => 38, 'PRO_ITEE' => 39, 'PRO_ACTION_DONE' => 40, ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, )
);
/**
@@ -281,6 +284,8 @@ abstract class BaseProcessPeer
$criteria->addSelectColumn(ProcessPeer::PRO_UID);
$criteria->addSelectColumn(ProcessPeer::PRO_ID);
$criteria->addSelectColumn(ProcessPeer::PRO_TITLE);
$criteria->addSelectColumn(ProcessPeer::PRO_DESCRIPTION);

File diff suppressed because it is too large Load Diff

View File

@@ -25,7 +25,7 @@ abstract class BaseTaskPeer
const CLASS_DEFAULT = 'classes.model.Task';
/** The total number of columns. */
const NUM_COLUMNS = 65;
const NUM_COLUMNS = 66;
/** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0;
@@ -37,6 +37,9 @@ abstract class BaseTaskPeer
/** the column name for the TAS_UID field */
const TAS_UID = 'TASK.TAS_UID';
/** the column name for the TAS_ID field */
const TAS_ID = 'TASK.TAS_ID';
/** the column name for the TAS_TITLE field */
const TAS_TITLE = 'TASK.TAS_TITLE';
@@ -237,10 +240,10 @@ abstract class BaseTaskPeer
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
*/
private static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('ProUid', 'TasUid', 'TasTitle', 'TasDescription', 'TasDefTitle', 'TasDefSubjectMessage', 'TasDefProcCode', 'TasDefMessage', 'TasDefDescription', 'TasType', 'TasDuration', 'TasDelayType', 'TasTemporizer', 'TasTypeDay', 'TasTimeunit', 'TasAlert', 'TasPriorityVariable', 'TasAssignType', 'TasAssignVariable', 'TasGroupVariable', 'TasMiInstanceVariable', 'TasMiCompleteVariable', 'TasAssignLocation', 'TasAssignLocationAdhoc', 'TasTransferFly', 'TasLastAssigned', 'TasUser', 'TasCanUpload', 'TasViewUpload', 'TasViewAdditionalDocumentation', 'TasCanCancel', 'TasOwnerApp', 'StgUid', 'TasCanPause', 'TasCanSendMessage', 'TasCanDeleteDocs', 'TasSelfService', 'TasStart', 'TasToLastUser', 'TasSendLastEmail', 'TasDerivation', 'TasPosx', 'TasPosy', 'TasWidth', 'TasHeight', 'TasColor', 'TasEvnUid', 'TasBoundary', 'TasDerivationScreenTpl', 'TasSelfserviceTimeout', 'TasSelfserviceTime', 'TasSelfserviceTimeUnit', 'TasSelfserviceTriggerUid', 'TasSelfserviceExecution', 'TasNotEmailFromFormat', 'TasOffline', 'TasEmailServerUid', 'TasAutoRoot', 'TasReceiveServerUid', 'TasReceiveLastEmail', 'TasReceiveEmailFromFormat', 'TasReceiveMessageType', 'TasReceiveMessageTemplate', 'TasReceiveSubjectMessage', 'TasReceiveMessage', ),
BasePeer::TYPE_COLNAME => array (TaskPeer::PRO_UID, TaskPeer::TAS_UID, TaskPeer::TAS_TITLE, TaskPeer::TAS_DESCRIPTION, TaskPeer::TAS_DEF_TITLE, TaskPeer::TAS_DEF_SUBJECT_MESSAGE, TaskPeer::TAS_DEF_PROC_CODE, TaskPeer::TAS_DEF_MESSAGE, TaskPeer::TAS_DEF_DESCRIPTION, TaskPeer::TAS_TYPE, TaskPeer::TAS_DURATION, TaskPeer::TAS_DELAY_TYPE, TaskPeer::TAS_TEMPORIZER, TaskPeer::TAS_TYPE_DAY, TaskPeer::TAS_TIMEUNIT, TaskPeer::TAS_ALERT, TaskPeer::TAS_PRIORITY_VARIABLE, TaskPeer::TAS_ASSIGN_TYPE, TaskPeer::TAS_ASSIGN_VARIABLE, TaskPeer::TAS_GROUP_VARIABLE, TaskPeer::TAS_MI_INSTANCE_VARIABLE, TaskPeer::TAS_MI_COMPLETE_VARIABLE, TaskPeer::TAS_ASSIGN_LOCATION, TaskPeer::TAS_ASSIGN_LOCATION_ADHOC, TaskPeer::TAS_TRANSFER_FLY, TaskPeer::TAS_LAST_ASSIGNED, TaskPeer::TAS_USER, TaskPeer::TAS_CAN_UPLOAD, TaskPeer::TAS_VIEW_UPLOAD, TaskPeer::TAS_VIEW_ADDITIONAL_DOCUMENTATION, TaskPeer::TAS_CAN_CANCEL, TaskPeer::TAS_OWNER_APP, TaskPeer::STG_UID, TaskPeer::TAS_CAN_PAUSE, TaskPeer::TAS_CAN_SEND_MESSAGE, TaskPeer::TAS_CAN_DELETE_DOCS, TaskPeer::TAS_SELF_SERVICE, TaskPeer::TAS_START, TaskPeer::TAS_TO_LAST_USER, TaskPeer::TAS_SEND_LAST_EMAIL, TaskPeer::TAS_DERIVATION, TaskPeer::TAS_POSX, TaskPeer::TAS_POSY, TaskPeer::TAS_WIDTH, TaskPeer::TAS_HEIGHT, TaskPeer::TAS_COLOR, TaskPeer::TAS_EVN_UID, TaskPeer::TAS_BOUNDARY, TaskPeer::TAS_DERIVATION_SCREEN_TPL, TaskPeer::TAS_SELFSERVICE_TIMEOUT, TaskPeer::TAS_SELFSERVICE_TIME, TaskPeer::TAS_SELFSERVICE_TIME_UNIT, TaskPeer::TAS_SELFSERVICE_TRIGGER_UID, TaskPeer::TAS_SELFSERVICE_EXECUTION, TaskPeer::TAS_NOT_EMAIL_FROM_FORMAT, TaskPeer::TAS_OFFLINE, TaskPeer::TAS_EMAIL_SERVER_UID, TaskPeer::TAS_AUTO_ROOT, TaskPeer::TAS_RECEIVE_SERVER_UID, TaskPeer::TAS_RECEIVE_LAST_EMAIL, TaskPeer::TAS_RECEIVE_EMAIL_FROM_FORMAT, TaskPeer::TAS_RECEIVE_MESSAGE_TYPE, TaskPeer::TAS_RECEIVE_MESSAGE_TEMPLATE, TaskPeer::TAS_RECEIVE_SUBJECT_MESSAGE, TaskPeer::TAS_RECEIVE_MESSAGE, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID', 'TAS_UID', 'TAS_TITLE', 'TAS_DESCRIPTION', 'TAS_DEF_TITLE', 'TAS_DEF_SUBJECT_MESSAGE', 'TAS_DEF_PROC_CODE', 'TAS_DEF_MESSAGE', 'TAS_DEF_DESCRIPTION', 'TAS_TYPE', 'TAS_DURATION', 'TAS_DELAY_TYPE', 'TAS_TEMPORIZER', 'TAS_TYPE_DAY', 'TAS_TIMEUNIT', 'TAS_ALERT', 'TAS_PRIORITY_VARIABLE', 'TAS_ASSIGN_TYPE', 'TAS_ASSIGN_VARIABLE', 'TAS_GROUP_VARIABLE', 'TAS_MI_INSTANCE_VARIABLE', 'TAS_MI_COMPLETE_VARIABLE', 'TAS_ASSIGN_LOCATION', 'TAS_ASSIGN_LOCATION_ADHOC', 'TAS_TRANSFER_FLY', 'TAS_LAST_ASSIGNED', 'TAS_USER', 'TAS_CAN_UPLOAD', 'TAS_VIEW_UPLOAD', 'TAS_VIEW_ADDITIONAL_DOCUMENTATION', 'TAS_CAN_CANCEL', 'TAS_OWNER_APP', 'STG_UID', 'TAS_CAN_PAUSE', 'TAS_CAN_SEND_MESSAGE', 'TAS_CAN_DELETE_DOCS', 'TAS_SELF_SERVICE', 'TAS_START', 'TAS_TO_LAST_USER', 'TAS_SEND_LAST_EMAIL', 'TAS_DERIVATION', 'TAS_POSX', 'TAS_POSY', 'TAS_WIDTH', 'TAS_HEIGHT', 'TAS_COLOR', 'TAS_EVN_UID', 'TAS_BOUNDARY', 'TAS_DERIVATION_SCREEN_TPL', 'TAS_SELFSERVICE_TIMEOUT', 'TAS_SELFSERVICE_TIME', 'TAS_SELFSERVICE_TIME_UNIT', 'TAS_SELFSERVICE_TRIGGER_UID', 'TAS_SELFSERVICE_EXECUTION', 'TAS_NOT_EMAIL_FROM_FORMAT', 'TAS_OFFLINE', 'TAS_EMAIL_SERVER_UID', 'TAS_AUTO_ROOT', 'TAS_RECEIVE_SERVER_UID', 'TAS_RECEIVE_LAST_EMAIL', 'TAS_RECEIVE_EMAIL_FROM_FORMAT', 'TAS_RECEIVE_MESSAGE_TYPE', 'TAS_RECEIVE_MESSAGE_TEMPLATE', 'TAS_RECEIVE_SUBJECT_MESSAGE', 'TAS_RECEIVE_MESSAGE', ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, )
BasePeer::TYPE_PHPNAME => array ('ProUid', 'TasUid', 'TasId', 'TasTitle', 'TasDescription', 'TasDefTitle', 'TasDefSubjectMessage', 'TasDefProcCode', 'TasDefMessage', 'TasDefDescription', 'TasType', 'TasDuration', 'TasDelayType', 'TasTemporizer', 'TasTypeDay', 'TasTimeunit', 'TasAlert', 'TasPriorityVariable', 'TasAssignType', 'TasAssignVariable', 'TasGroupVariable', 'TasMiInstanceVariable', 'TasMiCompleteVariable', 'TasAssignLocation', 'TasAssignLocationAdhoc', 'TasTransferFly', 'TasLastAssigned', 'TasUser', 'TasCanUpload', 'TasViewUpload', 'TasViewAdditionalDocumentation', 'TasCanCancel', 'TasOwnerApp', 'StgUid', 'TasCanPause', 'TasCanSendMessage', 'TasCanDeleteDocs', 'TasSelfService', 'TasStart', 'TasToLastUser', 'TasSendLastEmail', 'TasDerivation', 'TasPosx', 'TasPosy', 'TasWidth', 'TasHeight', 'TasColor', 'TasEvnUid', 'TasBoundary', 'TasDerivationScreenTpl', 'TasSelfserviceTimeout', 'TasSelfserviceTime', 'TasSelfserviceTimeUnit', 'TasSelfserviceTriggerUid', 'TasSelfserviceExecution', 'TasNotEmailFromFormat', 'TasOffline', 'TasEmailServerUid', 'TasAutoRoot', 'TasReceiveServerUid', 'TasReceiveLastEmail', 'TasReceiveEmailFromFormat', 'TasReceiveMessageType', 'TasReceiveMessageTemplate', 'TasReceiveSubjectMessage', 'TasReceiveMessage', ),
BasePeer::TYPE_COLNAME => array (TaskPeer::PRO_UID, TaskPeer::TAS_UID, TaskPeer::TAS_ID, TaskPeer::TAS_TITLE, TaskPeer::TAS_DESCRIPTION, TaskPeer::TAS_DEF_TITLE, TaskPeer::TAS_DEF_SUBJECT_MESSAGE, TaskPeer::TAS_DEF_PROC_CODE, TaskPeer::TAS_DEF_MESSAGE, TaskPeer::TAS_DEF_DESCRIPTION, TaskPeer::TAS_TYPE, TaskPeer::TAS_DURATION, TaskPeer::TAS_DELAY_TYPE, TaskPeer::TAS_TEMPORIZER, TaskPeer::TAS_TYPE_DAY, TaskPeer::TAS_TIMEUNIT, TaskPeer::TAS_ALERT, TaskPeer::TAS_PRIORITY_VARIABLE, TaskPeer::TAS_ASSIGN_TYPE, TaskPeer::TAS_ASSIGN_VARIABLE, TaskPeer::TAS_GROUP_VARIABLE, TaskPeer::TAS_MI_INSTANCE_VARIABLE, TaskPeer::TAS_MI_COMPLETE_VARIABLE, TaskPeer::TAS_ASSIGN_LOCATION, TaskPeer::TAS_ASSIGN_LOCATION_ADHOC, TaskPeer::TAS_TRANSFER_FLY, TaskPeer::TAS_LAST_ASSIGNED, TaskPeer::TAS_USER, TaskPeer::TAS_CAN_UPLOAD, TaskPeer::TAS_VIEW_UPLOAD, TaskPeer::TAS_VIEW_ADDITIONAL_DOCUMENTATION, TaskPeer::TAS_CAN_CANCEL, TaskPeer::TAS_OWNER_APP, TaskPeer::STG_UID, TaskPeer::TAS_CAN_PAUSE, TaskPeer::TAS_CAN_SEND_MESSAGE, TaskPeer::TAS_CAN_DELETE_DOCS, TaskPeer::TAS_SELF_SERVICE, TaskPeer::TAS_START, TaskPeer::TAS_TO_LAST_USER, TaskPeer::TAS_SEND_LAST_EMAIL, TaskPeer::TAS_DERIVATION, TaskPeer::TAS_POSX, TaskPeer::TAS_POSY, TaskPeer::TAS_WIDTH, TaskPeer::TAS_HEIGHT, TaskPeer::TAS_COLOR, TaskPeer::TAS_EVN_UID, TaskPeer::TAS_BOUNDARY, TaskPeer::TAS_DERIVATION_SCREEN_TPL, TaskPeer::TAS_SELFSERVICE_TIMEOUT, TaskPeer::TAS_SELFSERVICE_TIME, TaskPeer::TAS_SELFSERVICE_TIME_UNIT, TaskPeer::TAS_SELFSERVICE_TRIGGER_UID, TaskPeer::TAS_SELFSERVICE_EXECUTION, TaskPeer::TAS_NOT_EMAIL_FROM_FORMAT, TaskPeer::TAS_OFFLINE, TaskPeer::TAS_EMAIL_SERVER_UID, TaskPeer::TAS_AUTO_ROOT, TaskPeer::TAS_RECEIVE_SERVER_UID, TaskPeer::TAS_RECEIVE_LAST_EMAIL, TaskPeer::TAS_RECEIVE_EMAIL_FROM_FORMAT, TaskPeer::TAS_RECEIVE_MESSAGE_TYPE, TaskPeer::TAS_RECEIVE_MESSAGE_TEMPLATE, TaskPeer::TAS_RECEIVE_SUBJECT_MESSAGE, TaskPeer::TAS_RECEIVE_MESSAGE, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID', 'TAS_UID', 'TAS_ID', 'TAS_TITLE', 'TAS_DESCRIPTION', 'TAS_DEF_TITLE', 'TAS_DEF_SUBJECT_MESSAGE', 'TAS_DEF_PROC_CODE', 'TAS_DEF_MESSAGE', 'TAS_DEF_DESCRIPTION', 'TAS_TYPE', 'TAS_DURATION', 'TAS_DELAY_TYPE', 'TAS_TEMPORIZER', 'TAS_TYPE_DAY', 'TAS_TIMEUNIT', 'TAS_ALERT', 'TAS_PRIORITY_VARIABLE', 'TAS_ASSIGN_TYPE', 'TAS_ASSIGN_VARIABLE', 'TAS_GROUP_VARIABLE', 'TAS_MI_INSTANCE_VARIABLE', 'TAS_MI_COMPLETE_VARIABLE', 'TAS_ASSIGN_LOCATION', 'TAS_ASSIGN_LOCATION_ADHOC', 'TAS_TRANSFER_FLY', 'TAS_LAST_ASSIGNED', 'TAS_USER', 'TAS_CAN_UPLOAD', 'TAS_VIEW_UPLOAD', 'TAS_VIEW_ADDITIONAL_DOCUMENTATION', 'TAS_CAN_CANCEL', 'TAS_OWNER_APP', 'STG_UID', 'TAS_CAN_PAUSE', 'TAS_CAN_SEND_MESSAGE', 'TAS_CAN_DELETE_DOCS', 'TAS_SELF_SERVICE', 'TAS_START', 'TAS_TO_LAST_USER', 'TAS_SEND_LAST_EMAIL', 'TAS_DERIVATION', 'TAS_POSX', 'TAS_POSY', 'TAS_WIDTH', 'TAS_HEIGHT', 'TAS_COLOR', 'TAS_EVN_UID', 'TAS_BOUNDARY', 'TAS_DERIVATION_SCREEN_TPL', 'TAS_SELFSERVICE_TIMEOUT', 'TAS_SELFSERVICE_TIME', 'TAS_SELFSERVICE_TIME_UNIT', 'TAS_SELFSERVICE_TRIGGER_UID', 'TAS_SELFSERVICE_EXECUTION', 'TAS_NOT_EMAIL_FROM_FORMAT', 'TAS_OFFLINE', 'TAS_EMAIL_SERVER_UID', 'TAS_AUTO_ROOT', 'TAS_RECEIVE_SERVER_UID', 'TAS_RECEIVE_LAST_EMAIL', 'TAS_RECEIVE_EMAIL_FROM_FORMAT', 'TAS_RECEIVE_MESSAGE_TYPE', 'TAS_RECEIVE_MESSAGE_TEMPLATE', 'TAS_RECEIVE_SUBJECT_MESSAGE', 'TAS_RECEIVE_MESSAGE', ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, )
);
/**
@@ -250,10 +253,10 @@ abstract class BaseTaskPeer
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/
private static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('ProUid' => 0, 'TasUid' => 1, 'TasTitle' => 2, 'TasDescription' => 3, 'TasDefTitle' => 4, 'TasDefSubjectMessage' => 5, 'TasDefProcCode' => 6, 'TasDefMessage' => 7, 'TasDefDescription' => 8, 'TasType' => 9, 'TasDuration' => 10, 'TasDelayType' => 11, 'TasTemporizer' => 12, 'TasTypeDay' => 13, 'TasTimeunit' => 14, 'TasAlert' => 15, 'TasPriorityVariable' => 16, 'TasAssignType' => 17, 'TasAssignVariable' => 18, 'TasGroupVariable' => 19, 'TasMiInstanceVariable' => 20, 'TasMiCompleteVariable' => 21, 'TasAssignLocation' => 22, 'TasAssignLocationAdhoc' => 23, 'TasTransferFly' => 24, 'TasLastAssigned' => 25, 'TasUser' => 26, 'TasCanUpload' => 27, 'TasViewUpload' => 28, 'TasViewAdditionalDocumentation' => 29, 'TasCanCancel' => 30, 'TasOwnerApp' => 31, 'StgUid' => 32, 'TasCanPause' => 33, 'TasCanSendMessage' => 34, 'TasCanDeleteDocs' => 35, 'TasSelfService' => 36, 'TasStart' => 37, 'TasToLastUser' => 38, 'TasSendLastEmail' => 39, 'TasDerivation' => 40, 'TasPosx' => 41, 'TasPosy' => 42, 'TasWidth' => 43, 'TasHeight' => 44, 'TasColor' => 45, 'TasEvnUid' => 46, 'TasBoundary' => 47, 'TasDerivationScreenTpl' => 48, 'TasSelfserviceTimeout' => 49, 'TasSelfserviceTime' => 50, 'TasSelfserviceTimeUnit' => 51, 'TasSelfserviceTriggerUid' => 52, 'TasSelfserviceExecution' => 53, 'TasNotEmailFromFormat' => 54, 'TasOffline' => 55, 'TasEmailServerUid' => 56, 'TasAutoRoot' => 57, 'TasReceiveServerUid' => 58, 'TasReceiveLastEmail' => 59, 'TasReceiveEmailFromFormat' => 60, 'TasReceiveMessageType' => 61, 'TasReceiveMessageTemplate' => 62, 'TasReceiveSubjectMessage' => 63, 'TasReceiveMessage' => 64, ),
BasePeer::TYPE_COLNAME => array (TaskPeer::PRO_UID => 0, TaskPeer::TAS_UID => 1, TaskPeer::TAS_TITLE => 2, TaskPeer::TAS_DESCRIPTION => 3, TaskPeer::TAS_DEF_TITLE => 4, TaskPeer::TAS_DEF_SUBJECT_MESSAGE => 5, TaskPeer::TAS_DEF_PROC_CODE => 6, TaskPeer::TAS_DEF_MESSAGE => 7, TaskPeer::TAS_DEF_DESCRIPTION => 8, TaskPeer::TAS_TYPE => 9, TaskPeer::TAS_DURATION => 10, TaskPeer::TAS_DELAY_TYPE => 11, TaskPeer::TAS_TEMPORIZER => 12, TaskPeer::TAS_TYPE_DAY => 13, TaskPeer::TAS_TIMEUNIT => 14, TaskPeer::TAS_ALERT => 15, TaskPeer::TAS_PRIORITY_VARIABLE => 16, TaskPeer::TAS_ASSIGN_TYPE => 17, TaskPeer::TAS_ASSIGN_VARIABLE => 18, TaskPeer::TAS_GROUP_VARIABLE => 19, TaskPeer::TAS_MI_INSTANCE_VARIABLE => 20, TaskPeer::TAS_MI_COMPLETE_VARIABLE => 21, TaskPeer::TAS_ASSIGN_LOCATION => 22, TaskPeer::TAS_ASSIGN_LOCATION_ADHOC => 23, TaskPeer::TAS_TRANSFER_FLY => 24, TaskPeer::TAS_LAST_ASSIGNED => 25, TaskPeer::TAS_USER => 26, TaskPeer::TAS_CAN_UPLOAD => 27, TaskPeer::TAS_VIEW_UPLOAD => 28, TaskPeer::TAS_VIEW_ADDITIONAL_DOCUMENTATION => 29, TaskPeer::TAS_CAN_CANCEL => 30, TaskPeer::TAS_OWNER_APP => 31, TaskPeer::STG_UID => 32, TaskPeer::TAS_CAN_PAUSE => 33, TaskPeer::TAS_CAN_SEND_MESSAGE => 34, TaskPeer::TAS_CAN_DELETE_DOCS => 35, TaskPeer::TAS_SELF_SERVICE => 36, TaskPeer::TAS_START => 37, TaskPeer::TAS_TO_LAST_USER => 38, TaskPeer::TAS_SEND_LAST_EMAIL => 39, TaskPeer::TAS_DERIVATION => 40, TaskPeer::TAS_POSX => 41, TaskPeer::TAS_POSY => 42, TaskPeer::TAS_WIDTH => 43, TaskPeer::TAS_HEIGHT => 44, TaskPeer::TAS_COLOR => 45, TaskPeer::TAS_EVN_UID => 46, TaskPeer::TAS_BOUNDARY => 47, TaskPeer::TAS_DERIVATION_SCREEN_TPL => 48, TaskPeer::TAS_SELFSERVICE_TIMEOUT => 49, TaskPeer::TAS_SELFSERVICE_TIME => 50, TaskPeer::TAS_SELFSERVICE_TIME_UNIT => 51, TaskPeer::TAS_SELFSERVICE_TRIGGER_UID => 52, TaskPeer::TAS_SELFSERVICE_EXECUTION => 53, TaskPeer::TAS_NOT_EMAIL_FROM_FORMAT => 54, TaskPeer::TAS_OFFLINE => 55, TaskPeer::TAS_EMAIL_SERVER_UID => 56, TaskPeer::TAS_AUTO_ROOT => 57, TaskPeer::TAS_RECEIVE_SERVER_UID => 58, TaskPeer::TAS_RECEIVE_LAST_EMAIL => 59, TaskPeer::TAS_RECEIVE_EMAIL_FROM_FORMAT => 60, TaskPeer::TAS_RECEIVE_MESSAGE_TYPE => 61, TaskPeer::TAS_RECEIVE_MESSAGE_TEMPLATE => 62, TaskPeer::TAS_RECEIVE_SUBJECT_MESSAGE => 63, TaskPeer::TAS_RECEIVE_MESSAGE => 64, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID' => 0, 'TAS_UID' => 1, 'TAS_TITLE' => 2, 'TAS_DESCRIPTION' => 3, 'TAS_DEF_TITLE' => 4, 'TAS_DEF_SUBJECT_MESSAGE' => 5, 'TAS_DEF_PROC_CODE' => 6, 'TAS_DEF_MESSAGE' => 7, 'TAS_DEF_DESCRIPTION' => 8, 'TAS_TYPE' => 9, 'TAS_DURATION' => 10, 'TAS_DELAY_TYPE' => 11, 'TAS_TEMPORIZER' => 12, 'TAS_TYPE_DAY' => 13, 'TAS_TIMEUNIT' => 14, 'TAS_ALERT' => 15, 'TAS_PRIORITY_VARIABLE' => 16, 'TAS_ASSIGN_TYPE' => 17, 'TAS_ASSIGN_VARIABLE' => 18, 'TAS_GROUP_VARIABLE' => 19, 'TAS_MI_INSTANCE_VARIABLE' => 20, 'TAS_MI_COMPLETE_VARIABLE' => 21, 'TAS_ASSIGN_LOCATION' => 22, 'TAS_ASSIGN_LOCATION_ADHOC' => 23, 'TAS_TRANSFER_FLY' => 24, 'TAS_LAST_ASSIGNED' => 25, 'TAS_USER' => 26, 'TAS_CAN_UPLOAD' => 27, 'TAS_VIEW_UPLOAD' => 28, 'TAS_VIEW_ADDITIONAL_DOCUMENTATION' => 29, 'TAS_CAN_CANCEL' => 30, 'TAS_OWNER_APP' => 31, 'STG_UID' => 32, 'TAS_CAN_PAUSE' => 33, 'TAS_CAN_SEND_MESSAGE' => 34, 'TAS_CAN_DELETE_DOCS' => 35, 'TAS_SELF_SERVICE' => 36, 'TAS_START' => 37, 'TAS_TO_LAST_USER' => 38, 'TAS_SEND_LAST_EMAIL' => 39, 'TAS_DERIVATION' => 40, 'TAS_POSX' => 41, 'TAS_POSY' => 42, 'TAS_WIDTH' => 43, 'TAS_HEIGHT' => 44, 'TAS_COLOR' => 45, 'TAS_EVN_UID' => 46, 'TAS_BOUNDARY' => 47, 'TAS_DERIVATION_SCREEN_TPL' => 48, 'TAS_SELFSERVICE_TIMEOUT' => 49, 'TAS_SELFSERVICE_TIME' => 50, 'TAS_SELFSERVICE_TIME_UNIT' => 51, 'TAS_SELFSERVICE_TRIGGER_UID' => 52, 'TAS_SELFSERVICE_EXECUTION' => 53, 'TAS_NOT_EMAIL_FROM_FORMAT' => 54, 'TAS_OFFLINE' => 55, 'TAS_EMAIL_SERVER_UID' => 56, 'TAS_AUTO_ROOT' => 57, 'TAS_RECEIVE_SERVER_UID' => 58, 'TAS_RECEIVE_LAST_EMAIL' => 59, 'TAS_RECEIVE_EMAIL_FROM_FORMAT' => 60, 'TAS_RECEIVE_MESSAGE_TYPE' => 61, 'TAS_RECEIVE_MESSAGE_TEMPLATE' => 62, 'TAS_RECEIVE_SUBJECT_MESSAGE' => 63, 'TAS_RECEIVE_MESSAGE' => 64, ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, )
BasePeer::TYPE_PHPNAME => array ('ProUid' => 0, 'TasUid' => 1, 'TasId' => 2, 'TasTitle' => 3, 'TasDescription' => 4, 'TasDefTitle' => 5, 'TasDefSubjectMessage' => 6, 'TasDefProcCode' => 7, 'TasDefMessage' => 8, 'TasDefDescription' => 9, 'TasType' => 10, 'TasDuration' => 11, 'TasDelayType' => 12, 'TasTemporizer' => 13, 'TasTypeDay' => 14, 'TasTimeunit' => 15, 'TasAlert' => 16, 'TasPriorityVariable' => 17, 'TasAssignType' => 18, 'TasAssignVariable' => 19, 'TasGroupVariable' => 20, 'TasMiInstanceVariable' => 21, 'TasMiCompleteVariable' => 22, 'TasAssignLocation' => 23, 'TasAssignLocationAdhoc' => 24, 'TasTransferFly' => 25, 'TasLastAssigned' => 26, 'TasUser' => 27, 'TasCanUpload' => 28, 'TasViewUpload' => 29, 'TasViewAdditionalDocumentation' => 30, 'TasCanCancel' => 31, 'TasOwnerApp' => 32, 'StgUid' => 33, 'TasCanPause' => 34, 'TasCanSendMessage' => 35, 'TasCanDeleteDocs' => 36, 'TasSelfService' => 37, 'TasStart' => 38, 'TasToLastUser' => 39, 'TasSendLastEmail' => 40, 'TasDerivation' => 41, 'TasPosx' => 42, 'TasPosy' => 43, 'TasWidth' => 44, 'TasHeight' => 45, 'TasColor' => 46, 'TasEvnUid' => 47, 'TasBoundary' => 48, 'TasDerivationScreenTpl' => 49, 'TasSelfserviceTimeout' => 50, 'TasSelfserviceTime' => 51, 'TasSelfserviceTimeUnit' => 52, 'TasSelfserviceTriggerUid' => 53, 'TasSelfserviceExecution' => 54, 'TasNotEmailFromFormat' => 55, 'TasOffline' => 56, 'TasEmailServerUid' => 57, 'TasAutoRoot' => 58, 'TasReceiveServerUid' => 59, 'TasReceiveLastEmail' => 60, 'TasReceiveEmailFromFormat' => 61, 'TasReceiveMessageType' => 62, 'TasReceiveMessageTemplate' => 63, 'TasReceiveSubjectMessage' => 64, 'TasReceiveMessage' => 65, ),
BasePeer::TYPE_COLNAME => array (TaskPeer::PRO_UID => 0, TaskPeer::TAS_UID => 1, TaskPeer::TAS_ID => 2, TaskPeer::TAS_TITLE => 3, TaskPeer::TAS_DESCRIPTION => 4, TaskPeer::TAS_DEF_TITLE => 5, TaskPeer::TAS_DEF_SUBJECT_MESSAGE => 6, TaskPeer::TAS_DEF_PROC_CODE => 7, TaskPeer::TAS_DEF_MESSAGE => 8, TaskPeer::TAS_DEF_DESCRIPTION => 9, TaskPeer::TAS_TYPE => 10, TaskPeer::TAS_DURATION => 11, TaskPeer::TAS_DELAY_TYPE => 12, TaskPeer::TAS_TEMPORIZER => 13, TaskPeer::TAS_TYPE_DAY => 14, TaskPeer::TAS_TIMEUNIT => 15, TaskPeer::TAS_ALERT => 16, TaskPeer::TAS_PRIORITY_VARIABLE => 17, TaskPeer::TAS_ASSIGN_TYPE => 18, TaskPeer::TAS_ASSIGN_VARIABLE => 19, TaskPeer::TAS_GROUP_VARIABLE => 20, TaskPeer::TAS_MI_INSTANCE_VARIABLE => 21, TaskPeer::TAS_MI_COMPLETE_VARIABLE => 22, TaskPeer::TAS_ASSIGN_LOCATION => 23, TaskPeer::TAS_ASSIGN_LOCATION_ADHOC => 24, TaskPeer::TAS_TRANSFER_FLY => 25, TaskPeer::TAS_LAST_ASSIGNED => 26, TaskPeer::TAS_USER => 27, TaskPeer::TAS_CAN_UPLOAD => 28, TaskPeer::TAS_VIEW_UPLOAD => 29, TaskPeer::TAS_VIEW_ADDITIONAL_DOCUMENTATION => 30, TaskPeer::TAS_CAN_CANCEL => 31, TaskPeer::TAS_OWNER_APP => 32, TaskPeer::STG_UID => 33, TaskPeer::TAS_CAN_PAUSE => 34, TaskPeer::TAS_CAN_SEND_MESSAGE => 35, TaskPeer::TAS_CAN_DELETE_DOCS => 36, TaskPeer::TAS_SELF_SERVICE => 37, TaskPeer::TAS_START => 38, TaskPeer::TAS_TO_LAST_USER => 39, TaskPeer::TAS_SEND_LAST_EMAIL => 40, TaskPeer::TAS_DERIVATION => 41, TaskPeer::TAS_POSX => 42, TaskPeer::TAS_POSY => 43, TaskPeer::TAS_WIDTH => 44, TaskPeer::TAS_HEIGHT => 45, TaskPeer::TAS_COLOR => 46, TaskPeer::TAS_EVN_UID => 47, TaskPeer::TAS_BOUNDARY => 48, TaskPeer::TAS_DERIVATION_SCREEN_TPL => 49, TaskPeer::TAS_SELFSERVICE_TIMEOUT => 50, TaskPeer::TAS_SELFSERVICE_TIME => 51, TaskPeer::TAS_SELFSERVICE_TIME_UNIT => 52, TaskPeer::TAS_SELFSERVICE_TRIGGER_UID => 53, TaskPeer::TAS_SELFSERVICE_EXECUTION => 54, TaskPeer::TAS_NOT_EMAIL_FROM_FORMAT => 55, TaskPeer::TAS_OFFLINE => 56, TaskPeer::TAS_EMAIL_SERVER_UID => 57, TaskPeer::TAS_AUTO_ROOT => 58, TaskPeer::TAS_RECEIVE_SERVER_UID => 59, TaskPeer::TAS_RECEIVE_LAST_EMAIL => 60, TaskPeer::TAS_RECEIVE_EMAIL_FROM_FORMAT => 61, TaskPeer::TAS_RECEIVE_MESSAGE_TYPE => 62, TaskPeer::TAS_RECEIVE_MESSAGE_TEMPLATE => 63, TaskPeer::TAS_RECEIVE_SUBJECT_MESSAGE => 64, TaskPeer::TAS_RECEIVE_MESSAGE => 65, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID' => 0, 'TAS_UID' => 1, 'TAS_ID' => 2, 'TAS_TITLE' => 3, 'TAS_DESCRIPTION' => 4, 'TAS_DEF_TITLE' => 5, 'TAS_DEF_SUBJECT_MESSAGE' => 6, 'TAS_DEF_PROC_CODE' => 7, 'TAS_DEF_MESSAGE' => 8, 'TAS_DEF_DESCRIPTION' => 9, 'TAS_TYPE' => 10, 'TAS_DURATION' => 11, 'TAS_DELAY_TYPE' => 12, 'TAS_TEMPORIZER' => 13, 'TAS_TYPE_DAY' => 14, 'TAS_TIMEUNIT' => 15, 'TAS_ALERT' => 16, 'TAS_PRIORITY_VARIABLE' => 17, 'TAS_ASSIGN_TYPE' => 18, 'TAS_ASSIGN_VARIABLE' => 19, 'TAS_GROUP_VARIABLE' => 20, 'TAS_MI_INSTANCE_VARIABLE' => 21, 'TAS_MI_COMPLETE_VARIABLE' => 22, 'TAS_ASSIGN_LOCATION' => 23, 'TAS_ASSIGN_LOCATION_ADHOC' => 24, 'TAS_TRANSFER_FLY' => 25, 'TAS_LAST_ASSIGNED' => 26, 'TAS_USER' => 27, 'TAS_CAN_UPLOAD' => 28, 'TAS_VIEW_UPLOAD' => 29, 'TAS_VIEW_ADDITIONAL_DOCUMENTATION' => 30, 'TAS_CAN_CANCEL' => 31, 'TAS_OWNER_APP' => 32, 'STG_UID' => 33, 'TAS_CAN_PAUSE' => 34, 'TAS_CAN_SEND_MESSAGE' => 35, 'TAS_CAN_DELETE_DOCS' => 36, 'TAS_SELF_SERVICE' => 37, 'TAS_START' => 38, 'TAS_TO_LAST_USER' => 39, 'TAS_SEND_LAST_EMAIL' => 40, 'TAS_DERIVATION' => 41, 'TAS_POSX' => 42, 'TAS_POSY' => 43, 'TAS_WIDTH' => 44, 'TAS_HEIGHT' => 45, 'TAS_COLOR' => 46, 'TAS_EVN_UID' => 47, 'TAS_BOUNDARY' => 48, 'TAS_DERIVATION_SCREEN_TPL' => 49, 'TAS_SELFSERVICE_TIMEOUT' => 50, 'TAS_SELFSERVICE_TIME' => 51, 'TAS_SELFSERVICE_TIME_UNIT' => 52, 'TAS_SELFSERVICE_TRIGGER_UID' => 53, 'TAS_SELFSERVICE_EXECUTION' => 54, 'TAS_NOT_EMAIL_FROM_FORMAT' => 55, 'TAS_OFFLINE' => 56, 'TAS_EMAIL_SERVER_UID' => 57, 'TAS_AUTO_ROOT' => 58, 'TAS_RECEIVE_SERVER_UID' => 59, 'TAS_RECEIVE_LAST_EMAIL' => 60, 'TAS_RECEIVE_EMAIL_FROM_FORMAT' => 61, 'TAS_RECEIVE_MESSAGE_TYPE' => 62, 'TAS_RECEIVE_MESSAGE_TEMPLATE' => 63, 'TAS_RECEIVE_SUBJECT_MESSAGE' => 64, 'TAS_RECEIVE_MESSAGE' => 65, ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, )
);
/**
@@ -358,6 +361,8 @@ abstract class BaseTaskPeer
$criteria->addSelectColumn(TaskPeer::TAS_UID);
$criteria->addSelectColumn(TaskPeer::TAS_ID);
$criteria->addSelectColumn(TaskPeer::TAS_TITLE);
$criteria->addSelectColumn(TaskPeer::TAS_DESCRIPTION);

View File

@@ -33,6 +33,12 @@ abstract class BaseUsers extends BaseObject implements Persistent
*/
protected $usr_uid = '';
/**
* The value for the usr_id field.
* @var int
*/
protected $usr_id;
/**
* The value for the usr_username field.
* @var string
@@ -250,6 +256,17 @@ abstract class BaseUsers extends BaseObject implements Persistent
return $this->usr_uid;
}
/**
* Get the [usr_id] column value.
*
* @return int
*/
public function getUsrId()
{
return $this->usr_id;
}
/**
* Get the [usr_username] column value.
*
@@ -729,6 +746,28 @@ abstract class BaseUsers extends BaseObject implements Persistent
} // setUsrUid()
/**
* Set the value of [usr_id] column.
*
* @param int $v new value
* @return void
*/
public function setUsrId($v)
{
// Since the native PHP type for this column is integer,
// we will cast the input value to an int (if it is not).
if ($v !== null && !is_int($v) && is_numeric($v)) {
$v = (int) $v;
}
if ($this->usr_id !== $v) {
$this->usr_id = $v;
$this->modifiedColumns[] = UsersPeer::USR_ID;
}
} // setUsrId()
/**
* Set the value of [usr_username] column.
*
@@ -1481,76 +1520,78 @@ abstract class BaseUsers extends BaseObject implements Persistent
$this->usr_uid = $rs->getString($startcol + 0);
$this->usr_username = $rs->getString($startcol + 1);
$this->usr_id = $rs->getInt($startcol + 1);
$this->usr_password = $rs->getString($startcol + 2);
$this->usr_username = $rs->getString($startcol + 2);
$this->usr_firstname = $rs->getString($startcol + 3);
$this->usr_password = $rs->getString($startcol + 3);
$this->usr_lastname = $rs->getString($startcol + 4);
$this->usr_firstname = $rs->getString($startcol + 4);
$this->usr_email = $rs->getString($startcol + 5);
$this->usr_lastname = $rs->getString($startcol + 5);
$this->usr_due_date = $rs->getDate($startcol + 6, null);
$this->usr_email = $rs->getString($startcol + 6);
$this->usr_create_date = $rs->getTimestamp($startcol + 7, null);
$this->usr_due_date = $rs->getDate($startcol + 7, null);
$this->usr_update_date = $rs->getTimestamp($startcol + 8, null);
$this->usr_create_date = $rs->getTimestamp($startcol + 8, null);
$this->usr_status = $rs->getString($startcol + 9);
$this->usr_update_date = $rs->getTimestamp($startcol + 9, null);
$this->usr_country = $rs->getString($startcol + 10);
$this->usr_status = $rs->getString($startcol + 10);
$this->usr_city = $rs->getString($startcol + 11);
$this->usr_country = $rs->getString($startcol + 11);
$this->usr_location = $rs->getString($startcol + 12);
$this->usr_city = $rs->getString($startcol + 12);
$this->usr_address = $rs->getString($startcol + 13);
$this->usr_location = $rs->getString($startcol + 13);
$this->usr_phone = $rs->getString($startcol + 14);
$this->usr_address = $rs->getString($startcol + 14);
$this->usr_fax = $rs->getString($startcol + 15);
$this->usr_phone = $rs->getString($startcol + 15);
$this->usr_cellular = $rs->getString($startcol + 16);
$this->usr_fax = $rs->getString($startcol + 16);
$this->usr_zip_code = $rs->getString($startcol + 17);
$this->usr_cellular = $rs->getString($startcol + 17);
$this->dep_uid = $rs->getString($startcol + 18);
$this->usr_zip_code = $rs->getString($startcol + 18);
$this->usr_position = $rs->getString($startcol + 19);
$this->dep_uid = $rs->getString($startcol + 19);
$this->usr_resume = $rs->getString($startcol + 20);
$this->usr_position = $rs->getString($startcol + 20);
$this->usr_birthday = $rs->getDate($startcol + 21, null);
$this->usr_resume = $rs->getString($startcol + 21);
$this->usr_role = $rs->getString($startcol + 22);
$this->usr_birthday = $rs->getDate($startcol + 22, null);
$this->usr_reports_to = $rs->getString($startcol + 23);
$this->usr_role = $rs->getString($startcol + 23);
$this->usr_replaced_by = $rs->getString($startcol + 24);
$this->usr_reports_to = $rs->getString($startcol + 24);
$this->usr_ux = $rs->getString($startcol + 25);
$this->usr_replaced_by = $rs->getString($startcol + 25);
$this->usr_cost_by_hour = $rs->getFloat($startcol + 26);
$this->usr_ux = $rs->getString($startcol + 26);
$this->usr_unit_cost = $rs->getString($startcol + 27);
$this->usr_cost_by_hour = $rs->getFloat($startcol + 27);
$this->usr_pmdrive_folder_uid = $rs->getString($startcol + 28);
$this->usr_unit_cost = $rs->getString($startcol + 28);
$this->usr_bookmark_start_cases = $rs->getString($startcol + 29);
$this->usr_pmdrive_folder_uid = $rs->getString($startcol + 29);
$this->usr_time_zone = $rs->getString($startcol + 30);
$this->usr_bookmark_start_cases = $rs->getString($startcol + 30);
$this->usr_default_lang = $rs->getString($startcol + 31);
$this->usr_time_zone = $rs->getString($startcol + 31);
$this->usr_last_login = $rs->getTimestamp($startcol + 32, null);
$this->usr_default_lang = $rs->getString($startcol + 32);
$this->usr_last_login = $rs->getTimestamp($startcol + 33, null);
$this->resetModified();
$this->setNew(false);
// FIXME - using NUM_COLUMNS may be clearer.
return $startcol + 33; // 33 = UsersPeer::NUM_COLUMNS - UsersPeer::NUM_LAZY_LOAD_COLUMNS).
return $startcol + 34; // 34 = UsersPeer::NUM_COLUMNS - UsersPeer::NUM_LAZY_LOAD_COLUMNS).
} catch (Exception $e) {
throw new PropelException("Error populating Users object", $e);
@@ -1758,99 +1799,102 @@ abstract class BaseUsers extends BaseObject implements Persistent
return $this->getUsrUid();
break;
case 1:
return $this->getUsrUsername();
return $this->getUsrId();
break;
case 2:
return $this->getUsrPassword();
return $this->getUsrUsername();
break;
case 3:
return $this->getUsrFirstname();
return $this->getUsrPassword();
break;
case 4:
return $this->getUsrLastname();
return $this->getUsrFirstname();
break;
case 5:
return $this->getUsrEmail();
return $this->getUsrLastname();
break;
case 6:
return $this->getUsrDueDate();
return $this->getUsrEmail();
break;
case 7:
return $this->getUsrCreateDate();
return $this->getUsrDueDate();
break;
case 8:
return $this->getUsrUpdateDate();
return $this->getUsrCreateDate();
break;
case 9:
return $this->getUsrStatus();
return $this->getUsrUpdateDate();
break;
case 10:
return $this->getUsrCountry();
return $this->getUsrStatus();
break;
case 11:
return $this->getUsrCity();
return $this->getUsrCountry();
break;
case 12:
return $this->getUsrLocation();
return $this->getUsrCity();
break;
case 13:
return $this->getUsrAddress();
return $this->getUsrLocation();
break;
case 14:
return $this->getUsrPhone();
return $this->getUsrAddress();
break;
case 15:
return $this->getUsrFax();
return $this->getUsrPhone();
break;
case 16:
return $this->getUsrCellular();
return $this->getUsrFax();
break;
case 17:
return $this->getUsrZipCode();
return $this->getUsrCellular();
break;
case 18:
return $this->getDepUid();
return $this->getUsrZipCode();
break;
case 19:
return $this->getUsrPosition();
return $this->getDepUid();
break;
case 20:
return $this->getUsrResume();
return $this->getUsrPosition();
break;
case 21:
return $this->getUsrBirthday();
return $this->getUsrResume();
break;
case 22:
return $this->getUsrRole();
return $this->getUsrBirthday();
break;
case 23:
return $this->getUsrReportsTo();
return $this->getUsrRole();
break;
case 24:
return $this->getUsrReplacedBy();
return $this->getUsrReportsTo();
break;
case 25:
return $this->getUsrUx();
return $this->getUsrReplacedBy();
break;
case 26:
return $this->getUsrCostByHour();
return $this->getUsrUx();
break;
case 27:
return $this->getUsrUnitCost();
return $this->getUsrCostByHour();
break;
case 28:
return $this->getUsrPmdriveFolderUid();
return $this->getUsrUnitCost();
break;
case 29:
return $this->getUsrBookmarkStartCases();
return $this->getUsrPmdriveFolderUid();
break;
case 30:
return $this->getUsrTimeZone();
return $this->getUsrBookmarkStartCases();
break;
case 31:
return $this->getUsrDefaultLang();
return $this->getUsrTimeZone();
break;
case 32:
return $this->getUsrDefaultLang();
break;
case 33:
return $this->getUsrLastLogin();
break;
default:
@@ -1874,38 +1918,39 @@ abstract class BaseUsers extends BaseObject implements Persistent
$keys = UsersPeer::getFieldNames($keyType);
$result = array(
$keys[0] => $this->getUsrUid(),
$keys[1] => $this->getUsrUsername(),
$keys[2] => $this->getUsrPassword(),
$keys[3] => $this->getUsrFirstname(),
$keys[4] => $this->getUsrLastname(),
$keys[5] => $this->getUsrEmail(),
$keys[6] => $this->getUsrDueDate(),
$keys[7] => $this->getUsrCreateDate(),
$keys[8] => $this->getUsrUpdateDate(),
$keys[9] => $this->getUsrStatus(),
$keys[10] => $this->getUsrCountry(),
$keys[11] => $this->getUsrCity(),
$keys[12] => $this->getUsrLocation(),
$keys[13] => $this->getUsrAddress(),
$keys[14] => $this->getUsrPhone(),
$keys[15] => $this->getUsrFax(),
$keys[16] => $this->getUsrCellular(),
$keys[17] => $this->getUsrZipCode(),
$keys[18] => $this->getDepUid(),
$keys[19] => $this->getUsrPosition(),
$keys[20] => $this->getUsrResume(),
$keys[21] => $this->getUsrBirthday(),
$keys[22] => $this->getUsrRole(),
$keys[23] => $this->getUsrReportsTo(),
$keys[24] => $this->getUsrReplacedBy(),
$keys[25] => $this->getUsrUx(),
$keys[26] => $this->getUsrCostByHour(),
$keys[27] => $this->getUsrUnitCost(),
$keys[28] => $this->getUsrPmdriveFolderUid(),
$keys[29] => $this->getUsrBookmarkStartCases(),
$keys[30] => $this->getUsrTimeZone(),
$keys[31] => $this->getUsrDefaultLang(),
$keys[32] => $this->getUsrLastLogin(),
$keys[1] => $this->getUsrId(),
$keys[2] => $this->getUsrUsername(),
$keys[3] => $this->getUsrPassword(),
$keys[4] => $this->getUsrFirstname(),
$keys[5] => $this->getUsrLastname(),
$keys[6] => $this->getUsrEmail(),
$keys[7] => $this->getUsrDueDate(),
$keys[8] => $this->getUsrCreateDate(),
$keys[9] => $this->getUsrUpdateDate(),
$keys[10] => $this->getUsrStatus(),
$keys[11] => $this->getUsrCountry(),
$keys[12] => $this->getUsrCity(),
$keys[13] => $this->getUsrLocation(),
$keys[14] => $this->getUsrAddress(),
$keys[15] => $this->getUsrPhone(),
$keys[16] => $this->getUsrFax(),
$keys[17] => $this->getUsrCellular(),
$keys[18] => $this->getUsrZipCode(),
$keys[19] => $this->getDepUid(),
$keys[20] => $this->getUsrPosition(),
$keys[21] => $this->getUsrResume(),
$keys[22] => $this->getUsrBirthday(),
$keys[23] => $this->getUsrRole(),
$keys[24] => $this->getUsrReportsTo(),
$keys[25] => $this->getUsrReplacedBy(),
$keys[26] => $this->getUsrUx(),
$keys[27] => $this->getUsrCostByHour(),
$keys[28] => $this->getUsrUnitCost(),
$keys[29] => $this->getUsrPmdriveFolderUid(),
$keys[30] => $this->getUsrBookmarkStartCases(),
$keys[31] => $this->getUsrTimeZone(),
$keys[32] => $this->getUsrDefaultLang(),
$keys[33] => $this->getUsrLastLogin(),
);
return $result;
}
@@ -1941,99 +1986,102 @@ abstract class BaseUsers extends BaseObject implements Persistent
$this->setUsrUid($value);
break;
case 1:
$this->setUsrUsername($value);
$this->setUsrId($value);
break;
case 2:
$this->setUsrPassword($value);
$this->setUsrUsername($value);
break;
case 3:
$this->setUsrFirstname($value);
$this->setUsrPassword($value);
break;
case 4:
$this->setUsrLastname($value);
$this->setUsrFirstname($value);
break;
case 5:
$this->setUsrEmail($value);
$this->setUsrLastname($value);
break;
case 6:
$this->setUsrDueDate($value);
$this->setUsrEmail($value);
break;
case 7:
$this->setUsrCreateDate($value);
$this->setUsrDueDate($value);
break;
case 8:
$this->setUsrUpdateDate($value);
$this->setUsrCreateDate($value);
break;
case 9:
$this->setUsrStatus($value);
$this->setUsrUpdateDate($value);
break;
case 10:
$this->setUsrCountry($value);
$this->setUsrStatus($value);
break;
case 11:
$this->setUsrCity($value);
$this->setUsrCountry($value);
break;
case 12:
$this->setUsrLocation($value);
$this->setUsrCity($value);
break;
case 13:
$this->setUsrAddress($value);
$this->setUsrLocation($value);
break;
case 14:
$this->setUsrPhone($value);
$this->setUsrAddress($value);
break;
case 15:
$this->setUsrFax($value);
$this->setUsrPhone($value);
break;
case 16:
$this->setUsrCellular($value);
$this->setUsrFax($value);
break;
case 17:
$this->setUsrZipCode($value);
$this->setUsrCellular($value);
break;
case 18:
$this->setDepUid($value);
$this->setUsrZipCode($value);
break;
case 19:
$this->setUsrPosition($value);
$this->setDepUid($value);
break;
case 20:
$this->setUsrResume($value);
$this->setUsrPosition($value);
break;
case 21:
$this->setUsrBirthday($value);
$this->setUsrResume($value);
break;
case 22:
$this->setUsrRole($value);
$this->setUsrBirthday($value);
break;
case 23:
$this->setUsrReportsTo($value);
$this->setUsrRole($value);
break;
case 24:
$this->setUsrReplacedBy($value);
$this->setUsrReportsTo($value);
break;
case 25:
$this->setUsrUx($value);
$this->setUsrReplacedBy($value);
break;
case 26:
$this->setUsrCostByHour($value);
$this->setUsrUx($value);
break;
case 27:
$this->setUsrUnitCost($value);
$this->setUsrCostByHour($value);
break;
case 28:
$this->setUsrPmdriveFolderUid($value);
$this->setUsrUnitCost($value);
break;
case 29:
$this->setUsrBookmarkStartCases($value);
$this->setUsrPmdriveFolderUid($value);
break;
case 30:
$this->setUsrTimeZone($value);
$this->setUsrBookmarkStartCases($value);
break;
case 31:
$this->setUsrDefaultLang($value);
$this->setUsrTimeZone($value);
break;
case 32:
$this->setUsrDefaultLang($value);
break;
case 33:
$this->setUsrLastLogin($value);
break;
} // switch()
@@ -2064,131 +2112,135 @@ abstract class BaseUsers extends BaseObject implements Persistent
}
if (array_key_exists($keys[1], $arr)) {
$this->setUsrUsername($arr[$keys[1]]);
$this->setUsrId($arr[$keys[1]]);
}
if (array_key_exists($keys[2], $arr)) {
$this->setUsrPassword($arr[$keys[2]]);
$this->setUsrUsername($arr[$keys[2]]);
}
if (array_key_exists($keys[3], $arr)) {
$this->setUsrFirstname($arr[$keys[3]]);
$this->setUsrPassword($arr[$keys[3]]);
}
if (array_key_exists($keys[4], $arr)) {
$this->setUsrLastname($arr[$keys[4]]);
$this->setUsrFirstname($arr[$keys[4]]);
}
if (array_key_exists($keys[5], $arr)) {
$this->setUsrEmail($arr[$keys[5]]);
$this->setUsrLastname($arr[$keys[5]]);
}
if (array_key_exists($keys[6], $arr)) {
$this->setUsrDueDate($arr[$keys[6]]);
$this->setUsrEmail($arr[$keys[6]]);
}
if (array_key_exists($keys[7], $arr)) {
$this->setUsrCreateDate($arr[$keys[7]]);
$this->setUsrDueDate($arr[$keys[7]]);
}
if (array_key_exists($keys[8], $arr)) {
$this->setUsrUpdateDate($arr[$keys[8]]);
$this->setUsrCreateDate($arr[$keys[8]]);
}
if (array_key_exists($keys[9], $arr)) {
$this->setUsrStatus($arr[$keys[9]]);
$this->setUsrUpdateDate($arr[$keys[9]]);
}
if (array_key_exists($keys[10], $arr)) {
$this->setUsrCountry($arr[$keys[10]]);
$this->setUsrStatus($arr[$keys[10]]);
}
if (array_key_exists($keys[11], $arr)) {
$this->setUsrCity($arr[$keys[11]]);
$this->setUsrCountry($arr[$keys[11]]);
}
if (array_key_exists($keys[12], $arr)) {
$this->setUsrLocation($arr[$keys[12]]);
$this->setUsrCity($arr[$keys[12]]);
}
if (array_key_exists($keys[13], $arr)) {
$this->setUsrAddress($arr[$keys[13]]);
$this->setUsrLocation($arr[$keys[13]]);
}
if (array_key_exists($keys[14], $arr)) {
$this->setUsrPhone($arr[$keys[14]]);
$this->setUsrAddress($arr[$keys[14]]);
}
if (array_key_exists($keys[15], $arr)) {
$this->setUsrFax($arr[$keys[15]]);
$this->setUsrPhone($arr[$keys[15]]);
}
if (array_key_exists($keys[16], $arr)) {
$this->setUsrCellular($arr[$keys[16]]);
$this->setUsrFax($arr[$keys[16]]);
}
if (array_key_exists($keys[17], $arr)) {
$this->setUsrZipCode($arr[$keys[17]]);
$this->setUsrCellular($arr[$keys[17]]);
}
if (array_key_exists($keys[18], $arr)) {
$this->setDepUid($arr[$keys[18]]);
$this->setUsrZipCode($arr[$keys[18]]);
}
if (array_key_exists($keys[19], $arr)) {
$this->setUsrPosition($arr[$keys[19]]);
$this->setDepUid($arr[$keys[19]]);
}
if (array_key_exists($keys[20], $arr)) {
$this->setUsrResume($arr[$keys[20]]);
$this->setUsrPosition($arr[$keys[20]]);
}
if (array_key_exists($keys[21], $arr)) {
$this->setUsrBirthday($arr[$keys[21]]);
$this->setUsrResume($arr[$keys[21]]);
}
if (array_key_exists($keys[22], $arr)) {
$this->setUsrRole($arr[$keys[22]]);
$this->setUsrBirthday($arr[$keys[22]]);
}
if (array_key_exists($keys[23], $arr)) {
$this->setUsrReportsTo($arr[$keys[23]]);
$this->setUsrRole($arr[$keys[23]]);
}
if (array_key_exists($keys[24], $arr)) {
$this->setUsrReplacedBy($arr[$keys[24]]);
$this->setUsrReportsTo($arr[$keys[24]]);
}
if (array_key_exists($keys[25], $arr)) {
$this->setUsrUx($arr[$keys[25]]);
$this->setUsrReplacedBy($arr[$keys[25]]);
}
if (array_key_exists($keys[26], $arr)) {
$this->setUsrCostByHour($arr[$keys[26]]);
$this->setUsrUx($arr[$keys[26]]);
}
if (array_key_exists($keys[27], $arr)) {
$this->setUsrUnitCost($arr[$keys[27]]);
$this->setUsrCostByHour($arr[$keys[27]]);
}
if (array_key_exists($keys[28], $arr)) {
$this->setUsrPmdriveFolderUid($arr[$keys[28]]);
$this->setUsrUnitCost($arr[$keys[28]]);
}
if (array_key_exists($keys[29], $arr)) {
$this->setUsrBookmarkStartCases($arr[$keys[29]]);
$this->setUsrPmdriveFolderUid($arr[$keys[29]]);
}
if (array_key_exists($keys[30], $arr)) {
$this->setUsrTimeZone($arr[$keys[30]]);
$this->setUsrBookmarkStartCases($arr[$keys[30]]);
}
if (array_key_exists($keys[31], $arr)) {
$this->setUsrDefaultLang($arr[$keys[31]]);
$this->setUsrTimeZone($arr[$keys[31]]);
}
if (array_key_exists($keys[32], $arr)) {
$this->setUsrLastLogin($arr[$keys[32]]);
$this->setUsrDefaultLang($arr[$keys[32]]);
}
if (array_key_exists($keys[33], $arr)) {
$this->setUsrLastLogin($arr[$keys[33]]);
}
}
@@ -2206,6 +2258,10 @@ abstract class BaseUsers extends BaseObject implements Persistent
$criteria->add(UsersPeer::USR_UID, $this->usr_uid);
}
if ($this->isColumnModified(UsersPeer::USR_ID)) {
$criteria->add(UsersPeer::USR_ID, $this->usr_id);
}
if ($this->isColumnModified(UsersPeer::USR_USERNAME)) {
$criteria->add(UsersPeer::USR_USERNAME, $this->usr_username);
}
@@ -2388,6 +2444,8 @@ abstract class BaseUsers extends BaseObject implements Persistent
public function copyInto($copyObj, $deepCopy = false)
{
$copyObj->setUsrId($this->usr_id);
$copyObj->setUsrUsername($this->usr_username);
$copyObj->setUsrPassword($this->usr_password);

View File

@@ -25,7 +25,7 @@ abstract class BaseUsersPeer
const CLASS_DEFAULT = 'classes.model.Users';
/** The total number of columns. */
const NUM_COLUMNS = 33;
const NUM_COLUMNS = 34;
/** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0;
@@ -34,6 +34,9 @@ abstract class BaseUsersPeer
/** the column name for the USR_UID field */
const USR_UID = 'USERS.USR_UID';
/** the column name for the USR_ID field */
const USR_ID = 'USERS.USR_ID';
/** the column name for the USR_USERNAME field */
const USR_USERNAME = 'USERS.USR_USERNAME';
@@ -141,10 +144,10 @@ abstract class BaseUsersPeer
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
*/
private static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('UsrUid', 'UsrUsername', 'UsrPassword', 'UsrFirstname', 'UsrLastname', 'UsrEmail', 'UsrDueDate', 'UsrCreateDate', 'UsrUpdateDate', 'UsrStatus', 'UsrCountry', 'UsrCity', 'UsrLocation', 'UsrAddress', 'UsrPhone', 'UsrFax', 'UsrCellular', 'UsrZipCode', 'DepUid', 'UsrPosition', 'UsrResume', 'UsrBirthday', 'UsrRole', 'UsrReportsTo', 'UsrReplacedBy', 'UsrUx', 'UsrCostByHour', 'UsrUnitCost', 'UsrPmdriveFolderUid', 'UsrBookmarkStartCases', 'UsrTimeZone', 'UsrDefaultLang', 'UsrLastLogin', ),
BasePeer::TYPE_COLNAME => array (UsersPeer::USR_UID, UsersPeer::USR_USERNAME, UsersPeer::USR_PASSWORD, UsersPeer::USR_FIRSTNAME, UsersPeer::USR_LASTNAME, UsersPeer::USR_EMAIL, UsersPeer::USR_DUE_DATE, UsersPeer::USR_CREATE_DATE, UsersPeer::USR_UPDATE_DATE, UsersPeer::USR_STATUS, UsersPeer::USR_COUNTRY, UsersPeer::USR_CITY, UsersPeer::USR_LOCATION, UsersPeer::USR_ADDRESS, UsersPeer::USR_PHONE, UsersPeer::USR_FAX, UsersPeer::USR_CELLULAR, UsersPeer::USR_ZIP_CODE, UsersPeer::DEP_UID, UsersPeer::USR_POSITION, UsersPeer::USR_RESUME, UsersPeer::USR_BIRTHDAY, UsersPeer::USR_ROLE, UsersPeer::USR_REPORTS_TO, UsersPeer::USR_REPLACED_BY, UsersPeer::USR_UX, UsersPeer::USR_COST_BY_HOUR, UsersPeer::USR_UNIT_COST, UsersPeer::USR_PMDRIVE_FOLDER_UID, UsersPeer::USR_BOOKMARK_START_CASES, UsersPeer::USR_TIME_ZONE, UsersPeer::USR_DEFAULT_LANG, UsersPeer::USR_LAST_LOGIN, ),
BasePeer::TYPE_FIELDNAME => array ('USR_UID', 'USR_USERNAME', 'USR_PASSWORD', 'USR_FIRSTNAME', 'USR_LASTNAME', 'USR_EMAIL', 'USR_DUE_DATE', 'USR_CREATE_DATE', 'USR_UPDATE_DATE', 'USR_STATUS', 'USR_COUNTRY', 'USR_CITY', 'USR_LOCATION', 'USR_ADDRESS', 'USR_PHONE', 'USR_FAX', 'USR_CELLULAR', 'USR_ZIP_CODE', 'DEP_UID', 'USR_POSITION', 'USR_RESUME', 'USR_BIRTHDAY', 'USR_ROLE', 'USR_REPORTS_TO', 'USR_REPLACED_BY', 'USR_UX', 'USR_COST_BY_HOUR', 'USR_UNIT_COST', 'USR_PMDRIVE_FOLDER_UID', 'USR_BOOKMARK_START_CASES', 'USR_TIME_ZONE', 'USR_DEFAULT_LANG', 'USR_LAST_LOGIN', ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, )
BasePeer::TYPE_PHPNAME => array ('UsrUid', 'UsrId', 'UsrUsername', 'UsrPassword', 'UsrFirstname', 'UsrLastname', 'UsrEmail', 'UsrDueDate', 'UsrCreateDate', 'UsrUpdateDate', 'UsrStatus', 'UsrCountry', 'UsrCity', 'UsrLocation', 'UsrAddress', 'UsrPhone', 'UsrFax', 'UsrCellular', 'UsrZipCode', 'DepUid', 'UsrPosition', 'UsrResume', 'UsrBirthday', 'UsrRole', 'UsrReportsTo', 'UsrReplacedBy', 'UsrUx', 'UsrCostByHour', 'UsrUnitCost', 'UsrPmdriveFolderUid', 'UsrBookmarkStartCases', 'UsrTimeZone', 'UsrDefaultLang', 'UsrLastLogin', ),
BasePeer::TYPE_COLNAME => array (UsersPeer::USR_UID, UsersPeer::USR_ID, UsersPeer::USR_USERNAME, UsersPeer::USR_PASSWORD, UsersPeer::USR_FIRSTNAME, UsersPeer::USR_LASTNAME, UsersPeer::USR_EMAIL, UsersPeer::USR_DUE_DATE, UsersPeer::USR_CREATE_DATE, UsersPeer::USR_UPDATE_DATE, UsersPeer::USR_STATUS, UsersPeer::USR_COUNTRY, UsersPeer::USR_CITY, UsersPeer::USR_LOCATION, UsersPeer::USR_ADDRESS, UsersPeer::USR_PHONE, UsersPeer::USR_FAX, UsersPeer::USR_CELLULAR, UsersPeer::USR_ZIP_CODE, UsersPeer::DEP_UID, UsersPeer::USR_POSITION, UsersPeer::USR_RESUME, UsersPeer::USR_BIRTHDAY, UsersPeer::USR_ROLE, UsersPeer::USR_REPORTS_TO, UsersPeer::USR_REPLACED_BY, UsersPeer::USR_UX, UsersPeer::USR_COST_BY_HOUR, UsersPeer::USR_UNIT_COST, UsersPeer::USR_PMDRIVE_FOLDER_UID, UsersPeer::USR_BOOKMARK_START_CASES, UsersPeer::USR_TIME_ZONE, UsersPeer::USR_DEFAULT_LANG, UsersPeer::USR_LAST_LOGIN, ),
BasePeer::TYPE_FIELDNAME => array ('USR_UID', 'USR_ID', 'USR_USERNAME', 'USR_PASSWORD', 'USR_FIRSTNAME', 'USR_LASTNAME', 'USR_EMAIL', 'USR_DUE_DATE', 'USR_CREATE_DATE', 'USR_UPDATE_DATE', 'USR_STATUS', 'USR_COUNTRY', 'USR_CITY', 'USR_LOCATION', 'USR_ADDRESS', 'USR_PHONE', 'USR_FAX', 'USR_CELLULAR', 'USR_ZIP_CODE', 'DEP_UID', 'USR_POSITION', 'USR_RESUME', 'USR_BIRTHDAY', 'USR_ROLE', 'USR_REPORTS_TO', 'USR_REPLACED_BY', 'USR_UX', 'USR_COST_BY_HOUR', 'USR_UNIT_COST', 'USR_PMDRIVE_FOLDER_UID', 'USR_BOOKMARK_START_CASES', 'USR_TIME_ZONE', 'USR_DEFAULT_LANG', 'USR_LAST_LOGIN', ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, )
);
/**
@@ -154,10 +157,10 @@ abstract class BaseUsersPeer
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/
private static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('UsrUid' => 0, 'UsrUsername' => 1, 'UsrPassword' => 2, 'UsrFirstname' => 3, 'UsrLastname' => 4, 'UsrEmail' => 5, 'UsrDueDate' => 6, 'UsrCreateDate' => 7, 'UsrUpdateDate' => 8, 'UsrStatus' => 9, 'UsrCountry' => 10, 'UsrCity' => 11, 'UsrLocation' => 12, 'UsrAddress' => 13, 'UsrPhone' => 14, 'UsrFax' => 15, 'UsrCellular' => 16, 'UsrZipCode' => 17, 'DepUid' => 18, 'UsrPosition' => 19, 'UsrResume' => 20, 'UsrBirthday' => 21, 'UsrRole' => 22, 'UsrReportsTo' => 23, 'UsrReplacedBy' => 24, 'UsrUx' => 25, 'UsrCostByHour' => 26, 'UsrUnitCost' => 27, 'UsrPmdriveFolderUid' => 28, 'UsrBookmarkStartCases' => 29, 'UsrTimeZone' => 30, 'UsrDefaultLang' => 31, 'UsrLastLogin' => 32, ),
BasePeer::TYPE_COLNAME => array (UsersPeer::USR_UID => 0, UsersPeer::USR_USERNAME => 1, UsersPeer::USR_PASSWORD => 2, UsersPeer::USR_FIRSTNAME => 3, UsersPeer::USR_LASTNAME => 4, UsersPeer::USR_EMAIL => 5, UsersPeer::USR_DUE_DATE => 6, UsersPeer::USR_CREATE_DATE => 7, UsersPeer::USR_UPDATE_DATE => 8, UsersPeer::USR_STATUS => 9, UsersPeer::USR_COUNTRY => 10, UsersPeer::USR_CITY => 11, UsersPeer::USR_LOCATION => 12, UsersPeer::USR_ADDRESS => 13, UsersPeer::USR_PHONE => 14, UsersPeer::USR_FAX => 15, UsersPeer::USR_CELLULAR => 16, UsersPeer::USR_ZIP_CODE => 17, UsersPeer::DEP_UID => 18, UsersPeer::USR_POSITION => 19, UsersPeer::USR_RESUME => 20, UsersPeer::USR_BIRTHDAY => 21, UsersPeer::USR_ROLE => 22, UsersPeer::USR_REPORTS_TO => 23, UsersPeer::USR_REPLACED_BY => 24, UsersPeer::USR_UX => 25, UsersPeer::USR_COST_BY_HOUR => 26, UsersPeer::USR_UNIT_COST => 27, UsersPeer::USR_PMDRIVE_FOLDER_UID => 28, UsersPeer::USR_BOOKMARK_START_CASES => 29, UsersPeer::USR_TIME_ZONE => 30, UsersPeer::USR_DEFAULT_LANG => 31, UsersPeer::USR_LAST_LOGIN => 32, ),
BasePeer::TYPE_FIELDNAME => array ('USR_UID' => 0, 'USR_USERNAME' => 1, 'USR_PASSWORD' => 2, 'USR_FIRSTNAME' => 3, 'USR_LASTNAME' => 4, 'USR_EMAIL' => 5, 'USR_DUE_DATE' => 6, 'USR_CREATE_DATE' => 7, 'USR_UPDATE_DATE' => 8, 'USR_STATUS' => 9, 'USR_COUNTRY' => 10, 'USR_CITY' => 11, 'USR_LOCATION' => 12, 'USR_ADDRESS' => 13, 'USR_PHONE' => 14, 'USR_FAX' => 15, 'USR_CELLULAR' => 16, 'USR_ZIP_CODE' => 17, 'DEP_UID' => 18, 'USR_POSITION' => 19, 'USR_RESUME' => 20, 'USR_BIRTHDAY' => 21, 'USR_ROLE' => 22, 'USR_REPORTS_TO' => 23, 'USR_REPLACED_BY' => 24, 'USR_UX' => 25, 'USR_COST_BY_HOUR' => 26, 'USR_UNIT_COST' => 27, 'USR_PMDRIVE_FOLDER_UID' => 28, 'USR_BOOKMARK_START_CASES' => 29, 'USR_TIME_ZONE' => 30, 'USR_DEFAULT_LANG' => 31, 'USR_LAST_LOGIN' => 32, ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, )
BasePeer::TYPE_PHPNAME => array ('UsrUid' => 0, 'UsrId' => 1, 'UsrUsername' => 2, 'UsrPassword' => 3, 'UsrFirstname' => 4, 'UsrLastname' => 5, 'UsrEmail' => 6, 'UsrDueDate' => 7, 'UsrCreateDate' => 8, 'UsrUpdateDate' => 9, 'UsrStatus' => 10, 'UsrCountry' => 11, 'UsrCity' => 12, 'UsrLocation' => 13, 'UsrAddress' => 14, 'UsrPhone' => 15, 'UsrFax' => 16, 'UsrCellular' => 17, 'UsrZipCode' => 18, 'DepUid' => 19, 'UsrPosition' => 20, 'UsrResume' => 21, 'UsrBirthday' => 22, 'UsrRole' => 23, 'UsrReportsTo' => 24, 'UsrReplacedBy' => 25, 'UsrUx' => 26, 'UsrCostByHour' => 27, 'UsrUnitCost' => 28, 'UsrPmdriveFolderUid' => 29, 'UsrBookmarkStartCases' => 30, 'UsrTimeZone' => 31, 'UsrDefaultLang' => 32, 'UsrLastLogin' => 33, ),
BasePeer::TYPE_COLNAME => array (UsersPeer::USR_UID => 0, UsersPeer::USR_ID => 1, UsersPeer::USR_USERNAME => 2, UsersPeer::USR_PASSWORD => 3, UsersPeer::USR_FIRSTNAME => 4, UsersPeer::USR_LASTNAME => 5, UsersPeer::USR_EMAIL => 6, UsersPeer::USR_DUE_DATE => 7, UsersPeer::USR_CREATE_DATE => 8, UsersPeer::USR_UPDATE_DATE => 9, UsersPeer::USR_STATUS => 10, UsersPeer::USR_COUNTRY => 11, UsersPeer::USR_CITY => 12, UsersPeer::USR_LOCATION => 13, UsersPeer::USR_ADDRESS => 14, UsersPeer::USR_PHONE => 15, UsersPeer::USR_FAX => 16, UsersPeer::USR_CELLULAR => 17, UsersPeer::USR_ZIP_CODE => 18, UsersPeer::DEP_UID => 19, UsersPeer::USR_POSITION => 20, UsersPeer::USR_RESUME => 21, UsersPeer::USR_BIRTHDAY => 22, UsersPeer::USR_ROLE => 23, UsersPeer::USR_REPORTS_TO => 24, UsersPeer::USR_REPLACED_BY => 25, UsersPeer::USR_UX => 26, UsersPeer::USR_COST_BY_HOUR => 27, UsersPeer::USR_UNIT_COST => 28, UsersPeer::USR_PMDRIVE_FOLDER_UID => 29, UsersPeer::USR_BOOKMARK_START_CASES => 30, UsersPeer::USR_TIME_ZONE => 31, UsersPeer::USR_DEFAULT_LANG => 32, UsersPeer::USR_LAST_LOGIN => 33, ),
BasePeer::TYPE_FIELDNAME => array ('USR_UID' => 0, 'USR_ID' => 1, 'USR_USERNAME' => 2, 'USR_PASSWORD' => 3, 'USR_FIRSTNAME' => 4, 'USR_LASTNAME' => 5, 'USR_EMAIL' => 6, 'USR_DUE_DATE' => 7, 'USR_CREATE_DATE' => 8, 'USR_UPDATE_DATE' => 9, 'USR_STATUS' => 10, 'USR_COUNTRY' => 11, 'USR_CITY' => 12, 'USR_LOCATION' => 13, 'USR_ADDRESS' => 14, 'USR_PHONE' => 15, 'USR_FAX' => 16, 'USR_CELLULAR' => 17, 'USR_ZIP_CODE' => 18, 'DEP_UID' => 19, 'USR_POSITION' => 20, 'USR_RESUME' => 21, 'USR_BIRTHDAY' => 22, 'USR_ROLE' => 23, 'USR_REPORTS_TO' => 24, 'USR_REPLACED_BY' => 25, 'USR_UX' => 26, 'USR_COST_BY_HOUR' => 27, 'USR_UNIT_COST' => 28, 'USR_PMDRIVE_FOLDER_UID' => 29, 'USR_BOOKMARK_START_CASES' => 30, 'USR_TIME_ZONE' => 31, 'USR_DEFAULT_LANG' => 32, 'USR_LAST_LOGIN' => 33, ),
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, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, )
);
/**
@@ -260,6 +263,8 @@ abstract class BaseUsersPeer
$criteria->addSelectColumn(UsersPeer::USR_UID);
$criteria->addSelectColumn(UsersPeer::USR_ID);
$criteria->addSelectColumn(UsersPeer::USR_USERNAME);
$criteria->addSelectColumn(UsersPeer::USR_PASSWORD);

View File

@@ -27,6 +27,7 @@
<column name="APP_NUMBER" type="INTEGER" required="true" default="0"/>
<column name="APP_PARENT" type="VARCHAR" size="32" required="true" default="0"/>
<column name="APP_STATUS" type="VARCHAR" size="100" required="true" default=""/>
<column name="APP_STATUS_ID" type="INTEGER" required="true" default="1"/>
<column name="PRO_UID" type="VARCHAR" size="32" required="true" default=""/>
<column name="APP_PROC_STATUS" type="VARCHAR" size="100" required="true" default=""/>
<column name="APP_PROC_CODE" type="VARCHAR" size="100" required="true" default=""/>
@@ -92,11 +93,14 @@
<parameter name="Seq_in_index" value="1"/>
</vendor>
</index>
<unique name="INDEX_APP_NUMBER">
<unique-column name="APP_NUMBER" />
</unique>
</table>
<table name="APP_SEQUENCE" idMethod="native">
<column name="ID" type="INTEGER" required="true" primaryKey="true" autoIncrement="true" />
</table>
<table name="APP_DELEGATION">
<table name="APP_DELEGATION" idMethod="native">
<vendor type="mysql">
<parameter name="Name" value="APP_DELEGATION"/>
<parameter name="Engine" value="InnoDB"/>
@@ -119,6 +123,8 @@
</vendor>
<column name="APP_UID" type="VARCHAR" size="32" required="true" primaryKey="true" default=""/>
<column name="DEL_INDEX" type="INTEGER" required="true" primaryKey="true" default="0"/>
<column name="DELEGATION_ID" type="INTEGER" required="true" autoIncrement="true" unique="true"/>
<column name="APP_NUMBER" type="INTEGER" required="false" default="0"/>
<column name="DEL_PREVIOUS" type="INTEGER" required="true" default="0"/>
<column name="DEL_LAST_INDEX" type="INTEGER" required="true" default="0"/>
<column name="PRO_UID" type="VARCHAR" size="32" required="true" default=""/>
@@ -141,6 +147,12 @@
<column name="DEL_DELAYED" type="TINYINT" required="false" default="0"/>
<column name="DEL_DATA" type="LONGVARCHAR" required="true"/>
<column name="APP_OVERDUE_PERCENTAGE" type="DOUBLE" required="true" default="0"/>
<column name="USR_ID" type="INTEGER" required="false" default="0"/>
<column name="PRO_ID" type="INTEGER" required="false" default="0"/>
<column name="TAS_ID" type="INTEGER" required="false" default="0"/>
<unique name="DELEGATION_ID">
<unique-column name="DELEGATION_ID" />
</unique>
<validator column="DEL_TYPE">
<rule name="validValues" value="NORMAL|PARALLEL" message="Please select a valid status." />
</validator>
@@ -150,6 +162,21 @@
<validator column="DEL_THREAD_STATUS">
<rule name="validValues" value="CLOSED|OPEN|PAUSED" message="Please select a valid status." />
</validator>
<index name="INDEX_APP_NUMBER">
<index-column name="APP_NUMBER"/>
</index>
<index name="INDEX_USR_ID">
<index-column name="USR_ID"/>
</index>
<index name="INDEX_PRO_ID">
<index-column name="PRO_ID"/>
</index>
<index name="INDEX_TAS_ID">
<index-column name="TAS_ID"/>
</index>
<index name="INDEX_USR_UID">
<index-column name="USR_UID"/>
</index>
</table>
<table name="APP_DOCUMENT">
<vendor type="mysql">
@@ -864,7 +891,7 @@
<rule name="validValues" value="HTML|ITEXT|JRXML|ACROFORM" message="Please select a valid Output Document Type."/>
</validator>
</table>
<table name="PROCESS">
<table name="PROCESS" idMethod="native">
<vendor type="mysql">
<parameter name="Name" value="PROCESS"/>
<parameter name="Engine" value="InnoDB"/>
@@ -886,6 +913,7 @@
<parameter name="Comment" value="Store process Information"/>
</vendor>
<column name="PRO_UID" type="VARCHAR" size="32" required="true" primaryKey="true" default=""/>
<column name="PRO_ID" type="INTEGER" required="true" autoIncrement="true" unique="true"/>
<column name="PRO_TITLE" type="LONGVARCHAR" required="true"/>
<column name="PRO_DESCRIPTION" type="LONGVARCHAR"/>
<column name="PRO_PARENT" type="VARCHAR" size="32" required="true" default="0"/>
@@ -925,6 +953,9 @@
<column name="PRO_UNIT_COST" type="VARCHAR" size="50" required="false" default=""/>
<column name="PRO_ITEE" type="INTEGER" required="true" default="0"/>
<column name="PRO_ACTION_DONE" type="LONGVARCHAR" />
<unique name="INDEX_PRO_ID">
<unique-column name="PRO_ID" />
</unique>
<validator column="PRO_TIMEUNIT">
<rule name="validValues" value="WEEKS|MONTHS|DAYS|HOURS|MINUTES" message="Please select a valid Time Unit."/>
</validator>
@@ -1250,7 +1281,7 @@
<rule name="required" message="Swimlane Element type is required."/>
</validator>
</table>
<table name="TASK">
<table name="TASK" idMethod="native">
<vendor type="mysql">
<parameter name="Name" value="TASK"/>
<parameter name="Engine" value="InnoDB"/>
@@ -1273,7 +1304,7 @@
</vendor>
<column name="PRO_UID" type="VARCHAR" size="32" required="true" default=""/>
<column name="TAS_UID" type="VARCHAR" size="32" required="true" primaryKey="true" default=""/>
<column name="TAS_ID" type="INTEGER" required="true" autoIncrement="true" unique="true"/>
<column name="TAS_TITLE" type="LONGVARCHAR" required="true"/>
<column name="TAS_DESCRIPTION" type="LONGVARCHAR"/>
<column name="TAS_DEF_TITLE" type="LONGVARCHAR"/>
@@ -1281,7 +1312,6 @@
<column name="TAS_DEF_PROC_CODE" type="LONGVARCHAR"/>
<column name="TAS_DEF_MESSAGE" type="LONGVARCHAR"/>
<column name="TAS_DEF_DESCRIPTION" type="LONGVARCHAR"/>
<column name="TAS_TYPE" type="VARCHAR" size="50" required="true" default="NORMAL"/>
<column name="TAS_DURATION" type="DOUBLE" required="true" default="0"/>
<column name="TAS_DELAY_TYPE" type="VARCHAR" size="30" required="true" default=""/>
@@ -1338,10 +1368,12 @@
<column name="TAS_RECEIVE_MESSAGE_TEMPLATE" type="VARCHAR" size="100" required="true" default="alert_message.html"/>
<column name="TAS_RECEIVE_SUBJECT_MESSAGE" type="LONGVARCHAR"/>
<column name="TAS_RECEIVE_MESSAGE" type="LONGVARCHAR"/>
<unique name="INDEX_TAS_ID">
<unique-column name="TAS_ID" />
</unique>
<index name="indexTasUid">
<index-column name="TAS_UID"/>
</index>
<validator column="TAS_TYPE">
<rule name="validValues" value="NORMAL|ADHOC|SUBPROCESS|HIDDEN|GATEWAYTOGATEWAY|WEBENTRYEVENT|END-MESSAGE-EVENT|START-MESSAGE-EVENT|INTERMEDIATE-THROW-MESSAGE-EVENT|INTERMEDIATE-CATCH-MESSAGE-EVENT|SCRIPT-TASK|START-TIMER-EVENT|INTERMEDIATE-CATCH-TIMER-EVENT|END-EMAIL-EVENT|INTERMEDIATE-THROW-EMAIL-EVENT|SERVICE-TASK" message="Please set a valid value for TAS_TYPE" />
</validator>
@@ -1518,7 +1550,7 @@
<rule name="required" message="Type is required."/>
</validator>
</table>
<table name="USERS">
<table name="USERS" idMethod="native">
<vendor type="mysql">
<parameter name="Name" value="USERS"/>
<parameter name="Engine" value="InnoDB"/>
@@ -1540,6 +1572,7 @@
<parameter name="Comment" value="Users"/>
</vendor>
<column name="USR_UID" type="VARCHAR" size="32" required="true" primaryKey="true" default=""/>
<column name="USR_ID" type="INTEGER" required="true" autoIncrement="true" unique="true"/>
<column name="USR_USERNAME" type="VARCHAR" size="100" required="true" default=""/>
<column name="USR_PASSWORD" type="VARCHAR" size="128" required="true" default=""/>
<column name="USR_FIRSTNAME" type="VARCHAR" size="50" required="true" default=""/>
@@ -1581,6 +1614,9 @@
<column name="USR_TIME_ZONE" type="VARCHAR" size="100" default="" />
<column name="USR_DEFAULT_LANG" type="VARCHAR" size="10" default=""/>
<column name="USR_LAST_LOGIN" type="TIMESTAMP" required="false"/>
<unique name="INDEX_USR_ID">
<unique-column name="USR_ID" />
</unique>
<index name="indexUsrUid">
<index-column name="USR_UID"/>
</index>
@@ -1615,6 +1651,14 @@
<column name="APP_THREAD_PARENT" type="INTEGER" required="true" default="0"/>
<column name="APP_THREAD_STATUS" type="VARCHAR" size="32" required="true" default="OPEN"/>
<column name="DEL_INDEX" type="INTEGER" required="true" default="0"/>
<column name="APP_NUMBER" type="INTEGER" required="false" default="0"/>
<column name="DELEGATION_ID" type="INTEGER" required="false" default="0"/>
<index name="INDEX_APP_NUMBER">
<index-column name="APP_NUMBER"/>
</index>
<index name="INDEX_DELEGATION_ID">
<index-column name="DELEGATION_ID"/>
</index>
<validator column="APP_THREAD_STATUS">
<rule name="validValues" value="CLOSED|OPEN" message="Please select a valid status."/>
</validator>
@@ -1654,6 +1698,8 @@
<column name="APP_DISABLE_ACTION_USER" type="VARCHAR" size="32" default="0"/>
<column name="APP_DISABLE_ACTION_DATE" type="TIMESTAMP"/>
<column name="APP_AUTOMATIC_DISABLED_DATE" type="TIMESTAMP"/>
<column name="APP_NUMBER" type="INTEGER" required="false" default="0"/>
<column name="DELEGATION_ID" type="INTEGER" required="false" default="0"/>
<index name="indexAppDelay">
<index-column name="PRO_UID"/>
<index-column name="APP_UID"/>
@@ -1680,6 +1726,12 @@
<index name="indexAppUid">
<index-column name="APP_UID"/>
</index>
<index name="INDEX_APP_NUMBER">
<index-column name="APP_NUMBER"/>
</index>
<index name="INDEX_DELEGATION_ID">
<index-column name="DELEGATION_ID"/>
</index>
</table>
<table name="PROCESS_USER">
<vendor type="mysql">

View File

@@ -18,6 +18,7 @@ CREATE TABLE `APPLICATION`
`APP_NUMBER` INTEGER default 0 NOT NULL,
`APP_PARENT` VARCHAR(32) default '0' NOT NULL,
`APP_STATUS` VARCHAR(100) default '' NOT NULL,
`APP_STATUS_ID` INTEGER default 1 NOT NULL,
`PRO_UID` VARCHAR(32) default '' NOT NULL,
`APP_PROC_STATUS` VARCHAR(100) default '' NOT NULL,
`APP_PROC_CODE` VARCHAR(100) default '' NOT NULL,
@@ -35,6 +36,7 @@ CREATE TABLE `APPLICATION`
`APP_DRIVE_FOLDER_UID` VARCHAR(32) default '',
`APP_ROUTING_DATA` MEDIUMTEXT,
PRIMARY KEY (`APP_UID`),
UNIQUE KEY `INDEX_APP_NUMBER` (`APP_NUMBER`),
KEY `indexApp`(`PRO_UID`, `APP_STATUS`, `APP_UID`),
KEY `indexAppNumber`(`APP_NUMBER`),
KEY `indexAppStatus`(`APP_STATUS`),
@@ -63,6 +65,8 @@ CREATE TABLE `APP_DELEGATION`
(
`APP_UID` VARCHAR(32) default '' NOT NULL,
`DEL_INDEX` INTEGER default 0 NOT NULL,
`DELEGATION_ID` INTEGER NOT NULL AUTO_INCREMENT,
`APP_NUMBER` INTEGER default 0,
`DEL_PREVIOUS` INTEGER default 0 NOT NULL,
`DEL_LAST_INDEX` INTEGER default 0 NOT NULL,
`PRO_UID` VARCHAR(32) default '' NOT NULL,
@@ -85,7 +89,16 @@ CREATE TABLE `APP_DELEGATION`
`DEL_DELAYED` TINYINT default 0,
`DEL_DATA` MEDIUMTEXT NOT NULL,
`APP_OVERDUE_PERCENTAGE` DOUBLE default 0 NOT NULL,
PRIMARY KEY (`APP_UID`,`DEL_INDEX`)
`USR_ID` INTEGER default 0,
`PRO_ID` INTEGER default 0,
`TAS_ID` INTEGER default 0,
PRIMARY KEY (`APP_UID`,`DEL_INDEX`),
UNIQUE KEY `DELEGATION_ID` (`DELEGATION_ID`),
KEY `INDEX_APP_NUMBER`(`APP_NUMBER`),
KEY `INDEX_USR_ID`(`USR_ID`),
KEY `INDEX_PRO_ID`(`PRO_ID`),
KEY `INDEX_TAS_ID`(`TAS_ID`),
KEY `INDEX_USR_UID`(`USR_UID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Delegation a task to user';
#-----------------------------------------------------------------------------
#-- APP_DOCUMENT
@@ -432,6 +445,7 @@ DROP TABLE IF EXISTS `PROCESS`;
CREATE TABLE `PROCESS`
(
`PRO_UID` VARCHAR(32) default '' NOT NULL,
`PRO_ID` INTEGER NOT NULL AUTO_INCREMENT,
`PRO_TITLE` MEDIUMTEXT NOT NULL,
`PRO_DESCRIPTION` MEDIUMTEXT,
`PRO_PARENT` VARCHAR(32) default '0' NOT NULL,
@@ -471,7 +485,8 @@ CREATE TABLE `PROCESS`
`PRO_UNIT_COST` VARCHAR(50) default '',
`PRO_ITEE` INTEGER default 0 NOT NULL,
`PRO_ACTION_DONE` MEDIUMTEXT,
PRIMARY KEY (`PRO_UID`)
PRIMARY KEY (`PRO_UID`),
UNIQUE KEY `INDEX_PRO_ID` (`PRO_ID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Store process Information';
#-----------------------------------------------------------------------------
#-- PROCESS_OWNER
@@ -618,6 +633,7 @@ CREATE TABLE `TASK`
(
`PRO_UID` VARCHAR(32) default '' NOT NULL,
`TAS_UID` VARCHAR(32) default '' NOT NULL,
`TAS_ID` INTEGER NOT NULL AUTO_INCREMENT,
`TAS_TITLE` MEDIUMTEXT NOT NULL,
`TAS_DESCRIPTION` MEDIUMTEXT,
`TAS_DEF_TITLE` MEDIUMTEXT,
@@ -682,6 +698,7 @@ CREATE TABLE `TASK`
`TAS_RECEIVE_SUBJECT_MESSAGE` MEDIUMTEXT,
`TAS_RECEIVE_MESSAGE` MEDIUMTEXT,
PRIMARY KEY (`TAS_UID`),
UNIQUE KEY `INDEX_TAS_ID` (`TAS_ID`),
KEY `indexTasUid`(`TAS_UID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Task of workflow';
#-----------------------------------------------------------------------------
@@ -743,6 +760,7 @@ DROP TABLE IF EXISTS `USERS`;
CREATE TABLE `USERS`
(
`USR_UID` VARCHAR(32) default '' NOT NULL,
`USR_ID` INTEGER NOT NULL AUTO_INCREMENT,
`USR_USERNAME` VARCHAR(100) default '' NOT NULL,
`USR_PASSWORD` VARCHAR(128) default '' NOT NULL,
`USR_FIRSTNAME` VARCHAR(50) default '' NOT NULL,
@@ -776,6 +794,7 @@ CREATE TABLE `USERS`
`USR_DEFAULT_LANG` VARCHAR(10) default '',
`USR_LAST_LOGIN` DATETIME,
PRIMARY KEY (`USR_UID`),
UNIQUE KEY `INDEX_USR_ID` (`USR_ID`),
KEY `indexUsrUid`(`USR_UID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Users';
#-----------------------------------------------------------------------------
@@ -792,7 +811,11 @@ CREATE TABLE `APP_THREAD`
`APP_THREAD_PARENT` INTEGER default 0 NOT NULL,
`APP_THREAD_STATUS` VARCHAR(32) default 'OPEN' NOT NULL,
`DEL_INDEX` INTEGER default 0 NOT NULL,
PRIMARY KEY (`APP_UID`,`APP_THREAD_INDEX`)
`APP_NUMBER` INTEGER default 0,
`DELEGATION_ID` INTEGER default 0,
PRIMARY KEY (`APP_UID`,`APP_THREAD_INDEX`),
KEY `INDEX_APP_NUMBER`(`APP_NUMBER`),
KEY `INDEX_DELEGATION_ID`(`DELEGATION_ID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='APP_THREAD';
#-----------------------------------------------------------------------------
#-- APP_DELAY
@@ -817,9 +840,13 @@ CREATE TABLE `APP_DELAY`
`APP_DISABLE_ACTION_USER` VARCHAR(32) default '0',
`APP_DISABLE_ACTION_DATE` DATETIME,
`APP_AUTOMATIC_DISABLED_DATE` DATETIME,
`APP_NUMBER` INTEGER default 0,
`DELEGATION_ID` INTEGER default 0,
PRIMARY KEY (`APP_DELAY_UID`),
KEY `indexAppDelay`(`PRO_UID`, `APP_UID`, `APP_THREAD_INDEX`, `APP_DEL_INDEX`, `APP_NEXT_TASK`, `APP_DELEGATION_USER`, `APP_DISABLE_ACTION_USER`),
KEY `indexAppUid`(`APP_UID`)
KEY `indexAppUid`(`APP_UID`),
KEY `INDEX_APP_NUMBER`(`APP_NUMBER`),
KEY `INDEX_DELEGATION_ID`(`DELEGATION_ID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='APP_DELAY';
#-----------------------------------------------------------------------------
#-- PROCESS_USER