Package | Description |
---|---|
org.apache.chemistry.opencmis.client.api |
The OpenCMIS Client API.
|
org.apache.chemistry.opencmis.tck.impl |
Modifier and Type | Interface and Description |
---|---|
interface |
CmisObject
Base CMIS object.
|
interface |
Document
CMIS Document.
|
interface |
FileableCmisObject
Fileable CMIS object.
|
interface |
Folder
CMIS Folder.
|
interface |
Policy
CMIS Policy.
|
interface |
Relationship
CMIS Relationship.
|
interface |
TransientCmisObject |
interface |
TransientDocument |
interface |
TransientFileableCmisObject |
interface |
TransientFolder |
interface |
TransientPolicy |
interface |
TransientRelationship |
Modifier and Type | Method and Description |
---|---|
ObjectId |
Document.checkIn(boolean major,
Map<String,?> properties,
ContentStream contentStream,
String checkinComment)
If this is a PWC (private working copy) it performs a check in.
|
ObjectId |
Document.checkIn(boolean major,
Map<String,?> properties,
ContentStream contentStream,
String checkinComment,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
If this is a PWC (private working copy) it performs a check in.
|
ObjectId |
TransientDocument.checkIn(boolean major,
String checkinComment) |
ObjectId |
Document.checkOut()
Checks out the document and returns the object id of the PWC (private
working copy).
|
ObjectId |
Session.createDocument(Map<String,?> properties,
ObjectId folderId,
ContentStream contentStream,
VersioningState versioningState)
Creates a new document.
|
ObjectId |
Session.createDocument(Map<String,?> properties,
ObjectId folderId,
ContentStream contentStream,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new document.
|
ObjectId |
Session.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
ObjectId folderId,
VersioningState versioningState)
Creates a new document from a source document.
|
ObjectId |
Session.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
ObjectId folderId,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new document from a source document.
|
ObjectId |
Session.createFolder(Map<String,?> properties,
ObjectId folderId)
Creates a new folder.
|
ObjectId |
Session.createFolder(Map<String,?> properties,
ObjectId folderId,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new folder.
|
ObjectId |
Session.createObjectId(String id)
Creates an object id from a String.
|
ObjectId |
Session.createPolicy(Map<String,?> properties,
ObjectId folderId)
Creates a new policy.
|
ObjectId |
Session.createPolicy(Map<String,?> properties,
ObjectId folderId,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new policy.
|
ObjectId |
Session.createRelationship(Map<String,?> properties)
Creates a new relationship.
|
ObjectId |
Session.createRelationship(Map<String,?> properties,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new relationship.
|
ObjectId |
Document.deleteContentStream(boolean refresh)
Removes the current content stream from the document.
|
ObjectId |
RelationshipProperties.getSourceId()
Returns the source id of this CMIS relationship (CMIS property
cmis:sourceId |
ObjectId |
RelationshipProperties.getTargetId()
Returns the target id of this CMIS relationship (CMIS property
cmis:targetId |
ObjectId |
TransientCmisObject.save() |
ObjectId |
Document.setContentStream(ContentStream contentStream,
boolean overwrite,
boolean refresh)
Sets a new content stream for the document.
|
ObjectId |
CmisObject.updateProperties(Map<String,?> properties,
boolean refresh)
Updates the provided properties.
|
Modifier and Type | Method and Description |
---|---|
void |
TransientFileableCmisObject.addToFolder(ObjectId folderId,
boolean allVersions) |
void |
FileableCmisObject.addToFolder(ObjectId folderId,
boolean allVersions)
Adds this object to a folder.
|
Acl |
Session.applyAcl(ObjectId objectId,
List<Ace> addAces,
List<Ace> removeAces,
AclPropagation aclPropagation)
Applies ACL changes to an object and potentially dependent objects.
|
void |
CmisObject.applyPolicy(ObjectId... policyIds)
Applies the provided policies and refreshes this object afterwards.
|
void |
Session.applyPolicy(ObjectId objectId,
ObjectId... policyIds)
Applies a set of policies to an object.
|
void |
Session.applyPolicy(ObjectId objectId,
ObjectId... policyIds)
Applies a set of policies to an object.
|
Document |
TransientDocument.copy(ObjectId targetFolderId) |
Document |
Document.copy(ObjectId targetFolderId)
Creates a copy of this document, including content.
|
Document |
TransientDocument.copy(ObjectId targetFolderId,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addACEs,
List<Ace> removeACEs,
OperationContext context) |
Document |
Document.copy(ObjectId targetFolderId,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addACEs,
List<Ace> removeACEs,
OperationContext context)
Creates a copy of this document, including content.
|
ObjectId |
Session.createDocument(Map<String,?> properties,
ObjectId folderId,
ContentStream contentStream,
VersioningState versioningState)
Creates a new document.
|
ObjectId |
Session.createDocument(Map<String,?> properties,
ObjectId folderId,
ContentStream contentStream,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new document.
|
ObjectId |
Session.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
ObjectId folderId,
VersioningState versioningState)
Creates a new document from a source document.
|
ObjectId |
Session.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
ObjectId folderId,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new document from a source document.
|
Document |
TransientFolder.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
VersioningState versioningState) |
Document |
Folder.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
VersioningState versioningState)
Creates a new document from a source document in this folder.
|
Document |
TransientFolder.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context) |
Document |
Folder.createDocumentFromSource(ObjectId source,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Creates a new document from a source document in this folder.
|
ObjectId |
Session.createFolder(Map<String,?> properties,
ObjectId folderId)
Creates a new folder.
|
ObjectId |
Session.createFolder(Map<String,?> properties,
ObjectId folderId,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new folder.
|
ObjectId |
Session.createPolicy(Map<String,?> properties,
ObjectId folderId)
Creates a new policy.
|
ObjectId |
Session.createPolicy(Map<String,?> properties,
ObjectId folderId,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces)
Creates a new policy.
|
void |
Session.delete(ObjectId objectId)
Deletes an object and, if it is a document, all versions in the version
series.
|
void |
Session.delete(ObjectId objectId,
boolean allVersions)
Deletes an object.
|
Acl |
Session.getAcl(ObjectId objectId,
boolean onlyBasicPermissions)
Fetches the ACL of an object from the repository.
|
ContentStream |
Session.getContentStream(ObjectId docId)
Retrieves the main content stream of a document
|
ContentStream |
Session.getContentStream(ObjectId docId,
String streamId,
BigInteger offset,
BigInteger length)
Retrieves the content stream of a document
|
CmisObject |
Session.getObject(ObjectId objectId)
Returns a CMIS object from the session cache.
|
CmisObject |
Session.getObject(ObjectId objectId,
OperationContext context)
Returns a CMIS object from the session cache.
|
ItemIterable<Relationship> |
Session.getRelationships(ObjectId objectId,
boolean includeSubRelationshipTypes,
RelationshipDirection relationshipDirection,
ObjectType type,
OperationContext context)
Fetches the relationships from or to an object from the repository.
|
FileableCmisObject |
TransientFileableCmisObject.move(ObjectId sourceFolderId,
ObjectId targetFolderId) |
FileableCmisObject |
FileableCmisObject.move(ObjectId sourceFolderId,
ObjectId targetFolderId)
Moves the object.
|
FileableCmisObject |
FileableCmisObject.move(ObjectId sourceFolderId,
ObjectId targetFolderId,
OperationContext context)
Moves the object.
|
void |
TransientFileableCmisObject.removeFromFolder(ObjectId folderId) |
void |
FileableCmisObject.removeFromFolder(ObjectId folderId)
Removes this object from a folder.
|
void |
Session.removeObjectFromCache(ObjectId objectId)
Removes the given object from the cache.
|
void |
CmisObject.removePolicy(ObjectId... policyIds)
Remove the provided policies and refreshes this object afterwards.
|
void |
Session.removePolicy(ObjectId objectId,
ObjectId... policyIds)
Removes a set of policies from an object.
|
void |
Session.removePolicy(ObjectId objectId,
ObjectId... policyIds)
Removes a set of policies from an object.
|
Acl |
Session.setAcl(ObjectId objectId,
List<Ace> aces)
Removes the direct ACEs of an object and sets the provided ACEs.
|
void |
QueryStatement.setId(int parameterIndex,
ObjectId... id)
Sets the designated parameter to the given object id.
|
void |
TransientRelationship.setSourceId(ObjectId id) |
void |
TransientRelationship.setTargetId(ObjectId id) |
Modifier and Type | Method and Description |
---|---|
protected Relationship |
AbstractSessionTest.createRelationship(Session session,
String name,
ObjectId source,
ObjectId target)
Creates a relationship.
|
protected Relationship |
AbstractSessionTest.createRelationship(Session session,
String name,
ObjectId source,
ObjectId target,
String objectTypeId)
Creates a relationship.
|
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.