public interface PProfileBean extends PExtendableObjectBean
Modifier and Type | Method and Description |
---|---|
com.portal.app.util.CustomerValErrorData[] |
createProfile(PModelHandle pm)
Used to create a profile object for an existing account (this
is not used for account creation, just for existing accounts).
|
PModelHandle[] |
getProfiles(PModelHandle model)
An account/service could potentially have more than one profile instances of the
same type associated with it.
|
void |
graftForAccountCreation(PModelHandle pm)
If only one profile object exists, in WebKit you can use the account creation model
to create the profile object instead of using a seperate profile model
You can add the profile field in WebKit just as you add any Portal field at account
creation by including the FldProfiles array with the custom fields in it.
|
void |
graftForCreateProfile(PModelHandle pm)
Because the same panel can be used to create a new profile object
for an existing account(OP_CREATE_PROFILE) or modify an existing profile object, we
need to play some tricks with the input FList.
|
void |
graftForUpdateCustomer(PModelHandle[] pm)
Because the same panel can be used standalone(OP_MODIFY_PROFILE)
or embedded within an account panel(OP_UPDATE_CUSTOMER), we
need to play some tricks with the input FList.
|
graft, hasExtendedObjects, save, setIndex, setObjectType
com.portal.app.util.CustomerValErrorData[] createProfile(PModelHandle pm) throws RemoteException
pm
- The input FList (as a PModelHandle) containing the data
to save.RemoteException
void graftForAccountCreation(PModelHandle pm) throws RemoteException
setObjectType()
pm
- PModelHandle to the account flist which already includes the
FldProfiles array with the custom fields.RemoteException
PExtendableObjectBean.setObjectType(java.lang.String)
void graftForUpdateCustomer(PModelHandle[] pm) throws RemoteException
pm
- An array of 2 PModelHandles. One that is passed into
collectData() from the parent account panel, and one that is
obtained by calling collectData() locally on the panel. The latter
is grafted onto the former in the proper format.RemoteException
void graftForCreateProfile(PModelHandle pm) throws RemoteException
pm
- The PModelHandle obtained by calling collectData() locally on the panel.RemoteException
PModelHandle[] getProfiles(PModelHandle model) throws RemoteException
model
- account or service model handle.RemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.