return new EditAccountTableAction("setPassword", 210, false,
"/showAvailableAccounts.do?actionTarget=password&username={0}", true, false);
}
private static TableItemAction getEnableAccountAction() {
return new EditAccountTableAction("enable", 200, false, "/showAvailableAccounts.do?actionTarget=enable&username={0}") {
@Override
public boolean isEnabled(UserItem userItem) throws Exception {
return LogonController.ACCOUNT_LOCKED == userItem.getStatus()
|| (LogonController.ACCOUNT_LOCKED != userItem.getStatus() && !userItem.getEnabled());
}