| java.lang.Object org.contineo.web.navigation.MenuBarBean org.contineo.web.document.DocumentRecord
DocumentRecord | public class DocumentRecord extends MenuBarBean (Code) | | 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
author: Marco Meschieri version: $Id: DocumentRecord.java,v 1.17 2006/08/29 16:33:46 marco Exp $ since: 3.0 |
expandContractImage | protected String expandContractImage(Code) | | |
isExpanded | protected boolean isExpanded(Code) | | |
log | protected static Log log(Code) | | |
selected | protected boolean selected(Code) | | |
DocumentRecord | public DocumentRecord(ExtMenu menu, String indentStyleClass, String rowStyleClass, String expandImage, String contractImage, ArrayList parentDocumentsList, boolean isExpanded)(Code) | |
Creates a new DocumentRecord . This constructor should be
used when creating DocumentRecord which will contain children
Parameters: isExpanded - true, indicates that the specified node will beexpanded by default; otherwise, false. |
DocumentRecord | public DocumentRecord(ExtMenu menu, String indentStyleClass, String rowStyleClass)(Code) | |
Creates a new DocumentRecord . This constructor should be
used when creating a DocumentRecord which will be a child of some other
DocumentRecord.
The created DocumentRecord has no image states defined.
Parameters: document - Parameters: indentStyleClass - Parameters: rowStyleClass - |
addChildRecord | public void addChildRecord(DocumentRecord documentRecord)(Code) | | Adds a child sales record to this sales group.
Parameters: documentRecord - child document record to add to this record. |
articles | public String articles()(Code) | | Shows the articles for this document
|
checkin | public String checkin()(Code) | | Executes the checkin and the related document's download
|
checkout | public String checkout()(Code) | | Executes the checkout and the related document's download
|
getDescription | public String getDescription()(Code) | | Gets the description of the record
description of the record |
getDisplayDescription | public String getDisplayDescription()(Code) | | |
getExpandContractImage | public String getExpandContractImage()(Code) | | Gets the image which will represent either the expanded or contracted
state of the DocumentRecord .
name of image to draw |
getIndentStyleClass | public String getIndentStyleClass()(Code) | | Gets the style class name used to define the first column of a document
record row. This first column is where a expand/contract image is placed.
indent style class as defined in css file |
getMenuId | public int getMenuId()(Code) | | |
getRowStyleClass | public String getRowStyleClass()(Code) | | Gets the style class name used to define all other columns in the
document record row, except the first column.
style class as defined in css file |
history | public String history()(Code) | | Shows the history of this document
|
isSelected | public boolean isSelected()(Code) | | |
rights | public String rights()(Code) | | Shows rights for this document
|
setSelected | public void setSelected(boolean selected)(Code) | | |
toggleSubGroupAction | public void toggleSubGroupAction(ActionEvent event)(Code) | | Toggles the expanded state of this DocumentRecord.
|
versions | public String versions()(Code) | | Shows all versions of this document
|
|
|