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/deny",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IDenyFriendshipAction {
    @StrutsActionForward(path = "/friendRequests.ftl")
    String FULL = "full";
    @StrutsActionForward(path = "/friendRequests/content.ftl")
    String PARTIAL = "partial";
    @StrutsActionForward(path = "/friend/xml.ftl")
    String XML = "xml";
    @StrutsActionForward(path = "/friend/json.ftl")
    String JSON = "json";
    
    String perform() throws Exception;
}
