|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vodafone360.people.service.io.api.ApiUtils
public class ApiUtils
Class which provides helper functions for assembling Vectors of data prior to Hessian encoding.
| Constructor Summary | |
|---|---|
ApiUtils()
|
|
| Method Summary | |
|---|---|
protected static java.util.Hashtable<java.lang.String,java.lang.Object> |
createHashTable(java.util.Map<java.lang.String,java.util.List<java.lang.String>> map)
Create a Hash table from supplied Map, this is passed to Hessian encoder to create Hessian encoded request body. |
protected static java.util.Vector<java.lang.Object> |
createVectorOfContact(java.util.List<Contact> list)
Create Vector of of Hash table items from a list of Contacts (each Contact being represented by a Hash table). |
protected static java.util.Vector<java.lang.Object> |
createVectorOfContactDetail(java.util.List<ContactDetail> list)
Create vector from list of ContactDetails. |
protected static java.util.Vector<java.lang.Object> |
createVectorOfGroup(java.util.List<GroupItem> list)
Create Vector of of Hash table items from a list of GroupItems (each GroupItems being represented by a Hash table). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApiUtils()
| Method Detail |
|---|
protected static java.util.Hashtable<java.lang.String,java.lang.Object> createHashTable(java.util.Map<java.lang.String,java.util.List<java.lang.String>> map)
map - The source map.
protected static java.util.Vector<java.lang.Object> createVectorOfContactDetail(java.util.List<ContactDetail> list)
list - List of contact details.
protected static java.util.Vector<java.lang.Object> createVectorOfContact(java.util.List<Contact> list)
list - List-array of Contacts.
protected static java.util.Vector<java.lang.Object> createVectorOfGroup(java.util.List<GroupItem> list)
list - List-array of Contacts.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
JavaDoc