|
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 PictureBookManagerException@Destroy public void destroy()
destroy in interface PictureBookManager
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 Enterprise Platform 5.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||