org.rivetlogic.scar.action
Class FolderContentsAction
java.lang.Object
org.rivetlogic.scar.action.BaseAction
org.rivetlogic.scar.action.BaseTableFieldNameAction
org.rivetlogic.scar.action.FolderContentsAction
- All Implemented Interfaces:
- java.io.Serializable
@Name(value="action.foldercontents")
@Scope(value=SESSION)
@Synchronized(timeout=10000L)
public class FolderContentsAction
- extends BaseTableFieldNameAction
Backing bean that manages the content table.
- Author:
- Rivet Logic Corporation
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FolderContentsAction
public FolderContentsAction()
refreshContentTable
public void refreshContentTable()
clickFolder
public void clickFolder(org.alfresco.service.cmr.repository.NodeRef selectedFolderNodeRef)
handleSelectionEventFromSearch
public void handleSelectionEventFromSearch(org.alfresco.service.cmr.repository.NodeRef selectedFolderNodeRef)
handleContentSelectedEvent
public void handleContentSelectedEvent(NodeData nodeData)
handleSelectionEvent
public void handleSelectionEvent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
handleContentDeletedEvent
public void handleContentDeletedEvent(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean raiseSpaceSelectedEvent)
handleFileUploadedEvent
public void handleFileUploadedEvent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
handleFolderCreatedEvent
public void handleFolderCreatedEvent(org.alfresco.service.cmr.repository.NodeRef nodeRef)
handleContentMovedEvent
public void handleContentMovedEvent()
handleMyCheckedOutDocsSelectedEvent
public void handleMyCheckedOutDocsSelectedEvent()
handleRefreshContentsTableEvent
public void handleRefreshContentsTableEvent()
handleInitContentsTableEvent
public void handleInitContentsTableEvent()
handleRefreshCheckedOutDocsTableEvent
public void handleRefreshCheckedOutDocsTableEvent()
handleEditedContentDetails
public void handleEditedContentDetails()
deleteFolder
protected void deleteFolder(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean raiseSpaceSelectedEvent)
deleteDocument
protected void deleteDocument(org.alfresco.service.cmr.repository.NodeRef nodeRef)
handleScrollerEvent
public void handleScrollerEvent()
selectAllRows
public void selectAllRows()
selectNoRows
public void selectNoRows()
deleteContent
public void deleteContent(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean raiseSpaceSelectedEvent)
- Delete node and remove deleted file or folder from content table.
- Parameters:
nodeRef -
populateCheckedOutDocs
protected void populateCheckedOutDocs()
- Get all checked out documents from user's home folder and display them in the content table
populateContentList
protected void populateContentList(org.alfresco.service.cmr.repository.NodeRef parentRef)
- Populate the content table with folders and documents contained in the node with the supplied reference.
- Parameters:
parentRef - reference of the node to get the children of.
matchToTreeStructure
public void matchToTreeStructure()
clearContentList
public void clearContentList()
runContentTableQuery
public java.util.List<com.rivetlogic.core.cma.repo.Node> runContentTableQuery(java.lang.String lucene_query,
java.util.List<org.alfresco.service.namespace.QName> queryProperties)
populateCheckedOutDocsNodeData
protected NodeData populateCheckedOutDocsNodeData(com.rivetlogic.core.cma.repo.Node node)
isBulkCopyPermission
public boolean isBulkCopyPermission()
isBulkCutPermission
public boolean isBulkCutPermission()
isBulkDeletePermission
public boolean isBulkDeletePermission()
getCheckedOutDocWebDavUrl
protected java.lang.String getCheckedOutDocWebDavUrl(java.lang.String filename)
populateVersionHistory
protected java.util.List<VersionNode> populateVersionHistory()
addVersion
protected void addVersion(org.alfresco.service.cmr.version.Version version)
getApparentIcon
public java.lang.String getApparentIcon(java.lang.String mimetype)
getContentListSize
public int getContentListSize()
isCategoriesManageable
public boolean isCategoriesManageable()
getFolderContentList
public MapKeySortableArrayList<NodeData> getFolderContentList()
setFolderContentList
public void setFolderContentList(MapKeySortableArrayList<NodeData> folderContentList)
setSelection
public void setSelection(org.richfaces.model.selection.Selection selection)
getSelection
public org.richfaces.model.selection.Selection getSelection()
getDataTable
public javax.faces.component.html.HtmlDataTable getDataTable()
setDataTable
public void setDataTable(javax.faces.component.html.HtmlDataTable dataTable)
getSelectedNodeData
public NodeData getSelectedNodeData()
setSelectedNodeData
public void setSelectedNodeData(NodeData selectedNodeData)
getVersionHistory
public java.util.List<VersionNode> getVersionHistory()
setVersionHistory
public void setVersionHistory(java.util.List<VersionNode> versionHistory)
isNavigating
public boolean isNavigating()
setNavigating
public void setNavigating(boolean navigating)
getItemsPerPage
public int getItemsPerPage()
setItemsPerPage
public void setItemsPerPage(int itemsPerPage)
getPageNumber
public int getPageNumber()
setPageNumber
public void setPageNumber(int pageNumber)
getContentTableColumnName
public java.lang.String getContentTableColumnName()
isContentTableAscending
public boolean isContentTableAscending()
Copyright 2008, Rivet Logic Corporation.