net.anotheria.anoprise.fs.FSService 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.fs;
/**
* Interface of the file system service.
*
* @author abolbat
* @version 1.0, 2010/02/11
* @param
* - {@link FSSaveable} object type
*/
public interface FSService {
/**
* Returns a saved instance of T.
*
* @param ownerId
* - owner id
* @return instance of T
* @throws FSServiceException
* @throws FSItemNotFoundException
*/
T read(String ownerId) throws FSServiceException;
/**
* Saves an instance of T.
*
* @param t
* - instance of T
* @throws FSServiceException
*/
void save(T t) throws FSServiceException;
/**
* Delete an instance of T.
*
* @param ownerId
* - owner id
* @throws FSServiceException
*/
void delete(String ownerId) throws FSServiceException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy