if(OP_ISPS.getText().equals(optionText)) {
return new StaticViewInitializer(IspListingView.klas);
}
if(OP_MERCHANTS.getText().equals(optionText)) {
assert crntUserAccountType == SmbizEntityType.ISP;
return new MerchantListingViewInitializer(currentUser.getKey());
}
if(OP_CUSTOMERS.getText().equals(optionText)) {
assert crntUserAccountType == SmbizEntityType.MERCHANT;
return new CustomerListingViewInitializer(currentUser.getKey(), null);
}