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.
|
Modifier and Type | Method and Description |
---|---|
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,
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 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) |
abstract void |
AbstractSessionTest.run(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
SecurityTest.run(Session session) |
void |
RootFolderTest.run(Session session) |
void |
RepositoryInfoTest.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 |
UpdateSmokeTest.run(Session session) |
void |
SetAndDeleteContentTest.run(Session session) |
void |
NameCharsetTest.run(Session session) |
void |
MoveTest.run(Session session) |
void |
DeleteTreeTest.run(Session session) |
void |
CreateDocumentWithoutContent.run(Session session) |
void |
CreateBigDocument.run(Session session) |
void |
CreateAndDeleteRelationshipTest.run(Session session) |
void |
CreateAndDeleteItemTest.run(Session session) |
void |
CreateAndDeleteFolderTest.run(Session session) |
void |
CreateAndDeleteDocumentTest.run(Session session) |
void |
CopyTest.run(Session session) |
void |
ContentRangesTest.run(Session session) |
void |
BulkUpdatePropertiesTest.run(Session session) |
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 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 |
QueryRootFolderTest.run(Session session) |
void |
QueryLikeTest.run(Session session) |
void |
ContentChangesSmokeTest.run(Session session) |
protected boolean |
ContentChangesSmokeTest.supportsContentChanges(Session session) |
protected boolean |
AbstractQueryTest.supportsQuery(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
SecondaryTypesTest.run(Session session) |
void |
CreateAndDeleteTypeTest.run(Session session) |
void |
BaseTypesTest.run(Session session) |
Modifier and Type | Method and Description |
---|---|
void |
VersioningStateCreateTest.run(Session session) |
void |
VersioningSmokeTest.run(Session session) |
void |
VersionDeleteTest.run(Session session) |
void |
CheckedOutTest.run(Session session) |
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.