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 = "systemForm",
        path = "/system",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface ISystemAction {
    @StrutsActionForward(path = "/system.ftl")
    String SYSTEM = "system";
    @StrutsActionForward(path = "/system/accounts.ftl")
    String ACCOUNTS = "accounts";
    @StrutsActionForward(path = "/system/accounts/create.ftl")
    String CREATE_ACCOUNT = "accounts/create";
    @StrutsActionForward(path = "/system/accounts/update.ftl")
    String UPDATE_ACCOUNT = "accounts/update";
    @StrutsActionForward(path = "/system/accounts/import.ftl")
    String IMPORT_ACCOUNTS = "accounts/import";
    
    String perform() throws Exception;
}
