Merge WCM_SERVICES2 to HEAD 12236 Implementation of REST WCM Revert

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2008-12-08 15:45:34 +00:00
parent ea7876203e
commit d24b54b4e6
2 changed files with 45 additions and 9 deletions

View File

@@ -149,7 +149,9 @@ public class Asset
*/
public void revert()
{
//getSandboxService().revertList(getSandbox().getSandboxRef(), items);
List<String> items = new ArrayList<String>(1);
items.add(this.getPath());
getSandboxService().revertList(getSandbox().getSandboxRef(), items);
}
/**