CmisSession class

CMIS session management

Constructors

CmisSession(String? _urlPrefix, CmisHttpAdapter _httpAdapter, CmisEnvironmentSupport _environmentSupport, [String? _serviceUrlPrefix, String? repositoryId])
Default constructor

Properties

completionResponse → JsonObjectLite
Response getter for completion callbacks
no setter
depth int
Search depth
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
proxy bool
Proxy indicator
getter/setter pair
repositoryId String?
CMIS repository identifier
getter/setter pair
resultCompletion ← dynamic
Completion callback
no getter
returnedRootUrl String?
Root URL for proxy use
no setter
rootFolderId String?
CMIS root folder
getter/setter pair
rootUrl String?
Root URL
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceUrl String?
Service URL
no setter
url String?
URL
no setter

Methods

addPagingContext(String elementId, int skipCount, int numItemsTotal) → void
Add a paging context
create(String name, String cmisAction, {String? typeId, String? parentId, String? parentPath, String? content, String? mimeType, Map<String, String>? customProperties}) → void
Create item, see the supporting documentation as to what this currently supports.
createDocument(String name, {String? typeId, String? content, String? folderPath, String? fileName, dynamic file, Map<String, String>? customProperties}) → void
Create document. This allows content to be supplied as a string or a 'File' class and its associated file name to be used in which case the file is read from the client. If content is not null it takes precedent over file upload. Will take a supplied type id, defaults to document.
createFolder(String name, {String? typeId, String? parentId, String? parentPath, Map<String, String>? customProperties}) → void
Create folder. Will take a supplied type id, defaults to folder.
delete(String objectId, {bool allVersions = false}) → void
Delete item.
deleteDocument(String objectId, {bool allVersions = false}) → void
Delete document
deleteFolder(String objectId, {bool allVersions = false}) → void
Delete folder
deletePagingContext(String elementId) → void
Delete the paging context offset
getCheckedOutDocs() → void
Get checked out documents from the repository
getDocument(String documentId) → void
Get document. This returns the document contents as supplied by the repository.
getFolderCheckedOutDocs(String folderId) → void
Get checked out documents in the supplied folder
getFolderChildren(String folderId) → void
Get folder children
getFolderDescendants(String folderId) → void
Get folder descendants
getFolderParent(String folderId) → void
Get folder parent
getFolderTree(String folderId) → void
Get folder Tree. Note: not supported on all repositories.
getPagingContext(String elementId) CmisPagingContext?
Paging context
getPagingContextOffset(String elementId) int
Get the paging context offset
getRepositories() → void
Get a list of repositories
getRepositoryInfo() → void
Get information for a supplied repository. The client must set repositoryId as returned by getRepositories() before calling this.
getRootFolderContents() → void
Get the contents of the root folder
getTypeChildren([String? typeId]) → void
Get type children
getTypeDefinition(String typeId) → void
Get type definition
getTypeDescendants([String? typeId]) → void
Get type descendants
login(String user, String password) → void
Updates the login credentials in Cmis that will be used for all further requests to the CMIS server. Both user name and password must be set, even if one or the other is '' i.e empty. This must be called before the CMIS client can be used.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String queryString) → void
CMIS query
setPagingContextOffset(String elementId, int offset) bool
Set the paging context offset
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited