public class ExportDialog extends BaseDialogBean
Modifier and Type | Field and Description |
---|---|
protected BrowseBean |
browseBean |
isFinished, navigator, parameters
Constructor and Description |
---|
ExportDialog() |
Modifier and Type | Method and Description |
---|---|
String |
cancel()
Action called when the dialog is cancelled, just resets the bean's state
|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
protected ActionService |
getActionService() |
String |
getContainerTitle()
Returns the title to be used for the dialog
|
org.alfresco.service.cmr.repository.NodeRef |
getDestination()
The destination for the export as a NodeRef
|
String |
getEncoding()
Returns the encoding to use for the export
|
boolean |
getIncludeChildren()
Determines whether the export will include child spaces
|
boolean |
getIncludeSelf()
Determines whether the export will include the space itself
|
String |
getMode()
Determines whether to export only the current space or all spaces
|
String |
getPackageName()
Returns the package name for the export
|
boolean |
getRunInBackground()
Determines whether the import should run in the background
|
void |
reset()
Resets the dialog state back to the default
|
void |
setActionService(ActionService actionService)
Sets the action service
|
void |
setBrowseBean(BrowseBean browseBean)
Sets the BrowseBean instance to use to retrieve the current document
|
void |
setDestination(org.alfresco.service.cmr.repository.NodeRef destination)
Sets the destination for the export
|
void |
setEncoding(String encoding)
Sets the encoding to use for the export package
|
void |
setIncludeChildren(boolean includeChildren)
Sets whether child spaces are included in the export
|
void |
setIncludeSelf(boolean includeSelf)
Sets whether the space itself is included in the export
|
void |
setMode(String mode)
Sets whether to export the current space or all spaces
|
void |
setPackageName(String packageName)
Sets the package name for the export
|
void |
setRunInBackground(boolean runInBackground)
Determines whether the import will run in the background
|
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
protected BrowseBean browseBean
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
public String getContainerTitle()
IDialogBean
If this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle
in interface IDialogBean
getContainerTitle
in class BaseDialogBean
public String cancel()
cancel
in interface IDialogBean
cancel
in class BaseDialogBean
public void reset()
public String getPackageName()
public void setPackageName(String packageName)
packageName
- The export package namepublic org.alfresco.service.cmr.repository.NodeRef getDestination()
public void setDestination(org.alfresco.service.cmr.repository.NodeRef destination)
destination
- The destination for the exportpublic boolean getIncludeChildren()
public void setIncludeChildren(boolean includeChildren)
includeChildren
- true to include the child spacespublic boolean getIncludeSelf()
public void setIncludeSelf(boolean includeSelf)
includeSelf
- true to include the space itselfpublic String getMode()
public void setMode(String mode)
mode
- "all" to export all space and "current" to export the current spacepublic String getEncoding()
public void setEncoding(String encoding)
encoding
- The encodingpublic boolean getRunInBackground()
public void setRunInBackground(boolean runInBackground)
runInBackground
- true to run the import in the backgroundpublic void setBrowseBean(BrowseBean browseBean)
setBrowseBean
in class BaseDialogBean
browseBean
- BrowseBean instancepublic void setActionService(ActionService actionService)
actionService
- the action serviceprotected ActionService getActionService()
Copyright © 2005–2017 Alfresco Software. All rights reserved.