commit 97be98315c20cf3dd3597c91fa60bb20c3144ed4 Author: Julian Seidenberg Date: Mon Jul 16 13:06:35 2012 +1200 API-CHANGE: initial commit for dms diff --git a/_config.php b/_config.php new file mode 100644 index 0000000..e69de29 diff --git a/code/DMSInterface.php b/code/DMSInterface.php new file mode 100644 index 0000000..9040ade --- /dev/null +++ b/code/DMSInterface.php @@ -0,0 +1,34 @@ +Pages()->add($myPage) + * @abstract + * @param $pageObject + * @return mixed + */ + function addPage($pageObject); + function removePage($pageObject); + function getPages(); + + /** + * Can be implemented as a key/value store table (although it is more like category/value, because the same category can occur multiple times) + * @abstract + * @param $category + * @param $value + * @return mixed + */ + function addTag($category, $value, $multiValue = true); + + function addTags($twoDimensionalArray); + function removeTag($category = null, $value = null); + function removeAllTags(); + function getAllTags(); + + function downloadLink(); + + function getVersions(); + + function embargo(); + function embargoUntilDate(); + function clearEmbargo(); + function expire(); + function expireAtDate(); + function clearExpiry(); +} \ No newline at end of file