com.logicaldoc.web.document
Class VersionsRecordsManager

java.lang.Object
  extended by com.logicaldoc.web.document.VersionsRecordsManager

public class VersionsRecordsManager
extends java.lang.Object

Control that allows the user to navigate document's versions

Since:
3.0
Author:
Marco Meschieri - Logical Objects

Constructor Summary
VersionsRecordsManager()
           
 
Method Summary
 java.lang.String back()
           
 java.lang.String backToList()
           
 java.lang.String compare()
           
 void dispose()
          Cleans up the resources used by this class.
 java.lang.String edit()
           
 com.logicaldoc.core.document.Document getSelectedDocument()
           
 VersionRecord getVersion(java.lang.String version)
           
 java.util.List<javax.faces.model.SelectItem> getVersionItems()
           
 java.util.List<VersionRecord> getVersions()
          Gets the list of versions which will be used by the ice:dataTable component.
 boolean isShowCompare()
           
 boolean isShowList()
           
 void selectDocument(com.logicaldoc.core.document.Document doc)
          Changes the currently selected document and updates the versions list.
 void setSelectedDocument(com.logicaldoc.core.document.Document selectedDocument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionsRecordsManager

public VersionsRecordsManager()
Method Detail

selectDocument

public void selectDocument(com.logicaldoc.core.document.Document doc)
Changes the currently selected document and updates the versions list.

Parameters:
doc -

dispose

public void dispose()
Cleans up the resources used by this class. This method could be called when a session destroyed event is called.


getVersions

public java.util.List<VersionRecord> getVersions()
Gets the list of versions which will be used by the ice:dataTable component.

Returns:
array list of versions

getVersionItems

public java.util.List<javax.faces.model.SelectItem> getVersionItems()

getVersion

public VersionRecord getVersion(java.lang.String version)

back

public java.lang.String back()

edit

public java.lang.String edit()

compare

public java.lang.String compare()

backToList

public java.lang.String backToList()

getSelectedDocument

public com.logicaldoc.core.document.Document getSelectedDocument()

setSelectedDocument

public void setSelectedDocument(com.logicaldoc.core.document.Document selectedDocument)

isShowList

public boolean isShowList()

isShowCompare

public boolean isShowCompare()


Copyright © 2008-2010 Logical Objects. All Rights Reserved.