|
||||||||||
| 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
public class OwBPMInsertNoteDialog
Dialog for asking for a note to be attached to the workitem.
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 int |
INSERT_NOTE_DIALOG_REGION_MAX
start of overridden regions |
protected com.wewebu.ow.server.ecm.bpm.OwWorkitem |
m_currentItem
inform listeners which is the current item in work |
protected com.wewebu.ow.server.app.OwFieldManager |
m_fieldManager
the field manager |
protected com.wewebu.ow.server.app.OwSubMenuView |
m_MenuView
menu for the buttons |
protected com.wewebu.ow.server.ecm.OwProperty |
m_noteProperty
the note property |
protected List |
m_workitems
the workitems which are to be handled |
static int |
NOTE_REGION
named region for note text area |
| 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 | |
|---|---|
OwBPMInsertNoteDialog(List workitems_p,
String notePropertyName_p,
boolean notePropertyIsNecessary_p)
create a new instance of the dialog |
|
OwBPMInsertNoteDialog(com.wewebu.ow.server.ecm.bpm.OwWorkitem workitem_p,
String notePropertyName_p,
boolean notePropertyIsNecessary_p)
create a new instance of the dialog |
|
| Method Summary | |
|---|---|
void |
detach()
|
com.wewebu.ow.server.ecm.bpm.OwWorkitem |
getCurrentItem()
Get the current processing work item |
com.wewebu.ow.server.field.OwField |
getField(String strFieldClassName_p)
|
String |
getFieldProviderName()
|
Object |
getFieldProviderSource()
|
int |
getFieldProviderType()
|
Collection |
getFields()
|
Object |
getSafeFieldValue(String name_p,
Object defaultvalue_p)
|
Collection |
getWorkitems()
getter method for workitems |
protected void |
init()
|
void |
onCancelDo(javax.servlet.http.HttpServletRequest request_p,
Object reason_p)
event called when user clicked the cancel button should be overloaded by specific Dialog |
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 |
protected void |
onRender(Writer w_p)
|
void |
renderNote(Writer w_p)
Render the note |
void |
renderRegion(Writer w_p,
int iRegion_p)
render the views of the region |
void |
setField(String name_p,
Object value_p)
|
void |
setNote(javax.servlet.http.HttpServletRequest request_p)
set a note to all workitems of the list |
void |
unlockAll()
unlock the workitems |
protected String |
usesFormWithAttributes()
enable form handling |
| Methods inherited from class com.wewebu.ow.server.app.OwStandardDialog |
|---|
getInfoIcon, getTitle, hasHelpButton, isRegion, 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 |
| Field Detail |
|---|
public static final int NOTE_REGION
public static final int INSERT_NOTE_DIALOG_REGION_MAX
protected List m_workitems
protected com.wewebu.ow.server.app.OwSubMenuView m_MenuView
protected com.wewebu.ow.server.ecm.bpm.OwWorkitem m_currentItem
protected com.wewebu.ow.server.app.OwFieldManager m_fieldManager
protected com.wewebu.ow.server.ecm.OwProperty m_noteProperty
| Constructor Detail |
|---|
public OwBPMInsertNoteDialog(List workitems_p,
String notePropertyName_p,
boolean notePropertyIsNecessary_p)
throws com.wewebu.ow.server.exceptions.OwException
workitems_p - notePropertyName_p - if null note property is ignorednotePropertyIsNecessary_p - is the property note necessary. if true missing note property throws an exception
com.wewebu.ow.server.exceptions.OwException
public OwBPMInsertNoteDialog(com.wewebu.ow.server.ecm.bpm.OwWorkitem workitem_p,
String notePropertyName_p,
boolean notePropertyIsNecessary_p)
throws com.wewebu.ow.server.exceptions.OwException
workitem_p - notePropertyName_p - notePropertyIsNecessary_p - is the property note necessary. if true missing note property throws an exception
com.wewebu.ow.server.exceptions.OwException| Method Detail |
|---|
protected String usesFormWithAttributes()
usesFormWithAttributes in class com.wewebu.ow.server.ui.OwView
protected void init()
throws Exception
init in class com.wewebu.ow.server.ui.OwViewExceptionOwView.init()
public void onCancelDo(javax.servlet.http.HttpServletRequest request_p,
Object reason_p)
throws Exception
request_p - a HttpServletRequestreason_p -
Exception
public void onOkDo(javax.servlet.http.HttpServletRequest request_p,
Object reason_p)
throws Exception
request_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 com.wewebu.ow.server.app.OwStandardDialogw_p - Writer object to write HTML toiRegion_p - ID of the region to render
Exception
public void renderNote(Writer w_p)
throws Exception
w_p -
Exception
public void setNote(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p -
Exception
public void unlockAll()
throws Exception
Exceptionpublic Collection getWorkitems()
public com.wewebu.ow.server.ecm.bpm.OwWorkitem getCurrentItem()
protected void onRender(Writer w_p)
throws Exception
onRender in class com.wewebu.ow.server.app.OwStandardDialogExceptionOwStandardDialog.onRender(java.io.Writer)public void detach()
detach in class com.wewebu.ow.server.ui.OwViewOwView.detach()
public com.wewebu.ow.server.field.OwField getField(String strFieldClassName_p)
throws Exception,
com.wewebu.ow.server.exceptions.OwObjectNotFoundException
getField in interface com.wewebu.ow.server.field.OwFieldProviderException
com.wewebu.ow.server.exceptions.OwObjectNotFoundExceptionOwFieldProvider.getField(java.lang.String)public String getFieldProviderName()
getFieldProviderName in interface com.wewebu.ow.server.field.OwFieldProviderOwFieldProvider.getFieldProviderName()public Object getFieldProviderSource()
getFieldProviderSource in interface com.wewebu.ow.server.field.OwFieldProviderOwFieldProvider.getFieldProviderSource()public int getFieldProviderType()
getFieldProviderType in interface com.wewebu.ow.server.field.OwFieldProviderOwFieldProvider.getFieldProviderType()
public Collection getFields()
throws Exception
getFields in interface com.wewebu.ow.server.field.OwFieldProviderExceptionOwFieldProvider.getFields()
public Object getSafeFieldValue(String name_p,
Object defaultvalue_p)
getSafeFieldValue in interface com.wewebu.ow.server.field.OwFieldProviderOwFieldProvider.getSafeFieldValue(java.lang.String, java.lang.Object)
public void setField(String name_p,
Object value_p)
throws Exception,
com.wewebu.ow.server.exceptions.OwObjectNotFoundException
setField in interface com.wewebu.ow.server.field.OwFieldProviderException
com.wewebu.ow.server.exceptions.OwObjectNotFoundExceptionOwFieldProvider.setField(java.lang.String, java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||