public class OwEditMultiDocumentFieldsDialogSimple
extends com.wewebu.ow.server.app.OwStandardDialog
Edit multiple documents simultaneously, for a specific set of properties.
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 | Class and Description |
|---|---|
static class |
OwEditMultiDocumentFieldsDialogSimple.OwEditField
A single edit field.
|
| Modifier and Type | Field and Description |
|---|---|
protected List |
m_failedObjects
list of objects that cannot be changed
|
protected int |
m_iViewMask
set of flags indicating the behavior of the view
|
protected com.wewebu.ow.server.ecm.OwObject |
m_processedObject
the object in work
|
static int |
VIEW_MASK_CLOSE_ON_SAVE
flag to close the dialog upon save action
|
static int |
VIEW_MASK_SHOW_DOCUMENT_LIST
flag to display the document list view
|
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 |
|---|
OwEditMultiDocumentFieldsDialogSimple(Collection objects_p,
com.wewebu.ow.server.ecm.OwObject parent_p,
Collection fieldnames_p)
create a multi document editing dialog
|
| Modifier and Type | Method and Description |
|---|---|
List |
getFailedObjects()
Get a list with objects that cannot be processed.
|
protected Collection |
getFieldNames()
get the fields to edit
|
protected Collection |
getObjects()
get the objects to edit
|
com.wewebu.ow.server.ecm.OwObject |
getProcessedObject()
Returns the object processed;
|
protected boolean |
hasViewMask(int iViewMask_p)
check if a certain view field is enabled
|
protected void |
init()
init the target after the context is set.
|
void |
saveFields(Map changedFields_p)
called when user saves the fields
save the modified fields to all objects
|
void |
setViewMask(int iViewMask_p)
set the view fields
|
getInfoIcon, getTitle, hasHelpButton, isRegion, onClose, onHelp, onRender, renderCloseButton, renderHelpButton, renderRegion, setHelp, setInfoIcon, setTitleaddRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegionactivate, detach, 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, usesFormWithAttributespublic static final int VIEW_MASK_SHOW_DOCUMENT_LIST
public static final int VIEW_MASK_CLOSE_ON_SAVE
protected int m_iViewMask
protected List m_failedObjects
protected com.wewebu.ow.server.ecm.OwObject m_processedObject
public OwEditMultiDocumentFieldsDialogSimple(Collection objects_p, com.wewebu.ow.server.ecm.OwObject parent_p, Collection fieldnames_p) throws Exception
objects_p - parent_p - fieldnames_p - Exceptionprotected boolean hasViewMask(int iViewMask_p)
iViewMask_p - int view mask as defined with VIEW_field_...public void setViewMask(int iViewMask_p)
iViewMask_p - int view mask (a combination of VIEW_field_... defined flags)public void saveFields(Map changedFields_p) throws Exception
changedFields_p - Exceptionprotected Collection getFieldNames()
protected Collection getObjects()
Collectionprotected void init()
throws Exception
init in class com.wewebu.ow.server.ui.OwViewExceptionpublic List getFailedObjects()
public com.wewebu.ow.server.ecm.OwObject getProcessedObject()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.