|
|||||||||
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.wcm.SubmitDialog
public class SubmitDialog
Submit items for WCM workflow dialog.
Nested Class Summary | |
---|---|
class |
SubmitDialog.ItemWrapper
Wrapper class to provide UI RichList component getters for an AVM node descriptor |
Field Summary | |
---|---|
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
|
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
SubmitDialog()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public SubmitDialog()
Method Detail |
---|
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)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- 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
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcome
java.lang.Exception
public java.lang.String finish()
IDialogBean
finish
in interface IDialogBean
finish
in class BaseDialogBean
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
BaseDialogBean.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 event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |