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.booleanDetermines whether branding is enabled for a credentialed account.booleanSets the current Connection to this user's credentials.booleanUnSet credentials if neededvoidCalled 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:
setUserCredentialsin interfacePBrandBean- Parameters:
mH- thePModelHandleassociated 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:
unsetUserCredentialsin interfacePBrandBean- Parameters:
mH- thePModelHandleassociated 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:
isBrandingEnabledin 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:
updatein 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:
getSelectionDataForin interfacePControllerBean- Parameters:
dataItem- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEventindex- an optional index into an array data item- Returns:
- This instance always returns null.
- Throws:
RemoteException- thrown for errors
-