<?php
/**
 * @package Core
 * @subpackage model.interfaces
 */ 
interface IIndexable extends IBaseObject
{
	const FIELD_TYPE_STRING = 'string';
	const FIELD_TYPE_INTEGER = 'int';
	const FIELD_TYPE_DATETIME = 'datetime';
	
	/**
	 * Is the id as used and know by Kaltura
	 * @return string
	 */
	public function getId();
	
	/**
	 * Is the id as used and know by the indexing server
	 * @return int
	 */
	public function getIntId();
	
	/**
	 * @return string
	 */
	public function getEntryId();
	
	/**
	 * @return string object propel name
	 */
	public function getObjectIndexName();
	
	/**
	 * @return array while the key is the index attribute name and the value is the getter name
	 * For example array('name' => 'title') if name should be retrieved by getTitle() getter
	 */
	public function getIndexFieldsMap();
	
	/**
	 * @return string field type, string, int or timestamp
	 */
	public function getIndexFieldType($field);
}
<?php
/**
 * @package Core
 * @subpackage model.interfaces
 */ 
interface IIndexable extends IBaseObject
{
	const FIELD_TYPE_STRING = 'string';
	const FIELD_TYPE_INTEGER = 'int';
	const FIELD_TYPE_DATETIME = 'datetime';
	
	/**
	 * Is the id as used and know by Kaltura
	 * @return string
	 */
	public function getId();
	
	/**
	 * Is the id as used and know by the indexing server
	 * @return int
	 */
	public function getIntId();
	
	/**
	 * @return string
	 */
	public function getEntryId();
	
	/**
	 * @return string object propel name
	 */
	public function getObjectIndexName();
	
	/**
	 * @return array while the key is the index attribute name and the value is the getter name
	 * For example array('name' => 'title') if name should be retrieved by getTitle() getter
	 */
	public function getIndexFieldsMap();
	
	/**
	 * @return string field type, string, int or timestamp
	 */
	public function getIndexFieldType($field);
	
	/**
	 * @param int $time
	 * @return IIndexable
	 */
	public function setUpdatedAt($time);
	
	/**
	 * @param PropelPDO $con
	 * @return int The number of rows affected by this insert/update and any referring fk objects' save() operations.
	 * @throws PropelException
	 */
	public function save(PropelPDO $con = null);
}
Update entry updated at field
Update entry updated at field

git-svn-id: 8a2ccb88241e16c78017770bc38d91d6d5396a5a@57660 6b8eccd3-e8c5-4e7d-8186-e12b5326b719
