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 = "friendshipForm",
        path = "/friendships/accept",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IAcceptFriendshipAction {
    @StrutsActionForward(path = "/friendRequests.ftl")
    String FORWARD_HTML = "html";
    @StrutsActionForward(path = "/friendRequests/content.ftl")
    String FORWARD_AJAX = "ajax";
    @StrutsActionForward(path = "/friend/xml.ftl")
    String FORWARD_XML = "xml";
    @StrutsActionForward(path = "/friend/json.ftl")
    String FORWARD_JSON = "json";
    
    String perform() throws Exception;
}
