org.apache.cocoon.portal.pluto.om
Class PortletDefinitionImpl

java.lang.Object
  extended by org.apache.cocoon.portal.pluto.om.PortletDefinitionImpl
All Implemented Interfaces:
Serializable, Support, org.apache.pluto.om.Controller, org.apache.pluto.om.Model, org.apache.pluto.om.portlet.PortletDefinition, org.apache.pluto.om.portlet.PortletDefinitionCtrl

public class PortletDefinitionImpl
extends Object
implements org.apache.pluto.om.portlet.PortletDefinition, org.apache.pluto.om.portlet.PortletDefinitionCtrl, Serializable, Support

Version:
CVS $Id: PortletDefinitionImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
See Also:
Serialized Form

Field Summary
 String id
           
protected  boolean localPortlet
          is this a local portlet?
protected  org.apache.pluto.invoker.PortletInvoker localPortletInvoker
          The local portlet invoker
 
Fields inherited from interface org.apache.cocoon.portal.pluto.om.common.Support
POST_BUILD, POST_LOAD, POST_STORE, PRE_BUILD, PRE_STORE
 
Constructor Summary
PortletDefinitionImpl()
           
 
Method Summary
 Collection getCastorContentTypes()
           
 Collection getCastorDescriptions()
           
 Collection getCastorDisplayNames()
           
 Collection getCastorInitParams()
           
 org.apache.pluto.om.common.SecurityRoleRefSet getCastorInitSecurityRoleRefs()
           
 org.apache.pluto.om.common.PreferenceSet getCastorPreferences()
           
 org.apache.pluto.om.common.LanguageSet getCastorResources()
           
 Collection getCastorSupportedLocales()
           
 String getClassName()
           
 org.apache.pluto.om.portlet.ContentTypeSet getContentTypeSet()
           
 org.apache.pluto.om.common.Description getDescription(Locale locale)
           
 Collection getDescriptions()
           
 org.apache.pluto.om.common.DisplayName getDisplayName(Locale locale)
           
 String getExpirationCache()
           
 org.apache.pluto.om.common.ObjectID getId()
           
 org.apache.pluto.om.common.ParameterSet getInitParameterSet()
           
 org.apache.pluto.om.common.SecurityRoleRefSet getInitSecurityRoleRefSet()
           
 org.apache.pluto.om.common.LanguageSet getLanguageSet()
           
 org.apache.pluto.invoker.PortletInvoker getLocalPortletInvoker()
           
 String getName()
           
 org.apache.pluto.om.portlet.PortletApplicationDefinition getPortletApplicationDefinition()
           
 ClassLoader getPortletClassLoader()
           
 org.apache.pluto.om.common.PreferenceSet getPreferenceSet()
           
 String getResourceBundle()
           
 org.apache.pluto.om.servlet.ServletDefinition getServletDefinition()
           
 Collection getSupportedLocales()
           
 boolean isLocalPortlet()
           
 void postBuild(Object parameter)
           
 void postLoad(Object parameter)
           
 void postStore(Object parameter)
           
 void preBuild(Object parameter)
           
 void preStore(Object parameter)
           
 void setCastorContentTypes(org.apache.pluto.om.portlet.ContentTypeSet castorContentTypes)
           
 void setCastorDescriptions(org.apache.pluto.om.common.DescriptionSet castorDescriptions)
           
 void setCastorDisplayNames(org.apache.pluto.om.common.DisplayNameSet castorDisplayNames)
           
 void setCastorInitParams(org.apache.pluto.om.common.ParameterSet castorInitParams)
           
 void setCastorInitSecurityRoleRefs(org.apache.pluto.om.common.SecurityRoleRefSet castorInitSecurityRoleRefs)
           
 void setCastorPreferences(org.apache.pluto.om.common.PreferenceSet castorPreferences)
           
 void setCastorResources(org.apache.pluto.om.common.LanguageSet resources)
           
 void setCastorSupportedLocales(Collection castorSupportedLocales)
           
 void setClassName(String className)
           
 void setDescriptions(org.apache.pluto.om.common.DescriptionSet descriptions)
           
 void setDisplayNames(org.apache.pluto.om.common.DisplayNameSet displayNames)
           
 void setExpirationCache(String expirationCache)
           
 void setId(String id)
           
 void setLocalPortlet(boolean localPortlet)
           
 void setLocalPortletInvoker(org.apache.pluto.invoker.PortletInvoker localPortletInvoker)
          Set a local portlet invoker for caching
 void setName(String name)
           
