org.alfresco.web.bean.trashcan
Class TrashcanItemDetailsDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.trashcan.TrashcanDialog
          extended by org.alfresco.web.bean.trashcan.TrashcanItemDetailsDialog
All Implemented Interfaces:
java.io.Serializable, IContextListener, IDialogBean

public class TrashcanItemDetailsDialog
extends TrashcanDialog

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.web.bean.trashcan.TrashcanDialog
property
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
TrashcanItemDetailsDialog()
           
 
Method Summary
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 java.lang.Object getActionsContext()
          Returns the object to use as the context for the main and more actions that may be configured by the dialog
 java.lang.String getCancelButtonLabel()
          Returns the label to use for the cancel button
 java.lang.String getContainerTitle()
          Returns the title to be used for the dialog
 Node getItem()
           
protected  org.alfresco.service.cmr.security.PermissionService getPermissionService()
           
 void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
           
 
Methods inherited from class org.alfresco.web.bean.trashcan.TrashcanDialog
areaChanged, cancel, clearSearch, close, contextUpdated, dateFilterChanged, getFailureItemsTable, getItemBrowserUrl, getItemDownloadUrl, getItemNodeRefUrl, getItems, getListedItemsTable, getPanelMessage, getProperty, getSuccessItemsTable, saveReportDetail, searchContent, searchName, setProperty, setupItemAction, setupListAction, setupTrashcan, spaceChanged, userFilterChanged
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrashcanItemDetailsDialog

public TrashcanItemDetailsDialog()
Method Detail

finishImpl

protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
                                      java.lang.String outcome)
                               throws java.lang.Exception
Description copied from class: BaseDialogBean
Performs the actual processing for the wizard. NOTE: This method is called within the context of a transaction so no transaction handling is required

Overrides:
finishImpl in class TrashcanDialog
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

getContainerTitle

public java.lang.String getContainerTitle()
Description copied from interface: IDialogBean
Returns the title to be used for the dialog

If this returns null the DialogManager will lookup the title via the dialog configuration

Specified by:
getContainerTitle in interface IDialogBean
Overrides:
getContainerTitle in class BaseDialogBean
Returns:
The title or null if the title is to be acquired via configuration

getCancelButtonLabel

public java.lang.String getCancelButtonLabel()
Description copied from interface: IDialogBean
Returns the label to use for the cancel button

Specified by:
getCancelButtonLabel in interface IDialogBean
Overrides:
getCancelButtonLabel in class TrashcanDialog
Returns:
The cancel button label

getActionsContext

public java.lang.Object getActionsContext()
Description copied from interface: IDialogBean
Returns the object to use as the context for the main and more actions that may be configured by the dialog

Specified by:
getActionsContext in interface IDialogBean
Overrides:
getActionsContext in class BaseDialogBean
Returns:
Object to use as the context for actions

getItem

public Node getItem()

setPermissionService

public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
Overrides:
setPermissionService in class TrashcanDialog
Parameters:
permissionService - The PermissionService to set.

getPermissionService

protected org.alfresco.service.cmr.security.PermissionService getPermissionService()
Overrides:
getPermissionService in class TrashcanDialog
Returns:
permissionService


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.