|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.trashcan.TrashcanDialog
public class TrashcanDialog
Backing bean for the Manage Deleted Items (soft delete and archiving) pages.
Field Summary | |
---|---|
protected org.alfresco.service.cmr.security.PermissionService |
permissionService
The PermissionService reference |
protected TrashcanDialogProperty |
property
|
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
TrashcanDialog()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TrashcanDialogProperty property
protected transient org.alfresco.service.cmr.security.PermissionService permissionService
Constructor Detail |
---|
public TrashcanDialog()
Method Detail |
---|
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
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcome
java.lang.Exception
public 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()
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 java.lang.String cancel()
IDialogBean
cancel
in interface IDialogBean
cancel
in class BaseDialogBean
public java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |