org.exoplatform.workflow.webui.component.controller
Class UITask

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.workflow.webui.component.controller.UITask
All Implemented Interfaces:
UISelectable

public class UITask
extends org.exoplatform.webui.form.UIForm
implements UISelectable

Created by The eXo Platform SARL Author : Ly Dinh Quang quang.ly@exoplatform.com xxx5669@gmail.com Jan 9, 2009


Nested Class Summary
static class UITask.CancelActionListener
           
static class UITask.EndOfStateActionListener
           
static class UITask.SelectUserActionListener
           
static class UITask.StartProcessActionListener
           
static class UITask.TransitionActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String MANAGE_TRANSITION
           
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UITask()
           
 
Method Summary
 void clean()
           
 void doSelect(java.lang.String selectField, java.lang.Object value)
          Do select.
 java.lang.String getCustomizedView()
           
 java.lang.String getIdentification()
           
 java.util.List getInputInfo()
           
 java.lang.String getManageTransition()
           
 java.lang.String getStateImageURL()
           
 java.util.List getSubmitButtons()
           
 java.lang.String getTemplate()
           
 org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context, java.lang.String template)
           
 java.util.ResourceBundle getWorkflowBundle()
           
 boolean isCustomizedView()
           
 boolean isStart()
           
 VariableMaps prepareVariables(java.lang.String decision)
           
 VariableMaps prepareWorkflowVariables(java.util.Collection inputs, java.lang.String decision)
           
 void setIdentification(java.lang.String identification)
           
 void setIsStart(boolean b)
           
 void updateUITree()
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MANAGE_TRANSITION

public static final java.lang.String MANAGE_TRANSITION
See Also:
Constant Field Values
Constructor Detail

UITask

public UITask()
Method Detail

getTemplate

public java.lang.String getTemplate()
Overrides:
getTemplate in class org.exoplatform.webui.core.UIComponent

getTemplateResourceResolver

public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
                                                                             java.lang.String template)
Overrides:
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponent

getManageTransition

public java.lang.String getManageTransition()

getStateImageURL

public java.lang.String getStateImageURL()

updateUITree

public void updateUITree()
                  throws java.lang.Exception
Throws:
java.lang.Exception

setIsStart

public void setIsStart(boolean b)

isStart

public boolean isStart()

getWorkflowBundle

public java.util.ResourceBundle getWorkflowBundle()

getInputInfo

public java.util.List getInputInfo()

getSubmitButtons

public java.util.List getSubmitButtons()

isCustomizedView

public boolean isCustomizedView()

getCustomizedView

public java.lang.String getCustomizedView()

setIdentification

public void setIdentification(java.lang.String identification)

getIdentification

public java.lang.String getIdentification()

prepareVariables

public VariableMaps prepareVariables(java.lang.String decision)
                              throws java.lang.Exception
Throws:
java.lang.Exception

prepareWorkflowVariables

public VariableMaps prepareWorkflowVariables(java.util.Collection inputs,
                                             java.lang.String decision)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

clean

public void clean()

doSelect

public void doSelect(java.lang.String selectField,
                     java.lang.Object value)
              throws java.lang.Exception
Description copied from interface: UISelectable
Do select.

Specified by:
doSelect in interface UISelectable
Parameters:
selectField - the select field
value - the value
Throws:
java.lang.Exception - the exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.