|
Nuxeo Enterprise Platform 5.3 | |||||||||
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.
Field Summary | |
---|---|
protected DocumentsListsManager |
documentsListsManager
|
Fields inherited from class org.nuxeo.ecm.webapp.base.InputController |
---|
actionManager, currentDocument, currentUser, eventManager, facesMessages, resourcesAccessor, typeManager, typesTool |
Constructor Summary | |
---|---|
PictureBookManagerBean()
|
Method Summary | |
---|---|
void |
addView()
Adds the current view to the views ArrayList using viewtitle, description, tag and maxsize. |
String |
createPictureBook()
Creates and saves a Picture Book DocumentModel using views, timeinterval, description and title. |
void |
destroy()
|
String |
downloadAll()
|
String |
downloadSelectedBook()
|
protected DocumentModel |
getCurrentDocument()
|
String |
getDescription()
Gets the description. description is a property of a view. |
Integer |
getMaxsize()
Gets the maxsize. maxsize is a property of a view. |
String[] |
getSelectedViews()
|
List<SelectItem> |
getSelectItems()
|
String |
getTag()
Gets the tag. tag is a property of a view. |
Integer |
getTimeinterval()
Deprecated. |
String |
getTitle()
Gets the title. |
ArrayList<Map<String,Object>> |
getViews()
Gets the views. |
String |
getViewtitle()
Gets the viewtitle. viewtitle is the property title of a view. |
void |
initialize()
|
void |
reset()
|
void |
setDescription(String description)
Sets the description. description is a property of a view. |
void |
setMaxsize(Integer maxsize)
Sets the maxsize. maxsize is a property of a view. |
void |
setSelectedViews(String[] selectedViews)
|
void |
setSelectItems(List<SelectItem> selectItems)
|
void |
setTag(String tag)
Sets the tag. tag is a property of a view. |
void |
setTimeinterval(Integer timeinterval)
Sets the Time Interval. timeinterval is the time spend before the next picture is displayed in the slideshow in seconds. |
void |
setTitle(String title)
Sets the title. |
void |
setViews(ArrayList<Map<String,Object>> views)
Sets the views. |
void |
setViewtitle(String viewtitle)
Sets the viewtitle. viewtitle is the property title of a view. |
Methods inherited from class org.nuxeo.ecm.webapp.base.InputController |
---|
computeOutcome, extractReferences, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList, setFacesMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@In(create=true) protected transient DocumentsListsManager documentsListsManager
Constructor Detail |
---|
public PictureBookManagerBean()
Method Detail |
---|
protected DocumentModel getCurrentDocument()
@Create public void initialize() throws Exception
initialize
in interface PictureBookManager
Exception
@Destroy public void destroy()
destroy
in interface PictureBookManager
public String createPictureBook() throws Exception
PictureBookManager
createPictureBook
in interface PictureBookManager
Exception
public void addView()
PictureBookManager
addView
in interface PictureBookManager
@Observer(value="documentSelectionChanged") @BypassInterceptors public void reset() throws ClientException
reset
in interface PictureBookManager
ClientException
public String downloadSelectedBook() throws ClientException, IOException
downloadSelectedBook
in interface PictureBookManager
ClientException
IOException
public String downloadAll() throws ClientException, IOException
downloadAll
in interface PictureBookManager
ClientException
IOException
public List<SelectItem> getSelectItems() throws ClientException
getSelectItems
in interface PictureBookManager
ClientException
public void setSelectItems(List<SelectItem> selectItems)
setSelectItems
in interface PictureBookManager
public String[] getSelectedViews()
getSelectedViews
in interface PictureBookManager
public void setSelectedViews(String[] selectedViews)
setSelectedViews
in interface PictureBookManager
@Deprecated public Integer getTimeinterval()
PictureBookManager
getTimeinterval
in interface PictureBookManager
public void setTimeinterval(Integer timeinterval)
PictureBookManager
setTimeinterval
in interface PictureBookManager
timeinterval
- an Integer holding the Time Intervalpublic Integer getMaxsize()
PictureBookManager
getMaxsize
in interface PictureBookManager
public void setMaxsize(Integer maxsize)
PictureBookManager
setMaxsize
in interface PictureBookManager
maxsize
- an Integer holding the maximum sizepublic String getTitle()
PictureBookManager
getTitle
in interface PictureBookManager
public void setTitle(String title)
PictureBookManager
setTitle
in interface PictureBookManager
title
- a String holding the titlepublic String getTag()
PictureBookManager
getTag
in interface PictureBookManager
public void setTag(String tag)
PictureBookManager
setTag
in interface PictureBookManager
tag
- a String holding the tagpublic String getDescription()
PictureBookManager
getDescription
in interface PictureBookManager
public void setDescription(String description)
PictureBookManager
setDescription
in interface PictureBookManager
description
- a String holding the descriptionpublic String getViewtitle()
PictureBookManager
getViewtitle
in interface PictureBookManager
public void setViewtitle(String viewtitle)
PictureBookManager
setViewtitle
in interface PictureBookManager
viewtitle
- a String holding the title of a viewpublic ArrayList<Map<String,Object>> getViews()
PictureBookManager
getViews
in interface PictureBookManager
public void setViews(ArrayList<Map<String,Object>> views)
PictureBookManager
setViews
in interface PictureBookManager
views
- an ArrayList of Map
|
Nuxeo Enterprise Platform 5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |