public class SubmitDialog extends BaseDialogBean
| Modifier and Type | Class and Description |
|---|---|
class |
SubmitDialog.ItemWrapper
Wrapper class to provide UI RichList component getters for an AVM node descriptor
|
| Modifier and Type | Field and Description |
|---|---|
protected WorkflowConfiguration |
actionWorkflow
Current workflow for dialog context
|
protected AVMBrowseBean |
avmBrowseBean |
static java.lang.String |
MSG_ERR_INVALID_EXPIRATION_DATE |
static java.lang.String |
MSG_ERR_INVALID_LAUNCH_DATE |
static java.lang.String |
MSG_ERR_PATTERN_INVALID_EXPIRATION_DATE |
static java.lang.String |
PARAM_LOAD_SELECTED_NODES_FROM_BROWSE_BEAN |
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
SubmitDialog() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyDefaultExpireDateToAll(javax.faces.event.ActionEvent event)
Applies the entered default date to all modified items
|
void |
enterExpireDate(javax.faces.event.ActionEvent event)
Toggles the enteringExpireDate flag
|
java.lang.String |
finish()
Method handler called when the finish button of the dialog is pressed
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
WorkflowConfiguration |
getActionWorkflow() |
protected org.alfresco.service.cmr.avm.AVMService |
getAvmService() |
protected org.alfresco.service.cmr.avmsync.AVMSyncService |
getAvmSyncService() |
java.lang.String |
getComment() |
java.util.Date |
getDefaultExpireDate() |
java.util.Map |
getExpiredDates() |
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
protected FormsService |
getFormsService() |
java.lang.String |
getLabel() |
java.util.Date |
getLaunchDate() |
protected org.alfresco.util.NameMatcher |
getNameMatcher() |
protected org.alfresco.wcm.sandbox.SandboxFactory |
getSandboxFactory() |
protected org.alfresco.wcm.sandbox.SandboxService |
getSandboxService() |
java.util.List |
getSubmitItems() |
int |
getSubmitItemsSize() |
java.util.List |
getWarningItems() |
int |
getWarningItemsSize() |
java.util.List |
getWorkflowList() |
int |
getWorkflowListSize() |
java.lang.String[] |
getWorkflowSelectedValue() |
protected org.alfresco.service.cmr.workflow.WorkflowService |
getWorkflowService() |
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
boolean |
isAutoDeploy() |
boolean |
isEnteringExpireDate() |
void |
setActionWorkflow(WorkflowConfiguration actionWorkflow) |
void |
setAutoDeploy(boolean autoDeploy) |
void |
setAvmBrowseBean(AVMBrowseBean avmBrowseBean) |
void |
setAvmService(org.alfresco.service.cmr.avm.AVMService avmService) |
void |
setAvmSyncService(org.alfresco.service.cmr.avmsync.AVMSyncService avmSyncService) |
void |
setComment(java.lang.String comment) |
void |
setDefaultExpireDate(java.util.Date defaultExpireDate) |
void |
setFormsService(FormsService formsService) |
void |
setLabel(java.lang.String label) |
void |
setLaunchDate(java.util.Date launchDate) |
void |
setNameMatcher(org.alfresco.util.NameMatcher nameMatcher) |
void |
setSandboxFactory(org.alfresco.wcm.sandbox.SandboxFactory sandboxFactory) |
void |
setSandboxService(org.alfresco.wcm.sandbox.SandboxService sandboxService) |
void |
setupConfigureWorkflow(javax.faces.event.ActionEvent event)
Action method to setup a workflow for dialog context for the current row
|
void |
setWorkflowSelectedValue(java.lang.String[] workflowSelectedValue) |
void |
setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService) |
cancel, doPostCommitProcessing, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServicepublic static final java.lang.String PARAM_LOAD_SELECTED_NODES_FROM_BROWSE_BEAN
public static final java.lang.String MSG_ERR_INVALID_LAUNCH_DATE
public static final java.lang.String MSG_ERR_INVALID_EXPIRATION_DATE
public static final java.lang.String MSG_ERR_PATTERN_INVALID_EXPIRATION_DATE
protected AVMBrowseBean avmBrowseBean
protected WorkflowConfiguration actionWorkflow
public void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
avmService - The AVM Service to set.protected org.alfresco.service.cmr.avm.AVMService getAvmService()
public void setAvmSyncService(org.alfresco.service.cmr.avmsync.AVMSyncService avmSyncService)
avmSyncService - The AVMSyncService to set.protected org.alfresco.service.cmr.avmsync.AVMSyncService getAvmSyncService()
public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
avmBrowseBean - The AVM BrowseBean to setpublic void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
workflowService - The WorkflowService to set.protected org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()
public void setNameMatcher(org.alfresco.util.NameMatcher nameMatcher)
nameMatcher - The nameMatcher to set.protected org.alfresco.util.NameMatcher getNameMatcher()
public void setFormsService(FormsService formsService)
formsService - The FormsService to set.protected FormsService getFormsService()
public void setSandboxService(org.alfresco.wcm.sandbox.SandboxService sandboxService)
protected org.alfresco.wcm.sandbox.SandboxService getSandboxService()
public void setSandboxFactory(org.alfresco.wcm.sandbox.SandboxFactory sandboxFactory)
protected org.alfresco.wcm.sandbox.SandboxFactory getSandboxFactory()
public void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialogBaseDialogBean.init(java.util.Map)protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic java.lang.String finish()
IDialogBeanfinish in interface IDialogBeanfinish in class BaseDialogBeanpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanBaseDialogBean.getFinishButtonDisabled()public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - The workflow comment to set.public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - The snapshot label to set.public java.util.Date getDefaultExpireDate()
public void setDefaultExpireDate(java.util.Date defaultExpireDate)
defaultExpireDate - The default expiration datepublic boolean isEnteringExpireDate()
public java.util.Map getExpiredDates()
public java.lang.String[] getWorkflowSelectedValue()
public void setWorkflowSelectedValue(java.lang.String[] workflowSelectedValue)
workflowSelectedValue - The workflow Selected Value to set.public java.util.Date getLaunchDate()
public void setLaunchDate(java.util.Date launchDate)
launchDate - The content launch datepublic boolean isAutoDeploy()
public void setAutoDeploy(boolean autoDeploy)
autoDeploy - Flag to indicate whether the changes should be deployed upon approvalpublic java.util.List getWorkflowList()
public int getWorkflowListSize()
public java.util.List getSubmitItems()
public int getSubmitItemsSize()
public java.util.List getWarningItems()
public int getWarningItemsSize()
public void setupConfigureWorkflow(javax.faces.event.ActionEvent event)
public WorkflowConfiguration getActionWorkflow()
public void setActionWorkflow(WorkflowConfiguration actionWorkflow)
actionWorkflow - The action Workflow to set for dialog contextpublic void applyDefaultExpireDateToAll(javax.faces.event.ActionEvent event)
event - The eventpublic void enterExpireDate(javax.faces.event.ActionEvent event)
event - The eventCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.