public class PIAPhoneTableBeanImpl extends PIASpecSpreadSheetBeanImpl implements PIAPhoneTableBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PIAPhoneTableBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
createIndexValueMap(PModelHandle pm)
Retrives phone data from the /account model handle
and creates HashMap where Array index is the key and "Phone type+ Phone number" is the value
|
int |
getIndexFromValue(String value)
gets array index (key) from the passed value ("Phone type+ Phone number") from the Hashmap
created by createIndexValueMap method
|
void |
setIndex(int index)
Establishes the PIN_FLD_NAMEINFO array index that should be used
when building up the input FList (below).
|
void |
setPhoneData(PModelHandle collectedData,
int[] types,
String[] phones,
ArrayList<Integer> toRemove)
Aids the collectData() method from the client component
|
void |
updateIndexValueMap(Integer index,
String value)
stores the value at the specified index in the Hashmap
created by createIndexValueMap method
|
getRegion, getRegion, getSelectionDataFor, getTable, revertToPrimary, setColumnDisplayDescription, setColumnModelDescription, setData, setUntypedData, toggleCurrency, toggleCurrency, updategetAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondaryaddRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedpublic PIAPhoneTableBeanImpl()
throws RemoteException
RemoteExceptionpublic void setIndex(int index)
setIndex in interface PIAPhoneTableBeanpublic void setPhoneData(PModelHandle collectedData, int[] types, String[] phones, ArrayList<Integer> toRemove) throws RemoteException
setPhoneData in interface PIAPhoneTableBeancollectedData - model handle to collect datatypes - array containing phone typesphones - array containing phone numberstoRemove - ArrayList containing array indexes to be deletedRemoteExceptionpublic int getIndexFromValue(String value)
getIndexFromValue in interface PIAPhoneTableBeanvalue - public void updateIndexValueMap(Integer index, String value)
updateIndexValueMap in interface PIAPhoneTableBeanindex - value - public void createIndexValueMap(PModelHandle pm) throws RemoteException
createIndexValueMap in interface PIAPhoneTableBeanpm - /account mdoel handleRemoteExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.