es.caib.bpm.ui.task
Class TaskUI

java.lang.Object
  extended by org.zkoss.zk.ui.AbstractComponent
      extended by org.zkoss.zk.ui.HtmlBasedComponent
          extended by org.zkoss.zul.impl.XulElement
              extended by org.zkoss.zul.Box
                  extended by org.zkoss.zul.Vbox
                      extended by es.caib.zkib.zkiblaf.Frame
                          extended by es.caib.bpm.ui.task.TaskUI
All Implemented Interfaces:
es.caib.zkib.zkiblaf.Frameable, java.io.Serializable, java.lang.Cloneable, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.EventListener, org.zkoss.zk.ui.sys.ComponentCtrl

public class TaskUI
extends es.caib.zkib.zkiblaf.Frame
implements org.zkoss.zk.ui.event.EventListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
 
Field Summary
 
Fields inherited from class es.caib.zkib.zkiblaf.Frame
canClose, saveContent, title
 
Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent
RS_NO_DISPLAY, RS_NO_HEIGHT, RS_NO_WIDTH
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Constructor Summary
TaskUI()
           
 
Method Summary
 void cambiarPestana(org.zkoss.zul.Tabpanel newItem)
          Notifica el canvi de selecció entre pestanyes.
 boolean canClose()
           
 java.lang.ClassLoader cargarClasesUI(es.caib.bpm.vo.ProcessDefinition def)
           
 void cargarTablaArchivos(es.caib.bpm.vo.TaskInstance task, org.zkoss.zul.Listbox tablaArchivos)
           
 void cerrarTarea()
           
 void delegarTarea()
           
 void descargarArchivo()
           
 void downloadSign()
           
 void ejecutarTarea(java.lang.String transicion)
           
 void eliminarArchivo()
           
 es.caib.bpm.vo.ProcessDefinition getCurrentDefinition()
           
 es.caib.bpm.vo.ProcessInstance getCurrentProcess()
           
 es.caib.bpm.vo.TaskInstance getCurrentTask()
           
 void limpiarSeleccion()
           
 void onCreate()
           
 void onEvent(org.zkoss.zk.ui.event.Event evt)
           
 void openTaskInstance(es.caib.bpm.vo.TaskInstance task)
           
 void refreshListadoArchivos()
           
 void salvarTarea()
           
 void seleccionarDocumento()
           
 void setCurrentDefinition(es.caib.bpm.vo.ProcessDefinition currentDefinition)
           
 void setCurrentProcess(es.caib.bpm.vo.ProcessInstance currentProcess)
           
 void setCurrentTask(es.caib.bpm.vo.TaskInstance currentTask)
           
 void subirArchivo()
           
 void tomarTarea()
           
 void updateBotonera(org.zkoss.zk.ui.Component componenteGenerado)
           
 
Methods inherited from class es.caib.zkib.zkiblaf.Frame
getTitle, isSaveContent, setCanClose, setSaveContent, setTitle
 
Methods inherited from class org.zkoss.zul.Box
getAlign, getCaveAttrs, getChildInnerAttrs, getChildOuterAttrs, getHeights, getOrient, getOuterAttrs, getPack, getSpacing, getValign, getWidths, insertBefore, isHorizontal, isVertical, onChildRemoved, onDrawNewChild, setAlign, setHeights, setOrient, setPack, setSpacing, setValign, setWidths
 
Methods inherited from class org.zkoss.zul.impl.XulElement
getAction, getActionAttrs, getAllOnClickAttrs, getContext, getCtrlKeys, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip
 
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent
focus, getAllOnClickAttrs, getDraggable, getDroppable, getHeight, getLeft, getRealSclass, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZIndex, newExtraCtrl, setClass, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex
 
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendAsapAttr, appendChild, applyProperties, clone, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getCommand, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getExtraCtrl, getFellow, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, invalidate, isAsapRequired, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, smartUpdate, smartUpdate, smartUpdate, smartUpdateDeferred, smartUpdateValues, toString, unsetVariable
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskUI

public TaskUI()
Method Detail

canClose

public boolean canClose()
Specified by:
canClose in interface es.caib.zkib.zkiblaf.Frameable
Overrides:
canClose in class es.caib.zkib.zkiblaf.Frame

onCreate

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

getCurrentProcess

public es.caib.bpm.vo.ProcessInstance getCurrentProcess()

setCurrentProcess

public void setCurrentProcess(es.caib.bpm.vo.ProcessInstance currentProcess)

getCurrentDefinition

public es.caib.bpm.vo.ProcessDefinition getCurrentDefinition()

setCurrentDefinition

public void setCurrentDefinition(es.caib.bpm.vo.ProcessDefinition currentDefinition)

openTaskInstance

public void openTaskInstance(es.caib.bpm.vo.TaskInstance task)
                      throws java.io.IOException,
                             org.dom4j.DocumentException,
                             java.lang.ClassNotFoundException,
                             java.sql.SQLException,
                             javax.naming.NamingException,
                             javax.ejb.CreateException
Throws:
java.io.IOException
org.dom4j.DocumentException
java.lang.ClassNotFoundException
java.sql.SQLException
javax.naming.NamingException
javax.ejb.CreateException

limpiarSeleccion

public void limpiarSeleccion()

refreshListadoArchivos

public void refreshListadoArchivos()
                            throws java.io.IOException,
                                   javax.naming.NamingException,
                                   javax.ejb.CreateException
