The entire design is flawed as it is anything but flexible and forces copying of full table contents rather than being able to specify the columns which should actually be tracked. In addition it does not provide centralized access and management including comparisons.
The entire API is now deprecated and will be removed with WCF 2.2.
/**
* Abstract class for all versionable data classes.
*
+ * @deprecated 2.1 - will be removed with WCF 2.2
+ *
* @author Jeffrey Reichardt
* @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
/**
* Abstract class for all versionable data actions.
*
+ * @deprecated 2.1 - will be removed with WCF 2.2
+ *
* @author Jeffrey Reichardt
* @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
/**
* Abstract class for all versionable editor classes.
*
+ * @deprecated 2.1 - will be removed with WCF 2.2
+ *
* @author Jeffrey Reichardt
* @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
/**
* Caches the versions for a certain package and object type.
*
+ * @deprecated 2.1 - will be removed with WCF 2.2
+ *
* @author Jeffrey Reichardt
* @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
}
}
- /*
+ /**
* Restructure version tables.
+ *
+ * @deprecated 2.1 - will be removed with WCF 2.2
*/
protected function restructureVersionTables() {
$objectTypes = ObjectTypeCache::getInstance()->getObjectTypes('com.woltlab.wcf.versionableObject');
/**
* Handles versions of DatabaseObjects.
*
+ * @deprecated 2.1 - will be removed with WCF 2.2
+ *
* @author Jeffrey Reichardt
* @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>