net.anotheria.anoprise.dataspace.DataspaceService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ano-prise Show documentation
Show all versions of ano-prise Show documentation
Collection of utils for different enterprise class projects. Among other stuff contains
Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.
package net.anotheria.anoprise.dataspace;
import net.anotheria.anoprise.metafactory.Service;
/**
* DataspaceService interface.
*
* @author lrosenberg
*/
public interface DataspaceService extends Service {
/**
* Loads a dataspace from service. If there is no dataspace instance it will be created.
*
* @param userId
* - user id
* @param dataspaceType
* - dataspace id
* @return dataspace
* @throws DataspaceServiceException
*/
Dataspace getDataspace(String userId, DataspaceType dataspaceType) throws DataspaceServiceException;
/**
* Save a given dataspace.
*
* @param dataspace
* - dataspace
* @throws DataspaceServiceException
*/
void saveDataspace(Dataspace dataspace) throws DataspaceServiceException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy