Uses of Class
org.alfresco.rest.core.RestWrapper
-
-
Uses of RestWrapper in org.alfresco.rest
Fields in org.alfresco.rest declared as RestWrapper Modifier and Type Field Description protected RestWrapperRestTest. restClient -
Uses of RestWrapper in org.alfresco.rest.core
Methods in org.alfresco.rest.core that return RestWrapper Modifier and Type Method Description RestWrapperRestWrapper. assertHeaderValueContains(java.lang.String headerName, java.lang.String expectedHeaderValue)Verify response header contains a specific value Example: assertHeaderValueContains("Content-Disposition", "filename=\"myfile.txt\"");RestWrapperRestWrapper. assertLastExceptionContains(java.lang.String exception)RestWrapperRestWrapper. assertStatusCodeIs(org.springframework.http.HttpStatus statusCode)Assert that a specific status code is returnedRestWrapperRestWrapper. authenticateUser(org.alfresco.utility.model.UserModel userModel)Authenticate specific user to Alfresco REST APIRestWrapperRestWrapper. clearBasePath()just clear the base pathRestWrapperRestWrapper. noAuthentication()RestWrapperRestWrapper. usingContentType(io.restassured.http.ContentType defaultContentType)RestWrapperRestWrapper. where(java.lang.String whereExpression)Construct the Where clause of any REST API call You can use the where parameter to restrict the list in the response to entries of a specific kind.RestWrapperRestWrapper. withParams(java.lang.String... parameters)Send key=value parameters All of them will be automatically passed to url. -
Uses of RestWrapper in org.alfresco.rest.model.builder
Constructors in org.alfresco.rest.model.builder with parameters of type RestWrapper Constructor Description NodesBuilder(RestWrapper restWrapper, org.alfresco.utility.model.RepoTestModel repoModel)How you can use to create nested nodes: will create in Admin's Repository: - F1-P-randomname> - F1-P-randomname - F3-P-randomname ------file1-randomname ------file2-randomname ------F3-randomnamerestClient.authenticateUser(dataUser.getAdminUser()).withCoreAPI() .usingNode(ContentModel.my()) .createHierarcy() .folder("F1-P") .folder("F2-P") .folder("F3-P") .file("file1") .file("file2") .folder("F4") -
Uses of RestWrapper in org.alfresco.rest.requests
Fields in org.alfresco.rest.requests declared as RestWrapper Modifier and Type Field Description protected RestWrapperModelRequest. restWrapperMethods in org.alfresco.rest.requests that return RestWrapper Modifier and Type Method Description RestWrapperPeople. deleteFileFromFavorites(org.alfresco.utility.model.FileModel fileModel)Delete a file from favorites for a specific user using DELETE call on "people/{personId}/favorites/{favoriteId}"RestWrapperPeople. deleteFolderFromFavorites(org.alfresco.utility.model.FolderModel folderModel)Delete a folder from favorites for a specific user using DELETE call on "people/{personId}/favorites/{favoriteId}"RestWrapperPeople. deleteSiteFromFavorites(org.alfresco.utility.model.SiteModel site)Delete site from favorites for a specific user using DELETE call on "people/{personId}/favorites/{favoriteId}"Constructors in org.alfresco.rest.requests with parameters of type RestWrapper Constructor Description Actions(RestWrapper restWrapper)AdminConsole(RestWrapper restWrapper)Audit(RestWrapper restWrapper)CustomAspectModelManager(org.alfresco.utility.model.CustomContentModel customContentModel, org.alfresco.utility.model.CustomAspectModel aspectModel, RestWrapper restWrapper)CustomModelManager(RestWrapper restWrapper)CustomModelManager(org.alfresco.utility.model.CustomContentModel customContentModel, RestWrapper restWrapper)CustomModelProperties(RestWrapper restWrapper)CustomTypeManager(org.alfresco.utility.model.CustomContentModel customContentModel, RestCustomTypeModel customTypeModel, RestWrapper restWrapper)Deployments(RestWrapper restWrapper)Deployments(RestDeploymentModel deployment, RestWrapper restWrapper)Downloads(RestWrapper restWrapper)Downloads(RestDownloadsModel downloadsModel, RestWrapper restWrapper)Groups(RestWrapper restWrapper)ModelRequest(RestWrapper restWrapper)Networks(RestWrapper restWrapper)Node(RestWrapper restWrapper)Node(org.alfresco.utility.model.RepoTestModel repoModel, RestWrapper restWrapper)People(org.alfresco.utility.model.UserModel person, RestWrapper restWrapper)ProcessDefinitions(RestWrapper restWrapper)ProcessDefinitions(RestProcessDefinitionModel processDefinition, RestWrapper restWrapper)Processes(RestWrapper restWrapper)Processes(org.alfresco.utility.model.ProcessModel processModel, RestWrapper restWrapper)Queries(RestWrapper restWrapper)SharedLinks(RestWrapper restWrapper)Site(org.alfresco.utility.model.SiteModel site, RestWrapper restWrapper)Tags(RestTagModel tag, RestWrapper restWrapper)Task(RestWrapper restWrapper)Task(RestWrapper restWrapper, org.alfresco.utility.model.TaskModel task)Tenant(RestWrapper restWrapper, RestProperties restProperties)Trashcan(RestWrapper restWrapper) -
Uses of RestWrapper in org.alfresco.rest.requests.aosAPI
Constructors in org.alfresco.rest.requests.aosAPI with parameters of type RestWrapper Constructor Description RestAosAPI(RestWrapper restWrapper) -
Uses of RestWrapper in org.alfresco.rest.requests.authAPI
Constructors in org.alfresco.rest.requests.authAPI with parameters of type RestWrapper Constructor Description RestAuthAPI(RestWrapper restWrapper) -
Uses of RestWrapper in org.alfresco.rest.requests.cmisAPI
Constructors in org.alfresco.rest.requests.cmisAPI with parameters of type RestWrapper Constructor Description RestCmisAPI(RestWrapper restWrapper) -
Uses of RestWrapper in org.alfresco.rest.requests.coreAPI
Constructors in org.alfresco.rest.requests.coreAPI with parameters of type RestWrapper Constructor Description RestCoreAPI(RestWrapper restWrapper) -
Uses of RestWrapper in org.alfresco.rest.requests.discoveryAPI
Constructors in org.alfresco.rest.requests.discoveryAPI with parameters of type RestWrapper Constructor Description RestDiscoveryAPI(RestWrapper restWrapper) -
Uses of RestWrapper in org.alfresco.rest.requests.privateAPI
Constructors in org.alfresco.rest.requests.privateAPI with parameters of type RestWrapper Constructor Description RestPrivateAPI(RestWrapper restWrapper) -
Uses of RestWrapper in org.alfresco.rest.requests.search
Constructors in org.alfresco.rest.requests.search with parameters of type RestWrapper Constructor Description SearchAPI(RestWrapper restWrapper)SearchSQLAPI(RestWrapper restWrapper)SearchSQLJDBC(RestWrapper restWrapper)ShardInfoAPI(RestWrapper restWrapper)ConstructorSolrAdminAPI(RestWrapper restWrapper)SolrAPI(RestWrapper restWrapper) -
Uses of RestWrapper in org.alfresco.rest.requests.syncServiceAPI
Methods in org.alfresco.rest.requests.syncServiceAPI that return RestWrapper Modifier and Type Method Description RestWrapperSync. endSync(RestSyncNodeSubscriptionModel nodeSubscriptionModel, RestSyncSetRequestModel sync)Constructors in org.alfresco.rest.requests.syncServiceAPI with parameters of type RestWrapper Constructor Description Healthcheck(RestWrapper restWrapper)Subscribers(RestWrapper restWrapper)Subscriptions(RestSubscriberModel subscriber, RestWrapper restWrapper)Sync(RestSyncNodeSubscriptionModel subscription, RestWrapper restWrapper) -
Uses of RestWrapper in org.alfresco.rest.requests.workflowAPI
Constructors in org.alfresco.rest.requests.workflowAPI with parameters of type RestWrapper Constructor Description RestWorkflowAPI(RestWrapper restWrapper)
-