public class OwBPMReassignDialog extends OwBPMInsertNoteDialog implements com.wewebu.ow.server.ui.OwDialog.OwDialogListener
Dialog for reassigning a work item to an inbox.
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 |
---|---|
static String |
DEFAULT_USER_SELECTION_WEB_KEY |
static int |
DESTINATION_OTHER_INBOX_VALUE
destination value for inbox of another user
|
static int |
DESTINATION_OTHER_PUBLICBOX_VALUE
destination value for inbox of another public box
|
static int |
DESTINATION_OWN_INBOX_VALUE
destination value for own inbox
|
static String |
DESTINATION_WEB_KEY |
static int |
OTHER_INBOX_REGION
region
|
static int |
OTHER_PUBLICBOX_REGION
region
|
static int |
OWN_INBOX_REGION
region
|
static String |
PUBLIC_CONTAINER_NAME_WEB_KEY |
INSERT_NOTE_DIALOG_REGION_MAX, m_currentItem, m_fieldManager, m_MenuView, m_noteProperty, m_workitems, NOTE_REGION
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_REGION
m_iDEBUG_DocumentViewSize, m_iDEBUG_InitDocument, m_iDEBUG_TargetCount, m_Listener
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
Constructor and Description |
---|
OwBPMReassignDialog(List workitems_p,
com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p,
String noteProperty_p)
create a new instance of the dialog
|
OwBPMReassignDialog(com.wewebu.ow.server.ecm.bpm.OwWorkitem workitem_p,
com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p,
String noteProperty_p)
create a new instance of the dialog
|
Modifier and Type | Method and Description |
---|---|
void |
doReassignToPublicBox(String destination_p)
do the reassign for all workitems
|
void |
doReassignToUserBox(String destination_p)
do the reassign for all workitems
|
String |
getCheckedString(int radioButtonValue_p) |
List |
getDefaultUsers()
Returns a list of users to select from.
|
String |
getPublicDestinationDisplayName(String sID_p)
get a display name for the given ID
|
Collection |
getPublicDestinations()
get a collection of public destination IDs
|
com.wewebu.ow.server.ecm.OwUserInfo |
getReceiverUser()
getter method for receiverUserName
|
String |
getReceiverUserName()
getter method for receiverUserName
|
boolean |
isRegion(int iRegion_p) |
boolean |
isUserDefaultEnabled() |
void |
onDialogClose(com.wewebu.ow.server.ui.OwDialog dialogView_p)
invoked when user select dialog is closed
|
void |
onOkDo(javax.servlet.http.HttpServletRequest request_p,
Object reason_p)
event called when user clicked the ok button should be overloaded by specific Dialog
|
void |
onOpenUserDialog(javax.servlet.http.HttpServletRequest request_p)
called from JSP to get role from role dialogue
|
void |
renderRegion(Writer w_p,
int iRegion_p)
render the views of the region
|
void |
unlockAll()
unlock the workitems
|
detach, getCurrentItem, getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getSafeFieldValue, getWorkitems, init, onCancelDo, onRender, renderNote, setField, setNote, usesFormWithAttributes
getInfoIcon, getTitle, hasHelpButton, onClose, onHelp, renderCloseButton, renderHelpButton, setHelp, setInfoIcon, setTitle
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion
activate, 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
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
public static final String DESTINATION_WEB_KEY
public static final String PUBLIC_CONTAINER_NAME_WEB_KEY
public static final String DEFAULT_USER_SELECTION_WEB_KEY
public static final int DESTINATION_OWN_INBOX_VALUE
public static final int DESTINATION_OTHER_INBOX_VALUE
public static final int DESTINATION_OTHER_PUBLICBOX_VALUE
public static final int OWN_INBOX_REGION
public static final int OTHER_INBOX_REGION
public static final int OTHER_PUBLICBOX_REGION
public OwBPMReassignDialog(List workitems_p, com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer oParent_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p, String noteProperty_p) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public OwBPMReassignDialog(com.wewebu.ow.server.ecm.bpm.OwWorkitem workitem_p, com.wewebu.ow.server.ecm.bpm.OwWorkitemContainer oParent_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p, String noteProperty_p) throws com.wewebu.ow.server.exceptions.OwException
noteProperty_p
- com.wewebu.ow.server.exceptions.OwException
public void onOkDo(javax.servlet.http.HttpServletRequest request_p, Object reason_p) throws Exception
onOkDo
in class OwBPMInsertNoteDialog
request_p
- a HttpServletRequest
reason_p
- Exception
public void renderRegion(Writer w_p, int iRegion_p) throws Exception
renderRegion
in interface com.wewebu.ow.server.ui.OwBaseView
renderRegion
in class OwBPMInsertNoteDialog
w_p
- Writer object to write HTML toiRegion_p
- ID of the region to renderException
public boolean isRegion(int iRegion_p)
isRegion
in interface com.wewebu.ow.server.ui.OwBaseView
isRegion
in class com.wewebu.ow.server.app.OwStandardDialog
public String getPublicDestinationDisplayName(String sID_p)
sID_p
- public Collection getPublicDestinations() throws Exception
Exception
public void onOpenUserDialog(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- a HttpServletRequest objectException
public void onDialogClose(com.wewebu.ow.server.ui.OwDialog dialogView_p) throws Exception
onDialogClose
in interface com.wewebu.ow.server.ui.OwDialog.OwDialogListener
Exception
OwDialog.OwDialogListener.onDialogClose(com.wewebu.ow.server.ui.OwDialog)
public String getCheckedString(int radioButtonValue_p)
radioButtonValue_p
- the value of the given radio buttonpublic void doReassignToPublicBox(String destination_p) throws Exception
destination_p
- Exception
public void doReassignToUserBox(String destination_p) throws Exception
destination_p
- Exception
public String getReceiverUserName()
public com.wewebu.ow.server.ecm.OwUserInfo getReceiverUser()
public void unlockAll() throws Exception
unlockAll
in class OwBPMInsertNoteDialog
Exception
public boolean isUserDefaultEnabled()
true
if the default user selection is enabled - user can choose from a list of default usersfalse
otherwiseCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.