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 = "statusesForm",
        path = "/statuses/replies",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IRepliesAction {
    @StrutsActionForward(path = "/home/partial.ftl")
    String PARTIAL = "partial";
    @StrutsActionForward(path = "/home.ftl")
    String FULL = "full";
    @StrutsActionForward(path = "/mobile/home.ftl")
    String MOBILE = "mobile";
    @StrutsActionForward(path = "/home/xml.ftl")
    String XML = "xml";
    @StrutsActionForward(path = "/home/json.ftl")
    String JSON = "json";
    
    String perform() throws Exception;
}