protected  void setPortletApplicationDefinition(org.apache.pluto.om.portlet.PortletApplicationDefinition application)
           
 void setPortletClassLoader(ClassLoader loader)
           
 void setResourceBundle(String resourceBundle)
           
protected  void setServletDefinition(org.apache.pluto.om.servlet.ServletDefinition servlet)
           
 void store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public String id

localPortlet

protected boolean localPortlet
is this a local portlet?


localPortletInvoker

protected org.apache.pluto.invoker.PortletInvoker localPortletInvoker
The local portlet invoker

Constructor Detail

PortletDefinitionImpl

public PortletDefinitionImpl()
Method Detail

getId

public org.apache.pluto.om.common.ObjectID getId()
Specified by:
getId in interface org.apache.pluto.om.portlet.PortletDefinition

getClassName

public String getClassName()
Specified by:
getClassName in interface org.apache.pluto.om.portlet.PortletDefinition

getName

public String getName()
Specified by:
getName in interface org.apache.pluto.om.portlet.PortletDefinition

getDescription

public org.apache.pluto.om.common.Description getDescription(Locale locale)
Specified by:
getDescription in interface org.apache.pluto.om.portlet.PortletDefinition

getLanguageSet

public org.apache.pluto.om.common.LanguageSet getLanguageSet()
Specified by:
getLanguageSet in interface org.apache.pluto.om.portlet.PortletDefinition

getInitParameterSet

public org.apache.pluto.om.common.ParameterSet getInitParameterSet()
Specified by:
getInitParameterSet in interface org.apache.pluto.om.portlet.PortletDefinition

getInitSecurityRoleRefSet

public org.apache.pluto.om.common.SecurityRoleRefSet getInitSecurityRoleRefSet()
Specified by:
getInitSecurityRoleRefSet in interface org.apache.pluto.om.portlet.PortletDefinition

getPreferenceSet

public org.apache.pluto.om.common.PreferenceSet getPreferenceSet()
Specified by:
getPreferenceSet in interface org.apache.pluto.om.portlet.PortletDefinition

getContentTypeSet

public org.apache.pluto.om.portlet.ContentTypeSet getContentTypeSet()
Specified by:
getContentTypeSet in interface org.apache.pluto.om.portlet.PortletDefinition

getPortletApplicationDefinition

public org.apache.pluto.om.portlet.PortletApplicationDefinition getPortletApplicationDefinition()
Specified by:
getPortletApplicationDefinition in interface org.apache.pluto.om.portlet.PortletDefinition

getServletDefinition

public org.apache.pluto.om.servlet.ServletDefinition getServletDefinition()
Specified by:
getServletDefinition in interface org.apache.pluto.om.portlet.PortletDefinition

getDisplayName

public org.apache.pluto.om.common.DisplayName getDisplayName(Locale locale)
Specified by:
getDisplayName in interface org.apache.pluto.om.portlet.PortletDefinition

getExpirationCache

public String getExpirationCache()
Specified by:
getExpirationCache in interface org.apache.pluto.om.portlet.PortletDefinition

setId

public void setId(String id)
Specified by:
setId in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl

setName

public void setName(String name)
Specified by:
setName in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl

setDescriptions

public void setDescriptions(org.apache.pluto.om.common.DescriptionSet descriptions)
Specified by:
setDescriptions in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl

setDisplayNames

public void setDisplayNames(org.apache.pluto.om.common.DisplayNameSet displayNames)
Specified by:
setDisplayNames in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl

