public abstract class OwObjectSequenceDialog extends OwStandardSequenceDialog
Object collection nase implementation.
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
OwDialog.OwDialogListenerOwLayout.OwDispatchRegion, OwLayout.OwLayoutViewRefrenceCLOSE_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_externalFormEventTargetEMPTY_STRING| Constructor and Description |
|---|
OwObjectSequenceDialog(List<OwObject> objectItems) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
get the number of sequence items in the view
|
OwObject |
getCurrentItem() |
protected int |
getIndex() |
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 abstract void |
initNewItem(Object paramerters) |
protected void |
initNextNewItem() |
protected void |
initPrevtNewItem() |
void |
next(boolean fRemoveCurrent_p)
move to next item
|
void |
prev(boolean fRemoveCurrent_p)
move to prev item
|
getNextHREF, getPrevHREF, onNext, onPrev, renderNavigationButtons, renderRegiongetInfoIcon, getTitle, hasHelpButton, isRegion, onClose, onHelp, onRender, renderCloseButton, renderHelpButton, setHelp, setInfoIcon, setTitlecloseDialog, setListeneraddRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegionactivate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, init, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributesattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetpublic void prev(boolean fRemoveCurrent_p)
throws Exception
OwSequenceViewfRemoveCurrent_p - true = remove the current sequence item and then move to the prev item, if this is the last item, closes the viewExceptionprotected void initPrevtNewItem()
throws OwException
OwExceptionpublic void next(boolean fRemoveCurrent_p)
throws Exception
OwSequenceViewfRemoveCurrent_p - true = remove the current sequence item and then move to the next item, if this is the last item, closes the viewExceptionprotected void initNextNewItem()
throws OwException
OwExceptionprotected abstract void initNewItem(Object paramerters) throws OwException
OwExceptionprotected int getIndex()
public OwObject getCurrentItem()
public int getCount()
OwSequenceViewpublic boolean hasNext()
throws Exception
OwStandardSequenceDialoghasNext in interface OwSequenceViewhasNext in class OwStandardSequenceDialogExceptionpublic boolean hasPrev()
throws Exception
OwStandardSequenceDialoghasPrev in interface OwSequenceViewhasPrev in class OwStandardSequenceDialogExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.