com.logicaldoc.web.document
Class HistoryRecordsManager

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

public class HistoryRecordsManager
extends java.lang.Object

Control that allows the user to list history events

Since:
3.0
Author:
Marco Meschieri - Logical Objects

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
HistoryRecordsManager()
           
 
Method Summary
 void dispose()
          Cleans up the resources used by this class.
 java.util.List<com.logicaldoc.core.document.History> getFolderHistories()
          Gets the list of the selected folder histories which will be used by the ice:dataTable component.
 java.util.Collection<com.logicaldoc.core.document.History> getHistories()
          Gets the list of histories which will be used by the ice:dataTable component.
 com.logicaldoc.core.document.Document getSelectedDocument()
           
 com.logicaldoc.core.security.Menu getSelectedFolder()
           
 void selectDocument(com.logicaldoc.core.document.Document doc)
          Changes the currently selected document and updates the articles list.
 void selectFolder(com.logicaldoc.core.security.Menu folder)
          Changes the currently selected folder and updates the histories list.
 void setSelectedDocument(com.logicaldoc.core.document.Document selectedDocument)
           
 void setSelectedFolder(com.logicaldoc.core.security.Menu selectedFolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

HistoryRecordsManager

public HistoryRecordsManager()
Method Detail

selectDocument

public void selectDocument(com.logicaldoc.core.document.Document doc)
Changes the currently selected document and updates the articles 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.


getHistories

public java.util.Collection<com.logicaldoc.core.document.History> getHistories()
Gets the list of histories which will be used by the ice:dataTable component.

Returns:
array list of histories

getSelectedDocument

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

setSelectedDocument

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

getSelectedFolder

public com.logicaldoc.core.security.Menu getSelectedFolder()

setSelectedFolder

public void setSelectedFolder(com.logicaldoc.core.security.Menu selectedFolder)

getFolderHistories

public java.util.List<com.logicaldoc.core.document.History> getFolderHistories()
Gets the list of the selected folder histories which will be used by the ice:dataTable component.

Returns:
array list of folder histories

selectFolder

public void selectFolder(com.logicaldoc.core.security.Menu folder)
Changes the currently selected folder and updates the histories list.

Parameters:
folder -


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