Indivo Framework (iOS)
An iOS framework for Apps connecting to Indivo server
|
A class representing "indivo:Principal" objects, generated from /indivo/schemas/metadata/doc-metadata/metadata.xsd. More...
#import <IndivoPrincipal.h>
Inherits IndivoDocument.
Properties | |
INString * | fullname |
minOccurs = 1 More... | |
INString * | type |
Must be present as an XML attribute when writing XML. More... | |
![]() | |
IndivoPrincipal * | creator |
The creator of the document. More... | |
INDocumentStatus | documentStatus |
This document's status. More... | |
BOOL | fetched |
YES if the document has been fetched from the server. More... | |
NSString * | label |
This document's label. More... | |
NSString * | uuidLatest |
The udid of the latest document of the receiver. More... | |
NSString * | uuidOriginal |
The udid of the original document, if the receiver replaced a document. More... | |
NSString * | uuidReplaces |
The udid of the replaced document, if the receiver replaced a document. More... | |
![]() | |
IndivoCreated * | created |
NSString * | nameSpace |
The namespace. More... | |
IndivoRecord * | record |
The owning record. If you change this on documents fetched from the server, you will get errors. More... | |
IndivoSuppressed * | suppressed |
![]() | |
BOOL | onServer |
Indicates whether this document lives on the server. More... | |
IndivoServer * | server |
Our beloved server. More... | |
NSString * | uuid |
This object's udid. More... | |
Additional Inherited Members | |
![]() | |
(void) | - archive:forReason:callback: |
Archive (or unarchive) a document for the given reason. More... | |
(NSString *) | - basePostPath |
The base path, e.g. More... | |
(id) | - cachedObjectOfType: |
Retrieves the object for a given type from cache. More... | |
(BOOL) | - cacheObject:asType:error: |
Caches the object for a given type. More... | |
(NSString *) | - documentPath |
The path to this document, i.e. More... | |
(void) | - fetchMetaDocumentWithCallback: |
Fetches the meta document for this document. More... | |
(void) | - fetchStatusHistoryWithCallback: |
Fetch the document's version history. More... | |
(void) | - fetchVersionsWithCallback: |
Fetch the document's version history. More... | |
(BOOL) | - hasStatus: |
(id) | - initFromNode:forRecord:withMeta: |
The designated initializer. More... | |
(BOOL) | - isLatest |
(void) | - pull: |
(void) | - push: |
This method puts a new document on the server. More... | |
(void) | - replace: |
This method updates the receiver's version on the server with new data from the receiver's properties. More... | |
(void) | - setLabel:callback: |
Label a document. More... | |
(void) | - updateWithMeta: |
This method updates our udid, type and status from the given meta document. More... | |
(void) | - void:forReason:callback: |
Void (or unvoid) a document for a given reason. More... | |
![]() | |
(id) | + cachedObjectOfType:forId: |
Retrieves the cached object of a given type for a given document udid. More... | |
(BOOL) | + cacheObject:asType:forId:error: |
Stores an object of a given type for the document of the given udid. More... | |
(Class) | + documentClassForType: |
Returns the class for a previously registered type, or "IndivoDocument" if the type has not been registered. More... | |
(NSString *) | + fetchReportPathForRecord: |
The base path to get reports for documents of this class. More... | |
(void) | + registerDocumentClass: |
Our IndivoDocument subclasses call this in their +load method. More... | |
(NSString *) | + reportType |
This name is used to construct the report path for this kind of document. More... | |
![]() | |
NSString * | _nodeName |
A class representing "indivo:Principal" objects, generated from /indivo/schemas/metadata/doc-metadata/metadata.xsd.
|
readwritenonatomicstrong |
minOccurs = 1
|
readwritenonatomicstrong |
Must be present as an XML attribute when writing XML.