@Name(value="pictureBookManager") @Scope(value=CONVERSATION) public class PictureBookManagerBean extends InputController implements PictureBookManager, Serializable
| Constructor and Description |
|---|
PictureBookManagerBean() |
| Modifier and Type | Method and Description |
|---|---|
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() |
String |
getDescription()
Gets the description.
|
Integer |
getMaxsize()
Gets the maxsize.
|
String[] |
getSelectedViews() |
List<SelectItem> |
getSelectItems() |
String |
getTag()
Gets the tag.
|
String |
getTitle()
Gets the title.
|
ArrayList<Map<String,Object>> |
getViews()
Gets the views.
|
String |
getViewtitle()
Gets the viewtitle.
|
void |
initialize() |
void |
reset() |
void |
setDescription(String description)
Sets the description.
|
void |
setMaxsize(Integer maxsize)
Sets the maxsize.
|
void |
setSelectedViews(String[] selectedViews) |
void |
setSelectItems(List<SelectItem> selectItems) |
void |
setTag(String tag)
Sets the tag.
|
void |
setTitle(String title)
Sets the title.
|
void |
setViews(ArrayList<Map<String,Object>> views)
Sets the views.
|
void |
setViewtitle(String viewtitle)
Sets the viewtitle.
|
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList@Create public void initialize() throws Exception
initialize in interface PictureBookManagerException@Destroy @BypassInterceptors public void destroy()
public String createPictureBook() throws Exception
PictureBookManagercreatePictureBook in interface PictureBookManagerExceptionpublic void addView()
PictureBookManageraddView in interface PictureBookManager@Observer(value="documentSelectionChanged") @BypassInterceptors public void reset() throws ClientException
reset in interface PictureBookManagerClientExceptionpublic String downloadSelectedBook() throws ClientException, IOException
downloadSelectedBook in interface PictureBookManagerClientExceptionIOExceptionpublic String downloadAll() throws ClientException, IOException
downloadAll in interface PictureBookManagerClientExceptionIOExceptionpublic List<SelectItem> getSelectItems() throws ClientException
getSelectItems in interface PictureBookManagerClientExceptionpublic void setSelectItems(List<SelectItem> selectItems)
setSelectItems in interface PictureBookManagerpublic String[] getSelectedViews()
getSelectedViews in interface PictureBookManagerpublic void setSelectedViews(String[] selectedViews)
setSelectedViews in interface PictureBookManagerpublic Integer getMaxsize()
PictureBookManagergetMaxsize in interface PictureBookManagerpublic void setMaxsize(Integer maxsize)
PictureBookManagersetMaxsize in interface PictureBookManagermaxsize - an Integer holding the maximum sizepublic String getTitle()
PictureBookManagergetTitle in interface PictureBookManagerpublic void setTitle(String title)
PictureBookManagersetTitle in interface PictureBookManagertitle - a String holding the titlepublic String getTag()
PictureBookManagergetTag in interface PictureBookManagerpublic void setTag(String tag)
PictureBookManagersetTag in interface PictureBookManagertag - a String holding the tagpublic String getDescription()
PictureBookManagergetDescription in interface PictureBookManagerpublic void setDescription(String description)
PictureBookManagersetDescription in interface PictureBookManagerdescription - a String holding the descriptionpublic String getViewtitle()
PictureBookManagergetViewtitle in interface PictureBookManagerpublic void setViewtitle(String viewtitle)
PictureBookManagersetViewtitle in interface PictureBookManagerviewtitle - a String holding the title of a viewpublic ArrayList<Map<String,Object>> getViews()
PictureBookManagergetViews in interface PictureBookManagerpublic void setViews(ArrayList<Map<String,Object>> views)
PictureBookManagersetViews in interface PictureBookManagerviews - an ArrayList of MapCopyright © 2013 Nuxeo SA. All Rights Reserved.