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

net.sf.javaprinciples.resource.ResourceGetService Maven / Gradle / Ivy

There is a newer version: 3.0.3
Show newest version
package net.sf.javaprinciples.resource;

/**
 * Service interface for GET operations for Resources.
 * @author rvllewln
 * @param  Type of Resource, typically Resource%lt;S%gt;.
 *
 */
public interface ResourceGetService
{
    /**
     * Get a Resource by its identifier.
     * @param identifier The Resource's identifier.
     * @return The Resource if it exists, null otherwise.
     * @throws ResourceException If any problem is encountered while getting
     *   the Resource.
     */
    T getResource(ResourceIdentifier identifier) throws ResourceException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy