Package io.goobi.viewer.managedbeans
Class CmsSliderEditBean
java.lang.Object
io.goobi.viewer.managedbeans.CmsSliderEditBean
- All Implemented Interfaces:
Serializable
- Author:
- florian
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
save()
Persist theselectedSlider
to the database and return to slider overview page, ending the current JSF conversation.void
setCollectionField
(String collectionField) void
setSelectedSlider
(CMSSlider selectedSlider) void
setSliderId
(long id) Set the selected slider via idvoid
setSliderId
(String idString) Set the selected slider via id stringvoid
void
Writes all selected categories ofselectableCategories
to theselectedSlider
if both exist
-
Constructor Details
-
CmsSliderEditBean
public CmsSliderEditBean()
-
-
Method Details
-
setSelectedSlider
- Parameters:
selectedSlider
- the selectedSlider to set
-
setSliderId
Set the selected slider via id string- Parameters:
idString
-- Throws:
DAOException
-
setSliderId
Set the selected slider via id- Parameters:
id
-- Throws:
DAOException
-
getSelectedSlider
- Returns:
- the selectedSlider
-
isNewSlider
public boolean isNewSlider() -
createSlider
-
save
Persist theselectedSlider
to the database and return to slider overview page, ending the current JSF conversation.- Returns:
- Navigation outcome
-
getReturnUrl
-
getSourceTypes
-
getAvailableCollections
-
writeCategories
public void writeCategories()Writes all selected categories ofselectableCategories
to theselectedSlider
if both exist -
getSelectableCategories
- Returns:
- the selectableCategories
-
setStyleFromRequestParameter
public void setStyleFromRequestParameter() -
getSliderSource
-
getCollectionField
- Returns:
- the collectionField
-
setCollectionField
- Parameters:
collectionField
- the collectionField to set
-
getAllCollectionFields
-