|
||||||||||
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
public class DocumentRecord
The DocumentRecord
class contains the base information for an
entry in a data table. This class is meant to represent a model and should
only contain base document data
Field Summary | |
---|---|
static java.lang.String |
CHILD_ROW_STYLE_CLASS
|
protected long |
docId
|
protected com.logicaldoc.core.document.Document |
document
|
static java.lang.String |
GROUP_ROW_STYLE_CLASS
|
protected static org.apache.commons.logging.Log |
log
|
protected com.logicaldoc.core.document.Document |
shortcut
|
Fields inherited from class com.logicaldoc.web.navigation.MenuBarBean |
---|
accessibleMenues, breadcrumb, itemCache, logger, model |
Constructor Summary | |
---|---|
DocumentRecord()
|
|
DocumentRecord(com.logicaldoc.core.document.Document document)
|
|
DocumentRecord(long docId,
java.lang.String indentStyleClass,
java.lang.String rowStyleClass)
Creates a new DocumentRecord . |
Method Summary | |
---|---|
java.lang.String |
checkin()
Executes the checkin and the related document's download |
java.lang.String |
checkout()
Executes the checkout and the related document's download |
protected void |
createMenuItems()
Creates the context menu associated with this record |
java.lang.String |
discussions()
Shows the discussions for this document |
java.lang.String |
edit()
|
boolean |
equals(java.lang.Object arg0)
|
java.util.Date |
getCreation()
|
java.util.Date |
getCreationDate()
|
java.lang.String |
getCustomId()
|
java.util.Date |
getDate()
|
java.lang.String |
getDisplayFilename()
|
java.lang.String |
getDisplayTitle()
|
long |
getDocId()
|
com.logicaldoc.core.document.Document |
getDocument()
|
java.lang.String |
getDocumentPath()
|
java.lang.String |
getDownloadTextLink()
|
java.lang.String |
getExportName()
|
int |
getExportStatus()
|
java.lang.String |
getIcon()
|
java.util.Date |
getLastModified()
|
java.lang.String |
getRowStyleClass()
Gets the style class name used to define all other columns in the document record row, except the first column. |
java.lang.String |
getRssLink()
|
com.logicaldoc.core.document.Document |
getShortcut()
|
java.lang.String |
getSource()
|
java.util.Date |
getSourceDate()
|
java.lang.String |
getTitle()
Gets the description of the record |
java.lang.String |
history()
Shows the history of this document |
java.lang.String |
info()
|
void |
initCollections()
Initializes document's collections |
boolean |
isCheckedOut()
|
boolean |
isDocumentFound()
|
boolean |
isLinked()
Checks if this document has links or is linked |
boolean |
isLocked()
|
boolean |
isSelected()
|
java.lang.String |
links()
Shows all document links |
protected void |
loadDocument()
Utility method used by document lazy loading |
java.lang.String |
lock()
|
java.lang.String |
noaction()
|
java.lang.String |
pasteAsLink()
Links all selected documents to this document |
java.lang.String |
sendAsEmail()
|
java.lang.String |
sendAsTicket()
|
void |
setSelected(boolean selected)
|
java.lang.String |
unlock()
|
java.lang.String |
versions()
Shows all versions of this document |
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
public static final java.lang.String GROUP_ROW_STYLE_CLASS
public static final java.lang.String CHILD_ROW_STYLE_CLASS
protected com.logicaldoc.core.document.Document document
protected com.logicaldoc.core.document.Document shortcut
protected long docId
Constructor Detail |
---|
public DocumentRecord(long docId, java.lang.String indentStyleClass, java.lang.String rowStyleClass)
Creates a new DocumentRecord
.
The created DocumentRecord has no image states defined.
menuId
- indentStyleClass
- rowStyleClass
- public DocumentRecord()
public DocumentRecord(com.logicaldoc.core.document.Document document)
Method Detail |
---|
public com.logicaldoc.core.document.Document getDocument()
public boolean isDocumentFound()
public long getDocId()
public java.lang.String getCustomId()
public java.util.Date getCreationDate()
public java.lang.String getTitle()
public java.lang.String getDisplayTitle()
public java.lang.String getDisplayFilename()
public java.lang.String getRowStyleClass()
public boolean isSelected()
public boolean isCheckedOut()
public boolean isLocked()
public void setSelected(boolean selected)
public java.lang.String getIcon()
public java.util.Date getSourceDate()
public java.util.Date getDate()
public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
public java.lang.String getDocumentPath()
protected void createMenuItems()
createMenuItems
in class MenuBarBean
MenuBarBean.createMenuItems()
public java.lang.String noaction()
public java.lang.String edit()
public boolean isLinked()
public java.lang.String checkout()
public java.lang.String checkin()
public java.lang.String versions()
public java.lang.String links()
public java.lang.String discussions()
public java.lang.String history()
public java.lang.String info()
public java.lang.String sendAsEmail()
public java.lang.String sendAsTicket()
public java.lang.String pasteAsLink()
public java.lang.String unlock()
public java.lang.String lock()
public java.lang.String getDownloadTextLink()
public java.lang.String getRssLink()
protected void loadDocument()
public void initCollections()
public java.util.Date getCreation()
public java.util.Date getLastModified()
public java.lang.String getExportName()
public int getExportStatus()
public com.logicaldoc.core.document.Document getShortcut()
public java.lang.String getSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |