int mlspeedNo = 3, mbspeedNo = 4;
PhoneBookRecord.deleteMailingListMember(mlspeedNo, mbspeedNo);
Sample of code for calling of ‘getMailingListMembers(int speedNo)’ method:
int mlspeedNo = 3;
int[] returnArray = PhoneBookRecord.getMailingListMembers(mlspeedNo);
Sample of code for calling of ‘isMailingListMember(int mlSpeedNo, int mbSpeedNo)’ method:
boolean returnValue = false;
int mlspeedNo = 3, mbspeedNo = 4;
returnValue = PhoneBookRecord.isMailingListMember(mlspeedNo, mbspeedNo);
Sample of code for calling of ‘getNumberMailingListMembers(int speedNo)’ method:
int numberMembers, mlspeedNo = 3;
numberMembers = PhoneBookRecord.getNumberMailingListMembers(mlspeedNo);
Sample of code for calling of ‘addCategory(String name)’ method:
String categoryName = “CatName”;
int categoryId = PhoneBookRecord.addCategory(categoryName);
Sample of code for calling of ‘deleteCategory(int categoryId)’ method:
PhoneBookRecord.deleteCategory(categoryId);
Sample of code for calling of ‘getCategoryName(int categoryId)’ method:
String categoryName = PhoneBookRecord.getCategoryName(categoryId);
Sample of code for calling of ‘getCategoryMembers(int categoryId)’ method:
int SpeedNumbersArray[] = null;
SpeedNumbersArray = PhoneBookRecord.getCategoryMembers(categoryId);
Sample of code for calling of ‘getNumberCategoryMembers (int categoryId)’ method:
int numberMembers = PhoneBookRecord.getNumberCategoryMembers(categoryId);
Sample of code for calling of ‘getNumberCategories()’ method:
int numberCategories = PhoneBookRecord.getNumberCategories();
Sample of code for calling of ‘getCategoryIdByIndex(int index)’ method:
int index = 1;
int categoryId = PhoneBookRecord.getCategoryIdByIndex(index);
Sample of code for calling of ‘getMaxCategoryNameLength()’ method: