Package com.portal.web.comp
Class PBrandBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.web.comp.PBrandBeanImpl
- All Implemented Interfaces:
PControllerBean
,PBrandBean
,Serializable
,Remote
,Unreferenced
PBrandBeanImpl
is the controller class for the brand bean.- Author:
- sujata
- 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 TypeMethodDescriptiongetSelectionDataFor
(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
Determines whether branding is enabled for a credentialed account.boolean
Sets the current Connection to this user's credentials.boolean
UnSet credentials if neededvoid
Called by various internal methods when the data has changed enough to require refreshing the client display.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
-
Constructor Details
-
PBrandBeanImpl
Constructs the Controller- Throws:
RemoteException
-
-
Method Details
-
setUserCredentials
Sets the current Connection to this user's credentials.- Specified by:
setUserCredentials
in interfacePBrandBean
- Parameters:
mH
- thePModelHandle
associated with this user- Returns:
- True if credentials were set successfully; false otherwise.
- Throws:
RemoteException
- thrown for Infranet errors and invalid field descriptions
-
unsetUserCredentials
UnSet credentials if needed- Specified by:
unsetUserCredentials
in interfacePBrandBean
- Parameters:
mH
- thePModelHandle
associated with this user- Returns:
- True if credentials were unset successfully; false otherwise.
- Throws:
RemoteException
- thrown for Infranet errors and invalid field descriptions
-
isBrandingEnabled
Determines whether branding is enabled for a credentialed account.- Specified by:
isBrandingEnabled
in interfacePBrandBean
- Returns:
- true if Branding is enabled, false otherwise.
- Throws:
RemoteException
- thrown for errors
-
update
Called by various internal methods when the data has changed enough to require refreshing the client display. Must be overridden by a specific controller subclass.Note: Do not use. This method is public only for Customer Center compatibility.
- Specified by:
update
in classPControllerImpl
- Parameters:
reason
- the reason for the updatedata
- the data associated with the update- Throws:
RemoteException
- thrown for errors
-
getSelectionDataFor
Given the name of a display data item and an optional index, returns the information needed for a selection event to be useful. This information is usually model data.Note: Do not use. This method is public only for Customer Center compatibility.
- Specified by:
getSelectionDataFor
in interfacePControllerBean
- Parameters:
dataItem
- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEvent
index
- an optional index into an array data item- Returns:
- This instance always returns null.
- Throws:
RemoteException
- thrown for errors
-