Package com.portal.app.ccare.comp
Interface PExtendableObjectBean
- All Superinterfaces:
Remote
- All Known Subinterfaces:
PProfileBean
- All Known Implementing Classes:
PIAExtendedServicesBeanImpl
,PIAProfileBeanImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
graft
(PModelHandle[] pm) Because one panel is used during account creation/maintenance, we need to play some tricks with the input FList.boolean
Determines if the account object contains at least one instance of the extended object or not.com.portal.app.util.CustomerValErrorData[]
save
(PModelHandle pm) Used to save changes to already existing Portal objects (this is not used for account creation, just for existing accounts).void
setIndex
(int index) Establishes the array index for the storable class being modified.void
setObjectType
(String type) Primarily useful for subclasses of Portal storable classes (like profile objects).
-
Method Details
-
save
Used to save changes to already existing Portal objects (this is not used for account creation, just for existing accounts).- Parameters:
pm
- The input FList (as a PModelHandle) containing the data to save.- Returns:
- an array of errors, if the save fails
- Throws:
RemoteException
-
graft
Because one panel is used during account creation/maintenance, we need to play some tricks with the input FList. Account creation requires a slightly different input FList. This method takes the index specified in the extended services panel and uses it to build up the input FList for account creation.- Parameters:
pm
- An array of 2 PModelHandles. One that is passed into collectData() from the account creation wizard, and one that is obtained by calling collectData() locally on the panel. The latter is grafted onto the former in the proper format.- Throws:
RemoteException
-
setIndex
Establishes the array index for the storable class being modified. This is present to accomodate multiple objects (object panels).
This method should be called before calling graft();- Parameters:
index
- The index into the Object array- Throws:
RemoteException
-
setObjectType
Primarily useful for subclasses of Portal storable classes (like profile objects). For example, if you create a panel for a profile object /profile/marketing you would pass "marketing" through this API. This is needed to build up the proper POID.- Parameters:
type
- The name of the extended storable class- Throws:
RemoteException
-
hasExtendedObjects
Determines if the account object contains at least one instance of the extended object or not.- Returns:
- true if this account has the extended object; false otherwise
- Throws:
RemoteException
-