| java.lang.Object com.sun.kvem.midp.pim.AbstractPIMItem com.sun.kvem.midp.pim.ContactImpl
ContactImpl | public ContactImpl(AbstractPIMList list)(Code) | | Constructs a Contact list.
Parameters: list - handle for Contact List implementation |
ContactImpl | ContactImpl(AbstractPIMList list, Contact base)(Code) | | Constructs a Contact list from a handler and base Contact
record.
Parameters: list - Contact List implementation handler Parameters: base - Contact record template |
addBinary | public void addBinary(int field, int attributes, byte[] value, int offset, int length)(Code) | | Adds a binary value to the current Contact.
Parameters: field - identifier for current element Parameters: attributes - property to insert Parameters: value - binary value to be recorded Parameters: offset - index into value array Parameters: length - size of data to copy |
addString | public void addString(int field, int attributes, String value)(Code) | | Adds a string to the current Contact.
Parameters: field - identifier for current element Parameters: attributes - property to insert Parameters: value - string to be recorded |
getEncodingFormat | PIMFormat getEncodingFormat()(Code) | | Gets encoding format for this contact record.
handle for encoding format |
getPreferredIndex | public int getPreferredIndex(int field)(Code) | | Gets preferred index for requested field.
Parameters: field - requested element preferred index for requested field |
getRevisionField | protected int getRevisionField()(Code) | | Gets the revision field identifier.
revision field identifier |
getUIDField | protected int getUIDField()(Code) | | Gets the UID field identifier.
UID field identifier |
isValidPIMField | static boolean isValidPIMField(int field)(Code) | | Ensures valid field.
Parameters: field - identifier to validate true if contact field identifier issupported |
toDisplayableString | protected String toDisplayableString()(Code) | | Converts the Contact to a printable format.
formatted Contact record |
Methods inherited from com.sun.kvem.midp.pim.AbstractPIMItem | public void addBinary(int field, int attributes, byte[] value, int offset, int length)(Code)(Java Doc) public void addBoolean(int field, int attributes, boolean value)(Code)(Java Doc) public void addDate(int field, int attributes, long value)(Code)(Java Doc) public void addInt(int field, int attributes, int value)(Code)(Java Doc) public void addString(int field, int attributes, String value)(Code)(Java Doc) public void addStringArray(int field, int attributes, String[] value)(Code)(Java Doc) public void addToCategory(String category) throws PIMException(Code)(Java Doc) public void commit() throws PIMException(Code)(Java Doc) static RuntimeException complaintAboutField(int type, int field)(Code)(Java Doc) public int countValues(int field)(Code)(Java Doc) protected String formatData()(Code)(Java Doc) public int getAttributes(int field, int index)(Code)(Java Doc) public byte[] getBinary(int field, int index)(Code)(Java Doc) public boolean getBoolean(int field, int index)(Code)(Java Doc) public String[] getCategories()(Code)(Java Doc) String[] getCategoriesRaw()(Code)(Java Doc) public long getDate(int field, int index)(Code)(Java Doc) abstract PIMFormat getEncodingFormat()(Code)(Java Doc) PIMField getField(int field, boolean create, boolean check)(Code)(Java Doc) public PIMField getField(int key)(Code)(Java Doc) public int[] getFields()(Code)(Java Doc) public int getInt(int field, int index)(Code)(Java Doc) Object getKey()(Code)(Java Doc) public PIMList getPIMList()(Code)(Java Doc) public Object getPIMListHandle()(Code)(Java Doc) abstract protected int getRevisionField()(Code)(Java Doc) public String getString(int field, int index)(Code)(Java Doc) public String[] getStringArray(int field, int index)(Code)(Java Doc) abstract protected int getUIDField()(Code)(Java Doc) boolean isInCategory(String category)(Code)(Java Doc) public boolean isModified()(Code)(Java Doc) static boolean isValidPIMField(int type, int field)(Code)(Java Doc) public int maxCategories()(Code)(Java Doc) public void putField(int key, PIMField field)(Code)(Java Doc) void remove() throws PIMException(Code)(Java Doc) public void removeField(int key)(Code)(Java Doc) public void removeFromCategory(String category)(Code)(Java Doc) public void removeValue(int field, int index)(Code)(Java Doc) public void setBinary(int field, int index, int attributes, byte[] value, int offset, int length)(Code)(Java Doc) public void setBoolean(int field, int index, int attributes, boolean value)(Code)(Java Doc) public void setDate(int field, int index, int attributes, long value)(Code)(Java Doc) protected void setDefaultValues()(Code)(Java Doc) public void setInt(int field, int index, int attributes, int value)(Code)(Java Doc) void setKey(Object key)(Code)(Java Doc) void setModified(boolean modified)(Code)(Java Doc) void setPIMList(AbstractPIMList list)(Code)(Java Doc) public void setString(int field, int index, int attributes, String value)(Code)(Java Doc) public void setStringArray(int field, int index, int attributes, String[] value)(Code)(Java Doc) abstract protected String toDisplayableString()(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|