|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.core.impl.model.content.InternalContentProvider
org.jboss.portal.core.impl.model.content.generic.InternalGenericContentProvider
public class InternalGenericContentProvider
Field Summary | |
---|---|
protected ContentPortlet |
contentPortlet
. |
protected boolean |
decorateContent
. |
protected InstanceContainer |
instanceContainer
. |
Constructor Summary | |
---|---|
InternalGenericContentProvider()
|
Method Summary | |
---|---|
void |
contentCreated(java.lang.String contextId,
ContentState state)
Life cycle method to signal state creation. |
void |
contentDestroyed(java.lang.String contextId,
ContentState state)
Life cycle method to signal state destruction. |
protected ContentProvider |
createProvider()
|
ContentPortlet |
getContentPortletInfo()
|
boolean |
getDecorateContent()
|
InstanceContainer |
getInstanceContainer()
|
protected Instance |
getPortletInstance(ContentRendererContext rendererContext)
Returns the portlet instance to render view mode. |
Content |
newContent(java.lang.String contextId,
ContentState state)
Factory method that creates an instance of content object. |
WindowRendition |
renderWindow(ContentRendererContext rendererContext)
|
void |
setContentPortletInfo(ContentPortlet contentPortlet)
|
void |
setDecorateContent(boolean decorateContent)
|
void |
setInstanceContainer(InstanceContainer instanceContainer)
|
Methods inherited from class org.jboss.portal.core.impl.model.content.InternalContentProvider |
---|
getContentType, getPortalAuthorizationManagerFactory, getRegisteredContentType, getRegistry, setContentType, setPortalAuthorizationManagerFactory, setRegistry, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected InstanceContainer instanceContainer
protected boolean decorateContent
protected ContentPortlet contentPortlet
Constructor Detail |
---|
public InternalGenericContentProvider()
Method Detail |
---|
public InstanceContainer getInstanceContainer()
public void setInstanceContainer(InstanceContainer instanceContainer)
public ContentPortlet getContentPortletInfo()
public void setContentPortletInfo(ContentPortlet contentPortlet)
public boolean getDecorateContent()
public void setDecorateContent(boolean decorateContent)
protected ContentProvider createProvider()
createProvider
in class InternalContentProvider
public Content newContent(java.lang.String contextId, ContentState state)
ContentHandler
newContent
in interface ContentHandler
contextId
- the context id in which the state is usedstate
- the state
protected Instance getPortletInstance(ContentRendererContext rendererContext)
InternalContentProvider
getPortletInstance
in class InternalContentProvider
public void contentCreated(java.lang.String contextId, ContentState state)
ContentHandler
contentCreated
in interface ContentHandler
contextId
- the context id in which the state is createdstate
- the statepublic void contentDestroyed(java.lang.String contextId, ContentState state)
ContentHandler
contentDestroyed
in interface ContentHandler
contextId
- the context id in which the state is destroyedstate
- the statepublic WindowRendition renderWindow(ContentRendererContext rendererContext)
renderWindow
in interface ContentRenderer
renderWindow
in class InternalContentProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |