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