public class DataProviderHandler extends UIBeanHandler
BeanHandler.HandlerTrace
Constructor and Description |
---|
DataProviderHandler() |
afterRenderBean, beforeRenderBean
actionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getBeanName, getFieldErrors, handle, hasError, isEnabledForActionHandling, isEnableDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts, start
public static final String I18N_PREFFIX
public static final String PARAM_PROVIDER_CODE
public static final String PARAM_PROVIDER_NAME
public static final String PARAM_PROPERTY_ID
public static final String PARAM_PROPERTY_TYPE
public static final String PARAM_PROPERTY_TITLE
@Inject protected DataProviderManager dataProviderManager
@Inject protected LocaleManager localeManager
@Inject protected String componentIncludeJSP
@Inject protected String componentIncludeJSPshow
@Inject protected String componentIncludeJSPeditCreate
@Inject protected String componentIncludeJSPeditProperties
@Inject protected String componentIncludeJSPRemove
protected String currentProviderTypeUid
protected String currentProviderTypeChanged
protected String providerName
protected String saveButtonPressed
protected String testConfigButtonPressed
protected boolean isEdit
protected boolean isEditProperties
protected boolean isCreate
protected boolean isRemove
protected Long dataProviderId
protected Map descriptions
protected String providerMessage
protected boolean hasErrors
protected transient DataProvider newDataProvider
public DataProvider getDataProvider() throws Exception
Exception
public Long getDataProviderId()
public void setDataProviderId(Long dataProviderId)
public String getSaveButtonPressed()
public void setSaveButtonPressed(String saveButtonPressed)
public String getTestConfigButtonPressed()
public void setTestConfigButtonPressed(String testConfigButtonPressed)
public boolean isCreate()
public void setCreate(boolean create)
public boolean isEdit()
public void setEdit(boolean edit)
public boolean isEditProperties()
public void setEditProperties(boolean editProperties)
public boolean isRemove()
public void setRemove(boolean isRemove)
public String getCurrentProviderTypeChanged()
public void setCurrentProviderTypeChanged(String currentProviderTypeSelectedChanged)
public Map getDescriptions()
public void setDescriptions(Map descriptions)
public String getProviderMessage()
public void setProviderMessage(String providerMessage)
public boolean hasErrors()
public void setHasErrors(boolean hasErrors)
public static DataProviderHandler lookup()
public String getProviderName()
public void setProviderName(String providerName)
public String getCurrentProviderTypeUid()
public void setCurrentProviderTypeUid(String currentProviderTypeUid)
public String getBeanJSP()
getBeanJSP
in class UIBeanHandler
public void setComponentIncludeJSP(String componentIncludeJSP)
public String getComponentIncludeJSPshow()
public void setComponentIncludeJSPshow(String componentIncludeJSPshow)
public String getComponentIncludeJSPeditCreate()
public void setComponentIncludeJSPeditCreate(String componentIncludeJSPeditCreate)
public String getComponentIncludeJSPeditProperties()
public void setComponentIncludeJSPeditProperties(String componentIncludeJSPeditProperties)
public String getComponentIncludeJSPRemove()
public void setComponentIncludeJSPRemove(String componentIncludeJSPRemove)
public void actionEditDataProvider(CommandRequest request)
public void actionStartDeleteDataProvider(CommandRequest request)
request
- The request object.public void actionDeleteDataProvider(CommandRequest request) throws Exception
request
- The request object.Exception
public void actionEditDataProviderProperties(CommandRequest request)
public void actionStoreDataProviderProperties(CommandRequest request)
public void actionStartCreateNewDataProvider(CommandRequest request)
public void resetProviders()
public void createDataProvider(CommandRequest request)
public void updateDataProvider(CommandRequest request)
protected void setProviderDescriptions(DataProvider dataProvider)
public void actionEditCreateNewDataProvider(CommandRequest request)
public void actionCancel(CommandRequest request)
public DataProviderEditor getDataProviderEditor()
protected String getDataProviderCodeFromRequest(CommandRequest request)
protected boolean providerTypeChanged(CommandRequest request)
protected boolean isSaveButtonPressed()
protected boolean isTestConfigButtonPressed()
@PostConstruct public void clearAttributes()
protected void checkConfig()
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.