| Package | Description |
|---|---|
| org.alfresco.utility.data | |
| org.alfresco.utility.model |
| Modifier and Type | Method and Description |
|---|---|
static String |
RandomData.getRandomFile(FileType fileType) |
| Modifier and Type | Method and Description |
|---|---|
static FileType |
FileType.fromName(String fileName) |
FileType |
FileModel.getFileType() |
static FileType |
FileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileType[] |
FileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
FileModel |
FolderModel.generateRandomFileChild(FileType fileType)
This will generate and add to
FolderModel.getFiles() array the children files |
static FileModel |
FileModel.getRandomFileModel(FileType fileType)
Generates a new random
FileModel object |
static FileModel |
FileModel.getRandomFileModel(FileType fileType,
String content)
Generates a new random
FileModel object with content |
void |
FileModel.setFileType(FileType fileType) |
| Constructor and Description |
|---|
FileModel(String name,
FileType fileType) |
FileModel(String name,
FileType fileType,
String content) |
FileModel(String name,
String title,
String description,
FileType fileType) |
FileModel(String name,
String title,
String description,
FileType fileType,
String content) |
Copyright © 2005–2019 Alfresco Software. All rights reserved.