Package com.portal.app.cc.comp
Class PNotesBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.cc.comp.PNotesBeanImpl
- All Implemented Interfaces:
PNotesBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
PNotesBeanImpl is the Controller for the NotesPage.
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the CSR name stringGets the current notes in DBprotected Object
save
(PModelHandle acctMH, String toSave) Converts the text into buffer and writes the Notes into DB using WRITE_FLDS opcode.saveNotes
(PModelHandle acctMH, String newNotes, int notesType) saveNotes method converts the text into buffer and writes the Notes into DB using WRITE_FLDS opcode.Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, update
Methods inherited from class com.portal.bas.PControllerImpl
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PNotesBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
save
Converts the text into buffer and writes the Notes into DB using WRITE_FLDS opcode. This method can be overridden by subclass to perform additional operations after/before saving the notes or to have different write mechanism insted of WRITE_FLDS.- Parameters:
acctMH
- model handle of the account for which notes will be savedtoSave
- Notes to save- Returns:
- NULL if successful or CustomerValErrorData if failed.
- Throws:
RemoteException
-
saveNotes
saveNotes method converts the text into buffer and writes the Notes into DB using WRITE_FLDS opcode.- Specified by:
saveNotes
in interfacePNotesBean
- Parameters:
acctMH
- - account model handle where the notes should go innewNotes
- - new notes to be storednotesType
- - specific AR action that needs to be tracked.String
- - the Notes data to save- Returns:
- NULL on success and error on failure.
- Throws:
RemoteException
-
getLoginName
Returns the CSR name string- Specified by:
getLoginName
in interfacePNotesBean
- Parameters:
event
- - void- Returns:
- the Loginname string on success (1st element is First Name and 2nd element is Last Name) and NULL on failure
- Throws:
RemoteException
-
getOldNotes
Gets the current notes in DB- Specified by:
getOldNotes
in interfacePNotesBean
- Returns:
- the String object
- Throws:
RemoteException
-