Package de.xima.fc.gui.bean.templates
Class TemplatesSheetBean
- All Implemented Interfaces:
Serializable
Bean for handling data source manipulation through excel-like sheet
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUCFields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisCellReadOnly(Integer columnIndex, SheetRow<String> row) booleanvoidonSheetCellSelected(javax.faces.event.AjaxBehaviorEvent event) voidonSheetDataChanged(javax.faces.event.AjaxBehaviorEvent event) voidvoidvoidvoidsetDataSheet(StringDataSheet dataSheet) voidsetLanguageVariation(String languageVariation) Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubViewMethods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDBMethods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, ucMethods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msgMethods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Field Details
-
UPDATE_SCRIPT_NAME
- See Also:
-
UPDATE_SCRIPT
- See Also:
-
COLUMN_NAME_KEY
- See Also:
-
COLUMN_NAME_DEFAULT
- See Also:
-
-
Constructor Details
-
TemplatesSheetBean
public TemplatesSheetBean()
-
-
Method Details
-
getDataSheet
- Returns:
- the dataSheet
-
setDataSheet
- Parameters:
dataSheet- the dataSheet to set
-
getUpdateScriptName
- Returns:
- the updateScriptName
-
getSheetHeight
-
onSheetDataChanged
public void onSheetDataChanged(javax.faces.event.AjaxBehaviorEvent event) -
onSheetCellSelected
public void onSheetCellSelected(javax.faces.event.AjaxBehaviorEvent event) -
removeCols
public void removeCols() -
createLanguageVariation
public void createLanguageVariation() -
saveLanguageVariation
public void saveLanguageVariation() -
getLanguageVariation
- Returns:
- the languageVariation
-
getCurrentLanguageKey
-
isCurrentLanguageEditable
public boolean isCurrentLanguageEditable() -
isCellReadOnly
-
setLanguageVariation
- Parameters:
languageVariation- the languageVariation to set
-
resetSelected
public void resetSelected()
-