public class OnlineDataService extends DataService
A specialization of DataService where the OnlineDataService.provider is an OnlineODataProvider.
| Constructor and Description |
|---|
OnlineDataService(OnlineODataProvider provider)
Construct an online data service using an online provider.
|
| Modifier and Type | Method and Description |
|---|---|
OnlineODataProvider |
getOnlineProvider()
Return the online provider supporting this data service.
|
ServiceOptions |
getServiceOptions()
Return service options for the associated online provider.
|
boolean |
getTraceRequests()
Return should all requests for this data service be traced? Defaults to
false. |
boolean |
getTraceWithData()
Return if
OnlineDataService.traceRequests is also true, should all requests for this data service be traced with data? Defaults to false. |
void |
setTraceRequests(boolean value)
Set should all requests for this data service be traced? Defaults to
false. |
void |
setTraceWithData(boolean value)
Set if
OnlineDataService.traceRequests is also true, should all requests for this data service be traced with data? Defaults to false. |
applyChanges, applyChanges, applyChanges, applyChangesAsync, applyChangesAsync, applyChangesAsync, asyncAction, asyncAction, asyncAction, asyncFunction, asyncFunction, asyncFunction, createEntity, createEntity, createEntity, createEntityAsync, createEntityAsync, createEntityAsync, createLink, createLink, createLink, createLinkAsync, createLinkAsync, createLinkAsync, createMedia, createMedia, createMedia, createMediaAsync, createMediaAsync, createMediaAsync, createRelatedEntity, createRelatedEntity, createRelatedEntity, createRelatedEntityAsync, createRelatedEntityAsync, createRelatedEntityAsync, createRelatedMedia, createRelatedMedia, createRelatedMedia, deleteByQuery, deleteByQuery, deleteByQuery, deleteByQueryAsync, deleteByQueryAsync, deleteByQueryAsync, deleteEntity, deleteEntity, deleteEntity, deleteEntityAsync, deleteEntityAsync, deleteEntityAsync, deleteLink, deleteLink, deleteLink, deleteLink, deleteLinkAsync, deleteLinkAsync, deleteLinkAsync, deleteStream, deleteStream, deleteStream, deleteStreamAsync, deleteStreamAsync, deleteStreamAsync, downloadMedia, downloadMedia, downloadMedia, downloadMediaAsync, downloadMediaAsync, downloadMediaAsync, downloadStream, downloadStream, downloadStream, downloadStreamAsync, downloadStreamAsync, downloadStreamAsync, entityContext, entityContext, entityContext, entityContext, executeMethod, executeMethod, executeMethod, executeMethod, executeMethodAsync, executeMethodAsync, executeMethodAsync, executeQuery, executeQuery, executeQuery, executeQueryAsync, executeQueryAsync, executeQueryAsync, fetchMetadata, fetchMetadata, fetchMetadata, fetchMetadataAsync, fetchMetadataAsync, fetchMetadataAsync, getActionExecutor, getDataMethod, getDataTransaction, getEntitySet, getFunctionExecutor, getMetadata, getMetadataLock, getName, getProvider, hasMetadata, loadEntity, loadEntity, loadEntity, loadEntity, loadEntityAsync, loadEntityAsync, loadEntityAsync, loadMetadata, loadMetadata, loadMetadata, loadMetadataAsync, loadMetadataAsync, loadMetadataAsync, loadProperty, loadProperty, loadProperty, loadProperty, loadPropertyAsync, loadPropertyAsync, loadPropertyAsync, metadataText, pingServer, pingServer, pingServer, pingServerAsync, pingServerAsync, pingServerAsync, processBatch, processBatch, processBatch, processBatchAsync, processBatchAsync, processBatchAsync, queryContext, refreshMetadata, saveEntity, saveEntity, saveEntity, saveEntityAsync, saveEntityAsync, saveEntityAsync, serviceDocument, setActionExecutor, setFunctionExecutor, unloadMetadata, unloadMetadataAsync, unloadMetadataAsync, unloadMetadataAsync, updateEntity, updateEntity, updateEntity, updateEntityAsync, updateEntityAsync, updateEntityAsync, updateLink, updateLink, updateLink, updateLinkAsync, updateLinkAsync, updateLinkAsync, uploadMedia, uploadMedia, uploadMedia, uploadMediaAsync, uploadMediaAsync, uploadMediaAsync, uploadStream, uploadStream, uploadStream, uploadStreamAsync, uploadStreamAsync, uploadStreamAsync, upsertEntity, upsertEntity, upsertEntitypublic OnlineDataService(OnlineODataProvider provider)
Construct an online data service using an online provider.
provider - Online provider.public OnlineODataProvider getOnlineProvider()
Return the online provider supporting this data service.
public ServiceOptions getServiceOptions()
Return service options for the associated online provider.
public boolean getTraceRequests()
Return should all requests for this data service be traced? Defaults to false.
false.public boolean getTraceWithData()
Return if OnlineDataService.traceRequests is also true, should all requests for this data service be traced with data? Defaults to false.
Note that care must be taken when enabling tracing with data, as the resulting log files may contain sensitive information.
On the other hand, tracing with data may sometimes be invaluable for troubleshooting purposes.
OnlineDataService.traceRequests is also true, should all requests for this data service be traced with data? Defaults to false.public void setTraceRequests(boolean value)
Set should all requests for this data service be traced? Defaults to false.
value - Should all requests for this data service be traced? Defaults to false.public void setTraceWithData(boolean value)
Set if OnlineDataService.traceRequests is also true, should all requests for this data service be traced with data? Defaults to false.
Note that care must be taken when enabling tracing with data, as the resulting log files may contain sensitive information.
On the other hand, tracing with data may sometimes be invaluable for troubleshooting purposes.
value - If OnlineDataService.traceRequests is also true, should all requests for this data service be traced with data? Defaults to false.