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 |
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 |
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 |
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 |
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 |
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> |
Document.getAllVersions(OperationContext context)
Fetches all versions of this document using the given
OperationContext . |
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> |
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.
|
ItemIterable<ChangeEvent> |
Session.getContentChanges(String changeLogToken,
boolean includeProperties,
OperationContext context)
Returns an iterator of content changes, starting from the given change
log token to the latest entry in the change log.
|
List<Tree<FileableCmisObject>> |
Folder.getDescendants(int depth,
OperationContext context)
Gets the folder descendants starting with this folder using the given
OperationContext . |
List<Tree<FileableCmisObject>> |
Folder.getFolderTree(int depth,
OperationContext context)
Gets the folder tree starting with this folder using the given
OperationContext . |
Document |
Session.getLatestDocumentVersion(ObjectId objectId,
boolean major,
OperationContext context)
Returns the latest version in a version series.
|
Future<Document> |
AsyncSession.getLatestDocumentVersion(ObjectId objectId,
boolean major,
OperationContext context)
Returns the latest version in a version series.
|
Document |
Session.getLatestDocumentVersion(ObjectId objectId,
OperationContext context)
Returns the latest version in a version series.
|
Future<Document> |
AsyncSession.getLatestDocumentVersion(ObjectId objectId,
OperationContext context)
Returns the latest version in a version series.
|
Document |
Session.getLatestDocumentVersion(String objectId,
boolean major,
OperationContext context)
Returns the latest version in a version series.
|
Future<Document> |
AsyncSession.getLatestDocumentVersion(String objectId,
boolean major,
OperationContext context)
Returns the latest version in a version series.
|
Document |
Session.getLatestDocumentVersion(String objectId,
OperationContext context)
Returns the latest version in a version series.
|
Future<Document> |
AsyncSession.getLatestDocumentVersion(String objectId,
OperationContext context)
Returns the latest version in a version series.
|
CmisObject |
Session.getObject(ObjectId objectId,
OperationContext context)
Returns a CMIS object from the session cache.
|
Future<CmisObject> |
AsyncSession.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.
|
Future<CmisObject> |
AsyncSession.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.
|
Future<CmisObject> |
AsyncSession.getObjectByPath(String path,
OperationContext context)
Returns a CMIS object from the session cache.
|
CmisObject |
Session.getObjectByPath(String parentPath,
String name,
OperationContext context)
Returns a CMIS object from the session cache.
|
Future<CmisObject> |
AsyncSession.getObjectByPath(String parentPath,
String name,
OperationContext context)
Returns a CMIS object from the session cache.
|
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 provided
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 |
Relationship.getSource(OperationContext context)
Gets the source object using the given
OperationContext . |
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)
Builds a CMIS query and returns the query results as an iterator of
CmisObject objects. |
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.createMinimumOperationContext(String... propertyQueryNames)
Creates a new OperationContext object that only selects the bare minimum
plus the provided properties.
|
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.
|
static OperationContext |
OperationContextUtils.unmodifiableOperationContext(OperationContext context)
Returns an unmodifiable view of the specified OperationContext.
|
Modifier and Type | Method and Description |
---|---|
static OperationContext |
OperationContextUtils.copyOperationContext(OperationContext context)
Copies an OperationContext object.
|
static OperationContext |
OperationContextUtils.unmodifiableOperationContext(OperationContext context)
Returns an unmodifiable view of the specified OperationContext.
|
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–2017 The Apache Software Foundation. All rights reserved.