Subversion Repositories bacoAlunos

Rev

Blame | Compare with Previous | Last modification | View Log | RSS feed

package pt.estgp.estgweb.services.urlstat;

import org.apache.log4j.Logger;
import pt.estgp.estgweb.domain.UrlStat;
import pt.estgp.estgweb.domain.dao.DaoFactory;
import pt.estgp.estgweb.services.expceptions.ServiceException;
import pt.utl.ist.berserk.logic.serviceManager.IService;

/**
 * @author Jorge Machado
 * @date 15/Mar/2008
 * @time 6:55:38
 * @see pt.estgp.estgweb.services.urlstat
 */

public class LoadUrlStatService implements IService
{
    private static final 1.5.0/docs/api/java/util/logging/Logger.html">Logger logger = 1.5.0/docs/api/java/util/logging/Logger.html">Logger.getLogger(LoadUrlStatService.class);

    /**
     * Saves a group of clicks in database
     * @throws pt.estgp.estgweb.services.expceptions.ServiceException on error
     * @param relativePath to search
     * @return urlStat
     */

    public UrlStat run(1.5.0/docs/api/java/lang/String.html">String relativePath) throws ServiceException
    {
        return DaoFactory.getUrlStatDaoImpl().loadOrNull(relativePath);
    }

}