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

org.jresearch.commons.gwt.client.service.CrudServiceTools Maven / Gradle / Ivy

package org.jresearch.commons.gwt.client.service;

import javax.annotation.Nonnull;

import org.jresearch.commons.gwt.shared.loader.CrudLoadConfig;
import org.jresearch.commons.gwt.shared.loader.CrudLoadConfigBean;
import org.jresearch.commons.gwt.shared.loader.GxtCrudLoadConfig;
import org.jresearch.commons.gwt.shared.loader.GxtCrudLoadConfigBean;
import org.jresearch.commons.gwt.shared.model.IDomainNewModel;
import org.jresearch.commons.gwt.shared.service.IReadDomainServiceAsync;

/** Helper class to create data loader by remote service */
public class CrudServiceTools, S extends IReadDomainServiceAsync, M>> extends CustomServiceTools, GxtCrudLoadConfig, M, S> {

	public CrudServiceTools(@Nonnull final S service) {
		super(service);
	}

	@Override
	protected GxtCrudLoadConfig createLoadConfig() {
		return new GxtCrudLoadConfigBean<>(new CrudLoadConfigBean());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy