| Package | Description |
|---|---|
| org.alfresco.utility.data | |
| org.alfresco.utility.dsl | |
| org.alfresco.utility.model |
| Modifier and Type | Method and Description |
|---|---|
ContentModel |
DataContent.createCustomContent(ContentModel contentModel,
String objectTypeID,
CustomObjectTypeProperties objectTypeProperty) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataUser.assertTrashCanDoesNotHaveContent(ContentModel... contents)
Verify that content does not exist in trash can
|
void |
DataUser.assertTrashCanHasContent(ContentModel... contents)
Verify if content exists in trash can
|
ContentModel |
DataContent.createCustomContent(ContentModel contentModel,
String objectTypeID,
CustomObjectTypeProperties objectTypeProperty) |
void |
DataContent.renameContent(ContentModel newContent)
Use this to rename a file or a folder
dataContent.usingUser(adminUser).usingSite(siteModel).usingResource(repoFolder).renameContent(newRepoFolder);
|
Data |
TestData.usingResource(ContentModel model)
Resource can be a folder, file where we want to create new content or
make assertion.
|
| Modifier and Type | Method and Description |
|---|---|
ContentModel |
DSLProtocol.getLastContentModel() |
| Modifier and Type | Method and Description |
|---|---|
Protocol |
DSLContentModelAction.copyTo(ContentModel destination)
Copy last resource content to destination.
|
Protocol |
DSLContentModelAction.moveTo(ContentModel destination)
Move last resource content to destination.
|
void |
DSLProtocol.setLastContentModel(ContentModel lastContentModel)
The last ContentModel tested from
DSLProtocol.usingResource(ContentModel) |
abstract Client |
DSLProtocol.usingResource(ContentModel model)
Operations on files or folders If you call this method you can use all
assertion within this wrapper
|
Data |
DSL.usingResource(ContentModel model)
Defines the current file/folder that is under test
|
| Modifier and Type | Class and Description |
|---|---|
class |
DataListItemModel
https://community.alfresco.com/thread/202546-cmis-data-list |
class |
DataListModel |
class |
FileModel |
class |
FolderModel |
| Modifier and Type | Method and Description |
|---|---|
static ContentModel |
ContentModel.my() |
ContentModel |
ContentModel.rename(String newName) |
Copyright © 2005–2019 Alfresco Software. All rights reserved.