|
|||||||||
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.wizard.BaseWizardBean
org.alfresco.web.bean.spaces.CreateSpaceWizard
public class CreateSpaceWizard
Bean responsible for the create space wizard
Field Summary | |
---|---|
protected java.lang.String |
copyPolicy
|
protected org.alfresco.service.cmr.repository.NodeRef |
createdNode
|
protected java.lang.String |
createFrom
|
protected static java.lang.String |
CREATEFROM_EXISTING
|
protected static java.lang.String |
CREATEFROM_SCRATCH
|
protected static java.lang.String |
CREATEFROM_TEMPLATE
|
static java.lang.String |
DEFAULT_SPACE_ICON_NAME
|
static java.lang.String |
DEFAULT_SPACE_ICON_PATH
|
static java.lang.String |
DEFAULT_SPACE_TYPE_ICON_PATH
|
protected java.lang.String |
description
|
protected org.alfresco.service.cmr.repository.NodeRef |
existingSpaceId
|
protected java.util.List |
folderTypeDescriptions
|
protected java.util.List |
folderTypes
|
protected java.lang.String |
icon
|
protected java.lang.String |
name
|
protected boolean |
saveAsTemplate
|
protected java.lang.String |
spaceType
|
protected java.lang.String |
templateName
|
protected java.util.List |
templates
|
protected java.lang.String |
templateSpaceId
|
protected java.lang.String |
title
|
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
CreateSpaceWizard()
|
Method Summary | |
---|---|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
protected java.lang.String |
formatErrorMessage(java.lang.Throwable exception)
Formats the error message to display if an error occurs during finish processing |
java.lang.String |
getCopyPolicy()
|
java.lang.String |
getCreateFrom()
|
java.lang.String |
getDescription()
|
org.alfresco.service.cmr.repository.NodeRef |
getExistingSpaceId()
|
java.util.List |
getFolderTypeDescriptions()
Returns a list of UIDescription objects for the folder types |
java.util.List |
getFolderTypes()
Returns a list of UIListItem objects representing the folder types and also constructs the list of descriptions for each type |
java.lang.String |
getIcon()
|
java.util.List |
getIcons()
Returns a list of icons to allow the user to select from. |
java.lang.String |
getName()
|
java.lang.String |
getSpaceType()
|
java.lang.String |
getSummary()
|
java.lang.String |
getTemplateName()
|
java.lang.String |
getTemplateSpaceId()
|
java.util.List |
getTemplateSpaces()
|
java.lang.String |
getTitle()
|
void |
init(java.util.Map parameters)
Initialises the wizard |
boolean |
isSaveAsTemplate()
|
java.lang.String |
next()
Called when the next button is pressed by the user |
void |
setCopyPolicy(java.lang.String copyPolicy)
|
void |
setCreateFrom(java.lang.String createFrom)
|
void |
setDescription(java.lang.String description)
|
void |
setExistingSpaceId(org.alfresco.service.cmr.repository.NodeRef existingSpaceId)
|
void |
setIcon(java.lang.String icon)
|
void |
setName(java.lang.String name)
|
void |
setSaveAsTemplate(boolean saveAsTemplate)
|
void |
setSpaceType(java.lang.String spaceType)
|
void |
setTemplateName(java.lang.String templateName)
|
void |
setTemplateSpaceId(java.lang.String templateSpaceId)
|
void |
setTitle(java.lang.String title)
|
Methods inherited from class org.alfresco.web.bean.wizard.BaseWizardBean |
---|
back, buildSummary, getBackButtonLabel, getDefaultCancelOutcome, getDefaultFinishOutcome, getFinishButtonLabel, getNextButtonDisabled, getNextButtonLabel, getStepDescription, getStepTitle |
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 |
---|
cancel, finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getFinishButtonDisabled, getMoreActionsConfigId, isFinished, restored |
Field Detail |
---|
public static final java.lang.String DEFAULT_SPACE_ICON_NAME
public static final java.lang.String DEFAULT_SPACE_ICON_PATH
public static final java.lang.String DEFAULT_SPACE_TYPE_ICON_PATH
protected static final java.lang.String CREATEFROM_TEMPLATE
protected static final java.lang.String CREATEFROM_EXISTING
protected static final java.lang.String CREATEFROM_SCRATCH
protected java.lang.String spaceType
protected java.lang.String icon
protected java.lang.String createFrom
protected org.alfresco.service.cmr.repository.NodeRef existingSpaceId
protected java.lang.String templateSpaceId
protected java.lang.String copyPolicy
protected java.lang.String name
protected java.lang.String title
protected java.lang.String description
protected java.lang.String templateName
protected boolean saveAsTemplate
protected java.util.List templates
protected java.util.List folderTypes
protected java.util.List folderTypeDescriptions
protected org.alfresco.service.cmr.repository.NodeRef createdNode
Constructor Detail |
---|
public CreateSpaceWizard()
Method Detail |
---|
public void init(java.util.Map parameters)
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogpublic java.lang.String next()
IWizardBean
next
in interface IWizardBean
next
in class BaseWizardBean
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 java.lang.String getCopyPolicy()
public void setCopyPolicy(java.lang.String copyPolicy)
copyPolicy
- The copyPolicy to set.public java.lang.String getCreateFrom()
public void setCreateFrom(java.lang.String createFrom)
createFrom
- The createFrom to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to set.public org.alfresco.service.cmr.repository.NodeRef getExistingSpaceId()
public void setExistingSpaceId(org.alfresco.service.cmr.repository.NodeRef existingSpaceId)
existingSpaceId
- The existingSpaceId to set.public java.lang.String getIcon()
public void setIcon(java.lang.String icon)
icon
- The icon to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The title to set.public boolean isSaveAsTemplate()
public void setSaveAsTemplate(boolean saveAsTemplate)
saveAsTemplate
- The saveAsTemplate to set.public java.lang.String getSpaceType()
public void setSpaceType(java.lang.String spaceType)
spaceType
- The spaceType to set.public java.lang.String getTemplateName()
public void setTemplateName(java.lang.String templateName)
templateName
- The templateName to set.public java.lang.String getTemplateSpaceId()
public void setTemplateSpaceId(java.lang.String templateSpaceId)
templateSpaceId
- The templateSpaceId to set.public java.lang.String getSummary()
public java.util.List getTemplateSpaces()
public java.util.List getFolderTypes()
public java.util.List getFolderTypeDescriptions()
public java.util.List getIcons()
protected java.lang.String formatErrorMessage(java.lang.Throwable exception)
formatErrorMessage
in class BaseDialogBean
exception
- The exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |