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/destroy",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IDestroyStatusAction {
    @StrutsActionForward(path = "/mobile/post.ftl")
    String MOBILE = "mobile";
    @StrutsActionForward(path = "/showStatus/xml.ftl")
    String XML = "xml";
    @StrutsActionForward(path = "/showStatus/json.ftl")
    String JSON = "json";

    String perform() throws Exception;
}
