Package | Description |
---|---|
org.apache.chemistry.opencmis.client.api |
The OpenCMIS Client API.
|
org.apache.chemistry.opencmis.client.util | |
org.apache.chemistry.opencmis.tck.impl |
Modifier and Type | Method and Description |
---|---|
OperationContext |
Session.createOperationContext()
Creates a new operation context object.
|
OperationContext |
Session.createOperationContext(Set<String> filter,
boolean includeAcls,
boolean includeAllowableActions,
boolean includePolicies,
IncludeRelationships includeRelationships,
Set<String> renditionFilter,
boolean includePathSegments,
String orderBy,
boolean cacheEnabled,
int maxItemsPerPage)
Creates a new operation context object with the given properties.
|
OperationContext |
Session.getDefaultContext()
Returns the current default operation parameters for filtering, paging
and caching.
|
Modifier and Type | Method and Description |
---|---|
CmisObject |
ObjectFactory.convertObject(ObjectData objectData,
OperationContext context) |
Document |
TransientDocument.copy(ObjectId targetFolderId,
Map<String,?> properties,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addACEs,
List<Ace> removeACEs,
OperationContext context)
Deprecated.
|
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.
|
Document |
TransientFolder.createDocument(Map<String,?> properties,
ContentStream contentStream,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Deprecated.
|
Document |
Folder.createDocument(Map<String,?> properties,
ContentStream contentStream,
VersioningState versioningState,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Creates a new 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)
Deprecated.
|
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.
|
Folder |
TransientFolder.createFolder(Map<String,?> properties,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Deprecated.
|
Folder |
Folder.createFolder(Map<String,?> properties,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Creates a new subfolder in this folder.
|
Item |
Folder.createItem(Map<String,?> properties,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Creates a new item in this folder.
|
Policy |
TransientFolder.createPolicy(Map<String,?> properties,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Deprecated.
|
Policy |
Folder.createPolicy(Map<String,?> properties,
List<Policy> policies,
List<Ace> addAces,
List<Ace> removeAces,
OperationContext context)
Creates a new policy in this folder.
|
List<Document> |
TransientDocument.getAllVersions(OperationContext context)
Deprecated.
|
List<Document> |
Document.getAllVersions(OperationContext context)
Fetches all versions of this document using the given
OperationContext . |
ItemIterable<Document> |
TransientFolder.getCheckedOutDocs(OperationContext context)
Deprecated.
|
ItemIterable<Document> |
Session.getCheckedOutDocs(OperationContext context)
Returns all checked out documents with the given
OperationContext
. |
ItemIterable<Document> |
Folder.getCheckedOutDocs(OperationContext context)
Returns all checked out documents in this folder using the given
OperationContext . |
ItemIterable<CmisObject> |
TransientFolder.getChildren(OperationContext context)
Deprecated.
|
ItemIterable<CmisObject> |
Folder.getChildren(OperationContext context)
Returns the children of this folder using the given
OperationContext . |
ChangeEvents |
Session.getContentChanges(String changeLogToken,
boolean includeProperties,
long maxNumItems,
OperationContext context)
Returns the content changes.
|
List<Tree<FileableCmisObject>> |
TransientFolder.getDescendants(int depth,
OperationContext context)
Deprecated.
|
List<Tree<FileableCmisObject>> |
Folder.getDescendants(int depth,
OperationContext context)
Gets the folder descendants starting with this folder using the given
OperationContext . |
List<Tree<FileableCmisObject>> |
TransientFolder.getFolderTree(int depth,
OperationContext context)
Deprecated.
|
List<Tree<FileableCmisObject>> |
Folder.getFolderTree(int depth,
OperationContext context)
Gets the folder tree starting with this folder using the given
OperationContext . |
CmisObject |
Session.getObject(ObjectId objectId,
OperationContext context)
Returns a CMIS object from the session cache.
|
CmisObject |
Session.getObject(String objectId,
OperationContext context)
Returns a CMIS object from the session cache.
|
CmisObject |
Session.getObjectByPath(String path,
OperationContext context)
Returns a CMIS object from the session cache.
|
Document |
TransientDocument.getObjectOfLatestVersion(boolean major,
OperationContext context)
Deprecated.
|
Document |
Document.getObjectOfLatestVersion(boolean major,
OperationContext context)
Fetches the latest major or minor version of this document using the
given
OperationContext . |
List<Folder> |
FileableCmisObject.getParents(OperationContext context)
Returns the parents of this object.
|
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.
|
Document |
Rendition.getRenditionDocument(OperationContext context)
Returns the rendition document using the provides
OperationContext if the rendition is a stand-alone document. |
Folder |
Session.getRootFolder(OperationContext context)
Gets the root folder of the repository with the given
OperationContext . |
CmisObject |
TransientRelationship.getSource(OperationContext context)
Deprecated.
|
CmisObject |
Relationship.getSource(OperationContext context)
Gets the source object using the given
OperationContext . |
CmisObject |
TransientRelationship.getTarget(OperationContext context)
Deprecated.
|
CmisObject |
Relationship.getTarget(OperationContext context)
Gets the target object using the given
OperationContext . |
FileableCmisObject |
FileableCmisObject.move(ObjectId sourceFolderId,
ObjectId targetFolderId,
OperationContext context)
Moves this object.
|
ItemIterable<QueryResult> |
QueryStatement.query(boolean searchAllVersions,
OperationContext context)
Executes the query.
|
ItemIterable<QueryResult> |
Session.query(String statement,
boolean searchAllVersions,
OperationContext context)
Sends a query to the repository using the given
OperationContext . |
ItemIterable<CmisObject> |
Session.queryObjects(String typeId,
String where,
boolean searchAllVersions,
OperationContext context) |
void |
Session.setDefaultContext(OperationContext context)
Sets the current session parameters for filtering, paging and caching.
|
Modifier and Type | Method and Description |
---|---|
static OperationContext |
OperationContextUtils.copyOperationContext(OperationContext context)
Copies an OperationContext object.
|
static OperationContext |
OperationContextUtils.createMaximumOperationContext()
Creates a new OperationContext object that selects everything.
|
static OperationContext |
OperationContextUtils.createMinimumOperationContext()
Creates a new OperationContext object that only selects the bare minimum.
|
static OperationContext |
OperationContextUtils.createOperationContext()
Creates a new OperationContext object.
|
static OperationContext |
OperationContextUtils.createOperationContext(Set<String> filter,
boolean includeAcls,
boolean includeAllowableActions,
boolean includePolicies,
IncludeRelationships includeRelationships,
Set<String> renditionFilter,
boolean includePathSegments,
String orderBy,
boolean cacheEnabled,
int maxItemsPerPage)
Creates a new OperationContext object with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
static OperationContext |
OperationContextUtils.copyOperationContext(OperationContext context)
Copies an OperationContext object.
|
Modifier and Type | Field and Description |
---|---|
static OperationContext |
AbstractSessionTest.SELECT_ALL_NO_CACHE_OC |
static OperationContext |
AbstractSessionTest.SELECT_ALL_NO_CACHE_OC_ORDER_BY_NAME |
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.