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.OwDialogListener
OwLayout.OwDispatchRegion, OwLayout.OwLayoutViewRefrence
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
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_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, renderRegion
getInfoIcon, getTitle, hasHelpButton, isRegion, onClose, onHelp, onRender, renderCloseButton, renderHelpButton, setHelp, setInfoIcon, setTitle
closeDialog, setListener
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion
activate, 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, usesFormWithAttributes
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
public void prev(boolean fRemoveCurrent_p) throws Exception
OwSequenceView
fRemoveCurrent_p
- true = remove the current sequence item and then move to the prev item, if this is the last item, closes the viewException
protected void initPrevtNewItem() throws OwException
OwException
public void next(boolean fRemoveCurrent_p) throws Exception
OwSequenceView
fRemoveCurrent_p
- true = remove the current sequence item and then move to the next item, if this is the last item, closes the viewException
protected void initNextNewItem() throws OwException
OwException
protected abstract void initNewItem(Object paramerters) throws OwException
OwException
protected int getIndex()
public OwObject getCurrentItem()
public int getCount()
OwSequenceView
public boolean hasNext() throws Exception
OwStandardSequenceDialog
hasNext
in interface OwSequenceView
hasNext
in class OwStandardSequenceDialog
Exception
public boolean hasPrev() throws Exception
OwStandardSequenceDialog
hasPrev
in interface OwSequenceView
hasPrev
in class OwStandardSequenceDialog
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.