Get Phone number typeId using following snippet
(this is for Organization Phone nos)
String type = Organization.class.getName() + ListTypeConstants.PHONE;
List phoneTypes = ListTypeServiceUtil.getListTypes(type);
System.out.println("phoneTypes : "+phoneTypes);
No comments:
Post a Comment