es.caib.bpm.ui.process
Class ProcessUI

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.process.ProcessUI
All Implemented Interfaces:
es.caib.zkib.zkiblaf.Frameable, java.io.Serializable, java.lang.Cloneable, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.sys.ComponentCtrl

public class ProcessUI
extends es.caib.zkib.zkiblaf.Frame

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
ProcessUI()
           
 
Method Summary
 void cancel()
           
 java.lang.ClassLoader cargarClasesUI(es.caib.bpm.vo.ProcessDefinition def)
           
 void cargarTablaArchivos(es.caib.bpm.vo.ProcessInstance process, org.zkoss.zul.Listbox tablaArchivos)
           
 void cerrar()
           
 void descargarArchivo()
           
 void downloadSign()
           
 es.caib.bpm.vo.ProcessDefinition getCurrentDefinition()
           
 es.caib.bpm.vo.ProcessInstance getCurrentProcess()
           
 boolean isFinalized()
          returns a boolean indicating if the process has ended.
 void onCreate()
           
 void onSelectJob()
           
 void onSelectTask()
           
 void openProcessInstance(es.caib.bpm.vo.ProcessInstance proc)
           
 void refresh()
           
 void refreshListadoArchivos()
           
 void seleccionarDocumento()
           
 void setCurrentDefinition(es.caib.bpm.vo.ProcessDefinition currentDefinition)
           
 void setCurrentProcess(es.caib.bpm.vo.ProcessInstance currentProcess)
           
 void upgrade()
           
 
Methods inherited from class es.caib.zkib.zkiblaf.Frame
canClose, 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

ProcessUI

public ProcessUI()
Method Detail

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)

refresh

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

openProcessInstance

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

onSelectTask

public void onSelectTask()

onSelectJob

public void onSelectJob()

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.ProcessInstance process,
                                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

cerrar

public void cerrar()
            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

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

cancel

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

upgrade

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

isFinalized

public boolean isFinalized()
returns a boolean indicating if the process has ended. Used to enable/disable buttons



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