public class BulletinBoard extends HyperLink
amIinitialize, DATASOURCE, INPUTMODE, labelOverride, ONDATACAHNGE, PARAM_APP, PARAM_APPTABTYPE, PARAM_DESIGNMODE, PARAM_MOBILE, PARAM_MODULE, PARAM_PAGE, PARAM_PARENTCOMPONENT, PARAM_PARENTCONTROL, PARAM_PRESENTATION, PARAM_SCREENREADER, PARAM_SKINNAME, PARAM_TAB, PARAM_TABGROUP, PARAM_TABGROUP_MAIN, PARAM_TABLE, PARAM_USERINFO, PARAM_VERTICALLABEL, RERENDER_PROPERTY
EXCEPTION_ERROR, EXCEPTION_INFO, EXCEPTION_NONE, EXCEPTION_REQUIREDFIELD, EXCEPTION_SMARTFILL, EXCEPTION_WARNING, EXCEPTION_YESNOCANCEL, FORCE_WARNING_HANDLING, NO_PROMPT_WITH_WARNING, presentationTags, PROMPT_WHEN_WARNING_EXIST
Constructor and Description |
---|
BulletinBoard() |
Modifier and Type | Method and Description |
---|---|
void |
bbmsgviewed()
Call from jsp once the BB message is clicked in start center
|
int |
clearfilter()
Removes the QBEs on the result set
|
int |
deleteportlet()
This event is only fired when this control is inside a portlet.
|
void |
filter()
Flags the portlet as filtered and refresable.
|
java.lang.String |
getBBSetName() |
MboSetData |
getData_old() |
MboSetData |
getData() |
java.lang.String |
getIsViewedValue() |
java.lang.String[] |
getLabels()
Returns labels for this control.
|
int |
getNoOfRecords()
Returns No of records
Venkyg: 4/3/2009
|
java.lang.String |
getQbeSetting(java.lang.String attribName)
Returns the qbes set on the result set
|
MboSetData |
getRenderData()
Called from portlet to return data
|
MboSetData |
getResultSet()
It is new filter functionality for BB Messages in start center.
|
java.util.Vector |
getResultSetAttributes()
Returns a collection of the columns the user has selected to display the result set for
|
PortletStateImpl |
getStateManager()
Returns statemanaget when this control is used as a portlet
|
java.util.List |
getUnViewedMessages()
This method gets all Un Viewd messages from BBoardMsgStatus MBO
|
java.util.List |
getViewedMessageIdList()
This method gets all Viewd messages from BBoardMsgStatus MBO
Used in Jsp
|
boolean |
hasData()
Returns true if there are messages in the BulletinBoard
|
void |
initialize()
Overridden to attach the count of bulletin messages to the label when the control
is inside the bulletinBoard portlet
|
boolean |
isFiltered() |
java.lang.String |
isFilterOpen()
Returns whether filter panel is open
|
boolean |
isFilterSet()
Returns true if filter is set on this portlet
|
boolean |
isFilterToggled() |
boolean |
isPortlet()
Returns true if this is an instance of bulletinboardportlet control
|
boolean |
isPortletStateChanged() |
int |
msgCountForIcon() |
int |
refreshbytimer()
Sets control needing render if it was makred for refresh based on javascript timer.
|
boolean |
refreshedByTimer()
Returns true if marked true for refresh based on timer
|
int |
render()
Overridden to prevent render if inside hyperlink and no messages to show.
|
void |
resetflags()
Sets portlet flags
|
void |
setFiltered(boolean newFlag) |
void |
setFilterToggled(boolean flag) |
void |
setIconProperties() |
void |
setIsViewedValue(java.lang.String isViewedValue) |
void |
setPortletStateChanged(boolean newPortletState) |
void |
setqbeandfilter()
This method handles the "setqbeandfilter" event where use enters a qbe and presses the enter key
|
void |
setQbes(java.lang.String qbeKeyValuePair)
Stores the qbe done on the result set portlet graph
|
void |
setRefreshedByTimer(boolean flag)
Resets the time flag.
|
int |
setvalue()
This method handles the "setqbe" event where use enters a qbe and tabs out
|
void |
togglefilter()
Simply toggles the expanded state of the section
|
broadcastEvent, cleanup, getDataBean, instantiatedatasrc, instantiatedatasrcdesign
addChild, addComponent, canInsert, canInsert, canRemove, childHasError, childHasErrorFocus, clearComponent, clearErrors, copy, createRenderId, errorLevelChanged, eventCheck, findComponentByDescriptorId, findDesignerProperty, findProperty, findUseForLablledByComponent, getAdaptorInstance, getBoundComponent, getComponent, getComponents, getDataSource, getDescriptorControl, getDesignerProperty, getDesignerSelected, getDesignerSelectedControl, getElement, getErrorLevel, getGeneratedControl, getOriginalControl, getOriginalProperty, getProperties, getProperty, getProperty, getPropertyIgnoreFlags, getPropertyOriginator, getPropertyUncle, getRecordHover, getSkipPreRender, getTableControl, getTakesValueComponent, handleEvent, hasChanged, hasChangedConditionally, hasChildElements, hasMaskedChanged, hasRecordHover, hasVisibleChildren, isDesignerEditedProperty, isDisabled, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, isVisible, launchexternal, moveChild, needsRender, parseParamvalues, preRender, preRenderChecks, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setDesignerSelected, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setReRenderFlags, setSelected, setSkipPreRender, setTableControl, setVisibility, stopRender, walkForId, walkForId
addChild, addChild, addRefreshListener, clearChildren, clearProperties, clone, clone, getBoolean, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getId, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getRenderId, getRowNum, getSafeId, getString, getType, getWebClientSession, handleEvent, hasAnyPropertyChanged, hasLocalProperty, hasPropertyChanged, initProperty, isDynamicContainer, isOnTable, isOnTableRow, maintainControlId, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toString
public void initialize()
initialize
in class HyperLink
BaseInstance.initialize()
public MboSetData getResultSet() throws MXException, java.rmi.RemoteException
starting
- index -- latterend
- index -- latterMXException
java.rmi.RemoteException
public void setQbes(java.lang.String qbeKeyValuePair)
attributeName
- qbeExpression
- public boolean isFilterSet()
public void setqbeandfilter()
public java.lang.String[] getLabels()
public boolean hasData()
public int deleteportlet()
public int render() throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
render
in class HyperLink
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
ControlInstance.render()
public void setIconProperties()
public MboSetData getData()
public MboSetData getData_old()
public int refreshbytimer()
public boolean refreshedByTimer()
public void setRefreshedByTimer(boolean flag)
flag
- public java.lang.String getBBSetName() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Vector getResultSetAttributes() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getQbeSetting(java.lang.String attribName)
public boolean isFiltered()
public void setFiltered(boolean newFlag)
boolean
- - Sets new flag for portlet data being filteredpublic int clearfilter()
public void bbmsgviewed() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List getViewedMessageIdList() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List getUnViewedMessages() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getIsViewedValue()
public void setIsViewedValue(java.lang.String isViewedValue)
public int getNoOfRecords() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int msgCountForIcon() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isFilterToggled()
public void togglefilter()
public java.lang.String isFilterOpen()
public void setFilterToggled(boolean flag)
public boolean isPortletStateChanged()
public void setPortletStateChanged(boolean newPortletState)
boolean
- - Takes new flag for occurance of portlet delete eventpublic int setvalue()
public void resetflags()
public MboSetData getRenderData()
public void filter()
public PortletStateImpl getStateManager()
public boolean isPortlet()