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_REGIONCLOSE_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_ListenerCURRENT_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, usesFormWithAttributesgetInfoIcon, getTitle, hasHelpButton, 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, showNormalattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetpublic 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.OwExceptionpublic 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.OwExceptionpublic void onOkDo(javax.servlet.http.HttpServletRequest request_p,
Object reason_p)
throws Exception
onOkDo in class OwBPMInsertNoteDialogrequest_p - a HttpServletRequestreason_p - Exceptionpublic void renderRegion(Writer w_p, int iRegion_p) throws Exception
renderRegion in interface com.wewebu.ow.server.ui.OwBaseViewrenderRegion in class OwBPMInsertNoteDialogw_p - Writer object to write HTML toiRegion_p - ID of the region to renderExceptionpublic boolean isRegion(int iRegion_p)
isRegion in interface com.wewebu.ow.server.ui.OwBaseViewisRegion in class com.wewebu.ow.server.app.OwStandardDialogpublic String getPublicDestinationDisplayName(String sID_p)
sID_p - public Collection getPublicDestinations() throws Exception
Exceptionpublic void onOpenUserDialog(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - a HttpServletRequest objectExceptionpublic void onDialogClose(com.wewebu.ow.server.ui.OwDialog dialogView_p)
throws Exception
onDialogClose in interface com.wewebu.ow.server.ui.OwDialog.OwDialogListenerExceptionOwDialog.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 - Exceptionpublic void doReassignToUserBox(String destination_p) throws Exception
destination_p - Exceptionpublic String getReceiverUserName()
public com.wewebu.ow.server.ecm.OwUserInfo getReceiverUser()
public void unlockAll()
throws Exception
unlockAll in class OwBPMInsertNoteDialogExceptionpublic 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.