Throws:
java.io.IOException
javax.naming.NamingException
javax.ejb.CreateException

cargarTablaArchivos

public void cargarTablaArchivos(es.caib.bpm.vo.TaskInstance task,
                                org.zkoss.zul.Listbox tablaArchivos)
                         throws java.io.IOException,
                                javax.naming.NamingException,
                                javax.ejb.CreateException
Throws:
java.io.IOException
javax.naming.NamingException
javax.ejb.CreateException

cargarClasesUI

public java.lang.ClassLoader cargarClasesUI(es.caib.bpm.vo.ProcessDefinition def)
                                     throws java.lang.ClassNotFoundException,
                                            java.sql.SQLException,
                                            java.io.IOException,
                                            javax.ejb.CreateException,
                                            javax.naming.NamingException
Throws:
java.lang.ClassNotFoundException
java.sql.SQLException
java.io.IOException
javax.ejb.CreateException
javax.naming.NamingException

updateBotonera

public void updateBotonera(org.zkoss.zk.ui.Component componenteGenerado)

getCurrentTask

public es.caib.bpm.vo.TaskInstance getCurrentTask()

setCurrentTask

public void setCurrentTask(es.caib.bpm.vo.TaskInstance currentTask)

onEvent

public void onEvent(org.zkoss.zk.ui.event.Event evt)
             throws java.lang.InterruptedException,
                    java.io.IOException,
                    javax.ejb.CreateException,
                    javax.naming.NamingException
Specified by:
onEvent in interface org.zkoss.zk.ui.event.EventListener
Throws:
java.lang.InterruptedException
java.io.IOException
javax.ejb.CreateException
javax.naming.NamingException

ejecutarTarea

public void ejecutarTarea(java.lang.String transicion)
                   throws java.lang.InterruptedException,
                          java.io.IOException,
                          javax.ejb.CreateException,
                          javax.naming.NamingException
Throws:
java.lang.InterruptedException
java.io.IOException
javax.ejb.CreateException
javax.naming.NamingException

salvarTarea

public void salvarTarea()
                 throws java.lang.InterruptedException,
                        java.io.IOException,
                        javax.ejb.CreateException,
                        javax.naming.NamingException
Throws:
java.lang.InterruptedException
java.io.IOException
javax.ejb.CreateException
javax.naming.NamingException

cerrarTarea

public void cerrarTarea()
                 throws java.lang.InterruptedException,
                        java.io.IOException,
                        javax.ejb.CreateException,
                        javax.naming.NamingException,
                        es.caib.bpm.exception.BPMException,
                        java.lang.ClassNotFoundException,
                        java.sql.SQLException,
                        org.dom4j.DocumentException
Throws:
java.lang.InterruptedException
java.io.IOException
javax.ejb.CreateException
javax.naming.NamingException
es.caib.bpm.exception.BPMException
java.lang.ClassNotFoundException
java.sql.SQLException
org.dom4j.DocumentException

tomarTarea

public void tomarTarea()
                throws java.lang.InterruptedException,
                       javax.ejb.CreateException,
                       javax.naming.NamingException
Throws:
java.lang.InterruptedException
javax.ejb.CreateException
javax.naming.NamingException

delegarTarea

public void delegarTarea()
                  throws java.lang.InterruptedException,
                         javax.ejb.CreateException,
                         javax.naming.NamingException
Throws:
java.lang.InterruptedException
javax.ejb.CreateException
javax.naming.NamingException

subirArchivo

public void subirArchivo()
                  throws java.lang.InterruptedException,
                         java.io.IOException,
                         javax.naming.NamingException,
                         javax.ejb.CreateException,
                         es.caib.bpm.beans.exception.DocumentBeanException,
                         es.caib.bpm.exception.BPMException
Throws:
java.lang.InterruptedException
java.io.IOException
javax.naming.NamingException
javax.ejb.CreateException
es.caib.bpm.beans.exception.DocumentBeanException
es.caib.bpm.exception.BPMException

eliminarArchivo

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

descargarArchivo

public void descargarArchivo()
                      throws java.io.IOException,
                             es.caib.bpm.beans.exception.DocumentBeanException,
                             es.caib.bpm.exception.BPMException,
                             java.lang.InterruptedException
Throws:
java.io.IOException
es.caib.bpm.beans.exception.DocumentBeanException
es.caib.bpm.exception.BPMException
java.lang.InterruptedException

seleccionarDocumento

public void seleccionarDocumento()
                          throws es.caib.signatura.api.SignatureTimestampException,
                                 java.io.IOException,
                                 java.lang.ClassNotFoundException,
                                 es.caib.bpm.nas.exception.NASException,
                                 javax.naming.NamingException,
                                 javax.ejb.CreateException
Throws:
es.caib.signatura.api.SignatureTimestampException
java.io.IOException
java.lang.ClassNotFoundException
es.caib.bpm.nas.exception.NASException
javax.naming.NamingException
javax.ejb.CreateException

downloadSign

public void downloadSign()
                  throws java.lang.InterruptedException,
                         java.io.IOException,
                         javax.naming.NamingException,
                         es.caib.bpm.beans.exception.DocumentBeanException
Throws:
java.lang.InterruptedException
java.io.IOException
javax.naming.NamingException
es.caib.bpm.beans.exception.DocumentBeanException

cambiarPestana

public void cambiarPestana(org.zkoss.zul.Tabpanel newItem)
Notifica el canvi de selecció entre pestanyes.

Parameters:
newItem -


Copyright © 2012 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.