Examples of actionPrompt()


Examples of org.apache.isis.viewer.json.applib.domainobjects.DomainObjectResource.actionPrompt()

    public void actionPrompt() throws Exception {
        // given
        final DomainObjectResource domainObjectResource = client.getDomainObjectResource();

        // when
        final Response actionPromptResp = domainObjectResource.actionPrompt("OID:1", "list");
        final RestfulResponse<ObjectActionRepresentation> actionPromptJsonResp = RestfulResponse.ofT(actionPromptResp);
        assertThat(actionPromptJsonResp.getStatus().getFamily(), is(Family.SUCCESSFUL));

        // then
        final ObjectActionRepresentation actionPromptRepr = actionPromptJsonResp.getEntity();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.