|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIPanel com.ibm.xsp.component.UIDataPanelBase
public abstract class UIDataPanelBase
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.faces.component.UIComponentBase |
---|
javax.faces.component.UIComponentBase.AggregatedIterator, javax.faces.component.UIComponentBase.UnmodifiableIterator |
Nested classes/interfaces inherited from class javax.faces.component.UIComponent |
---|
javax.faces.component.UIComponent.StateMap, javax.faces.component.UIComponent.StateMapEntry |
Field Summary |
---|
Fields inherited from class javax.faces.component.UIPanel |
---|
COMPONENT_FAMILY, COMPONENT_TYPE |
Fields inherited from class javax.faces.component.UIComponentBase |
---|
EMPTY_ITERATOR |
Fields inherited from class javax.faces.component.UIComponent |
---|
_xspStateId |
Fields inherited from interface com.ibm.xsp.component.FacesDataProvider |
---|
DATA, DATA_CONTEXTS |
Constructor Summary | |
---|---|
UIDataPanelBase()
|
Method Summary | |
---|---|
void |
_xspCleanTransientData()
|
void |
addData(DataSource data)
Add a DataSource instance to the set associated with this component. |
void |
addDataContext(DataContext dataContext)
Add a DataContext instance to the set associated with this component. |
protected void |
afterEncoding(javax.faces.context.FacesContext context)
|
protected void |
beforeEncoding(javax.faces.context.FacesContext context)
|
void |
broadcast(javax.faces.event.FacesEvent event)
|
void |
buildContents(javax.faces.context.FacesContext context,
FacesComponentBuilder builder)
Build the component children and facets, the default implementation is usually: builder.buildAll(context, this, true); // includeFacets=true |
void |
encodeBegin(javax.faces.context.FacesContext context)
|
void |
encodeEnd(javax.faces.context.FacesContext context)
|
ACL |
getAcl()
Return the ACL |
java.util.List<DataSource> |
getData()
Returns the list of data source objects. |
java.util.List<DataContext> |
getDataContexts()
Returns the list of data context objects. |
protected boolean |
hasUserAccess(javax.faces.context.FacesContext context,
int minRights)
Check does user have access to this panel |
void |
initAfterContents(javax.faces.context.FacesContext context)
Perform component initialization after it's children and facets are added. |
void |
initBeforeContents(javax.faces.context.FacesContext context)
Perform component initialization before its children and facets are added. |
boolean |
invokeOnComponent(javax.faces.context.FacesContext context,
java.lang.String clientId,
javax.faces.component.ContextCallback callback)
|
protected boolean |
isAllowCreateViewPublish(javax.faces.context.FacesContext context)
|
boolean |
isReadonly()
This is not a plain getter for the "readonly" property in the All Properties tab, as it also uses the "acl" property, see getAcl() . |
boolean |
isRendered()
|
void |
processDecodes(javax.faces.context.FacesContext context)
|
void |
processUpdates(javax.faces.context.FacesContext context)
|
void |
processValidators(javax.faces.context.FacesContext context)
|
protected java.util.List<DataPublisher.ShadowedObject> |
publishControlData(javax.faces.context.FacesContext context)
|
void |
queueEvent(javax.faces.event.FacesEvent event)
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
protected void |
revokeControlData(java.util.List<DataPublisher.ShadowedObject> shadowedData,
javax.faces.context.FacesContext context)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAcl(ACL acl)
Set the ACL |
void |
setReadonly(boolean readonly)
|
boolean |
visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback)
|
Methods inherited from class javax.faces.component.UIPanel |
---|
getFamily |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
_xspGetReadOnlyObj, _xspGetRendererData, _xspRemoveReadOnlyObj, _xspRemoveRendererData, _xspSetIdUnchecked, _xspSetReadOnlyObj, _xspSetRendererData, addFacesListener, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
_xspGetStateId, _xspGetStateMap, _xspRestoreAttribute, _xspRestoreState, _xspSaveState, isVisitable, markInitialState, setControlState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UIDataPanelBase()
Method Detail |
---|
public boolean isRendered()
isRendered
in class javax.faces.component.UIComponentBase
public void _xspCleanTransientData()
_xspCleanTransientData
in class javax.faces.component.UIComponentBase
public boolean isReadonly()
getAcl()
.
public void setReadonly(boolean readonly)
public java.util.List<DataSource> getData()
getData
in interface FacesDataProvider
public void addData(DataSource data)
DataSource
instance to the set associated with this component.
addData
in interface FacesDataProvider
data
- The data source to add.public java.util.List<DataContext> getDataContexts()
getDataContexts
in interface FacesDataProvider
public void addDataContext(DataContext dataContext)
DataContext
instance to the set associated with this component.
addDataContext
in interface FacesDataProvider
dataContexts
- The data context to add.public ACL getAcl()
public void setAcl(ACL acl)
public void encodeBegin(javax.faces.context.FacesContext context) throws java.io.IOException
encodeBegin
in class javax.faces.component.UIComponentBase
java.io.IOException
protected void beforeEncoding(javax.faces.context.FacesContext context)
public void encodeEnd(javax.faces.context.FacesContext context) throws java.io.IOException
encodeEnd
in class javax.faces.component.UIComponentBase
java.io.IOException
protected void afterEncoding(javax.faces.context.FacesContext context)
protected boolean isAllowCreateViewPublish(javax.faces.context.FacesContext context)
context
-
DataPublisher.isAllowCreateViewPublish(javax.faces.component.UIComponent)
protected java.util.List<DataPublisher.ShadowedObject> publishControlData(javax.faces.context.FacesContext context)
context
-
DataPublisher.publishControlData(javax.faces.component.UIComponent)
protected void revokeControlData(java.util.List<DataPublisher.ShadowedObject> shadowedData, javax.faces.context.FacesContext context)
shadowedData
- context
- DataPublisher.revokeControlData(List, javax.faces.component.UIComponent)
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class javax.faces.component.UIComponentBase
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class javax.faces.component.UIComponentBase
public void processValidators(javax.faces.context.FacesContext context)
processValidators
in class javax.faces.component.UIComponentBase
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class javax.faces.component.UIComponentBase
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class javax.faces.component.UIComponentBase
javax.faces.event.AbortProcessingException
public boolean invokeOnComponent(javax.faces.context.FacesContext context, java.lang.String clientId, javax.faces.component.ContextCallback callback) throws javax.faces.FacesException
invokeOnComponent
in class javax.faces.component.UIComponent
javax.faces.FacesException
public boolean visitTree(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)
visitTree
in class javax.faces.component.UIComponent
public void initBeforeContents(javax.faces.context.FacesContext context) throws javax.faces.FacesException
FacesComponent
initBeforeContents
in interface FacesComponent
javax.faces.FacesException
public void buildContents(javax.faces.context.FacesContext context, FacesComponentBuilder builder) throws javax.faces.FacesException
FacesComponent
buildContents
in interface FacesComponent
javax.faces.FacesException
public void initAfterContents(javax.faces.context.FacesContext context) throws javax.faces.FacesException
FacesComponent
initAfterContents
in interface FacesComponent
javax.faces.FacesException
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
protected boolean hasUserAccess(javax.faces.context.FacesContext context, int minRights)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |