public class TrashcanDialog extends BaseDialogBean implements IContextListener
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.security.PermissionService |
permissionService
The PermissionService reference
|
protected TrashcanDialogProperty |
property |
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
TrashcanDialog() |
| Modifier and Type | Method and Description |
|---|---|
void |
areaChanged()
Method called by UIContextService.areaChanged() to inform all registered beans that
the user has changed area i.e.
|
java.lang.String |
cancel()
Method handler called when the cancel button of the dialog is pressed
|
void |
clearSearch(javax.faces.event.ActionEvent event)
Action handler to clear the current search results and show all items
|
java.lang.String |
close() |
void |
contextUpdated()
Method called by UIContextService.notifyBeans() to inform all registered beans that
all UI Beans should refresh dump all cached data and settings.
|
void |
dateFilterChanged(javax.faces.event.ActionEvent event)
Action handler called when the Date filter is changed by the user
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
java.lang.String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
java.lang.String |
getFailureItemsTable() |
java.lang.String |
getItemBrowserUrl()
Returns the URL to the content for the current document item
|
java.lang.String |
getItemDownloadUrl()
Returns the download URL to the content for the current document item
|
java.lang.String |
getItemNodeRefUrl()
Return the Alfresco NodeRef URL for the current item node
|
java.util.List |
getItems() |
java.lang.String |
getListedItemsTable() |
java.lang.String |
getPanelMessage() |
protected org.alfresco.service.cmr.security.PermissionService |
getPermissionService() |
TrashcanDialogProperty |
getProperty() |
java.lang.String |
getSuccessItemsTable() |
protected void |
saveReportDetail(java.util.List reports)
Save the detail of the items that were successfully or unsuccessfully restored
|
void |
searchContent(javax.faces.event.ActionEvent event)
Search the deleted item store by text
|
void |
searchName(javax.faces.event.ActionEvent event)
Search the deleted item store by name
|
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
void |
setProperty(TrashcanDialogProperty property) |
void |
setupItemAction(javax.faces.event.ActionEvent event)
Action handler called to prepare the selected item for an action
|
void |
setupListAction(javax.faces.event.ActionEvent event)
Action handler to setup actions that act on lists
|
void |
setupTrashcan(javax.faces.event.ActionEvent event)
Action handler to initially setup the trashcan screen
|
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that
the current space has changed.
|
void |
userFilterChanged(javax.faces.event.ActionEvent event)
Action handler called when the User filter is changed by the user
|
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServiceprotected TrashcanDialogProperty property
protected transient org.alfresco.service.cmr.security.PermissionService permissionService
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
permissionService - The PermissionService to set.protected org.alfresco.service.cmr.security.PermissionService getPermissionService()
public void setProperty(TrashcanDialogProperty property)
public TrashcanDialogProperty getProperty()
public java.lang.String getPanelMessage()
public java.lang.String getItemBrowserUrl()
public java.lang.String getItemDownloadUrl()
public java.lang.String getItemNodeRefUrl()
public java.lang.String getListedItemsTable()
public java.lang.String getSuccessItemsTable()
public java.lang.String getFailureItemsTable()
public java.util.List getItems()
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic void searchName(javax.faces.event.ActionEvent event)
public void searchContent(javax.faces.event.ActionEvent event)
public void clearSearch(javax.faces.event.ActionEvent event)
public void setupItemAction(javax.faces.event.ActionEvent event)
public void setupListAction(javax.faces.event.ActionEvent event)
public java.lang.String close()
public void setupTrashcan(javax.faces.event.ActionEvent event)
public void dateFilterChanged(javax.faces.event.ActionEvent event)
public void userFilterChanged(javax.faces.event.ActionEvent event)
protected void saveReportDetail(java.util.List reports)
reports - The List of RestoreNodeReport objects to walk for resultspublic void contextUpdated()
IContextListenercontextUpdated in interface IContextListenerIContextListener.contextUpdated()public void areaChanged()
IContextListenerareaChanged in interface IContextListenerIContextListener.areaChanged()public void spaceChanged()
IContextListenerspaceChanged in interface IContextListenerIContextListener.spaceChanged()public java.lang.String cancel()
IDialogBeancancel in interface IDialogBeancancel in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBeangetCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.