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, update
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondary
addRemoteListener, 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, unreferenced
public PIAPhoneTableBeanImpl() throws RemoteException
RemoteException
public void setIndex(int index)
setIndex
in interface PIAPhoneTableBean
public void setPhoneData(PModelHandle collectedData, int[] types, String[] phones, ArrayList<Integer> toRemove) throws RemoteException
setPhoneData
in interface PIAPhoneTableBean
collectedData
- model handle to collect datatypes
- array containing phone typesphones
- array containing phone numberstoRemove
- ArrayList containing array indexes to be deletedRemoteException
public int getIndexFromValue(String value)
getIndexFromValue
in interface PIAPhoneTableBean
value
- public void updateIndexValueMap(Integer index, String value)
updateIndexValueMap
in interface PIAPhoneTableBean
index
- value
- public void createIndexValueMap(PModelHandle pm) throws RemoteException
createIndexValueMap
in interface PIAPhoneTableBean
pm
- /account mdoel handleRemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.