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 = "statusForm",
        path = "/statuses/update",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IUpdateStatusAction {
    @StrutsActionForward(path = "/home.ftl")
    String FORWARD_HTML = "html";
    @StrutsActionForward(path = "/mobile/post.ftl")
    String FORWARD_MOBILE = "mobile";
    @StrutsActionForward(path = "/home/partial.ftl")
    String FORWARD_AJAX = "ajax";
    @StrutsActionForward(path = "/showStatus/xml.ftl")
    String FORWARD_XML = "xml";
    @StrutsActionForward(path = "/showStatus/json.ftl")
    String FORWARD_JSON = "json";
    
    String perform() throws Exception;
}
