Merged DEV/V3.3-DAO-REFACTOR to HEAD

18684: SAIL-238 - VersionCount.hbm.xml (removal)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18778 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2010-02-23 11:53:43 +00:00
parent 354d14e7f5
commit 9a414238af
34 changed files with 281 additions and 1193 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2005-2007 Alfresco Software Limited.
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -39,12 +39,19 @@ import java.util.Collection;
public interface VersionHistory extends Serializable
{
/**
* Gets the root (or initial) version of the version history.
* Gets the root (initial / least recent) version of the version history.
*
* @return the root version
*/
public Version getRootVersion();
/**
* Gets the head (current / most recent) version of the version history.
*
* @return the root version
*/
public Version getHeadVersion();
/**
* Gets a collection containing all the versions within the
* version history.