com.logicaldoc.web.document
Class LinksRecordsManager

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

public class LinksRecordsManager
extends java.lang.Object

Control that allows the user to navigate document's links

Since:
4.0
Author:
Marco Meschieri - Logical Objects

Constructor Summary
LinksRecordsManager()
           
 
Method Summary
 java.lang.String back()
           
 java.lang.String backToList()
           
 java.lang.String delete()
           
 void dispose()
          Cleans up the resources used by this class.
 java.lang.String edit()
           
 java.util.List<com.logicaldoc.core.document.DocumentLink> getLinks()
          Gets the list of links which will be used by the ice:dataTable component.
 com.logicaldoc.core.document.Document getSelectedDocument()
           
 com.logicaldoc.core.document.DocumentLink getSelectedLink()
           
 boolean isShowList()
           
 void selectDocument(com.logicaldoc.core.document.Document doc)
          Changes the currently selected document and updates the links list.
 void setSelectedDocument(com.logicaldoc.core.document.Document selectedDocument)
           
 void setSelectedLink(com.logicaldoc.core.document.DocumentLink selectedLink)
           
 java.lang.String update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinksRecordsManager

public LinksRecordsManager()
Method Detail

selectDocument

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

Parameters:
doc -

getSelectedLink

public com.logicaldoc.core.document.DocumentLink getSelectedLink()

setSelectedLink

public void setSelectedLink(com.logicaldoc.core.document.DocumentLink selectedLink)

dispose

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


getLinks

public java.util.List<com.logicaldoc.core.document.DocumentLink> getLinks()
Gets the list of links which will be used by the ice:dataTable component.

Returns:
list of links

back

public java.lang.String back()

edit

public java.lang.String edit()

update

public java.lang.String update()

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()

delete

public java.lang.String delete()


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