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 = "accountForm",
        path = "/account",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IAccountAction {
    @StrutsActionForward(path = "/account.ftl")
    String FORWARD_ACCOUNT = "account";
    @StrutsActionForward(path = "/account/settings.ftl")
    String FORWARD_SETTING = "settings";
    @StrutsActionForward(path = "/account/password.ftl")
    String FORWARD_PASSWORD = "password";
    @StrutsActionForward(path = "/account/device.ftl")
    String FORWARD_DEVICE = "device";
    @StrutsActionForward(path = "/account/notification.ftl")
    String FORWARD_NOTIFICATION = "notification";
    @StrutsActionForward(path = "/account/picture.ftl")
    String FORWARD_PICTURE = "picture";
    @StrutsActionForward(path = "/account/design.ftl")
    String FORWARD_DESIGN = "design";
    @StrutsActionForward(path = "/account/profileImage.ftl")
    String FORWARD_PROFILE_IMAGE = "profileImage";
    @StrutsActionForward(path = "/account/resendPassword.ftl")
    String FORWARD_RESEND_PASSWORD = "resendPassword";
    @StrutsActionForward(path = "/account/resetPassword.ftl")
    String FORWARD_RESET_PASSWORD = "resetPassword";
    
    String perform() throws Exception;
}
