OMCMobileEndpoint Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | OMCMobileEndpoint.h |
apiName
The name of the custom code API.
@property (nonatomic, readonly) NSString *apiNameDeclared In
OMCMobileEndpoint.h
endpointPath
The endpoint in the API.
@property (nonatomic, readonly) NSString *endpointPathDeclared In
OMCMobileEndpoint.h
– createObject
Creates a new MobileObject. The object is not uploaded to the service until Save is invoked.
- (id)createObjectReturn Value
The new OMCMobileObject object or, if a custom mobile object entity is specified, it will return custom mobile object.
Declared In
OMCMobileEndpoint.h
– createFile
Creates a new MobileFile. The file is not uploaded to the service until Save is invoked.
- (OMCMobileFile *)createFileReturn Value
The new MobileFile.
Declared In
OMCMobileEndpoint.h
– getSynchronization
- Returns the synchronization object from which the current mobile endpoint was created
- (OMCSynchronization *)getSynchronizationReturn Value
synchronization OMCSynchronization object
Declared In
OMCMobileEndpoint.h
– fetchObjectCollectionBuilder
Method to fetch a builder to fetch a collection of objects from the endpoint. If the collection exists in the cache, and the policy is set to get from cache, the cached copy is returned. Otherwise it is downloaded from the service.
- (OMCFetchObjectCollectionBuilder *)fetchObjectCollectionBuilderReturn Value
The object of OMCFetchObjectCollectionBuilder
Declared In
OMCMobileEndpoint.h
– fetchObjectBuilder
Method to fetch a builder to fetch a object from the endpoint. If the object exists in the cache, and and the policy is set to get from cache, the cached copy is returned. Otherwise it is downloaded from the service.
- (OMCFetchObjectBuilder *)fetchObjectBuilderReturn Value
The object of OMCFetchObjectBuilder
Declared In
OMCMobileEndpoint.h
– fetchFileBuilder
Method to fetch a builder to fetch a file from the endpoint. If the file exists in the cache, and the policy is set to get from cache, the cached copy is returned. Otherwise it is downloaded from the service.
- (OMCFetchFileBuilder *)fetchFileBuilderReturn Value
The object of OMCFetchFileBuilder
Declared In
OMCMobileEndpoint.h
– fetchObjectBuilder:
Method to fetch a builder to fetch an object from the endpoint. If the object exists in the cache, and the policy is set to get from cache, the cached copy is returned. Otherwise it is downloaded from the service.
- (OMCFetchObjectBuilder *)fetchObjectBuilder:(NSString *)objectIdParameters
objectId |
id to append to the endpoint path |
|---|
Return Value
The object of OMCFetchObjectBuilder
Declared In
OMCMobileEndpoint.h
– fetchFileBuilder:
Method to fetch a builder to fetch a file from the endpoint. If the file exists in the cache, and the policy is set to get from cache, the cached copy is returned. Otherwise it is downloaded from the service.
- (OMCFetchFileBuilder *)fetchFileBuilder:(NSString *)fileIdParameters
fileId |
id to append to the endpoint path |
|---|
Return Value
The object of OMCFetchFileBuilder
Declared In
OMCMobileEndpoint.h
– absoluteUrl
Returns absolute url for the current mobile endpoint
- (NSString *)absoluteUrlReturn Value
absolute url string
Declared In
OMCMobileEndpoint.h