org.alfresco.web.bean.groups
Class CreateGroupDialog
java.lang.Object
org.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.groups.CreateGroupDialog
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean
public class CreateGroupDialog
- extends BaseDialogBean
- See Also:
- Serialized Form
Method Summary |
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 |
getContainerSubTitle()
Returns the subtitle to be used for the dialog |
java.lang.String |
getFinishButtonLabel()
Returns the label to use for the finish button |
java.lang.String |
getName()
|
void |
init(java.util.Map parameters)
Initialises the dialog bean |
void |
setAuthService(org.alfresco.service.cmr.security.AuthorityService authService)
|
void |
setName(java.lang.String name)
|
void |
validateGroupName(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
|
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, 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 |
parentGroup
protected java.lang.String parentGroup
parentGroupName
protected java.lang.String parentGroupName
name
protected java.lang.String name
CreateGroupDialog
public CreateGroupDialog()
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
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
- Throws:
java.lang.Exception
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
getContainerSubTitle
public java.lang.String getContainerSubTitle()
- Description copied from interface:
IDialogBean
- Returns the subtitle to be used for the dialog
If this returns null the DialogManager will
lookup the subtitle via the dialog configuration
- Specified by:
getContainerSubTitle
in interface IDialogBean
- Overrides:
getContainerSubTitle
in class BaseDialogBean
- Returns:
- The subtitle or null if the subtitle is to be acquired via configuration
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
setAuthService
public void setAuthService(org.alfresco.service.cmr.security.AuthorityService authService)
getAuthService
protected org.alfresco.service.cmr.security.AuthorityService getAuthService()
- Returns:
- the authService
validateGroupName
public void validateGroupName(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
throws javax.faces.validator.ValidatorException
- Throws:
javax.faces.validator.ValidatorException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.