@Override public void execute() { ArrayList<String> result = _mgr.getCloudIdentifierResponse(userid); CloudIdentifierResponse response = new CloudIdentifierResponse(); if (result != null) { response.setCloudIdentifier(result.get(0)); response.setSignature(result.get(1)); response.setObjectName("cloudidentifier"); response.setResponseName(getCommandName()); this.setResponseObject(response); } else { throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to get cloud identifier"); } } }
@Override public void execute() { final ArrayList<String> result = _mgr.getCloudIdentifierResponse(userid); final CloudIdentifierResponse response = new CloudIdentifierResponse(); if (result != null) { response.setCloudIdentifier(result.get(0)); response.setSignature(result.get(1)); response.setObjectName("cloudidentifier"); response.setResponseName(getCommandName()); this.setResponseObject(response); } else { throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to get cloud identifier"); } }