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

com.foreach.across.modules.user.services.GroupPropertiesServiceImpl Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
package com.foreach.across.modules.user.services;

import com.foreach.across.modules.properties.business.StringPropertiesSource;
import com.foreach.across.modules.properties.registries.EntityPropertiesRegistry;
import com.foreach.across.modules.properties.repositories.EntityPropertiesRepository;
import com.foreach.across.modules.properties.services.AbstractEntityPropertiesService;
import com.foreach.across.modules.user.business.GroupProperties;
import com.foreach.common.spring.properties.PropertyTypeRegistry;
import org.springframework.stereotype.Service;

@Service
public class GroupPropertiesServiceImpl extends AbstractEntityPropertiesService implements GroupPropertiesService
{
	public GroupPropertiesServiceImpl( EntityPropertiesRegistry entityPropertiesRegistry,
	                                   EntityPropertiesRepository entityPropertiesRepository ) {
		super( entityPropertiesRegistry, entityPropertiesRepository );
	}

	@Override
	protected GroupProperties createEntityProperties( Long entityId,
	                                                  PropertyTypeRegistry propertyTypeRegistry,
	                                                  StringPropertiesSource source ) {
		return new GroupProperties( entityId, propertyTypeRegistry, source );
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy