public class PBrandBeanImpl extends PControllerImpl implements PBrandBean
PBrandBeanImpl
is the controller class for the brand bean.mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PBrandBeanImpl()
Constructs the Controller
|
Modifier and Type | Method and Description |
---|---|
Object |
getSelectionDataFor(String dataItem,
int index)
Given the name of a display data item and an optional index,
returns the information needed for a selection event to be useful.
|
boolean |
isBrandingEnabled()
Determines whether branding is enabled for a credentialed account.
|
boolean |
setUserCredentials(PModelHandle mH)
Sets the current Connection to this user's credentials.
|
boolean |
unsetUserCredentials(PModelHandle mH)
UnSet credentials if needed
|
void |
update(int reason,
Object data)
Called by various internal methods when the data has changed
enough to require refreshing the client display.
|
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 PBrandBeanImpl() throws RemoteException
RemoteException
public boolean setUserCredentials(PModelHandle mH) throws RemoteException
setUserCredentials
in interface PBrandBean
mH
- the PModelHandle
associated with this userRemoteException
- thrown for Infranet errors and invalid field descriptionspublic boolean unsetUserCredentials(PModelHandle mH) throws RemoteException
unsetUserCredentials
in interface PBrandBean
mH
- the PModelHandle
associated with this userRemoteException
- thrown for Infranet errors and invalid field descriptionspublic boolean isBrandingEnabled() throws RemoteException
isBrandingEnabled
in interface PBrandBean
RemoteException
- thrown for errorspublic void update(int reason, Object data) throws RemoteException
Note: Do not use. This method is public only for Customer Center compatibility.
update
in class PControllerImpl
reason
- the reason for the updatedata
- the data associated with the updateRemoteException
- thrown for errorspublic Object getSelectionDataFor(String dataItem, int index) throws RemoteException
Note: Do not use. This method is public only for Customer Center compatibility.
getSelectionDataFor
in interface PControllerBean
dataItem
- the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent
index
- an optional index into an array data itemRemoteException
- thrown for errorsCopyright © 2003, 2023, Oracle and/or its affiliates.