public class OwEditPropertiesFormularDialog
extends com.wewebu.ow.server.app.OwStandardSequenceDialog
Dialog to edit the document properties with a form.
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 |
---|---|
protected int |
m_iIndex
current item index
|
protected List |
m_items
list of items to work on
|
protected int |
m_iViewMask
filters the views to be displayed
|
static int |
VIEW_MASK_AUTOOPEN
mask value to use auto-open object
|
static int |
VIEW_MASK_PREVIEW_AUTOOPEN
mask value to use preview mode for auto-open
|
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
Constructor and Description |
---|
OwEditPropertiesFormularDialog(Collection objects_p,
com.wewebu.ow.server.ecm.OwObject parentObject_p,
com.wewebu.ow.server.app.OwJspFormConfigurator jspConfigurator_p) |
Modifier and Type | Method and Description |
---|---|
void |
closeDialog()
visually close the Dialog.
|
void |
detach()
remove view and all subviews from context
|
int |
getCount()
get the number of sequence items in the dialog
|
int |
getViewMask() |
boolean |
hasNext()
called when the Dialog needs to know if there is a next item
|
boolean |
hasPrev()
called when the Dialog needs to know if there is a prev item
|
protected boolean |
hasViewMask(int iViewMask_p)
check if view should be displayed or is masked out
|
protected void |
init()
init the target after the context is set.
|
protected void |
initNewItem()
init the dialog with the current item
|
void |
next(boolean fRemoveCurrent_p)
move to next item and roll over, i.e.
|
protected void |
onRender(Writer w_p)
overridden render the view
|
void |
prev(boolean fRemoveCurrent_p)
move to prev item and roll over, i.e.
|
void |
setViewMask(int iViewMask_p)
determine the views to be displayed by masking them with their flag
|
getNextHREF, getPrevHREF, onNext, onPrev, renderNavigationButtons, renderRegion
getInfoIcon, getTitle, hasHelpButton, isRegion, 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, usesFormWithAttributes
public static final int VIEW_MASK_PREVIEW_AUTOOPEN
public static final int VIEW_MASK_AUTOOPEN
protected List m_items
protected int m_iIndex
protected int m_iViewMask
public OwEditPropertiesFormularDialog(Collection objects_p, com.wewebu.ow.server.ecm.OwObject parentObject_p, com.wewebu.ow.server.app.OwJspFormConfigurator jspConfigurator_p)
objects_p
- collection of OwObject
s that the user clicked to openparentObject_p
- the parent OwObject
s that listed the objects, or null if no parent is availablejspConfigurator_p
- Url to the Jsp Page to use as a formpublic void detach()
detach
in class com.wewebu.ow.server.ui.OwView
protected void init() throws Exception
init
in class com.wewebu.ow.server.ui.OwView
Exception
protected void onRender(Writer w_p) throws Exception
onRender
in class com.wewebu.ow.server.app.OwStandardDialog
w_p
- Writer object to write HTML toException
public void setViewMask(int iViewMask_p)
iViewMask_p
- bitmask according to VIEW_MASK_SYSTEM_... flagspublic int getViewMask()
protected boolean hasViewMask(int iViewMask_p)
iViewMask_p
- bitmask according to VIEW_MASK_SYSTEM_... flagsprotected void initNewItem() throws Exception
Exception
public boolean hasNext() throws Exception
hasNext
in interface com.wewebu.ow.server.app.OwSequenceView
hasNext
in class com.wewebu.ow.server.app.OwStandardSequenceDialog
Exception
public boolean hasPrev() throws Exception
hasPrev
in interface com.wewebu.ow.server.app.OwSequenceView
hasPrev
in class com.wewebu.ow.server.app.OwStandardSequenceDialog
Exception
public int getCount()
public void prev(boolean fRemoveCurrent_p) throws Exception
fRemoveCurrent_p
- true = remove the current sequence item and then move to the prev item, if this is the last item, closes the dialogException
public void next(boolean fRemoveCurrent_p) throws Exception
fRemoveCurrent_p
- true = remove the current sequence item and then move to the next item, if this is the last item, closes the dialogException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.