Examples of GetClientUserDataResponse


Examples of org.geomajas.command.dto.GetClientUserDataResponse

  public void testFetchCorrectObject() {
    GetClientUserDataRequest request = new GetClientUserDataRequest();
    request.setIdentifier(ALLOWED_BEAN_ID);
    request.setClassName(ClientUserDataObject.class.getName());

    GetClientUserDataResponse response = (GetClientUserDataResponse) dispatcher.execute(
        GetClientUserDataRequest.COMMAND, request, null, "en");
    if (response.isError()) {
      response.getErrors().get(0).printStackTrace();
    }
    Assert.assertFalse(response.isError());
    Assert.assertNotNull(response.getInformation());
  }
View Full Code Here

Examples of org.geomajas.command.dto.GetClientUserDataResponse

  public void testFetchWrongObject() {
    GetClientUserDataRequest request = new GetClientUserDataRequest();
    request.setIdentifier(DISALLOWED_BEAN_ID);
    request.setClassName("org.geomajas.configuration.RasterLayerInfo");

    GetClientUserDataResponse response = (GetClientUserDataResponse) dispatcher.execute(
        GetClientUserDataRequest.COMMAND, request, null, "en");
    if (response.isError()) {
      response.getErrors().get(0).printStackTrace();
    }
    Assert.assertTrue(response.isError());
    Assert.assertNull(response.getInformation());
  }
View Full Code Here

Examples of org.geomajas.command.dto.GetClientUserDataResponse

  @Autowired
  private ApplicationContext context;

  public GetClientUserDataResponse getEmptyCommandResponse() {
    return new GetClientUserDataResponse();
  }
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.