public class OwBPMJspProcessorDialog extends com.wewebu.ow.server.app.OwStandardSequenceDialog implements OwBPMProcessorDialog
Workdesk BPM Plugin.
Workdesk BPM Plugin JSP Processor Dialog.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Modifier and Type | Field and Description |
|---|---|
protected com.wewebu.ow.server.util.OwXMLUtil |
m_configNode
the config node
|
protected boolean |
m_fAutoOpen
auto open the preview attachment?
|
protected int |
m_iIndex
current index
|
protected com.wewebu.ow.server.app.OwMimeManager |
m_MimeManager
instance of the MIME manager used to open the objects
|
protected com.wewebu.ow.server.app.OwClientRefreshContext |
m_refreshCtx
the refresh context to notify the calling plugin client
|
protected OwBPMJspProcessorView |
m_view
the internal JSP form view
|
protected List |
m_worktitems
workitems
|
CLOSE_BTN_REGION, FOOTER_REGION, HELP_BTN_REGION, INFO_ICON_REGION, LEFT_REGION, m_strHelpPath, m_strInfoIconURL, m_strTitle, MAIN_REGION, MENU_REGION, RIGHT_REGION, STANDARD_DIALOG_REGION_MAX, TITLE_REGIONm_iDEBUG_DocumentViewSize, m_iDEBUG_InitDocument, m_iDEBUG_TargetCount, m_Listener| Constructor and Description |
|---|
OwBPMJspProcessorDialog(Collection objects_p,
com.wewebu.ow.server.util.OwXMLUtil configNode_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeDialog()
visually close the Dialog.
|
protected OwBPMJspProcessorView |
createJspProcessorView(com.wewebu.ow.server.util.OwXMLUtil configNode_p)
overridable factory function to create the JSP form View
|
void |
detach()
remove view and all subviews from context
|
int |
getCount()
get the number of sequence items in the dialog
|
List |
getWorkItems()
Get the list of workitems to be processed.
|
boolean |
hasNext()
called when the Dialog needs to know if there is a next item
|
boolean |
hasPrev()
called when the Dialog needs to know if there is a prev item
|
protected void |
init()
init the target after the context is set.
|
protected void |
initWorkItem()
init the dialog with the current work item
|
void |
next(boolean fRemoveCurrent_p)
move to next item and roll over, i.e.
|
protected void |
onRender(Writer w_p)
overridden render the view
|
void |
prev(boolean fRemoveCurrent_p)
move to prev item and roll over, i.e.
|
protected void |
previewAttachment()
open preview attachment
|
void |
unlock()
unlock the workitems
|
getNextHREF, getPrevHREF, onNext, onPrev, renderNavigationButtons, renderRegiongetInfoIcon, getTitle, hasHelpButton, isRegion, onClose, onHelp, renderCloseButton, renderHelpButton, setHelp, setInfoIcon, setTitleaddRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegionactivate, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributesprotected OwBPMJspProcessorView m_view
protected com.wewebu.ow.server.app.OwMimeManager m_MimeManager
protected List m_worktitems
protected int m_iIndex
protected com.wewebu.ow.server.util.OwXMLUtil m_configNode
protected boolean m_fAutoOpen
protected com.wewebu.ow.server.app.OwClientRefreshContext m_refreshCtx
public OwBPMJspProcessorDialog(Collection objects_p, com.wewebu.ow.server.util.OwXMLUtil configNode_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) throws Exception
objects_p - array of OwWorkitemExceptionprotected void init()
throws Exception
init in class com.wewebu.ow.server.ui.OwViewExceptionprotected void initWorkItem()
throws Exception
Exceptionprotected void onRender(Writer w_p) throws Exception
onRender in class com.wewebu.ow.server.app.OwStandardDialogw_p - Writer object to write HTML toExceptionpublic void unlock()
throws Exception
unlock in interface OwBPMProcessorDialogExceptionpublic boolean hasNext()
throws Exception
hasNext in interface com.wewebu.ow.server.app.OwSequenceViewhasNext in class com.wewebu.ow.server.app.OwStandardSequenceDialogExceptionpublic boolean hasPrev()
throws Exception
hasPrev in interface com.wewebu.ow.server.app.OwSequenceViewhasPrev in class com.wewebu.ow.server.app.OwStandardSequenceDialogExceptionpublic int getCount()
getCount in interface com.wewebu.ow.server.app.OwSequenceViewpublic void prev(boolean fRemoveCurrent_p)
throws Exception
prev in interface com.wewebu.ow.server.app.OwSequenceViewfRemoveCurrent_p - true = remove the current sequence item and then move to the prev item, if this is the last item, closes the dialogExceptionpublic void next(boolean fRemoveCurrent_p)
throws Exception
next in interface com.wewebu.ow.server.app.OwSequenceViewfRemoveCurrent_p - true = remove the current sequence item and then move to the next item, if this is the last item, closes the dialogExceptionpublic List getWorkItems()
OwBPMProcessorDialoggetWorkItems in interface OwBPMProcessorDialogList object containing the workitems.public void closeDialog()
throws Exception
closeDialog in class com.wewebu.ow.server.ui.OwDialogExceptionpublic void detach()
detach in class com.wewebu.ow.server.ui.OwViewprotected OwBPMJspProcessorView createJspProcessorView(com.wewebu.ow.server.util.OwXMLUtil configNode_p) throws Exception
configNode_p - OwXMLUtilExceptionprotected void previewAttachment()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.