|
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 PictureBookManagerjava.lang.Exception@Destroy public void destroy()
destroy in interface PictureBookManager
public java.lang.String createPictureBook()
throws java.lang.Exception
PictureBookManager
createPictureBook in interface PictureBookManagerjava.lang.Exceptionpublic void addView()
PictureBookManager
addView in interface PictureBookManager
@Observer(value="documentSelectionChanged")
@BypassInterceptors
public void reset()
throws ClientException
reset in interface PictureBookManagerClientException
public java.lang.String downloadSelectedBook()
throws ClientException,
java.io.IOException
downloadSelectedBook in interface PictureBookManagerClientException
java.io.IOException
public java.lang.String downloadAll()
throws ClientException,
java.io.IOException
downloadAll in interface PictureBookManagerClientException
java.io.IOException
public java.util.List<javax.faces.model.SelectItem> getSelectItems()
throws ClientException
getSelectItems in interface PictureBookManagerClientExceptionpublic void setSelectItems(java.util.List<javax.faces.model.SelectItem> selectItems)
setSelectItems in interface PictureBookManagerpublic java.lang.String[] getSelectedViews()
getSelectedViews in interface PictureBookManagerpublic void setSelectedViews(java.lang.String[] selectedViews)
setSelectedViews in interface PictureBookManager@Deprecated public java.lang.Integer getTimeinterval()
PictureBookManager
getTimeinterval in interface PictureBookManagerpublic void setTimeinterval(java.lang.Integer timeinterval)
PictureBookManager
setTimeinterval in interface PictureBookManagertimeinterval - an Integer holding the Time Intervalpublic java.lang.Integer getMaxsize()
PictureBookManager
getMaxsize in interface PictureBookManagerpublic void setMaxsize(java.lang.Integer maxsize)
PictureBookManager
setMaxsize in interface PictureBookManagermaxsize - an Integer holding the maximum sizepublic java.lang.String getTitle()
PictureBookManager
getTitle in interface PictureBookManagerpublic void setTitle(java.lang.String title)
PictureBookManager
setTitle in interface PictureBookManagertitle - a String holding the titlepublic java.lang.String getTag()
PictureBookManager
getTag in interface PictureBookManagerpublic void setTag(java.lang.String tag)
PictureBookManager
setTag in interface PictureBookManagertag - a String holding the tagpublic java.lang.String getDescription()
PictureBookManager
getDescription in interface PictureBookManagerpublic void setDescription(java.lang.String description)
PictureBookManager
setDescription in interface PictureBookManagerdescription - a String holding the descriptionpublic java.lang.String getViewtitle()
PictureBookManager
getViewtitle in interface PictureBookManagerpublic void setViewtitle(java.lang.String viewtitle)
PictureBookManager
setViewtitle in interface PictureBookManagerviewtitle - 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 PictureBookManagerpublic void setViews(java.util.ArrayList<java.util.Map<java.lang.String,java.lang.Object>> views)
PictureBookManager
setViews in interface PictureBookManagerviews - 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 | |||||||||