|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| 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. |
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. |
Integer |
getTimeinterval()
Deprecated. |
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 |
setTimeinterval(Integer timeinterval)
Sets the Time Interval. |
void |
setTitle(String title)
Sets the title. |
void |
setViews(ArrayList<Map<String,Object>> views)
Sets the views. |
void |
setViewtitle(String viewtitle)
Sets the viewtitle. |
| 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 Exception
initialize in interface PictureBookManagerException@Destroy public void destroy()
public String createPictureBook()
throws Exception
PictureBookManager
createPictureBook in interface PictureBookManagerExceptionpublic void addView()
PictureBookManager
addView in interface PictureBookManager
@Observer(value="documentSelectionChanged")
@BypassInterceptors
public void reset()
throws ClientException
reset in interface PictureBookManagerClientException
public String downloadSelectedBook()
throws ClientException,
IOException
downloadSelectedBook in interface PictureBookManagerClientException
IOException
public String downloadAll()
throws ClientException,
IOException
downloadAll in interface PictureBookManagerClientException
IOException
public 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 PictureBookManager@Deprecated public Integer getTimeinterval()
PictureBookManager
getTimeinterval in interface PictureBookManagerpublic void setTimeinterval(Integer timeinterval)
PictureBookManager
setTimeinterval in interface PictureBookManagertimeinterval - an Integer holding the Time Intervalpublic Integer getMaxsize()
PictureBookManager
getMaxsize in interface PictureBookManagerpublic void setMaxsize(Integer maxsize)
PictureBookManager
setMaxsize in interface PictureBookManagermaxsize - an Integer holding the maximum sizepublic String getTitle()
PictureBookManager
getTitle in interface PictureBookManagerpublic void setTitle(String title)
PictureBookManager
setTitle in interface PictureBookManagertitle - a String holding the titlepublic String getTag()
PictureBookManager
getTag in interface PictureBookManagerpublic void setTag(String tag)
PictureBookManager
setTag in interface PictureBookManagertag - a String holding the tagpublic String getDescription()
PictureBookManager
getDescription in interface PictureBookManagerpublic void setDescription(String description)
PictureBookManager
setDescription in interface PictureBookManagerdescription - a String holding the descriptionpublic String getViewtitle()
PictureBookManager
getViewtitle in interface PictureBookManagerpublic void setViewtitle(String viewtitle)
PictureBookManager
setViewtitle in interface PictureBookManagerviewtitle - a String holding the title of a viewpublic ArrayList<Map<String,Object>> getViews()
PictureBookManager
getViews in interface PictureBookManagerpublic void setViews(ArrayList<Map<String,Object>> views)
PictureBookManager
setViews in interface PictureBookManagerviews - an ArrayList of Map
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||