Class MobileDataSourceImpl
Object
MobileDataSourceImpl
- All Implemented Interfaces:
MobileBaseForm.MobileDataSource,MobileBaseForm.MutableMobileDataSource,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMobileDataSourceImpl(String dataSourceId, String dataSourceIdVariableHolder, MobileDataSourceType type, boolean autoSyncOnInit, boolean autoSyncOnDiscovery, int refreshInSeconds, int validForSeconds, MobileDataSourceScope scope, boolean workOnline) MobileDataSourceImpl(String dataSourceId, String dataSourceIdVariableHolder, MobileDataSourceType type, boolean autoSyncOnInit, boolean autoSyncOnDiscovery, int refreshInSeconds, int validForSeconds, MobileDataSourceScope scope, boolean workOnline, String name, String description) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanID do datasource a ser coletado (Obrigatorio caso dataSourceIdVariableHolder seja indefinido)ID da variavel de onde obter o ID do DataSource utilizado (Obrigatorio caso dataSourceId seja indefinido)name()intscope()voidsetAutoSyncOnDiscovery(boolean autoSync) voidsetAutoSyncOnInit(boolean autoSync) voidsetConnectionKey(String key) voidvoidsetDataSourceIdVariableHolder(String varName) voidsetDescription(String description) voidvoidsetRefreshInSeconds(int seconds) voidsetScope(MobileDataSourceScope scope) voidsetType(MobileDataSourceType type) voidsetValidForSeconds(int seconds) voidsetWorkOnline(boolean isWorkOnline) type()intboolean
-
Constructor Details
-
MobileDataSourceImpl
public MobileDataSourceImpl() -
MobileDataSourceImpl
public MobileDataSourceImpl(String dataSourceId, String dataSourceIdVariableHolder, MobileDataSourceType type, boolean autoSyncOnInit, boolean autoSyncOnDiscovery, int refreshInSeconds, int validForSeconds, MobileDataSourceScope scope, boolean workOnline) -
MobileDataSourceImpl
public MobileDataSourceImpl(String dataSourceId, String dataSourceIdVariableHolder, MobileDataSourceType type, boolean autoSyncOnInit, boolean autoSyncOnDiscovery, int refreshInSeconds, int validForSeconds, MobileDataSourceScope scope, boolean workOnline, String name, String description)
-
-
Method Details
-
dataSourceId
Description copied from interface:MobileBaseForm.MobileDataSourceID do datasource a ser coletado (Obrigatorio caso dataSourceIdVariableHolder seja indefinido)- Specified by:
dataSourceIdin interfaceMobileBaseForm.MobileDataSource- Returns:
-
type
- Specified by:
typein interfaceMobileBaseForm.MobileDataSource
-
connectionKey
- Specified by:
connectionKeyin interfaceMobileBaseForm.MobileDataSource
-
autoSyncOnInit
public boolean autoSyncOnInit()- Specified by:
autoSyncOnInitin interfaceMobileBaseForm.MobileDataSource
-
autoSyncOnDiscovery
public boolean autoSyncOnDiscovery()- Specified by:
autoSyncOnDiscoveryin interfaceMobileBaseForm.MobileDataSource
-
refreshInSeconds
public int refreshInSeconds()- Specified by:
refreshInSecondsin interfaceMobileBaseForm.MobileDataSource
-
validForSeconds
public int validForSeconds()- Specified by:
validForSecondsin interfaceMobileBaseForm.MobileDataSource
-
scope
- Specified by:
scopein interfaceMobileBaseForm.MobileDataSource
-
workOnline
public boolean workOnline()- Specified by:
workOnlinein interfaceMobileBaseForm.MobileDataSource
-
setDataSourceId
- Specified by:
setDataSourceIdin interfaceMobileBaseForm.MutableMobileDataSource
-
dataSourceIdVariableHolder
Description copied from interface:MobileBaseForm.MobileDataSourceID da variavel de onde obter o ID do DataSource utilizado (Obrigatorio caso dataSourceId seja indefinido)- Specified by:
dataSourceIdVariableHolderin interfaceMobileBaseForm.MobileDataSource- Returns:
-
setDataSourceIdVariableHolder
- Specified by:
setDataSourceIdVariableHolderin interfaceMobileBaseForm.MutableMobileDataSource
-
setType
- Specified by:
setTypein interfaceMobileBaseForm.MutableMobileDataSource
-
setConnectionKey
- Specified by:
setConnectionKeyin interfaceMobileBaseForm.MutableMobileDataSource
-
setAutoSyncOnInit
public void setAutoSyncOnInit(boolean autoSync) - Specified by:
setAutoSyncOnInitin interfaceMobileBaseForm.MutableMobileDataSource
-
setAutoSyncOnDiscovery
public void setAutoSyncOnDiscovery(boolean autoSync) - Specified by:
setAutoSyncOnDiscoveryin interfaceMobileBaseForm.MutableMobileDataSource
-
setRefreshInSeconds
public void setRefreshInSeconds(int seconds) - Specified by:
setRefreshInSecondsin interfaceMobileBaseForm.MutableMobileDataSource
-
setValidForSeconds
public void setValidForSeconds(int seconds) - Specified by:
setValidForSecondsin interfaceMobileBaseForm.MutableMobileDataSource
-
setWorkOnline
public void setWorkOnline(boolean isWorkOnline) - Specified by:
setWorkOnlinein interfaceMobileBaseForm.MutableMobileDataSource
-
setScope
- Specified by:
setScopein interfaceMobileBaseForm.MutableMobileDataSource
-
setName
- Specified by:
setNamein interfaceMobileBaseForm.MutableMobileDataSource
-
name
- Specified by:
namein interfaceMobileBaseForm.MobileDataSource
-
setDescription
- Specified by:
setDescriptionin interfaceMobileBaseForm.MutableMobileDataSource
-
description
- Specified by:
descriptionin interfaceMobileBaseForm.MobileDataSource
-