Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.picture.web
Interface SlideShowManager

All Known Implementing Classes:
SlideShowManagerBean

public interface SlideShowManager

Provide SlideShow related actions.

Author:
Laurent Doguin

Method Summary
 void decIndex()
          Decrements the index.
 void firstPic()
          Sets the index to 1.
 DocumentModel getChild()
          Gets the DocumentModel of a child from the index.
 Integer getChildrenSize()
          Gets the ChildrenSize.
 Integer getIndex()
          Gets the index.
 void incIndex()
          Increments the index.
 void inputValidation(ActionEvent arg0)
           
 void lastPic()
          Sets the index to the last picture available.
 void resetIndex()
          Reinitializes the values at every changes.
 void setChild(DocumentModel child)
          Sets the DocumentModel of a child from the index.
 void setIndex(Integer idx)
          Sets the index.
 

Method Detail

setIndex

void setIndex(Integer idx)
Sets the index.

Parameters:
idx - an Integer holding the current document's index.

getIndex

Integer getIndex()
Gets the index.

Returns:
an Integer holding the current document's index.

inputValidation

void inputValidation(ActionEvent arg0)

resetIndex

void resetIndex()
                throws ClientException
Reinitializes the values at every changes.

Throws:
ClientException

incIndex

void incIndex()
Increments the index.


decIndex

void decIndex()
Decrements the index.


firstPic

void firstPic()
Sets the index to 1.


lastPic

void lastPic()
Sets the index to the last picture available.


getChildrenSize

Integer getChildrenSize()
Gets the ChildrenSize. The amount of children from the current document.

Returns:
an Integer holding childrenSize

getChild

DocumentModel getChild()
Gets the DocumentModel of a child from the index.

Returns:
a DocumentModel holding the child

setChild

void setChild(DocumentModel child)
Sets the DocumentModel of a child from the index.

Parameters:
child - a DocumentModel holding the child

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.