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