package jp.sourceforge.shovel.action;

import org.seasar.struts.annotation.tiger.BoolType;
import org.seasar.struts.annotation.tiger.ScopeType;
import org.seasar.struts.annotation.tiger.StrutsAction;
import org.seasar.struts.annotation.tiger.StrutsActionForward;

@StrutsAction(name = "statisticsForm",
        path = "/statuses/statistics",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IStatisticsAction {
    @StrutsActionForward(path = "/home/json.ftl")
    String STATUS_JSON = "status_json";
    @StrutsActionForward(path = "/home/xml.ftl")
    String STATUS_XML = "status_xml";
    @StrutsActionForward(path = "/account/json.ftl")
    String USER_JSON = "user_json";
    @StrutsActionForward(path = "/account/xml.ftl")
    String USER_XML = "user_xml";
    
    String perform() throws Exception;
}
