Modifier and Type | Method and Description |
---|---|
<T extends Session> |
Repository.createSession()
Creates a session for this repository.
|
Modifier and Type | Method and Description |
---|---|
Session |
SessionFactory.createSession(Map<String,String> parameters)
Creates a new session.
|
Session |
AsyncSession.getSession()
Returns the session object.
|
Modifier and Type | Method and Description |
---|---|
AsyncSession |
AsyncSessionFactory.createAsyncSession(Session session)
Creates a
AsyncSession session object. |
AsyncSession |
AsyncSessionFactory.createAsyncSession(Session session,
int maxParallelRequests)
Creates a
AsyncSession session object. |
void |
ObjectFactory.initialize(Session session,
Map<String,String> parameters) |
Modifier and Type | Method and Description |
---|---|
static Document |
FileUtils.createDocumentFromFile(String parentIdOrPath,
File file,
String type,
VersioningState versioningState,
Session session)
Creates a document from a file.
|
static Folder |
FileUtils.createFolder(String parentIdOrPath,
String name,
String type,
Session session)
Creates a folder using a String identifier.
|
static Document |
FileUtils.createTextDocument(String parentIdOrPath,
String name,
String content,
String type,
VersioningState versioningState,
Session session)
Creates a text document from a string.
|
static void |
FileUtils.delete(String pathOrIdOfObject,
Session session)
Deletes an object by path or id (string identifier).
|
static void |
FileUtils.download(String docIdOrPath,
String destinationPath,
Session session)
Downloads a document by its id or path.
|
static Folder |
FileUtils.getFolder(String pathOrIdOfObject,
Session session)
Gets a folder by path or object id.
|
static CmisObject |
FileUtils.getObject(String pathOrIdOfObject,
Session session)
Gets an object by path or object id.
|
Modifier and Type | Method and Description |
---|---|
protected CmisTestResult |
AbstractSessionTest.checkACL(Session session,
Acl acl,
boolean checkExact,
String message) |
protected CmisTestResult |
AbstractSessionTest.checkChildren(Session session,
Folder folder,
String message) |
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.checkTypeDefinition(Session session,
TypeDefinition type,
String message) |
protected CmisTestResult |
AbstractSessionTest.checkVersionHistory(Session session,
CmisObject object,
String[] properties,
String message) |
protected Document |
AbstractSessionTest.createDocument(Session session,
Folder parent,
String name,
String content)
Creates a document.
|
protected Document |
AbstractSessionTest.createDocument(Session session,
Folder parent,
String name,
String objectTypeId,
String[] secondaryTypeIds,
String content)
Creates a document.
|
protected Folder |
AbstractSessionTest.createFolder(Session session,
Folder parent,
String name)
Creates a folder.
|
protected Folder |
AbstractSessionTest.createFolder(Session session,
Folder parent,
String name,
String objectTypeId)
Creates a folder.
|
protected Item |
AbstractSessionTest.createItem(Session session,
Folder parent,
String name)
Creates a item.
|
protected Item |
AbstractSessionTest.createItem(Session session,
Folder parent,
String name,
String objectTypeId)
Creates a item.
|
protected Policy |
AbstractSessionTest.createPolicy(Session session,
Folder parent,
String name,
String policyText)
Creates a policy.
|
protected Policy |
AbstractSessionTest.createPolicy(Session session,
Folder parent,
String name,
String policyText,
String objectTypeId)
Creates a policy.
|
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.
|
protected Folder |
AbstractSessionTest.createTestFolder(Session session)
Creates a test folder.
|
protected ObjectType |
AbstractSessionTest.createType(Session session,
TypeDefinition typeDef)
Creates a new type.
|
protected void |
AbstractSessionTest.deleteType(Session session,
String typeId)
Deletes a type.
|
protected RepositoryInfo |
AbstractSessionTest.getRepositoryInfo(Session session) |
protected boolean |
AbstractSessionTest.hasItems(Session session) |
protected boolean |
AbstractSessionTest.hasPolicies(Session session) |
protected boolean |
AbstractSessionTest.hasRelationships(Session session) |
protected boolean |
AbstractSessionTest.hasSecondaries(Session session) |
protected boolean |
AbstractSessionTest.isGetDescendantsSupported(Session session) |
protected boolean |
AbstractSessionTest.isGetFolderTreeSupported(Session session) |
protected boolean |
AbstractSessionTest.isOrderByNameSupported(Session session) |
abstract void |
AbstractSessionTest.run(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryInfoTest.run(Session session) |
void |
RootFolderTest.run(Session session) |
void |
SecurityTest.run(Session session) |
Modifier and Type | Method and Description |
---|---|
protected CapabilityAcl |
ACLSmokeTest.getAclCapability(Session session) |
void |
ACLSmokeTest.run(Session session) |
protected boolean |
ACLSmokeTest.supportsACLs(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
NameCharsetTest.run(Session session) |
void |
BulkUpdatePropertiesTest.run(Session session) |
void |
CreateInvalidTypeTest.run(Session session) |
void |
UpdateSmokeTest.run(Session session) |
void |
ContentRangesTest.run(Session session) |
void |
AsyncCreateAndDeleteDocumentTest.run(Session session) |
void |
CreateDocumentWithoutContent.run(Session session) |
void |
DeleteTreeTest.run(Session session) |
void |
CreateAndDeleteRelationshipTest.run(Session session) |
void |
ChangeTokenTest.run(Session session) |
void |
CopyTest.run(Session session) |
void |
CreateBigDocument.run(Session session) |
void |
AsyncCreateAndDeleteFolderTest.run(Session session) |
void |
CreateAndDeleteDocumentTest.run(Session session) |
void |
SetAndDeleteContentTest.run(Session session) |
void |
OperationContextTest.run(Session session) |
void |
CreateAndDeleteItemTest.run(Session session) |
void |
MoveTest.run(Session session) |
void |
CreateAndDeleteFolderTest.run(Session session) |
void |
WhitespaceInNameTest.run(Session session) |
void |
PropertyFilterTest.run(Session session) |
void |
CreateAndDeletePolicyTest.run(Session session) |
void |
OperationContextTest.runHighLevelApiTests(Session session,
Folder testFolder,
Document testDocument)
Checks for not requested properties, Allowable Actions, ACLs, renditions,
relationships, and policies.
|
void |
OperationContextTest.runLowLevelApiTests(Session session,
Folder testFolder,
Document testDocument)
Checks for change events and path segments.
|
Modifier and Type | Method and Description |
---|---|
void |
UnfilingTest.run(Session session) |
void |
MultifilingTest.run(Session session) |
protected boolean |
MultifilingTest.supportsMultifiling(Session session) |
protected boolean |
UnfilingTest.supportsUnfiling(Session session) |
Modifier and Type | Method and Description |
---|---|
protected void |
ContentChangesSmokeTest.checkChangeEvent(Session session,
ChangeEvent event) |
protected CmisTestResult |
QuerySmokeTest.checkQueryResult(Session session,
QueryResult qr,
ObjectType type,
String message) |
protected boolean |
AbstractQueryTest.isFulltextOnly(Session session) |
protected void |
QueryRootFolderTest.queryByDate(Session session) |
protected void |
QueryRootFolderTest.queryById(Session session) |
void |
QuerySmokeTest.run(Session session) |
void |
QueryForObject.run(Session session) |
void |
ContentChangesSmokeTest.run(Session session) |
void |
QueryInFolderTest.run(Session session) |
void |
InvalidQueryTest.run(Session session) |
void |
QueryPagingTest.run(Session session) |
void |
QueryRootFolderTest.run(Session session) |
void |
QueryLikeTest.run(Session session) |
void |
QueryForObject.runDocumentQuery(Session session,
Document testDocument) |
void |
QueryForObject.runFolderQuery(Session session,
Folder testFolder) |
protected boolean |
ContentChangesSmokeTest.supportsContentChanges(Session session) |
protected boolean |
AbstractQueryTest.supportsQuery(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
BaseTypesTest.run(Session session) |
void |
SecondaryTypesTest.run(Session session) |
void |
CreateAndDeleteTypeTest.run(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
LatestAccessibleStateIdTest.run(Session session) |
void |
VersioningSmokeTest.run(Session session) |
void |
CheckedOutTest.run(Session session) |
void |
VersioningStateCreateTest.run(Session session) |
void |
VersionDeleteTest.run(Session session) |
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.