|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.webapp.base.InputController
org.nuxeo.ecm.platform.picture.web.PictureBookManagerBean
@Name(value="pictureBookManager") @Scope(value=CONVERSATION) public class PictureBookManagerBean
Provide Picture Book related Actions.
Constructor Summary | |
---|---|
PictureBookManagerBean()
|
Method Summary | |
---|---|
void |
addView()
Adds the current view to the views ArrayList using viewtitle, description, tag and maxsize. |
java.lang.String |
createPictureBook()
Creates and saves a Picture Book DocumentModel using views, timeinterval, description and title. |
void |
destroy()
|
java.lang.String |
downloadAll()
|
java.lang.String |
downloadSelectedBook()
|
java.lang.String |
getDescription()
Gets the description. description is a property of a view. |
java.lang.Integer |
getMaxsize()
Gets the maxsize. maxsize is a property of a view. |
java.lang.String[] |
getSelectedViews()
|
java.util.List<javax.faces.model.SelectItem> |
getSelectItems()
|
java.lang.String |
getTag()
Gets the tag. tag is a property of a view. |
java.lang.Integer |
getTimeinterval()
Deprecated. |
java.lang.String |
getTitle()
Gets the title. |
java.util.ArrayList<java.util.Map<java.lang.String,java.lang.Object>> |
getViews()
Gets the views. |
java.lang.String |
getViewtitle()
Gets the viewtitle. viewtitle is the property title of a view. |
void |
initialize()
|
void |
reset()
|
void |
setDescription(java.lang.String description)
Sets the description. description is a property of a view. |
void |
setMaxsize(java.lang.Integer maxsize)
Sets the maxsize. maxsize is a property of a view. |
void |
setSelectedViews(java.lang.String[] selectedViews)
|
void |
setSelectItems(java.util.List<javax.faces.model.SelectItem> selectItems)
|
void |
setTag(java.lang.String tag)
Sets the tag. tag is a property of a view. |
void |
setTimeinterval(java.lang.Integer timeinterval)
Sets the Time Interval. timeinterval is the time spend before the next picture is displayed in the slideshow in seconds. |
void |
setTitle(java.lang.String title)
Sets the title. |
void |
setViews(java.util.ArrayList<java.util.Map<java.lang.String,java.lang.Object>> views)
Sets the views. |
void |
setViewtitle(java.lang.String viewtitle)
Sets the viewtitle. viewtitle is the property title of a view. |
Methods inherited from class org.nuxeo.ecm.webapp.base.InputController |
---|
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PictureBookManagerBean()
Method Detail |
---|
@Create public void initialize() throws java.lang.Exception
initialize
in interface PictureBookManager
java.lang.Exception
@Destroy public void destroy()
destroy
in interface PictureBookManager
public java.lang.String createPictureBook() throws java.lang.Exception
PictureBookManager
createPictureBook
in interface PictureBookManager
java.lang.Exception
public void addView()
PictureBookManager
addView
in interface PictureBookManager
@Observer(value="documentSelectionChanged") @BypassInterceptors public void reset() throws ClientException
reset
in interface PictureBookManager
ClientException
public java.lang.String downloadSelectedBook() throws ClientException, java.io.IOException
downloadSelectedBook
in interface PictureBookManager
ClientException
java.io.IOException
public java.lang.String downloadAll() throws ClientException, java.io.IOException
downloadAll
in interface PictureBookManager
ClientException
java.io.IOException
public java.util.List<javax.faces.model.SelectItem> getSelectItems() throws ClientException
getSelectItems
in interface PictureBookManager
ClientException
public void setSelectItems(java.util.List<javax.faces.model.SelectItem> selectItems)
setSelectItems
in interface PictureBookManager
public java.lang.String[] getSelectedViews()
getSelectedViews
in interface PictureBookManager
public void setSelectedViews(java.lang.String[] selectedViews)
setSelectedViews
in interface PictureBookManager
@Deprecated public java.lang.Integer getTimeinterval()
PictureBookManager
getTimeinterval
in interface PictureBookManager
public void setTimeinterval(java.lang.Integer timeinterval)
PictureBookManager
setTimeinterval
in interface PictureBookManager
timeinterval
- an Integer holding the Time Intervalpublic java.lang.Integer getMaxsize()
PictureBookManager
getMaxsize
in interface PictureBookManager
public void setMaxsize(java.lang.Integer maxsize)
PictureBookManager
setMaxsize
in interface PictureBookManager
maxsize
- an Integer holding the maximum sizepublic java.lang.String getTitle()
PictureBookManager
getTitle
in interface PictureBookManager
public void setTitle(java.lang.String title)
PictureBookManager
setTitle
in interface PictureBookManager
title
- a String holding the titlepublic java.lang.String getTag()
PictureBookManager
getTag
in interface PictureBookManager
public void setTag(java.lang.String tag)
PictureBookManager
setTag
in interface PictureBookManager
tag
- a String holding the tagpublic java.lang.String getDescription()
PictureBookManager
getDescription
in interface PictureBookManager
public void setDescription(java.lang.String description)
PictureBookManager
setDescription
in interface PictureBookManager
description
- a String holding the descriptionpublic java.lang.String getViewtitle()
PictureBookManager
getViewtitle
in interface PictureBookManager
public void setViewtitle(java.lang.String viewtitle)
PictureBookManager
setViewtitle
in interface PictureBookManager
viewtitle
- a String holding the title of a viewpublic java.util.ArrayList<java.util.Map<java.lang.String,java.lang.Object>> getViews()
PictureBookManager
getViews
in interface PictureBookManager
public void setViews(java.util.ArrayList<java.util.Map<java.lang.String,java.lang.Object>> views)
PictureBookManager
setViews
in interface PictureBookManager
views
- an ArrayList of Map
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |