OlapicCurationQueue Class Reference
| Inherits from | NSObject |
| Declared in | OlapicCurationQueue.h |
Properties
Instance Methods
cleanQueue
Empty the current queue and remove it from the user defaults
- (void)cleanQueueAvailability
v1.0
Declared In
OlapicCurationQueue.hforceProcess
Force the queue to send a request with the current items, ignoring if there’s enough items to match the ‘itemsToProcess’ property
- (void)forceProcessAvailability
v1.0
Declared In
OlapicCurationQueue.hgetBulkRequest
Get an instance of the object for bulk requests
- (OlapicBulkRequest *)getBulkRequestReturn Value
A OlapicBulkRequest instance
Availability
v1.0
Declared In
OlapicCurationQueue.hgetCurrentQueue
Get the current queue contents
- (NSArray *)getCurrentQueueReturn Value
The queue
Availability
v1.0
Declared In
OlapicCurationQueue.hgetUserDefaults
Get access to the app user defaults
- (NSUserDefaults *)getUserDefaultsReturn Value
The reference object
Availability
v1.0
Declared In
OlapicCurationQueue.hinitWithIdentifier:
Class constructor
- (id)initWithIdentifier:(NSString *)identifierParameters
- identifier
A unique identifier that will be used to save the queue in the user defaults
Return Value
An instance of this object (OlapicCurationQueue)
Availability
v1.0
Declared In
OlapicCurationQueue.hsaveQueue
Save the current status of the queue on the user defaults
- (void)saveQueueAvailability
v1.0
Declared In
OlapicCurationQueue.hsetMedia:toStatus:
Add a media with a status to the current queue
- (void)setMedia:(OlapicCurationMediaEntity *)media toStatus:(OlapicMediaStatus *)statusParameters
- media
The media object
- status
The status to assign
Availability
v1.0
Declared In
OlapicCurationQueue.hstart
Start the queue. It will check the user defaults first to see if there are items still waiting to be processed, and if there are, it will push them to the current instance. Also, make sure there’s a delegate object, or the queue won’t start, and you’ll see an error message on the console
- (void)startAvailability
v1.0
Declared In
OlapicCurationQueue.h