|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.logicaldoc.web.components.SortableList
com.logicaldoc.web.document.DocumentsRecordsManager
public class DocumentsRecordsManager
The DocumentsRecordsManager
class is responsible for
constructing the list of DocumentRecord
beans which will be
bound to a ice:dataTable JSF component.
Large data sets could be handle by adding a ice:dataPaginator. Alternatively the dataTable could also be hidden and the dataTable could be added to scrollable ice:panelGroup.
Field Summary | |
---|---|
static java.lang.String |
CHILD_INDENT_STYLE_CLASS
|
static java.lang.String |
CHILD_ROW_STYLE_CLASS
|
static java.lang.String |
CONTRACT_IMAGE
|
static java.lang.String |
EXPAND_IMAGE
|
static java.lang.String |
GROUP_INDENT_STYLE_CLASS
|
static java.lang.String |
GROUP_ROW_STYLE_CLASS
|
protected static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
---|---|
DocumentsRecordsManager()
|
Method Summary | |
---|---|
java.lang.String |
back()
|
java.lang.String |
copyToClipboard()
Places all selected documents into the clipboard and set the guiRequest to "copy" |
java.lang.String |
copyToFolder()
Copy documents inside the clipboard into the current directory |
java.lang.String |
createBookmarks()
|
java.lang.String |
cutToClipboard()
Places all selected documents into the clipboard and set the guiRequest to "cut" |
java.lang.String |
deleteSelected()
Deletes all selected documents. |
void |
dispose()
Cleans up the resources used by this class. |
DocumentRecord |
findDRinDocuments(long docId)
|
java.util.Set<DocumentRecord> |
getClipboard()
|
int |
getClipboardSize()
|
int |
getCount()
|
int |
getDisplayedRows()
|
java.util.List<DocumentRecord> |
getDocuments()
Gets the list of DocumentRecord which will be used by the ice:dataTable component. |
java.lang.String |
getGuiRequest()
|
java.util.List<DocumentRecord> |
getLastDocs()
Retrieves the list of last accessed documents from the database |
java.lang.String |
getOperationComment()
|
javax.faces.component.UIData |
getPanels()
|
java.util.Set<DocumentRecord> |
getSelection()
|
javax.faces.component.UIData |
getTable()
|
protected boolean |
isDefaultAscending(java.lang.String sortColumn)
Determines the sort order. |
boolean |
isIndexable()
|
boolean |
isMultipleSelection()
|
boolean |
isSelectedAll()
|
java.lang.String |
markSelectionAsImmutable()
Marks as immutable all selected documents |
void |
move()
Move or copy documents inside the clipboard into the current directory checking if the user have clicked on the 'cut' button or on the 'copy' button |
java.lang.String |
moveToFolder()
Move documents inside the clipboard into the current directory |
void |
pageChange(javax.faces.event.ActionEvent event)
|
java.lang.String |
pasteAsShortcut()
Copy documents inside the clipboard into the current directory as alias |
void |
refresh()
|
void |
refresh(long docId)
|
java.lang.String |
requestImmutabilityComment()
Shows the document immutability form |
java.lang.String |
saveIndexOption()
Marks as indexable/unindexable all selected documents |
java.lang.String |
selectAll()
|
void |
selectDirectory(long directoryId)
Changes the currently selected directory and updates the documents list. |
protected void |
selectHighlightedDocument(long docId)
|
void |
selectRow(javax.faces.event.ActionEvent event)
|
void |
selectRow(com.icesoft.faces.component.ext.RowSelectorEvent e)
|
void |
setDisplayedRows(int displayedRows)
|
void |
setIndexable(boolean indexable)
|
void |
setMultipleSelection(boolean multiple)
|
void |
setOperationComment(java.lang.String operationComment)
|
void |
setPanels(javax.faces.component.UIData panels)
|
void |
setSelectedAll(boolean selectedAll)
|
void |
setTable(javax.faces.component.UIData table)
|
java.lang.String |
showIndexOptions()
Shows the document unindexable options page |
protected void |
sort(java.lang.String column,
boolean ascending)
Sorts the list of DocumentRecord data. |
java.lang.String |
startZipUpload()
Shows the zip upload form |
java.lang.String |
unselectAll()
|
void |
unselectRow(javax.faces.event.ActionEvent event)
|
java.lang.String |
uploadZip()
Imports the zip content in the current directory |
Methods inherited from class com.logicaldoc.web.components.SortableList |
---|
getSortColumn, isAscending, setAscending, setSortColumn, sort |
Methods inherited from class java.lang.Object |
---|
clone, equals, 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_INDENT_STYLE_CLASS
public static final java.lang.String GROUP_ROW_STYLE_CLASS
public static final java.lang.String CHILD_INDENT_STYLE_CLASS
public static final java.lang.String CHILD_ROW_STYLE_CLASS
public static final java.lang.String CONTRACT_IMAGE
public static final java.lang.String EXPAND_IMAGE
Constructor Detail |
---|
public DocumentsRecordsManager()
Method Detail |
---|
public void selectDirectory(long directoryId)
directoryId
- public java.lang.String getOperationComment()
public void setOperationComment(java.lang.String operationComment)
public void dispose()
public java.util.List<DocumentRecord> getDocuments()
public boolean isMultipleSelection()
public java.util.Set<DocumentRecord> getClipboard()
public void setMultipleSelection(boolean multiple)
public void selectRow(com.icesoft.faces.component.ext.RowSelectorEvent e)
public void selectRow(javax.faces.event.ActionEvent event)
public void unselectRow(javax.faces.event.ActionEvent event)
public DocumentRecord findDRinDocuments(long docId)
public void refresh()
public void refresh(long docId)
public int getClipboardSize()
public int getCount()
public java.lang.String deleteSelected()
public java.lang.String requestImmutabilityComment()
public java.lang.String markSelectionAsImmutable()
public java.lang.String cutToClipboard()
public java.lang.String copyToClipboard()
public void move()
public java.lang.String moveToFolder()
public void pageChange(javax.faces.event.ActionEvent event)
public java.lang.String copyToFolder()
public java.lang.String startZipUpload()
public java.lang.String uploadZip()
public java.lang.String pasteAsShortcut()
public java.util.List<DocumentRecord> getLastDocs()
public java.lang.String createBookmarks()
protected void selectHighlightedDocument(long docId)
public java.lang.String selectAll()
public java.lang.String unselectAll()
public java.lang.String showIndexOptions()
public java.lang.String saveIndexOption()
public boolean isSelectedAll()
public int getDisplayedRows()
public void setDisplayedRows(int displayedRows)
protected boolean isDefaultAscending(java.lang.String sortColumn)
isDefaultAscending
in class SortableList
sortColumn
- to sort by.
protected void sort(java.lang.String column, boolean ascending)
sort
in class SortableList
public void setSelectedAll(boolean selectedAll)
public java.lang.String back()
public java.util.Set<DocumentRecord> getSelection()
public java.lang.String getGuiRequest()
public javax.faces.component.UIData getPanels()
public void setPanels(javax.faces.component.UIData panels)
public javax.faces.component.UIData getTable()
public void setTable(javax.faces.component.UIData table)
public boolean isIndexable()
public void setIndexable(boolean indexable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |