com.wewebu.ow.server.app
Interface OwSequenceView

All Known Implementing Classes:
OwObjectSequenceDialog, OwStandardSequenceDialog

public interface OwSequenceView

Base Interface for sequence views. A sequence view can browse back and forth through a sequence of items.

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


Method Summary
 int getCount()
          get the number of sequence items in the view
 boolean hasNext()
          called when the view needs to know if there is a next item
 boolean hasPrev()
          called when the view needs to know if there is a prev item
 void next(boolean fRemoveCurrent_p)
          move to next item
 void prev(boolean fRemoveCurrent_p)
          move to prev item
 

Method Detail

hasNext

boolean hasNext()
                throws Exception
called when the view needs to know if there is a next item

Throws:
Exception

hasPrev

boolean hasPrev()
                throws Exception
called when the view needs to know if there is a prev item

Throws:
Exception

prev

void prev(boolean fRemoveCurrent_p)
          throws Exception
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

next

void next(boolean fRemoveCurrent_p)
          throws Exception
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

getCount

int getCount()
get the number of sequence items in the view



Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.