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 = "directMessageForm",
        path = "/direct_messages/destroy",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IDestroyDirectMessageAction {
    @StrutsActionForward(path = "/mobile/post.ftl")
    String MOBILE = "mobile";
    @StrutsActionForward(path = "/directMessage/xml.ftl")
    String XML = "xml";
    @StrutsActionForward(path = "/directMessage/json.ftl")
    String JSON = "json";
    
    String perform() throws Exception;
}