setPortletClassLoader

public void setPortletClassLoader(ClassLoader loader)
Specified by:
setPortletClassLoader in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl

store

public void store()
           throws IOException
Specified by:
store in interface org.apache.pluto.om.portlet.PortletDefinitionCtrl
Throws:
IOException

postBuild

public void postBuild(Object parameter)
               throws Exception
Specified by:
postBuild in interface Support
Throws:
Exception

postLoad

public void postLoad(Object parameter)
              throws Exception
Specified by:
postLoad in interface Support
Throws:
Exception

postStore

public void postStore(Object parameter)
               throws Exception
Specified by:
postStore in interface Support
Throws:
Exception

preBuild

public void preBuild(Object parameter)
              throws Exception
Specified by:
preBuild in interface Support
Throws:
Exception

preStore

public void preStore(Object parameter)
              throws Exception
Specified by:
preStore in interface Support
Throws:
Exception

getCastorContentTypes

public Collection getCastorContentTypes()

getCastorDisplayNames

public Collection getCastorDisplayNames()

getCastorDescriptions

public Collection getCastorDescriptions()

getDescriptions

public Collection getDescriptions()

getCastorInitParams

public Collection getCastorInitParams()

getCastorInitSecurityRoleRefs

public org.apache.pluto.om.common.SecurityRoleRefSet getCastorInitSecurityRoleRefs()

getCastorPreferences

public org.apache.pluto.om.common.PreferenceSet getCastorPreferences()

getCastorResources

public org.apache.pluto.om.common.LanguageSet getCastorResources()

getCastorSupportedLocales

public Collection getCastorSupportedLocales()

getPortletClassLoader

public ClassLoader getPortletClassLoader()
Specified by:
getPortletClassLoader in interface org.apache.pluto.om.portlet.PortletDefinition

getResourceBundle

public String getResourceBundle()

getSupportedLocales

public Collection getSupportedLocales()

setCastorContentTypes

public void setCastorContentTypes(org.apache.pluto.om.portlet.ContentTypeSet castorContentTypes)

setCastorInitParams

public void setCastorInitParams(org.apache.pluto.om.common.ParameterSet castorInitParams)

setCastorInitSecurityRoleRefs

public void setCastorInitSecurityRoleRefs(org.apache.pluto.om.common.SecurityRoleRefSet castorInitSecurityRoleRefs)

setCastorDisplayNames

public void setCastorDisplayNames(org.apache.pluto.om.common.DisplayNameSet castorDisplayNames)

setCastorDescriptions

public void setCastorDescriptions(org.apache.pluto.om.common.DescriptionSet castorDescriptions)

setCastorPreferences

public void setCastorPreferences(org.apache.pluto.om.common.PreferenceSet castorPreferences)

setCastorResources

public void setCastorResources(org.apache.pluto.om.common.LanguageSet resources)

setCastorSupportedLocales

public void setCastorSupportedLocales(Collection castorSupportedLocales)

setExpirationCache

public void setExpirationCache(String expirationCache)

setPortletApplicationDefinition

protected void setPortletApplicationDefinition(org.apache.pluto.om.portlet.PortletApplicationDefinition application)

setResourceBundle

public void setResourceBundle(String resourceBundle)

setServletDefinition

protected void setServletDefinition(org.apache.pluto.om.servlet.ServletDefinition servlet)

isLocalPortlet

public boolean isLocalPortlet()
Returns:
Returns the localPortlet.

setLocalPortlet

public void setLocalPortlet(boolean localPortlet)
Parameters:
localPortlet - The localPortlet to set.

getLocalPortletInvoker

public org.apache.pluto.invoker.PortletInvoker getLocalPortletInvoker()
Returns:
Returns the localPortletInvoker.

setLocalPortletInvoker

public void setLocalPortletInvoker(org.apache.pluto.invoker.PortletInvoker localPortletInvoker)
Set a local portlet invoker for caching

Parameters:
localPortletInvoker - The localPortletInvoker to set.


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.