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.
|
String |
cancel()
Method handler called when the cancel button of the dialog is pressed
|
void |
clearSearch(ActionEvent event)
Action handler to clear the current search results and show all items
|
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(ActionEvent event)
Action handler called when the Date filter is changed by the user
|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
String |
getFailureItemsTable() |
String |
getItemBrowserUrl()
Returns the URL to the content for the current document item
|
String |
getItemDownloadUrl()
Returns the download URL to the content for the current document item
|
String |
getItemNodeRefUrl()
Return the Alfresco NodeRef URL for the current item node
|
List<Node> |
getItems() |
String |
getListedItemsTable() |
String |
getPanelMessage() |
protected org.alfresco.service.cmr.security.PermissionService |
getPermissionService() |
TrashcanDialogProperty |
getProperty() |
String |
getSuccessItemsTable() |
protected void |
saveReportDetail(List<RestoreNodeReport> reports)
Save the detail of the items that were successfully or unsuccessfully restored
|
void |
searchContent(ActionEvent event)
Search the deleted item store by text
|
void |
searchName(ActionEvent event)
Search the deleted item store by name
|
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
void |
setProperty(TrashcanDialogProperty property) |
void |
setupItemAction(ActionEvent event)
Action handler called to prepare the selected item for an action
|
void |
setupListAction(ActionEvent event)
Action handler to setup actions that act on lists
|
void |
setupTrashcan(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(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, setSearchService
protected 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 String getPanelMessage()
public String getItemBrowserUrl()
public String getItemDownloadUrl()
public String getItemNodeRefUrl()
public String getListedItemsTable()
public String getSuccessItemsTable()
public String getFailureItemsTable()
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
public void searchName(ActionEvent event)
public void searchContent(ActionEvent event)
public void clearSearch(ActionEvent event)
public void setupItemAction(ActionEvent event)
public void setupListAction(ActionEvent event)
public String close()
public void setupTrashcan(ActionEvent event)
public void dateFilterChanged(ActionEvent event)
public void userFilterChanged(ActionEvent event)
protected void saveReportDetail(List<RestoreNodeReport> reports)
reports
- The List of RestoreNodeReport objects to walk for resultspublic void contextUpdated()
IContextListener
contextUpdated
in interface IContextListener
IContextListener.contextUpdated()
public void areaChanged()
IContextListener
areaChanged
in interface IContextListener
IContextListener.areaChanged()
public void spaceChanged()
IContextListener
spaceChanged
in interface IContextListener
IContextListener.spaceChanged()
public String cancel()
IDialogBean
cancel
in interface IDialogBean
cancel
in class BaseDialogBean
public String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
Copyright © 2005–2017 Alfresco Software. All rights reserved.