*/
public function isDefaultRevision($new_value = NULL);
+ /**
+ * Checks whether the entity object was a default revision when it was saved.
+ *
+ * @return bool
+ * TRUE if the entity object was a revision, FALSE otherwise.
+ */
+ public function wasDefaultRevision();
+
+ /**
+ * Checks if this entity is the latest revision.
+ *
+ * @return bool
+ * TRUE if the entity is the latest revision, FALSE otherwise.
+ */
+ public function isLatestRevision();
+
/**
* Acts on a revision before it gets saved.
*