|
Acl
|
applyAcl(CmisObject cmisObject, String objectId, List<Ace> addAces, List<Ace> removeAces, AclPropagation aclPropagation)
Set the permissions associated with an object.
|
|
void
|
applyPolicy(CmisObject cmisObject, String objectId, List<ObjectId> policyIds)
Applies policies to this object.
|
|
void
|
cancelCheckOut(CmisObject document, String documentId)
If applied to a PWC (private working copy) of the document, the check out
will be reversed.
|
|
ChangeEvents
|
changelog(String changeLogToken, boolean includeProperties)
Gets repository changes.
|
|
ObjectId
|
checkIn(CmisObject document, String documentId, Object content, String filename, String mimeType, boolean major, String checkinComment, Map<String, String> properties)
If applied to a PWC (private working copy) it performs a check in.
|
|
ObjectId
|
checkOut(CmisObject document, String documentId)
Checks out the document and returns the object id of the PWC (private working copy).
|
|
ObjectId
|
createDocumentById(String folderId, String filename, Object content, String mimeType, VersioningState versioningState, String objectType, Map<String, String> properties)
Creates a new document in the repository.
|
|
ObjectId
|
createDocumentByPath(String folderPath, String filename, Object content, String mimeType, VersioningState versioningState, String objectType, Map<String, String> properties, boolean force)
Creates a new document in the repository.
|
|
ObjectId
|
createFolder(String folderName, String parentObjectId)
Creates a folder.
|
|
void
|
delete(CmisObject cmisObject, String objectId, boolean allVersions)
|
|
List<String>
|
deleteTree(CmisObject folder, String folderId, boolean allversions, UnfileObject unfile, boolean continueOnFailure)
Deletes a folder and all subfolders.
|
|
Object
|
folder(Folder folder, String folderId, NavigationOptions get, Integer depth, String filter, String orderBy)
Navigates the folder structure.
|
|
Acl
|
getAcl(CmisObject cmisObject, String objectId)
Returns the ACL if it has been fetched for an object.
|
|
List<Document>
|
getAllVersions(CmisObject document, String documentId, String filter, String orderBy)
Retrieve an object's version history
|
|
List<Policy>
|
getAppliedPolicies(CmisObject cmisObject, String objectId)
Get the policies that are applied to an object.
|
|
String
|
getBaseUrl()
|
|
ItemIterable<Document>
|
getCheckoutDocs(String filter, String orderBy)
Retrieve list of checked out documents.
|
|
ContentStream
|
getContentStream(CmisObject cmisObject, String objectId)
Retrieves the content stream of a Document.
|
|
String
|
getEndpoint()
|
|
CMISFacade
|
getFacade()
|
|
CmisObject
|
getObjectById(String objectId)
Returns a CMIS object from the repository and puts it into the cache.
|
|
CmisObject
|
getObjectByPath(String path)
Returns a CMIS object from the repository and puts it into the cache.
|
|
List<Relationship>
|
getObjectRelationships(CmisObject cmisObject, String objectId)
Returns the relationships if they have been fetched for an object.
|
|
List<Folder>
|
getParentFolders(CmisObject cmisObject, String objectId)
Retrieves the parent folders of a fileable cmis object
|
|
String
|
getPassword()
|
|
String
|
getRepositoryId()
|
|
ObjectType
|
getTypeDefinition(String typeId)
Returns the type definition of the given type id.
|
|
String
|
getUsername()
|
|
void
|
initialise()
|
|
FileableCmisObject
|
moveObject(FileableCmisObject cmisObject, String objectId, String sourceFolderId, String targetFolderId)
Moves a fileable cmis object from one location to another.
|
|
ItemIterable<QueryResult>
|
query(String statement, Boolean searchAllVersions, String filter, String orderBy)
Sends a query to the repository
|
|
List<Repository>
|
repositories()
Returns all repositories that are available at the endpoint.
|
|
RepositoryInfo
|
repositoryInfo()
Returns information about the CMIS repository, the optional capabilities it supports and its Access Control information if applicable.
|
|
void
|
setBaseUrl(String baseUrl)
|
|
void
|
setEndpoint(String endpoint)
|
|
void
|
setFacade(CMISFacade facade)
|
|
void
|
setPassword(String password)
|
|
void
|
setRepositoryId(String repositoryId)
|
|
void
|
setUsername(String username)
|
|
CmisObject
|
updateObjectProperties(CmisObject cmisObject, String objectId, Map<String, String> properties)
Update an object's properties
|