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 | Interface and Description |
---|---|
interface |
Document
CMIS document interface.
|
interface |
FileableCmisObject
Fileable CMIS object.
|
interface |
Folder
CMIS folder interface.
|
interface |
Item
CMIS item interface.
|
interface |
Policy
CMIS policy interface.
|
interface |
Relationship
CMIS relationship interface.
|
Modifier and Type | Method and Description |
---|---|
CmisObject |
ObjectFactory.convertObject(ObjectData objectData,
OperationContext context) |
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.
|
CmisObject |
Session.getObject(String objectId)
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)
Returns a CMIS object from the session cache.
|
CmisObject |
Session.getObjectByPath(String path,
OperationContext context)
Returns a CMIS object from the session cache.
|
CmisObject |
Session.getObjectByPath(String parentPath,
String name)
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.
|
CmisObject |
Relationship.getSource()
Gets the source object.
|
CmisObject |
Relationship.getSource(OperationContext context)
Gets the source object using the given
OperationContext . |
CmisObject |
Relationship.getTarget()
Gets the target object.
|
CmisObject |
Relationship.getTarget(OperationContext context)
Gets the target object using the given
OperationContext . |
CmisObject |
CmisObject.rename(String newName)
Renames this object (changes the value of
cmis:name ). |
CmisObject |
CmisObject.updateProperties(Map<String,?> properties)
Updates the provided properties and refreshes this object afterwards.
|
CmisObject |
CmisObject.updateProperties(Map<String,?> properties,
List<String> addSecondaryTypeIds,
List<String> removeSecondaryTypeIds)
Updates the provided properties and refreshes this object afterwards.
|
Modifier and Type | Method and Description |
---|---|
ItemIterable<CmisObject> |
Folder.getChildren()
Returns the children of this folder.
|
ItemIterable<CmisObject> |
Folder.getChildren(OperationContext context)
Returns the children of this folder using the given
OperationContext . |
Future<CmisObject> |
AsyncSession.getObject(ObjectId objectId)
Returns a CMIS object from the session cache.
|
Future<CmisObject> |
AsyncSession.getObject(ObjectId objectId,
OperationContext context)
Returns a CMIS object from the session cache.
|
Future<CmisObject> |
AsyncSession.getObject(String objectId)
Returns a CMIS object from the session cache.
|
Future<CmisObject> |
AsyncSession.getObject(String objectId,
OperationContext context)
Returns a CMIS object from the session cache.
|
Future<CmisObject> |
AsyncSession.getObjectByPath(String path)
Returns a CMIS object from the session cache.
|
Future<CmisObject> |
AsyncSession.getObjectByPath(String path,
OperationContext context)
Returns a CMIS object from the session cache.
|
Future<CmisObject> |
AsyncSession.getObjectByPath(String parentPath,
String name)
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.
|
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. |
Modifier and Type | Method and Description |
---|---|
List<BulkUpdateObjectIdAndChangeToken> |
Session.bulkUpdateProperties(List<CmisObject> objects,
Map<String,?> properties,
List<String> addSecondaryTypeIds,
List<String> removeSecondaryTypeIds)
Updates multiple objects in one request.
|
Modifier and Type | Method and Description |
---|---|
static CmisObject |
FileUtils.getObject(String pathOrIdOfObject,
Session session)
Gets an object by path or object id.
|
Modifier and Type | Method and Description |
---|---|
static void |
FileUtils.printProperties(CmisObject object)
Prints out all of the properties for this object to System.out.
|
static void |
FileUtils.printProperties(CmisObject object,
PrintStream out)
Prints out all of the properties for this object to the given
PrintStream.
|
Modifier and Type | Method and Description |
---|---|
protected CmisTestResult |
AbstractSessionTest.assertAllowableAction(CmisObject object,
Action action,
CmisTestResult success,
CmisTestResult failure) |
protected CmisTestResult |
AbstractSessionTest.assertEquals(CmisObject expected,
CmisObject actual,
CmisTestResult success,
CmisTestResult failure,
boolean checkAcls,
boolean checkPolicies) |
protected CmisTestResult |
AbstractSessionTest.assertNotAllowableAction(CmisObject object,
Action action,
CmisTestResult success,
CmisTestResult failure) |
protected CmisTestResult |
AbstractSessionTest.assertShallowEquals(CmisObject expected,
CmisObject actual,
CmisTestResult success,
CmisTestResult failure) |
protected CmisTestResult |
AbstractSessionTest.checkObject(Session session,
CmisObject object,
String[] properties,
String message) |
protected CmisTestResult |
AbstractSessionTest.checkRenditions(Session session,
CmisObject object,
String message) |
protected CmisTestResult |
AbstractSessionTest.checkVersionHistory(Session session,
CmisObject object,
String[] properties,
String message) |
protected void |
AbstractSessionTest.deleteObject(CmisObject object)
Deletes an object and checks if it is deleted.
|
protected boolean |
AbstractSessionTest.exists(CmisObject object)
Tests if an object exists by refreshing it.
|
protected String[] |
AbstractSessionTest.getAllProperties(CmisObject object) |
Modifier and Type | Method and Description |
---|---|
protected CmisTestResult |
AbstractSessionTest.assertEqualObjectList(List<? extends CmisObject> expected,
List<? extends CmisObject> actual,
CmisTestResult success,
CmisTestResult failure) |
protected CmisTestResult |
AbstractSessionTest.assertEqualObjectList(List<? extends CmisObject> expected,
List<? extends CmisObject> actual,
CmisTestResult success,
CmisTestResult failure) |
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.