|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.logicaldoc.web.navigation.MenuBarBean
com.logicaldoc.web.document.DocumentRecord
com.logicaldoc.web.search.DocumentResult
public class DocumentResult
A result entry usable by the GUI.
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
|
Fields inherited from class com.logicaldoc.web.document.DocumentRecord |
---|
CHILD_ROW_STYLE_CLASS, docId, document, GROUP_ROW_STYLE_CLASS, shortcut |
Fields inherited from class com.logicaldoc.web.navigation.MenuBarBean |
---|
accessibleMenues, breadcrumb, itemCache, logger, model |
Constructor Summary | |
---|---|
DocumentResult(com.logicaldoc.core.searchengine.Hit result)
|
Method Summary | |
---|---|
protected void |
createMenuItems()
Creates the context menu associated with this record |
java.lang.String |
discussions()
Shows the discussions for this document |
java.util.Date |
getCreation()
|
java.lang.String |
getCustomId()
|
java.util.Date |
getDate()
|
long |
getDocId()
|
java.lang.Long |
getDocRef()
|
int |
getDocType()
|
long |
getFolderId()
|
java.lang.String |
getIcon()
|
java.lang.String |
getPath()
|
int |
getScore()
|
long |
getSize()
|
java.lang.String |
getSource()
|
java.util.Date |
getSourceDate()
|
java.lang.String |
getSummary()
Teturns the the summary properly escaped for the results page. |
java.lang.String |
getTitle()
Gets the description of the record |
java.lang.String |
getType()
|
java.lang.String |
history()
Shows the history of this document |
java.lang.String |
info()
|
boolean |
isShowPath()
|
java.lang.String |
sendAsEmail()
|
java.lang.String |
sendAsTicket()
|
void |
setCreation(java.util.Date creation)
|
void |
setCustomId(java.lang.String customId)
|
void |
setDate(java.util.Date date)
|
void |
setDocId(long docId)
|
void |
setDocRef(java.lang.Long docRef)
|
void |
setFolderId(long folderId)
|
void |
setPath(java.lang.String path)
|
void |
setScore(java.lang.Double score)
|
void |
setScore(int score)
|
void |
setSize(long sze)
|
void |
setSource(java.lang.String source)
|
void |
setSourceDate(java.util.Date date)
|
void |
setSummary(java.lang.String summary)
|
void |
setTitle(java.lang.String name)
|
void |
setType(java.lang.String typ)
|
void |
showDocumentPath()
|
java.lang.String |
versions()
Shows all versions of this document |
Methods inherited from class com.logicaldoc.web.document.DocumentRecord |
---|
checkin, checkout, edit, equals, getCreationDate, getDisplayFilename, getDisplayTitle, getDocument, getDocumentPath, getDownloadTextLink, getExportName, getExportStatus, getLastModified, getRowStyleClass, getRssLink, getShortcut, initCollections, isCheckedOut, isDocumentFound, isLinked, isLocked, isSelected, links, loadDocument, lock, noaction, pasteAsLink, setSelected, unlock |
Methods inherited from class com.logicaldoc.web.navigation.MenuBarBean |
---|
createMenuItem, createMenuItem, getActionFired, getBreadcrumb, getModel, getNavigation, getOrientation, getParam, primaryListener, selectItem, selectItem, setModel, setNavigation, setOrientation, setParam |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
Constructor Detail |
---|
public DocumentResult(com.logicaldoc.core.searchengine.Hit result)
Method Detail |
---|
public java.util.Date getDate()
getDate
in interface com.logicaldoc.core.searchengine.Hit
getDate
in class DocumentRecord
public long getDocId()
getDocId
in interface com.logicaldoc.core.searchengine.Hit
getDocId
in class DocumentRecord
public int getDocType()
getDocType
in interface com.logicaldoc.core.searchengine.Hit
public int getScore()
getScore
in interface com.logicaldoc.core.searchengine.Hit
public java.lang.String getIcon()
getIcon
in interface com.logicaldoc.core.searchengine.Hit
getIcon
in class DocumentRecord
public java.lang.String getTitle()
DocumentRecord
getTitle
in interface com.logicaldoc.core.searchengine.Hit
getTitle
in class DocumentRecord
public java.lang.String getPath()
getPath
in interface com.logicaldoc.core.searchengine.Hit
public java.lang.String getSource()
getSource
in interface com.logicaldoc.core.searchengine.Hit
getSource
in class DocumentRecord
public long getSize()
getSize
in interface com.logicaldoc.core.searchengine.Hit
public java.util.Date getSourceDate()
getSourceDate
in interface com.logicaldoc.core.searchengine.Hit
getSourceDate
in class DocumentRecord
public java.lang.String getSummary()
getSummary
in interface com.logicaldoc.core.searchengine.Hit
Hit.getSummary()
public java.lang.String getType()
getType
in interface com.logicaldoc.core.searchengine.Hit
public java.lang.Long getDocRef()
getDocRef
in interface com.logicaldoc.core.searchengine.Hit
protected void createMenuItems()
createMenuItems
in class DocumentRecord
MenuBarBean.createMenuItems()
public void showDocumentPath()
public boolean isShowPath()
public java.lang.String info()
info
in class DocumentRecord
public java.lang.String history()
DocumentRecord
history
in class DocumentRecord
public java.lang.String sendAsEmail()
sendAsEmail
in class DocumentRecord
public java.lang.String sendAsTicket()
sendAsTicket
in class DocumentRecord
public java.lang.String versions()
DocumentRecord
versions
in class DocumentRecord
public java.lang.String discussions()
DocumentRecord
discussions
in class DocumentRecord
public void setScore(java.lang.Double score)
public java.lang.String getCustomId()
getCustomId
in interface com.logicaldoc.core.searchengine.Hit
getCustomId
in class DocumentRecord
public long getFolderId()
getFolderId
in interface com.logicaldoc.core.searchengine.Hit
public void setTitle(java.lang.String name)
setTitle
in interface com.logicaldoc.core.searchengine.Hit
public void setDate(java.util.Date date)
setDate
in interface com.logicaldoc.core.searchengine.Hit
public void setSize(long sze)
setSize
in interface com.logicaldoc.core.searchengine.Hit
public void setSummary(java.lang.String summary)
setSummary
in interface com.logicaldoc.core.searchengine.Hit
public void setType(java.lang.String typ)
setType
in interface com.logicaldoc.core.searchengine.Hit
public void setSourceDate(java.util.Date date)
setSourceDate
in interface com.logicaldoc.core.searchengine.Hit
public java.util.Date getCreation()
getCreation
in interface com.logicaldoc.core.searchengine.Hit
getCreation
in class DocumentRecord
public void setCreation(java.util.Date creation)
setCreation
in interface com.logicaldoc.core.searchengine.Hit
public void setCustomId(java.lang.String customId)
setCustomId
in interface com.logicaldoc.core.searchengine.Hit
public void setDocId(long docId)
setDocId
in interface com.logicaldoc.core.searchengine.Hit
public void setPath(java.lang.String path)
setPath
in interface com.logicaldoc.core.searchengine.Hit
public void setSource(java.lang.String source)
setSource
in interface com.logicaldoc.core.searchengine.Hit
public void setScore(int score)
setScore
in interface com.logicaldoc.core.searchengine.Hit
public void setFolderId(long folderId)
setFolderId
in interface com.logicaldoc.core.searchengine.Hit
public void setDocRef(java.lang.Long docRef)
setDocRef
in interface com.logicaldoc.core.searchengine.Hit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |