org.alfresco.web.bean.wcm
Class InviteWebsiteUsersWizard

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wizard.BaseWizardBean
          extended by org.alfresco.web.bean.wizard.BaseInviteUsersWizard
              extended by org.alfresco.web.bean.wcm.InviteWebsiteUsersWizard
All Implemented Interfaces:
java.io.Serializable, IDialogBean, IWizardBean

public class InviteWebsiteUsersWizard
extends BaseInviteUsersWizard

Bean providing the ability to invite users to a web project space.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.web.bean.wizard.BaseInviteUsersWizard
BaseInviteUsersWizard.UserGroupRole
 
Field Summary
 
Fields inherited from class org.alfresco.web.bean.wizard.BaseInviteUsersWizard
allowDuplicateAuthorities, mailHelper, maxUsersReturned, MSG_USERROLES, permissionService, STEP_NOTIFY, userGroupRoles
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
InviteWebsiteUsersWizard()
           
 
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.String getAvmStore()
           
protected  java.lang.String getEmailTemplateXPath()
           
protected  Node getNode()
           
protected  java.util.Set getPermissionsForType()
           
 java.lang.String getSummary()
           
protected  org.alfresco.wcm.webproject.WebProjectService getWebProjectService()
           
 void init(java.util.Map parameters)
          Initialises the wizard
 boolean isStandalone()
           
 void reset()
           
 void setAvmStore(java.lang.String avmStore)
           
protected  void setNode(Node node)
           
 void setStandalone(boolean editMode)
           
 void setWebProjectService(org.alfresco.wcm.webproject.WebProjectService wpService)
           
 
Methods inherited from class org.alfresco.web.bean.wizard.BaseInviteUsersWizard
addAuthorityWithRole, addSelection, buildLabelForGroupAuthorityRole, buildLabelForUserAuthorityRole, cancel, getAuthorityService, getEmailTemplates, getFilters, getFinishButtonDisabled, getGroups, getGroups, getHaveMaximumUsersBeenReturned, getMailHelper, getMaximumUsersMsg, getNamespaceService, getNotify, getPermissionService, getPersonService, getRoles, getUserRolesDataModel, next, pickerCallback, removeSelection, setAuthorityService, setMailSender, setNamespaceService, setNotify, setPermissionService, setPersonService
 
Methods inherited from class org.alfresco.web.bean.wizard.BaseWizardBean
back, buildSummary, getBackButtonLabel, getDefaultCancelOutcome, getDefaultFinishOutcome, getFinishButtonLabel, getNextButtonDisabled, getNextButtonLabel, getStepDescription, getStepTitle
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNavigator, setNodeService, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.web.bean.dialog.IDialogBean
finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getMoreActionsConfigId, isFinished, restored
 

Constructor Detail

InviteWebsiteUsersWizard

public InviteWebsiteUsersWizard()
Method Detail

setWebProjectService

public void setWebProjectService(org.alfresco.wcm.webproject.WebProjectService wpService)

getWebProjectService

protected org.alfresco.wcm.webproject.WebProjectService getWebProjectService()

init

public void init(java.util.Map parameters)
Description copied from class: BaseInviteUsersWizard
Initialises the wizard

Specified by:
init in interface IDialogBean
Overrides:
init in class BaseInviteUsersWizard
Parameters:
parameters - Map of parameters for the dialog
See Also:
BaseInviteUsersWizard.init(java.util.Map)

reset

public void reset()

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 BaseInviteUsersWizard
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception
See Also:
BaseInviteUsersWizard.finishImpl(javax.faces.context.FacesContext, java.lang.String)

getSummary

public java.lang.String getSummary()
Overrides:
getSummary in class BaseInviteUsersWizard
Returns:
summary text for the wizard

getPermissionsForType

protected java.util.Set getPermissionsForType()
Specified by:
getPermissionsForType in class BaseInviteUsersWizard
Returns:
a cached list of available permissions for the type being dealt with

setNode

protected void setNode(Node node)

getNode

protected Node getNode()
Specified by:
getNode in class BaseInviteUsersWizard
Returns:
Returns the node that the permissions are being applied to

getAvmStore

public java.lang.String getAvmStore()
Returns:
Returns the root AVM store.

setAvmStore

public void setAvmStore(java.lang.String avmStore)
Parameters:
avmStore - The root AVM store to set.

isStandalone

public boolean isStandalone()
Returns:
Returns the edit mode.

setStandalone

public void setStandalone(boolean editMode)
Parameters:
editMode - The edit mode to set.

getEmailTemplateXPath

protected java.lang.String getEmailTemplateXPath()
Specified by:
getEmailTemplateXPath in class BaseInviteUsersWizard


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