es.caib.ibkey.bpm.tasks
Class PreviewDocumentToSignTask

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.Window
                  extended by es.caib.bpm.toolkit.WorkflowWindow
                      extended by es.caib.ibkey.bpm.tasks.PreviewDocumentToSignTask
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.IdSpace, org.zkoss.zk.ui.sys.ComponentCtrl

public class PreviewDocumentToSignTask
extends es.caib.bpm.toolkit.WorkflowWindow

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zul.Window
org.zkoss.zul.Window.ExtraCtrl
 
Field Summary
protected  java.lang.String[] enabledPositions
           
protected  java.lang.String enabledStampType
           
protected  java.lang.String forcedAdditionalText
           
static java.lang.String STAMP_POSITION_ADOBE_BOTTOM_LEFT
           
static java.lang.String STAMP_POSITION_ADOBE_BOTTOM_RIGHT
           
static java.lang.String STAMP_POSITION_ADOBE_TOP_LEFT
           
static java.lang.String STAMP_POSITION_ADOBE_TOP_RIGHT
           
static java.lang.String STAMP_POSITION_ALL_BOTTOM
           
static java.lang.String STAMP_POSITION_ALL_TOP
           
static java.lang.String STAMP_POSITION_PDF417_LEFT
           
static java.lang.String STAMP_POSITION_PDF417_RIGHT
           
static java.lang.String STAMP_TYPE_ADOBE
           
static java.lang.String STAMP_TYPE_ALL
           
static java.lang.String STAMP_TYPE_NONE
           
static java.lang.String STAMP_TYPE_PDF417
           
 
Fields inherited from class es.caib.bpm.toolkit.WorkflowWindow
COMPLETE_TRANSITION_EVENT, DELEGATION_INIT_EVENT, LOAD_EVENT, log, PREPARE_TRANSITION_EVENT, SAVE_EVENT, TAB_SELECTED_EVENT
 
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
PreviewDocumentToSignTask()
           
 
Method Summary
 void loadPDFIframe(org.zkoss.zul.Iframe iframe)
          Quan s'ha carregat la pàgina: -carreguem a l'iframe el document de l'ultim stage completat
 void onDelegationInit()
          amaguem el preview per tal que no amagui la finestra de delegació
 void onTaskTabSelected(java.lang.String selectedId)
          Quan es canvia de tab i es torna a la de la tasca, tornem a mostrar el preview del document a signar
protected  void prepareTransition(java.lang.String transicionEjecutada)
          validaciones
 
Methods inherited from class es.caib.bpm.toolkit.WorkflowWindow
completeTransition, getEngine, getProcessInstance, getSignatureHandler, getTask, isAllowDelegate, isCanAddAttachments, isCanDeleteAttachments, isShowAttachments, load, refresh, save, setAllowDelegate, setCanAddAttachments, setCanDeleteAttachments, setEngine, setProcessInstance, setShowAttachments, setSignatureHandler, setTask
 
Methods inherited from class org.zkoss.zul.Window
clone, doEmbedded, doHighlighted, doModal, doOverlapped, doPopup, getBorder, getCaption, getContentSclass, getContentStyle, getDefaultActionOnShow, getMode, getOuterAttrs, getPosition, getRealStyle, getSclass, getTitle, getTitleSclass, inEmbedded, inHighlighted, inModal, inOverlapped, inPopup, insertBefore, isClosable, isSizable, newExtraCtrl, onChildRemoved, onClose, onModal, setBorder, setClosable, setContentSclass, setContentStyle, setDefaultActionOnShow, setDraggable, setMode, setMode, setPage, setParent, setPosition, setSclass, setSizable, setTitle, setVisible
 
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, getRealStyleFlags, getStyle, getTooltiptext, getTop, getWidth, getZIndex, setClass, setDroppable, setFocus, setHeight, setLeft, 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, 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, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPageBefore, setVariable, smartUpdate, smartUpdate, smartUpdate, smartUpdateDeferred, smartUpdateValues, toString, unsetVariable
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.zkoss.zk.ui.IdSpace
getFellow, getFellowIfAny, getFellows
 

Field Detail

STAMP_TYPE_ALL

public static final java.lang.String STAMP_TYPE_ALL
See Also:
Constant Field Values

STAMP_TYPE_ADOBE

public static final java.lang.String STAMP_TYPE_ADOBE
See Also:
Constant Field Values

STAMP_TYPE_PDF417

public static final java.lang.String STAMP_TYPE_PDF417
See Also:
Constant Field Values

STAMP_TYPE_NONE

public static final java.lang.String STAMP_TYPE_NONE
See Also:
Constant Field Values

STAMP_POSITION_ALL_TOP

public static final java.lang.String STAMP_POSITION_ALL_TOP
See Also:
Constant Field Values

STAMP_POSITION_ADOBE_TOP_LEFT

public static final java.lang.String STAMP_POSITION_ADOBE_TOP_LEFT
See Also:
Constant Field Values

STAMP_POSITION_ADOBE_TOP_RIGHT

public static final java.lang.String STAMP_POSITION_ADOBE_TOP_RIGHT
See Also:
Constant Field Values

STAMP_POSITION_PDF417_LEFT

public static final java.lang.String STAMP_POSITION_PDF417_LEFT
See Also:
Constant Field Values

STAMP_POSITION_PDF417_RIGHT

public static final java.lang.String STAMP_POSITION_PDF417_RIGHT
See Also:
Constant Field Values

STAMP_POSITION_ALL_BOTTOM

public static final java.lang.String STAMP_POSITION_ALL_BOTTOM
See Also:
Constant Field Values

STAMP_POSITION_ADOBE_BOTTOM_LEFT

public static final java.lang.String STAMP_POSITION_ADOBE_BOTTOM_LEFT
See Also:
Constant Field Values

STAMP_POSITION_ADOBE_BOTTOM_RIGHT

public static final java.lang.String STAMP_POSITION_ADOBE_BOTTOM_RIGHT
See Also:
Constant Field Values

enabledStampType

protected java.lang.String enabledStampType

enabledPositions

protected java.lang.String[] enabledPositions

forcedAdditionalText

protected java.lang.String forcedAdditionalText
Constructor Detail

PreviewDocumentToSignTask

public PreviewDocumentToSignTask()
Method Detail

loadPDFIframe

public void loadPDFIframe(org.zkoss.zul.Iframe iframe)
Quan s'ha carregat la pàgina: -carreguem a l'iframe el document de l'ultim stage completat


prepareTransition

protected void prepareTransition(java.lang.String transicionEjecutada)
                          throws es.caib.bpm.toolkit.exception.WorkflowException
validaciones

Overrides:
prepareTransition in class es.caib.bpm.toolkit.WorkflowWindow
Throws:
es.caib.bpm.toolkit.exception.WorkflowException

onTaskTabSelected

public void onTaskTabSelected(java.lang.String selectedId)
Quan es canvia de tab i es torna a la de la tasca, tornem a mostrar el preview del document a signar

Overrides:
onTaskTabSelected in class es.caib.bpm.toolkit.WorkflowWindow

onDelegationInit

public void onDelegationInit()
amaguem el preview per tal que no amagui la finestra de delegació

Overrides:
onDelegationInit in class es.caib.bpm.toolkit.WorkflowWindow


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