SIHResourceManager Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | SIHResourceManager.h SIHResourceManager.m |
Overview
It handles and provides all resources needed by SIMINOV HYBRID.
Such As: Provides HybridDescriptor, AdapterDescriptor.
+ getInstance
It provides an instance of Resources class.
+ (SIHResourceManager *)getInstanceReturn Value
Resources instance.
Discussion
It provides an instance of Resources class.
Declared In
SIHResourceManager.h
– getApplicationDescriptor
Get Hybrid Descriptor.
- (SIHApplicationDescriptor *)getApplicationDescriptorReturn Value
Hybrid Descriptor.
Discussion
Get Hybrid Descriptor.
Declared In
SIHResourceManager.h
– setApplicationDescriptor:
Set Hybrid Descriptor.
- (void)setApplicationDescriptor:(SIHApplicationDescriptor *)applicationdescriptorParameters
applicationDescriptor |
Hybrid Descriptor. |
|---|
Discussion
Set Hybrid Descriptor.
Declared In
SIHResourceManager.h
– getAdapterDescriptors
Get All Adapter Descriptors defined by Application.
- (NSEnumerator *)getAdapterDescriptorsReturn Value
All Adapter Descriptors.
Discussion
Get All Adapter Descriptors defined by Application.
Declared In
SIHResourceManager.h
– getAdapterDescriptorsBasedOnPaths
Get All Adapter Descriptors Defined By Paths.
- (NSEnumerator *)getAdapterDescriptorsBasedOnPathsReturn Value
All Adapter Descriptors.
Discussion
Get All Adapter Descriptors Defined By Paths.
Declared In
SIHResourceManager.h
– getAdapterDescriptor:
Get Adapter Descriptor based on Adapter Descriptor Name.
- (SIHAdapterDescriptor *)getAdapterDescriptor:(NSString *)adapterDescriptorNameParameters
adapterDescriptorName |
Name of Adapter Descriptor. |
|---|
Return Value
Adapter Descriptor
Discussion
Get Adapter Descriptor based on Adapter Descriptor Name.
Declared In
SIHResourceManager.h
– getAdapterBasedOnName:
Get Adapter Descriptor based on Adapter Descriptor Name.
- (SIHAdapterDescriptor *)getAdapterBasedOnName:(NSString *)adapterDescriptorNameParameters
adapterDescriptorName |
Name of Adapter Descriptor. |
|---|
Return Value
Adapter Descriptor.
Discussion
Get Adapter Descriptor based on Adapter Descriptor Name.
Declared In
SIHResourceManager.h
– getAdapterBasedOnPath:
Get Adapter Descriptor based on adapter descriptor path.
- (SIHAdapterDescriptor *)getAdapterBasedOnPath:(NSString *)adapterDescriptorPathParameters
adapterDescriptorPath |
Path of Adapter Descriptor. |
|---|
Return Value
Adapter Descriptor.
Discussion
Get Adapter Descriptor based on adapter descriptor path.
Declared In
SIHResourceManager.h
– containAdapterBasedOnName:
Check whether adapter descriptor exist or not based on adapter descriptor name.
- (bool)containAdapterBasedOnName:(NSString *)adapterDescriptorNameParameters
adapterDescriptorName |
Name of adapter descriptor. |
|---|
Return Value
true/false; TRUE if adapter descriptor exist, FALSE if adapter descriptor does not exist.
Discussion
Check whether adapter descriptor exist or not based on adapter descriptor name.
Declared In
SIHResourceManager.h
– containAdapterBasedOnPath:
Check whether adapter descriptor exist or not based on adapter descriptor path.
- (bool)containAdapterBasedOnPath:(NSString *)adapterDescriptorPathParameters
adapterDescriptorPath |
Path of Adapter Descriptor. |
|---|
Return Value
true/false; TRUE if adapter descriptor exist, FALSE if adapter descriptor does not exist.
Discussion
Check whether adapter descriptor exist or not based on adapter descriptor path.
Declared In
SIHResourceManager.h
– getHandlers
Get All Handlers defined by Application.
- (NSEnumerator *)getHandlersReturn Value
All Handlers.
Discussion
Get All Handlers defined by Application.
Declared In
SIHResourceManager.h
– getHandler:handlerName:
Get Handler based on Adapter Name and Handler Name.
- (SIHHandler *)getHandler:(NSString *)adapterDescriptorName handlerName:(NSString *)handlerNameParameters
adapterDescriptorName |
Name of Adapter. |
|---|---|
handlerName |
Name of Handler. |
Return Value
Handler.
Discussion
Get Handler based on Adapter Name and Handler Name.
Declared In
SIHResourceManager.h
– containHandler:
Check whether Handler exist or not based on handler name.
- (bool)containHandler:(NSString *)handlerNameParameters
handlerName |
Name of Handler. |
|---|
Return Value
true/false; TRUE if handler exist, FALSE if handler does not exist.
Discussion
Check whether Handler exist or not based on handler name.
Declared In
SIHResourceManager.h
– containHandler:handlerName:
Check whether Handler exist or not based on adapter name and handler name.
- (bool)containHandler:(NSString *)adapterDescriptorName handlerName:(NSString *)handlerNameParameters
adapterDescriptorName |
Name of Adapter. |
|---|---|
handlerName |
Name of Handler. |
Return Value
true/false; TRUE if handler exist, FALSE if handler does not exist.
Discussion
Check whether Handler exist or not based on adapter name and handler name.
Declared In
SIHResourceManager.h
– getWebView
Get Web View.
- (UIWebView *)getWebViewReturn Value
Web View.
Discussion
Get Web View.
Declared In
SIHResourceManager.h
– setWebView:
Set Web View.
- (void)setWebView:(UIWebView *)webviewParameters
webView |
Web View. |
|---|
Discussion
Set Web View.
Declared In
SIHResourceManager.h
– doesEventsRegistered
Check whether any event registered by application or not.
- (bool)doesEventsRegisteredReturn Value
true/false; TRUE if event registered by application, FALSE if event not registered by application.
Discussion
Check whether any event registered by application or not.
Declared In
SIHResourceManager.h
– addEvent:
Add Event.
- (void)addEvent:(NSString *)eventParameters
event |
Event. |
|---|
Discussion
Add Event.
Declared In
SIHResourceManager.h
– getEvents
Get All Events registered by application.
- (NSEnumerator *)getEventsReturn Value
All Events.
Discussion
Get All Events registered by application.
Declared In
SIHResourceManager.h
– getAdapterHandler
Get AdapterHandler.
- (SIHAdapterHandler *)getAdapterHandlerReturn Value
AdapterHandler.
Discussion
Get AdapterHandler.
Declared In
SIHResourceManager.h
– setAdapterHandler:
Set AdapterHandler.
- (void)setAdapterHandler:(SIHAdapterHandler *)adapterhandlerParameters
adapterHandler |
AdapterHandler. |
|---|
Discussion
Set AdapterHandler.
Declared In
SIHResourceManager.h
– getAdapterFactory
Get Adapter Resources.
- (SIHAdapterFactory *)getAdapterFactoryReturn Value
Adapter Resources.
Discussion
Get Adapter Resources.
Declared In
SIHResourceManager.h
– setAdapterFactory:
Set Adapter Resources.
- (void)setAdapterFactory:(SIHAdapterFactory *)adapterfactoryParameters
adapterFactory |
Adapter Resources. |
|---|
Discussion
Set Adapter Resources.
Declared In
SIHResourceManager.h
– getDatabaseDescriptorBasedOnClassName:
Get Database Descriptor based on Hybrid model class name.
- (SICDatabaseDescriptor *)getDatabaseDescriptorBasedOnClassName:(NSString *)classNameParameters
className |
Name of Hybrid Model Class. |
|---|
Return Value
Database Descriptor.
Discussion
Get Database Descriptor based on Hybrid model class name.
Declared In
SIHResourceManager.h
– getDatabaseDescriptorNameBasedOnClassName:
Get Database Descriptor Name based on Hybrid Model class name.
- (NSString *)getDatabaseDescriptorNameBasedOnClassName:(NSString *)classNameParameters
className |
Name of Hybrid Model Class. |
|---|
Return Value
Database Descriptor Name.
Discussion
Get Database Descriptor Name based on Hybrid Model class name.
Declared In
SIHResourceManager.h
– getDatabaseDescriptorNameBasedOnTableName:
Get Database Descriptor Name based on table name.
- (NSString *)getDatabaseDescriptorNameBasedOnTableName:(NSString *)tableNameParameters
tableName |
Name of table. |
|---|
Return Value
Database Descriptor Name.
Discussion
Get Database Descriptor Name based on table name.
Declared In
SIHResourceManager.h
– getDatabaseDescriptorBasedOnTableName:
Get Database Descriptor based on table name.
- (SICDatabaseDescriptor *)getDatabaseDescriptorBasedOnTableName:(NSString *)tableNameParameters
tableName |
Name of Table. |
|---|
Return Value
Database Descriptor.
Discussion
Get Database Descriptor based on table name.
Declared In
SIHResourceManager.h
– getEntityDescriptorBasedOnClassName:
Get Entity Descriptor based on Hybrid Model Class Name.
- (SICEntityDescriptor *)getEntityDescriptorBasedOnClassName:(NSString *)classNameParameters
className |
Name of Hybrid Model Class. |
|---|
Return Value
Entity Descriptor.
Discussion
Get Entity Descriptor based on Hybrid Model Class Name.
Declared In
SIHResourceManager.h
– getEntityDescriptorBasedOnTableName:
Get Entity Descriptor based on table name.
- (SICEntityDescriptor *)getEntityDescriptorBasedOnTableName:(NSString *)tableNameParameters
tableName |
Name of Table. |
|---|
Return Value
Entity Descriptor.
Discussion
Get Entity Descriptor based on table name.
Declared In
SIHResourceManager.h
– getMappedNativeClassName:
Get Mapped Native Model Class Name.
- (NSString *)getMappedNativeClassName:(NSString *)hybridClassNameParameters
hybridClassName |
Hybrid Model Class Name. |
|---|
Return Value
Native Model Class Name.
Discussion
Get Mapped Native Model Class Name.
Declared In
SIHResourceManager.h
– getMappedHybridClassName:
Get Mapped Hybrid Model Class Name.
- (NSString *)getMappedHybridClassName:(NSString *)nativeClassNameParameters
nativeClassName |
Native Model Class Name. |
|---|
Return Value
Hybrid Model Class Name.
Discussion
Get Mapped Hybrid Model Class Name.
Declared In
SIHResourceManager.h
– synchronizeEntityDescriptors
Map Native Model Class Name with Hybrid Model Class Name.
- (void)synchronizeEntityDescriptorsDiscussion
Map Native Model Class Name with Hybrid Model Class Name.
Declared In
SIHResourceManager.h
– generateHybridDatabaseDescriptor:
Generates Hybrid Database Descriptor
- (SIHHybridSiminovData *)generateHybridDatabaseDescriptor:(SICDatabaseDescriptor *)databaseDescriptorParameters
databaseDescriptor |
Database Descriptor. |
|---|
Return Value
Hybrid Application Descriptor.
Discussion
Generates Hybrid Database Descriptor
Declared In
SIHResourceManager.h
– generateHybridEntityDescriptor:
Generate Hybrid Entity Descriptor.
- (SIHHybridSiminovData *)generateHybridEntityDescriptor:(SICEntityDescriptor *)entityDescriptorParameters
entityDescriptor |
Entity Descriptor. |
|---|
Return Value
Hybrid Entity Descriptor.
Discussion
Generate Hybrid Entity Descriptor.
Declared In
SIHResourceManager.h
– generateHybridEntityDescriptorColumn:
Generate Hybrid Entity Descriptor Column.
- (SIHHybridSiminovData *)generateHybridEntityDescriptorColumn:(SICAttribute *)attributeParameters
attribute |
Entity Descriptor Column. |
|---|
Return Value
Hybrid Siminov Data.
Discussion
Generate Hybrid Entity Descriptor Column.
Declared In
SIHResourceManager.h
– generateHybridEntityDescriptorIndex:
Generate Hybrid Entity Descriptor Index.
- (SIHHybridSiminovData *)generateHybridEntityDescriptorIndex:(SICIndex *)indexParameters
index |
Entity Descriptor Index. |
|---|
Return Value
Hybrid Entity Descriptor Index.
Discussion
Generate Hybrid Entity Descriptor Index.
Declared In
SIHResourceManager.h
– generateHybridEntityDescriptorRelationship:
Generate Hybrid Entity Descriptor Relationship.
- (SIHHybridSiminovData *)generateHybridEntityDescriptorRelationship:(SICRelationship *)relationshipParameters
relationship |
Entity Descriptor Relationship. |
|---|
Return Value
Hybrid Entity Descriptor Relationship.
Discussion
Generate Hybrid Entity Descriptor Relationship.
Declared In
SIHResourceManager.h
– generateHybridLibraryDescriptor:
Generate Hybrid Library Descriptor.
- (SIHHybridSiminovData *)generateHybridLibraryDescriptor:(SICLibraryDescriptor *)libraryDescriptorParameters
libraryDescriptor |
Library Descriptor. |
|---|
Return Value
Hybrid Library Descriptor.
Discussion
Generate Hybrid Library Descriptor.
Declared In
SIHResourceManager.h
– generateHybridAdapterDescriptor:
Generate Hybrid Adapter.
- (SIHHybridSiminovData *)generateHybridAdapterDescriptor:(SIHAdapterDescriptor *)adapterDescriptorParameters
adapterDescriptor |
Adapter. |
|---|
Return Value
Hybrid Adapter.
Discussion
Generate Hybrid Adapter.
Declared In
SIHResourceManager.h
– generateHybridHandler:
Generate Hybrid Handler.
- (SIHHybridSiminovData *)generateHybridHandler:(SIHHandler *)handlerParameters
handler |
Handler. |
|---|
Return Value
Hybrid Handler.
Discussion
Generate Hybrid Handler.
Declared In
SIHResourceManager.h
– generateHybridConnectionRequest:
Generate Hybrid Connection Request
- (SIHHybridSiminovData *)generateHybridConnectionRequest:(id<SIKIConnectionRequest>)connectionRequestParameters
connectionRequest |
Connection Request |
|---|
Return Value
Hybrid Siminov Data
Discussion
Generate Hybrid Connection Request
Declared In
SIHResourceManager.h
– generateHybridConnectionResponse:
Generate Hybrid Connection Response
- (SIHHybridSiminovData *)generateHybridConnectionResponse:(id<SIKIConnectionResponse>)connectionResponseParameters
connectionResponse |
Connection Response |
|---|
Return Value
Hybrid Siminov Data
Discussion
Generate Hybrid Connection Response
Declared In
SIHResourceManager.h
– generateHybridRegistration:
Generate Hybrid Registration
- (SIHHybridSiminovData *)generateHybridRegistration:(id<SIKIRegistration>)registrationParameters
registration |
Registration |
|---|
Return Value
Hybrid Siminov Data
Discussion
Generate Hybrid Registration
Declared In
SIHResourceManager.h
– generateHybridMessage:
Generate Hybrid Message
- (SIHHybridSiminovData *)generateHybridMessage:(id<SIKIMessage>)messageParameters
message |
Message |
|---|
Return Value
Hybrid Siminov Data
Discussion
Generate Hybrid Message
Declared In
SIHResourceManager.h
– generateHybridNotificationException:
Generate Hybrid Notification Exception
- (SIHHybridSiminovData *)generateHybridNotificationException:(SIKNotificationException *)notificationExceptionParameters
notificationException |
Notification Exception |
|---|
Return Value
Hybrid Siminov Data
Discussion
Generate Hybrid Notification Exception
Declared In
SIHResourceManager.h
– generateHybridSyncRequest:
Generate Hybrid Sync Request
- (SIHHybridSiminovData *)generateHybridSyncRequest:(id<SIKISyncRequest>)syncRequestParameters
syncRequest |
Sync Request |
|---|
Return Value
Hybrid Siminov Data
Discussion
Generate Hybrid Sync Request
Declared In
SIHResourceManager.h