Uses of Class
org.alfresco.utility.model.FileModel
-
Packages that use FileModel Package Description org.alfresco.utility org.alfresco.utility.data org.alfresco.utility.data.provider org.alfresco.utility.dsl org.alfresco.utility.model -
-
Uses of FileModel in org.alfresco.utility
Methods in org.alfresco.utility with parameters of type FileModel Modifier and Type Method Description static java.io.FileUtility. setNewFile(FileModel fileModel)Get newFilewith content based on file model. -
Uses of FileModel in org.alfresco.utility.data
Methods in org.alfresco.utility.data that return FileModel Modifier and Type Method Description FileModelDataContent. createContent(org.alfresco.dataprep.CMISUtil.DocumentType documentType)Creates a random document based onCMISUtil.DocumentTypepassed Return theDocumentobject on success creationdataContent.usingUser(userModel).usingResource(myFolder).createContent(DocumentType.TEXT_PLAIN);FileModelDataContent. createContent(FileModel fileModel)Creates a random document based onCMISUtil.DocumentTypepassed Return theDocumentobject on success creationdataContent.usingSite(site).createContent(sourceFile);FileModelDataContent. getCustomModel()Returns customModel file is one exists or is deployed using deployContentModel otherwise nullMethods in org.alfresco.utility.data with parameters of type FileModel Modifier and Type Method Description voidDataContent. addFileToFavorites(FileModel file)Add file to favoritesFileModelDataContent. createContent(FileModel fileModel)Creates a random document based onCMISUtil.DocumentTypepassed Return theDocumentobject on success creationdataContent.usingSite(site).createContent(sourceFile); -
Uses of FileModel in org.alfresco.utility.data.provider
Methods in org.alfresco.utility.data.provider that return FileModel Modifier and Type Method Description FileModelXMLFileData. getModel() -
Uses of FileModel in org.alfresco.utility.dsl
Methods in org.alfresco.utility.dsl that return types with arguments of type FileModel Modifier and Type Method Description java.util.List<FileModel>DSLFile. getFiles()Methods in org.alfresco.utility.dsl with parameters of type FileModel Modifier and Type Method Description ProtocolDSLFile. createFile(FileModel fileModel) -
Uses of FileModel in org.alfresco.utility.model
Fields in org.alfresco.utility.model with type parameters of type FileModel Modifier and Type Field Description protected java.util.List<FileModel>FolderModel. filesMethods in org.alfresco.utility.model that return FileModel Modifier and Type Method Description FileModelFileModel. cloneAsWorkingCopy()Clone file model to working copy.FileModelFolderModel. generateRandomFileChild(FileType fileType)This will generate and add toFolderModel.getFiles()array the children filesstatic FileModelFileModel. getFileModelBasedOnTestDataFile(java.lang.String resourceDataFile)This will generate a new FileModel having one existing file from src/main/resources/shared-data locationstatic FileModelFileModel. getFileModelWithContentSizeOfxMB(int size)Create a FileModel with content size of {@param size} MB e.g.: getFileModelWithContentSizeOfxMB(1) will return a FileModel with a content of 1 MBstatic FileModelFileModel. getRandomFileModel(FileType fileType)Generates a new randomFileModelobjectstatic FileModelFileModel. getRandomFileModel(FileType fileType, java.lang.String content)Generates a new randomFileModelobject with contentFileModelFolderModel. lastFile()Methods in org.alfresco.utility.model that return types with arguments of type FileModel Modifier and Type Method Description java.util.List<FileModel>FolderModel. getFiles()Method parameters in org.alfresco.utility.model with type arguments of type FileModel Modifier and Type Method Description voidFolderModel. setFiles(java.util.List<FileModel> files)Constructors in org.alfresco.utility.model with parameters of type FileModel Constructor Description FileModel(FileModel originalFile)
-