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()It will create a new file in current resourceFileModel newRandomFile = FileModel.getRandomFileModel(); dataContent.usingUser(testUser).usingSite(testSite).createContent(newRandomFile);FileModelDataContent. createContent(org.alfresco.dataprep.CMISUtil.DocumentType documentType)This is the entry point of the createContent() method to make REST API or CMIS callFileModelDataContent. createContent(FileModel fileModel)This is the entry point of the createContent() method to make REST API or CMIS callFileModelDataContent. createContentCmisApi(FileModel fileModel)Creates a random document based onCMISUtil.DocumentTypepassed using CMIS Return theDocumentobject on success creationdataContent.usingSite(site).createContent(sourceFile);FileModelDataContent. createContentDocTypeCmisApi(org.alfresco.dataprep.CMISUtil.DocumentType documentType)Creates a random document based onCMISUtil.DocumentTypepassed using CMIS Return theDocumentobject on success creationdataContent.usingUser(userModel).usingResource(myFolder).createContent(DocumentType.TEXT_PLAIN);FileModelDataContent. createContentDocTypeV1Api(org.alfresco.dataprep.AlfrescoHttpClient client, FileModel fileModel, org.alfresco.dataprep.CMISUtil.DocumentType documentType)Creates a random document based onCMISUtil.DocumentTypepassed using REST API Return theDocumentobject on success creationdataContent.usingUser(userModel).usingResource(myFolder).createContent(DocumentType.TEXT_PLAIN);FileModelDataContent. createContentV1Api(org.alfresco.dataprep.AlfrescoHttpClient client, FileModel fileModel)Creates a file using REST API Return theFileModelobject on success creationFileModelDataContent. 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)This is the entry point of the createContent() method to make REST API or CMIS callFileModelDataContent. createContentCmisApi(FileModel fileModel)Creates a random document based onCMISUtil.DocumentTypepassed using CMIS Return theDocumentobject on success creationdataContent.usingSite(site).createContent(sourceFile);FileModelDataContent. createContentDocTypeV1Api(org.alfresco.dataprep.AlfrescoHttpClient client, FileModel fileModel, org.alfresco.dataprep.CMISUtil.DocumentType documentType)Creates a random document based onCMISUtil.DocumentTypepassed using REST API Return theDocumentobject on success creationdataContent.usingUser(userModel).usingResource(myFolder).createContent(DocumentType.TEXT_PLAIN);FileModelDataContent. createContentV1Api(org.alfresco.dataprep.AlfrescoHttpClient client, FileModel fileModel)Creates a file using REST API Return theFileModelobject on success creationvoidDataContent. updateContent(org.alfresco.dataprep.AlfrescoHttpClient client, FileModel fileModel)This method updates the content of the created documentvoidDataContent. updateContent(org.alfresco.dataprep.AlfrescoHttpClient client, FileModel fileModel, org.alfresco.dataprep.CMISUtil.DocumentType documentType)This method updates the content of the created document -
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)
-