com.wewebu.ow.server.app
Class OwObjectSequenceDialog

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwEventTarget
      extended by com.wewebu.ow.server.ui.OwView
          extended by com.wewebu.ow.server.ui.OwLayout
              extended by com.wewebu.ow.server.ui.OwDialog
                  extended by com.wewebu.ow.server.app.OwStandardDialog
                      extended by com.wewebu.ow.server.app.OwStandardSequenceDialog
                          extended by com.wewebu.ow.server.app.OwObjectSequenceDialog
All Implemented Interfaces:
OwSequenceView, OwBaseView, OwUpdateTarget

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

Since:
4.1.1.0

Nested Class Summary
 
Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwDialog
OwDialog.OwDialogListener
 
Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwLayout
OwLayout.OwDispatchRegion
 
Field Summary
 
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.ui.OwBaseView
EMPTY_STRING
 
Constructor Summary
OwObjectSequenceDialog(List<OwObject> objectItems)
           
 
Method Summary
 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
 
Methods inherited from class com.wewebu.ow.server.app.OwStandardSequenceDialog
onNext, onPrev, renderNavigationButtons, renderRegion
 
Methods inherited from class com.wewebu.ow.server.app.OwStandardDialog
getInfoIcon, getTitle, hasHelpButton, isRegion, onClose, onHelp, onRender, 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, 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
 
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
 

Constructor Detail

OwObjectSequenceDialog

public OwObjectSequenceDialog(List<OwObject> objectItems)
Method Detail

prev

public void prev(boolean fRemoveCurrent_p)
          throws Exception
Description copied from interface: OwSequenceView
move to prev item

Parameters:
fRemoveCurrent_p - true = remove the current sequence item and then move to the prev item, if this is the last item, closes the view
Throws:
Exception

initPrevtNewItem

protected void initPrevtNewItem()
                         throws OwException
Throws:
OwException

next

public void next(boolean fRemoveCurrent_p)
          throws Exception
Description copied from interface: OwSequenceView
move to next item

Parameters:
fRemoveCurrent_p - true = remove the current sequence item and then move to the next item, if this is the last item, closes the view
Throws:
Exception

initNextNewItem

protected void initNextNewItem()
                        throws OwException
Throws:
OwException

initNewItem

protected abstract void initNewItem(Object paramerters)
                             throws OwException
Throws:
OwException

getIndex

protected int getIndex()

getCurrentItem

public OwObject getCurrentItem()

getCount

public int getCount()
Description copied from interface: OwSequenceView
get the number of sequence items in the view


hasNext

public boolean hasNext()
                throws Exception
Description copied from class: OwStandardSequenceDialog
called when the Dialog needs to know if there is a next item

Specified by:
hasNext in interface OwSequenceView
Overrides:
hasNext in class OwStandardSequenceDialog
Throws:
Exception

hasPrev

public boolean hasPrev()
                throws Exception
Description copied from class: OwStandardSequenceDialog
called when the Dialog needs to know if there is a prev item

Specified by:
hasPrev in interface OwSequenceView
Overrides:
hasPrev in class OwStandardSequenceDialog
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.