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 = "directMessagesForm",
        path = "/direct_messages",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IDirectMessagesAction {
    @StrutsActionForward(path = "/directMessages/partial.ftl")
    String PARTIAL = "partial";
    @StrutsActionForward(path = "/directMessages.ftl")
    String FULL = "full";
    @StrutsActionForward(path = "/mobile/directMessages.ftl")
    String MOBILE = "mobile";
    @StrutsActionForward(path = "/directMessages/xml.ftl")
    String XML = "xml";
    @StrutsActionForward(path = "/directMessages/json.ftl")
    String JSON = "json";

    String perform() throws Exception;
}
