Added two new fields to VersionRoot (the version record), a short description,

and a long description.  Adjusted signature of createSnapshot(), and update()
to match, and thus actions and tests that needed to be fixed.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-11-05 23:41:55 +00:00
parent 2355b9e00f
commit f501073de5
24 changed files with 314 additions and 229 deletions

View File

@@ -470,15 +470,17 @@ public class AVMServiceImpl implements AVMService
/**
* Snapshot an AVMRepository.
* @param store The name of the AVMStore.
* @param tag The short description.
* @param description The thick description.
* @return The id of the new version.
*/
public int createSnapshot(String store)
public int createSnapshot(String store, String tag, String description)
{
if (store == null)
{
throw new AVMBadArgumentException("Store is null.");
}
return fAVMRepository.createSnapshot(store);
return fAVMRepository.createSnapshot(store, tag, description);
}
/**