Package de.xima.fc.gui.bean.templates
Class TemplatesSheetBean
- 
- All Implemented Interfaces:
 Serializable
@Named @ViewScoped public class TemplatesSheetBean extends FCContextBean
Bean for handling data source manipulation through excel-like sheet- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_NAME_DEFAULTstatic StringCOLUMN_NAME_KEYstatic StringUPDATE_SCRIPTstatic StringUPDATE_SCRIPT_NAME- 
Fields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUC 
- 
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean 
 - 
 
- 
Constructor Summary
Constructors Constructor Description TemplatesSheetBean() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateLanguageVariation()StringgetCurrentLanguageKey()StringDataSheetgetDataSheet()StringgetLanguageVariation()IntegergetSheetHeight()StringgetUpdateScriptName()booleanisCellReadOnly(Integer columnIndex, SheetRow<String> row)booleanisCurrentLanguageEditable()voidonSheetCellSelected(javax.faces.event.AjaxBehaviorEvent event)voidonSheetDataChanged(javax.faces.event.AjaxBehaviorEvent event)voidremoveCols()voidresetSelected()voidsaveLanguageVariation()voidsetDataSheet(StringDataSheet dataSheet)voidsetLanguageVariation(String languageVariation)- 
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView 
- 
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB 
- 
Methods 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, uc 
- 
Methods 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, msg 
 - 
 
 - 
 
- 
- 
Field Detail
- 
UPDATE_SCRIPT_NAME
public static final String UPDATE_SCRIPT_NAME
- See Also:
 - Constant Field Values
 
 
- 
UPDATE_SCRIPT
public static final String UPDATE_SCRIPT
- See Also:
 - Constant Field Values
 
 
- 
COLUMN_NAME_KEY
public static final String COLUMN_NAME_KEY
- See Also:
 - Constant Field Values
 
 
- 
COLUMN_NAME_DEFAULT
public static final String COLUMN_NAME_DEFAULT
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getDataSheet
public StringDataSheet getDataSheet()
- Returns:
 - the dataSheet
 
 
- 
setDataSheet
public void setDataSheet(StringDataSheet dataSheet)
- Parameters:
 dataSheet- the dataSheet to set
 
- 
getUpdateScriptName
public String getUpdateScriptName()
- Returns:
 - the updateScriptName
 
 
- 
getSheetHeight
public Integer 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
public String getLanguageVariation()
- Returns:
 - the languageVariation
 
 
- 
getCurrentLanguageKey
public String getCurrentLanguageKey()
 
- 
isCurrentLanguageEditable
public boolean isCurrentLanguageEditable()
 
- 
setLanguageVariation
public void setLanguageVariation(String languageVariation)
- Parameters:
 languageVariation- the languageVariation to set
 
- 
resetSelected
public void resetSelected()
 
 - 
 
 -