AlfrescoSession Protocol Reference
Conforms to | NSObject |
Declared in | AlfrescoSession.h |
Overview
The AlfrescoSession category defines the properties made available for a session to an Alfresco repository.
Author: Gavin Cornwell (Alfresco), Tijs Rademakers (Alfresco), Peter Schmidt (Alfresco), Tauseef Mughal (Alfresco)
Tasks
Properties.
-
personIdentifier
The currently authenticated user.
property required method -
repositoryInfo
Information describing the repository the session is connected to.
property required method -
baseUrl
The base URL of the repository.
property required method -
rootFolder
The root folder of the repository.
property required method -
defaultListingContext
a default listing context for the session
property required method -
networkProvider
The network provider, if this is not provided, a default implementation is set
property required method
Methods for handling the Repository Settings
-
– allParameterKeys
Gives back all keys of the session data dictionary.
required method -
– objectForParameter:
Gets a session data value for a specific key.
required method -
– setObject:forParameter:
Adds an object to the session data.
required method -
– addParametersFromDictionary:
Adds an dictionary of objects to the session data.
required method -
– removeParameter:
Removes a session data entry.
required method -
– clear
clears all caches associated with this session
required method
Properties
baseUrl
The base URL of the repository.
@property (nonatomic, strong, readonly) NSURL *baseUrl
Discussion
The base URL of the repository.
Declared In
AlfrescoSession.h
defaultListingContext
a default listing context for the session
@property (nonatomic, strong, readonly) AlfrescoListingContext *defaultListingContext
Discussion
a default listing context for the session
Declared In
AlfrescoSession.h
networkProvider
The network provider, if this is not provided, a default implementation is set
@property (nonatomic, strong, readonly) id<AlfrescoNetworkProvider> networkProvider
Discussion
The network provider, if this is not provided, a default implementation is set
Declared In
AlfrescoSession.h
personIdentifier
The currently authenticated user.
@property (nonatomic, strong, readonly) NSString *personIdentifier
Discussion
The currently authenticated user.
Declared In
AlfrescoSession.h
Instance Methods
addParametersFromDictionary:
Adds an dictionary of objects to the session data.
- (void)addParametersFromDictionary:(NSDictionary *)dictionary
Parameters
- dictionary
The dictionary of objects to be added.
Discussion
Adds an dictionary of objects to the session data.
Declared In
AlfrescoSession.h
allParameterKeys
Gives back all keys of the session data dictionary.
- (NSArray *)allParameterKeys
Return Value
All keys of the session data dictionary.
Discussion
Gives back all keys of the session data dictionary.
Declared In
AlfrescoSession.h
clear
clears all caches associated with this session
- (void)clear
Discussion
clears all caches associated with this session
Declared In
AlfrescoSession.h
objectForParameter:
Gets a session data value for a specific key.
- (id)objectForParameter:(id)key
Parameters
- key
The key for the object to be retrieved.
Return Value
Session data value.
Discussion
Gets a session data value for a specific key.
Declared In
AlfrescoSession.h