|
(ISOSynchronization *) | + sharedSynchronization |
|
(NSString *) | + privateDocumentsDirectory |
|
(NSURL *) | + privateDocumentsDirectoryURL |
|
- (NSArray *) allInstancesOf: |
|
(NSString*) |
entityName |
withPredicate: |
|
(NSPredicate*) |
predicate |
|
|
| |
an array with the instances of the name und predicate
- Parameters
-
- Returns
- the result
- (void) autoLoginOnSuccess: |
|
(callBackBlock) |
onSuccess |
onFailure: |
|
(callBackBlockWithDictionary) |
onFailure |
|
|
| |
Check the login information through username and password and shows possibly dialog window
- Parameters
-
the synchronization of the pdf-document with the server will my canceled
if the user login, all the data (pdf-documents, login info,...) will be cleared.
clone the pdf-document from the original
- Parameters
-
- Returns
- the clone pdf-document
pdf-document will be deleted
- Parameters
-
- (ISODocument *) getDocumentForAdHocKey: |
|
(NSString*) |
adHocKey |
fromUrl: |
|
(NSURL*) |
url |
onSuccess: |
|
(callBackBlock) |
onSuccess |
onFailure: |
|
(callBackBlockWithDictionary) |
onFailure |
|
|
| |
supply an ISODocument in accordance with the given keys from the URL which also passed back. is the method successfull called the parameter onSuccess, if not the paramter onFailure.
- Parameters
-
adHocKey | |
url | |
onSuccess | |
onFailure | |
- Returns
- (NSDictionary *) getSystemMessage |
|
|
|
- (void) isoCaptureSendCancelSigningForDocument: |
|
(ISODocument*) |
document |
|
ISOCapture send the signed documents which are canceled
- Parameters
-
document | pdf-document which are signed |
- (void) isoCaptureSendShowSignatureField: |
|
(NSNumber*) |
signatureFieldId |
forDocument: |
|
(ISODocument*) |
document |
|
|
| |
method ISOCapture shows the send signature field
- Parameters
-
signatureFieldId | |
document | |
check is the user logged in or not
- Returns
- the session ID
- (void) loginWithUsername: |
|
(NSString*) |
username |
andPassword: |
|
(NSString*) |
password |
onSuccess: |
|
(callBackBlock) |
onSuccessP |
onFailure: |
|
(callBackBlockWithDictionary) |
onFailureP |
|
|
| |
check the login data (username,password) with the information of the webservice, is it successfull or not.
- Parameters
-
username | |
password | |
onSuccessP | |
onFailureP | |
save the context of the manageObjektContext
- (void) saveDocumentForAdHocKey: |
|
(callBackBlock) |
onSuccess |
onFailure: |
|
(callBackBlockWithDictionary) |
onFailure |
|
|
| |
save the document. if the saving is successful called the method onSuccess, if not the method onFailure
- Parameters
-
- (void) synchronize: |
|
(NSArray*) |
documentIDs |
|
all the information (login, XMLRPC request, signing request, document meta data, file meta data,..) will be checked and synchronized
- Parameters
-
documentIDs | for documentIDs == nil, sync all in account, otherwise call with list of the IDs that need to be synced |
- (void) uploadAndSignModifiedDocuments |
|
|
|
the signed and modiefied documents will upload.
- (void) uploadDocumentAtURL: |
|
(NSURL*) |
url |
onSuccess: |
|
(callBackBlockWithString) |
onSuccess |
onFailure: |
|
(callBackBlockWithDictionary) |
onFailure |
|
|
| |
upload the pdf-document to the server. if it's not possible, there comes a message.
- Parameters
-
The documentation for this class was generated from the following files: