org.alfresco.web.bean.groups
Class DeleteGroupDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.groups.DeleteGroupDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean

public class DeleteGroupDialog
extends BaseDialogBean

See Also:
Serialized Form

Field Summary
protected  java.lang.String group
          The group to be deleted
protected  java.lang.String groupName
           
protected  int numItemsInGroup
          The number of items the group contains
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
DeleteGroupDialog()
           
 
Method Summary
protected  java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs any post commit processing subclasses may want to provide
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
protected  org.alfresco.service.cmr.security.AuthorityService getAuthService()
           
 java.lang.String getContainerTitle()
          Returns the title to be used for the dialog
 boolean getFinishButtonDisabled()
          Determines whether the finish button on the dialog should be disabled
 java.lang.String getFinishButtonLabel()
          Returns the label to use for the finish button
 java.lang.String getGroupName()
           
 int getNumItemsInGroup()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
 void setAuthService(org.alfresco.service.cmr.security.AuthorityService authService)
           
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, 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
 

Field Detail

group

protected java.lang.String group
The group to be deleted


groupName

protected java.lang.String groupName

numItemsInGroup

protected int numItemsInGroup
The number of items the group contains

Constructor Detail

DeleteGroupDialog

public DeleteGroupDialog()
Method Detail

init

public void init(java.util.Map parameters)
Description copied from interface: IDialogBean
Initialises the dialog bean

Specified by:
init in interface IDialogBean
Overrides:
init in class BaseDialogBean
Parameters:
parameters - Map of parameters for the dialog

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

Specified by:
finishImpl in class BaseDialogBean
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

doPostCommitProcessing

protected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context,
                                                  java.lang.String outcome)
Description copied from class: BaseDialogBean
Performs any post commit processing subclasses may want to provide

Overrides:
doPostCommitProcessing in class BaseDialogBean
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome

getFinishButtonDisabled

public boolean getFinishButtonDisabled()
Description copied from interface: IDialogBean
Determines whether the finish button on the dialog should be disabled

Specified by:
getFinishButtonDisabled in interface IDialogBean
Overrides:
getFinishButtonDisabled in class BaseDialogBean
Returns:
true if the button should be disabled

getFinishButtonLabel

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

Specified by:
getFinishButtonLabel in interface IDialogBean
Overrides:
getFinishButtonLabel in class BaseDialogBean
Returns:
The finish button label

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

getGroupName

public java.lang.String getGroupName()

getNumItemsInGroup

public int getNumItemsInGroup()

setAuthService

public void setAuthService(org.alfresco.service.cmr.security.AuthorityService authService)

getAuthService

protected org.alfresco.service.cmr.security.AuthorityService getAuthService()
Returns:
the authService


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