All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.computate.vertx.request.ComputateSiteRequest Maven / Gradle / Ivy

/*
 * Copyright (c) 2018-2022 Computate Limited Liability Company in Utah, USA. 
 *
 * This program and the accompanying materials are made available under the
 * terms of the GNU GENERAL PUBLIC LICENSE Version 3 which is available at
 * 
 * https://www.gnu.org/licenses/gpl-3.0.en.html
 * 
 * You may not propagate or modify a covered work except as expressly provided 
 * under this License. Any attempt otherwise to propagate or modify it is void, 
 * and will automatically terminate your rights under this License (including 
 * any patent licenses granted under the third paragraph of section 11).
 */
package org.computate.vertx.request;

import java.util.List;
import java.util.Map;

import org.computate.search.request.ComputateSearchSiteRequest;
import org.computate.vertx.api.ApiRequest;
import org.computate.vertx.model.user.ComputateSiteUser;

import io.vertx.core.MultiMap;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.auth.User;
import io.vertx.ext.web.api.service.ServiceRequest;
import io.vertx.ext.web.client.WebClient;
import io.vertx.sqlclient.SqlConnection;

/**
 * Keyword: classSimpleNameSiteRequest
 */
public interface ComputateSiteRequest extends ComputateSearchSiteRequest {

	String getUserName();

	String getUserFullName();

	String getRequestUri();

	String getRequestMethod();

	ServiceRequest getServiceRequest();

	ComputateSiteRequest copy();

	void setJsonObject(JsonObject jsonObject);

	void setApiRequest_(ApiRequest apiRequest);

	void setUserName(String userName);

	void setUserFirstName(String userFirstName);

	void setUserLastName(String userLastName);

	void setUserKey(Long pk);

	ApiRequest getApiRequest_();

	JsonObject getJsonObject();

	SqlConnection getSqlConnection();

	List getUserResourceRoles();

	List getUserRealmRoles();

	Map getRequestVars();

	void setWebClient(WebClient webClient);

	void setUser(User user);

	void setConfig(JsonObject config);

	void setServiceRequest(ServiceRequest serviceRequest);

	void initDeepForClass();

	 void setSiteRequest_(T siteRequest);

	void setRequestHeaders(MultiMap requestHeaders);

	JsonObject getConfig();

	WebClient getWebClient();

	 T getSiteUser_(Class clazz);

	 void setSiteUser(T siteUser_);

	User getUser();

	JsonObject getUserPrincipal();

	void setUserPrincipal(JsonObject userPrincipal);

	void setUserEmail(String string);

	void setUserId(String string);

	String getLang();

	Long getUserKey();

	String getUserEmail();

	MultiMap getRequestHeaders();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy