|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.ui.OwLayout
com.wewebu.ow.server.ui.OwDialog
com.wewebu.ow.server.app.OwStandardDialog
com.wewebu.ow.server.plug.owbpm.plug.OwBPMInsertNoteDialog
com.wewebu.ow.server.plug.owbpm.plug.OwBPMReassignDialog
public class OwBPMReassignDialog
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
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwDialog |
|---|
com.wewebu.ow.server.ui.OwDialog.OwDialogListener |
| Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
com.wewebu.ow.server.ui.OwLayout.OwDispatchRegion |
| Field Summary | |
|---|---|
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
|
| Fields inherited from class com.wewebu.ow.server.plug.owbpm.plug.OwBPMInsertNoteDialog |
|---|
INSERT_NOTE_DIALOG_REGION_MAX, m_currentItem, m_fieldManager, m_MenuView, m_noteProperty, m_workitems, NOTE_REGION |
| Fields inherited from class com.wewebu.ow.server.app.OwStandardDialog |
|---|
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 |
| Fields inherited from class com.wewebu.ow.server.ui.OwDialog |
|---|
m_iDEBUG_DocumentViewSize, m_iDEBUG_InitDocument, m_iDEBUG_TargetCount, m_Listener |
| Fields inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
m_Regions |
| Fields inherited from class com.wewebu.ow.server.ui.OwView |
|---|
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget |
| Fields inherited from interface com.wewebu.ow.server.field.OwFieldProvider |
|---|
TYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALL |
| Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView |
|---|
EMPTY_STRING |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.wewebu.ow.server.plug.owbpm.plug.OwBPMInsertNoteDialog |
|---|
detach, getCurrentItem, getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getSafeFieldValue, getWorkitems, init, onCancelDo, onRender, renderNote, setField, setNote, usesFormWithAttributes |
| Methods inherited from class com.wewebu.ow.server.app.OwStandardDialog |
|---|
getInfoIcon, getTitle, hasHelpButton, onClose, onHelp, renderCloseButton, renderHelpButton, setHelp, setInfoIcon, setTitle |
| Methods inherited from class com.wewebu.ow.server.ui.OwDialog |
|---|
closeDialog, setListener |
| Methods inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion |
| Methods inherited from class com.wewebu.ow.server.ui.OwView |
|---|
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 |
| Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
|---|
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.wewebu.ow.server.ui.OwUpdateTarget |
|---|
onUpdate |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
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| Method Detail |
|---|
public void onOkDo(javax.servlet.http.HttpServletRequest request_p,
Object reason_p)
throws Exception
onOkDo in class OwBPMInsertNoteDialogrequest_p - a HttpServletRequestreason_p -
Exception
public 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 render
Exceptionpublic 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
Exception
public void onOpenUserDialog(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - a HttpServletRequest object
Exception
public 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 button
public void doReassignToPublicBox(String destination_p)
throws Exception
destination_p -
Exception
public 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 otherwisepublic List getDefaultUsers()
OwUserSelectDialog
this user will be included too.
List of users to select from if default user selection is enablednull if default user selection is not enabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||